aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py (follow)
Commit message (Collapse)AuthorAgeLines
* 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
| |
* | New colours, as discussed on DiscordGravatar Gareth Coles2019-10-22-7/+7
| |
* | Update Django users with Discord username+discrim.Gravatar Gareth Coles2019-10-20-1/+6
| | | | | | | | This sets both the Django User's `username` and `first_name` params.
* | Allauth: Re-add GitHub provider, prevent GH signupsGravatar Gareth Coles2019-10-19-0/+4
|/
* Remove accidental comment before docstringGravatar Gareth Coles2019-10-14-1/+1
|
* Wiki: Permissions hotfixGravatar Gareth Coles2019-10-14-0/+24
|
* Allauth: Address reviews by @lemonsaurusGravatar Gareth Coles2019-10-14-8/+8
|
* Remove GH login implementation, out of scope of this PRGravatar Gareth Coles2019-10-06-1/+0
|
* Make the Bulma colours less saturatedGravatar Gareth Coles2019-10-06-4/+11
|
* Message styling (default to light for now)Gravatar Gareth Coles2019-10-06-1/+3
|
* Set up needed Allauth URLs and add login/logout to navbarGravatar Gareth Coles2019-10-05-0/+1
|
* Add MessageRedirectView and show messages on the index pageGravatar Gareth Coles2019-10-05-0/+10
|
* Disable Allauth email verificationGravatar Gareth Coles2019-10-03-0/+2
|
* Initial Allauth dependency and settings/urlsGravatar Gareth Coles2019-10-03-0/+17
|
* Support internal docker network DNS resolution & dev ALLOWED_HOSTS env var.Gravatar scragly2019-09-28-6/+13
|
* PARENT_HOST is now pythondiscord.comGravatar Leon Sandøy2019-09-15-1/+1
|
* Remove wiki, add pydis.Gravatar Leon Sandøy2019-09-15-2/+4
|
* Darcula theme, and vanilla hosts.Gravatar Leon Sandøy2019-09-15-2/+2
|
* Changing the ALLOWED_HOSTS to allow for migration.Gravatar Leon Sandøy2019-09-15-2/+2
| | | | | | Adding django.pythondiscord.com and django.api.pythondiscord.com to ALLOWED_HOSTS to allow us to run Djangoify and migrate the infraction data.
* Update `ALLOWED_HOSTS` for the new home.Gravatar Johannes Christ2019-09-15-3/+2
|
* Adding initial staff app to DjangoGravatar Sebastiaan Zeeff2019-08-23-0/+1
|
* Add a database logging handler.Gravatar Johannes Christ2019-08-14-1/+4
|
* I can't get the accordion thing to work at all.Gravatar Leon Sandøy2019-07-10-4/+1
|
* Whitelisting section and articleGravatar Leon Sandøy2019-07-10-0/+4
|
* Allowing section and article tags in the wiki articlesGravatar Leon Sandøy2019-07-10-0/+6
|
* Adding bulma-accordion to the django-simple-bulma extensions listGravatar Leon Sandøy2019-07-10-0/+3
|
* adding a few classes and some settings to allow us to build a beautiful ↵Gravatar Leon Sandøy2019-07-07-0/+9
| | | | resources page in the wiki
* Changing PARENT_HOST to django.pythondiscord.com to fix URL resolutionGravatar Leon Sandøy2019-07-05-1/+1
|
* Disabling strict manifest compression modeGravatar Leon Sandøy2019-07-03-1/+0
|
* Changing the STATIC_ROOT and MEDIA_ROOT to include the root folder created ↵Gravatar Leon Sandøy2019-07-03-2/+2
| | | | by the Dockerfile
* Replacing hardcoded secret keys with token_urlsafe calls.Gravatar Leon Sandøy2019-07-03-2/+3
|
* removing possible hardcoded passwordsGravatar Leon Sandøy2019-07-03-16/+3
|
* Adding whitenoise to the toolchain to serve static imagesGravatar Leon Sandøy2019-07-03-0/+2
|
* Adding django.pythondiscord.com to ALLOWED_HOSTSGravatar Leon Sandøy2019-07-02-1/+2
|
* Merge settings/Pipfile.lockGravatar Gareth Coles2019-04-20-1/+1
|
* Merge branch 'django' into django+200/wikiGravatar Gareth Coles2019-04-20-0/+2
|\ | | | | | | | | | | | | | | | | | | # Conflicts: # Pipfile # Pipfile.lock # pydis_site/apps/home/tests/test_app_basics.py # pydis_site/apps/home/urls.py # pydis_site/hosts.py # pydis_site/settings.py
| * Addressing all comments in volcyy's second review. The tests now mock the ↵Gravatar Leon Sandøy2019-04-19-11/+1
| | | | | | | | API calls so we don't have to actually call the API every time we run tests.
| * The GitHub API stuff is done now, including data caching. Just a couple of ↵Gravatar Leon Sandøy2019-04-17-0/+10
| | | | | | | | minor bugfixes left before this is PR-ready.
| * refactoring slightly to use a class-based view, changing home to main. Ready ↵Gravatar Leon Sandøy2019-04-13-2/+1
| | | | | | | | to write the API search stuff now.
| * Implemented a sticky footer systemGravatar Leon Sandøy2019-04-12-0/+1
| |
| * New landing page. Not quite done yet. This probably should've been more than ↵Gravatar Leon Sandøy2019-04-11-0/+1
| | | | | | | | one commit.
| * Make the pipeline green as grass.Gravatar Johannes Christ2019-04-10-3/+3
| |
* | Address reviewsGravatar Gareth Coles2019-04-20-3/+2
| |