aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py (follow)
Commit message (Collapse)AuthorAgeLines
* Migrate to new tracing parameterGravatar Johannes Christ2025-02-23-1/+1
|
* Merge branch 'main' into feat/timeline-from-yamlGravatar wookie1842024-07-18-2/+3
|\
| * Update site for Code Jam 2024 (#1353)Gravatar Shakya Majumdar2024-07-03-0/+1
| |
| * Use Prometheus drop-in database enginesGravatar Joe Banks2024-06-04-2/+2
| |
* | Timeline: Migrate to Markdown source files - initial implementationGravatar hedy2024-05-24-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The timeline app is introduced, moved from the home app. - Add a basic README.md to illustrate the overall code breakdown of the app as it is in the current stage. - Two entries are added for now. - Add ability to link headers using the slug portion of the filename. - The way markdown files are fetched is similar to that of the resources app - using the AppConfig ready() function, all resources are ensured to be only fetched once when the app is first laoded. I debated whether to introduce the new functionality in the home app instead, without creating a new app. Eventually I decided extracting it to a standalone app now is better as it allows easier extension of functionality in the future. The home app can remain as it is to only server the `/` homepage. The timeline CSS is kept the same, as with the structure of the timeline HTML template. Once the CSS rewrite PR is merged, it's relatively easy to fix conflicts here (again, since timeline is now its own app, with the CSS file and HTML template moved - extra advantage). References to `home:timeline` are updated to use `timeline:index` throughout the codebase, as far as my ripgrep search could go. The format of the markdown + YAML entries are still up for debate, so I've only added the first two entries for now. They can be completely overwritten in the future once the formats are decided by using a script to convert all the data from my JSON file into individual markdown files: http://0x0.st/Xr78.txt This link should last for at least a few months. (Originally saved on https://paste.pythondiscord.com/KPJA, but it expires on 12th April 2024.)
* Update new web namespace in ALLOWED_HOSTSGravatar Joe Banks2024-04-15-1/+1
|
* Merge branch 'main' into feat/events-redesignGravatar hedy2024-03-16-1/+7
|\
| * Merge branch 'main' into docs/dark-theme-devGravatar ChrisJL2024-03-10-1/+0
| |\
| | * Move from Font Awesome Kit to static filesGravatar hedy2024-02-23-1/+0
| | | | | | | | | | | | | | | | | | | | | - Lemon's fa kit (free plan) had been used till now which had limitations such as total number of views that we've long exceeded - This gives more control on the static assets to use - Allows showing icons in development
| * | Add docs on Bulma, colors, dark mode, and CSS for developmentGravatar hedy2024-02-13-0/+7
| |/
* | Dark: Give more contrast to grey textGravatar hedy2024-02-14-0/+1
| |
* | Fix events page for dark modeGravatar hedy2024-02-14-0/+1
|/
* Dark: Use a darker pydis blurple everywhereGravatar hedy2024-01-28-1/+1
|
* Dark: Darken nav, hero, hero waves, button, body backgroundsGravatar hedy2024-01-28-0/+4
|
* Dark: Better shadowsGravatar hedy2024-01-18-1/+1
|
* Dark: More subtle collapsible and box-shadow bordersGravatar hedy2024-01-18-1/+1
|
* Dark: Use original light theme colors everywhereGravatar hedy2024-01-18-1/+1
| | | | | Adjusted box-shadow for dark mode to be more readable, unfortunately this gave it a little neomorphism effect...
* Dark: Fix the filter box on resources pageGravatar hedy2024-01-16-4/+5
|
* Dark: Fix tag colors in resources pageGravatar hedy2024-01-14-0/+8
|
* Dark: Fix colors on content pagesGravatar hedy2024-01-13-0/+2
|
* Dark: Use link color of better contrastGravatar hedy2024-01-13-2/+2
|
* Dark: Fix colors for bulma cards shadow & bordersGravatar hedy2024-01-06-2/+9
|
* Dark: Fix all link hover colors (hopefully) everywhereGravatar hedy2024-01-05-2/+5
|
* Remove obsolete comment regarding notification.css fileGravatar hedy2024-01-05-1/+1
|
* Fix all conflictsGravatar hedy2023-12-14-30/+85
|\ | | | | | | hopefully I dont have to do this again
| * Enable tracing and include source for slow queriesGravatar Chris Lovering2023-12-12-1/+4
| |
| * Enable Sentry profile samplingGravatar Chris Lovering2023-12-11-1/+2
| |
| * Enable sentry logging integrationGravatar Chris Lovering2023-12-11-1/+3
| |
| * Use content articles source url in django.conf.settingsGravatar hedy2023-05-06-0/+5
| |
| * Merge branch 'main' into bot-tagsGravatar Hassan Abouelela2022-10-27-28/+32
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # poetry.lock # pydis_site/settings.py # pyproject.toml
| | * Fix Static BuildGravatar Hassan Abouelela2022-09-30-25/+30
| | | | | | | | | | | | | | | | | | | | | Remove all unnecessary middleware and return a proper response for redirects to fix static builds. Signed-off-by: Hassan Abouelela <[email protected]>
| | * Fix Django Deprecation WarningsGravatar Hassan Abouelela2022-09-04-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes a few features which were deprecated in django 4.0. Running with warnings enabled shows no other errors. USE_L10N was deprecated, and is now enabled by default. In future versions of django, it'll be impossible to turn localization off. Explicitly defining the custom_app_config for the API app is no longer necessary as django can pick it up on its own. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Move GitHub strptime Format To SettingsGravatar Hassan Abouelela2022-08-16-0/+2
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | Add Setting For Static BuildsGravatar Hassan Abouelela2022-08-13-3/+5
| |/ | | | | | | | | | | | | Adds an explicit setting for static builds instead of relying on the environment variable. Signed-off-by: Hassan Abouelela <[email protected]>
| * Rename GitHub App Environment VariablesGravatar Hassan Abouelela2022-08-12-6/+6
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * Add GitHub Artifact API ViewGravatar Hassan Abouelela2022-07-12-1/+9
| | | | | | | | | | | | Adds an API route to fetch GitHub build artifacts through a GitHub app. Signed-off-by: Hassan Abouelela <[email protected]>
| * Bump Django To 3.2Gravatar Hassan Abouelela2022-07-11-0/+3
| | | | | | | | | | | | | | | | | | | | Bumps the current django version to 3.2 For the most part, there are no major changes here. The app configuration names were incorrect, and the new version no longer ignores that, so those were updated. The new version also requires explicitly defining the field type for primary keys if they are not defined on the model. Signed-off-by: Hassan Abouelela <[email protected]>
| * Fix timezone awareness warningsGravatar Johannes Christ2022-03-02-0/+17
| | | | | | | | | | Add a `warnings.warnings` clause to prevent these from being raised again in the future, and raise a full traceback if they don't.
| * Remove and merge superfluous modulesGravatar Johannes Christ2022-02-26-1/+9
| | | | | | | | The constants module more or less did what belongs to the settings.
* | Update colour variablesGravatar GDWR2022-02-09-6/+12
| |
* | remove unused colour valuesGravatar GDWR2022-02-08-4/+0
| |
* | Set dark theme colour valuesGravatar GDWR2022-02-08-7/+7
| |
* | Comment bulma variablesGravatar GDWR2022-02-08-4/+13
| |
* | Add initial dark themeGravatar GDWR2022-02-08-1/+6
| |
* | Add dark theme stylesheetGravatar GDWR2022-02-07-0/+9
|/
* Add a FontAwesome token that we actually control.Gravatar Leon Sandøy2022-01-27-1/+1
| | | | | | Previously we were using some sort of borrowed token, but it seems to not be working anymore for local sessions, so let's just get rid of it.
* Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-mainGravatar Leon Sandøy2022-01-23-24/+21
|\
| * Adds Django Distill To ProjectGravatar Hassan Abouelela2021-10-10-5/+16
| | | | | | | | | | Adds django-distill to dependencies, and lays the basic groundwork to start building static routes. Adds a poetry task to help with testing.
| * Update ALLOWED_HOSTS to include internal addressGravatar Joe Banks2021-10-06-5/+1
| |
| * Merge branch 'master' into subdomains-to-query-pathsGravatar Johannes Christ2021-10-06-4/+25
| |\