aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py (follow)
Commit message (Collapse)AuthorAgeLines
* Use bulma extension in place of self-written code.Gravatar kosayoda2021-05-14-0/+1
|
* Merge branch main into dewikificationGravatar kosayoda2021-05-14-27/+12
|
* Migrate redirections from settings.py -> redirects.yamlGravatar ks1292021-05-03-34/+1
|
* Add code jam pages redirectsGravatar ks1292021-05-03-0/+21
|
* Add groups with comments to redirections definitionGravatar ks1292021-05-03-0/+3
|
* Migrate redirections definition to not include testing argsGravatar ks1292021-05-03-7/+6
|
* Add events index redirectionGravatar ks1292021-05-03-0/+3
|
* Add redirect app to settings and add resources redirections configGravatar ks1292021-05-03-0/+10
|
* Merge pull request #468 from python-discord/content-app-improvementsGravatar Kieran Siek2021-04-03-4/+5
|\ | | | | Dewikification: Content app improvements.
| * Fix overriden PAGES_PATH in settings.py.Gravatar kosayoda2021-04-01-4/+5
| | | | | | | | | | This was causing mysterious 404s because while migrating a feature to dewikification, the same variable would be placed in the settings file.
* | Merge branch 'dewikification' into resources-listsGravatar ks1292021-03-30-0/+13
|\|
| * Simplify content app.Gravatar kosayoda2021-03-23-1/+1
| | | | | | | | | | | | | | | | | | Rather than having two views for the base page and all other pages, all pages now use the same view. The view context handler is simplified to take advantage of pathlib features. The markdown folder is now /content/resources/* rather than /content/resources/content/*, as the latter is unnecessary nesting.
| * Rename `articles` to `pages`.Gravatar kosayoda2021-03-23-1/+1
| | | | | | | | | | | | Articles was a good name, but we want an `articles` category in the future. `/pages/guides/` and `/pages/articles/` are clearer in name than `/articles/guides/` and `/articles/articles/`.
| * Merge branch 'dewikification' into guides-appGravatar ks1292020-11-28-0/+4
| |\
| | * Apply changes of pages location to views and settingsGravatar ks1292020-10-29-4/+5
| | |
| | * Port View to TemplateView for events page viewGravatar ks1292020-10-28-1/+4
| | |
| | * Merge branch 'dewikification' into events-appGravatar ks1292020-10-28-0/+1
| | |\
| | * | Add events app to INSTALLED_APPSGravatar ks1292020-10-26-0/+1
| | | |
| * | | Add articles path to settingsGravatar ks1292020-11-22-0/+3
| | | |
| * | | Use just plain strings for site repo informationGravatar ks1292020-10-30-7/+4
| | | |
| * | | Merge remote-tracking branch 'up/dewikification' into guides-appGravatar ks1292020-10-30-40/+1
| |\ \ \ | | | |/ | | |/|
| * | | Move repository configuration to environment variablesGravatar ks1292020-10-06-4/+7
| | | |
| * | | Add repository configuration to settingsGravatar ks1292020-10-06-0/+5
| | | |
| * | | Merge branch 'dewikification' into guides-appGravatar Leon Sandøy2020-10-05-89/+2
| |\ \ \
| * | | | Change guides system to content systemGravatar ks1292020-10-04-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As this system will be used for more than just guides, I had to do some refactoring to match this system with plans. Basically now there isn't guides, but articles instead.
| * | | | Include guides app to projectGravatar ks1292020-09-20-0/+1
| | | | |
* | | | | Remove unused Bulma Tooltip extensionGravatar ks1292021-03-30-1/+0
| | | | |
* | | | | Add Bulma Tooltip extension to settingsGravatar ks1292020-11-14-1/+3
| |_|/ / |/| | |
* | | | Merge pull request #395 from ks129/resources-homeGravatar Jeremiah Boby2020-10-28-0/+1
|\ \ \ \ | |_|_|/ |/| | | Dewikification - Create app for resources + index page of resources
| * | | Merge branch 'dewikification' into resources-homeGravatar ks1292020-10-07-89/+2
| |\ \ \ | | | |/ | | |/|
| * | | Include resources app to settingsGravatar ks1292020-09-22-0/+1
| | |/ | |/|
* | | Remove django-allauth from settings.Gravatar Leon Sandøy2020-10-04-40/+0
| |/ |/|
* | Remove references to django_nytGravatar Leon Sandøy2020-10-04-1/+0
| |
* | Remove wiki from settings.py.Gravatar Leon Sandøy2020-10-04-88/+2
|/
* Move the SHA into constants.py.Gravatar Leon Sandøy2020-08-22-2/+2
| | | | The util was redundant. Thanks @MarkKoz
* Move git SHA fetcher into its own file.Gravatar Leon Sandøy2020-08-22-1/+1
| | | | Fix tests.
* Move git SHA fetcher into utils.Gravatar Leon Sandøy2020-08-22-2/+2
|
* Set the sentry_sdk.init release to git_sha.Gravatar Leon Sandøy2020-08-22-1/+3
| | | | This is the first step in implementing releases for Sentry.
* Add a context processor that outputs the git SHA.Gravatar Leon Sandøy2020-08-22-1/+1
| | | | This will make the SHA available in all templates.
* Fix linting issues caused by refactor.Gravatar Leon Sandøy2020-07-15-1/+1
|
* Removes django_crispy_forms dependency, too.Gravatar Leon Sandøy2020-07-15-13/+0
|
* Removes django_crispy_bulma dependency.Gravatar Leon Sandøy2020-07-14-1/+2
|
* Add sentry SDK init to settings.pyGravatar Joseph Banks2020-02-21-1/+11
|
* Change MEDIA_ROOT to /site/mediaGravatar scragly2020-02-17-1/+1
|
* Unbleach WikiGravatar scragly2020-02-03-19/+1
| | | Disables the sanitisation of HTML in wiki articles.
* Adding iframe attributes to attribute whitelistGravatar Sebastiaan Zeeff2020-01-06-0/+1
| | | To properly show YouTube-embeds, we need to allow some attributes on `iframe` tags. I've added all attributes that are normal for such an embed, including `width` and `height` (which we may not need if we want to make the frame resize to its parent).
* Adding iframes to HTML whitelistGravatar Leon Sandøy2020-01-06-1/+1
| | | This will allow us to put stuff like YouTube embeds in wiki articles... hopefully. I didn't test it.
* Merge branch 'master' into allauth-user-settingsGravatar Gareth Coles2019-10-23-1/+1
|\
| * Set SECRET_KEY to constant in debug modeGravatar Sebastiaan Zeeff2019-10-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | The SECRET_KEY in debug mode was auto-generated each time the config file was loaded. This had the unwanted side-effect of requiring testers to login again on the site as the SECRET_KEY had changed during the reload process. This commit resolves that by turning it into a constant. Since having a constant secret results in the linting error `S105`, I have added a specific `noqa` ignore for that.
* | Finalize orange and purple custom coloursGravatar Gareth Coles2019-10-22-3/+3
| |