aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py (follow)
Commit message (Collapse)AuthorAgeLines
* Change pydis-site to site in Sentry SDK initializationGravatar ks1292020-12-21-1/+1
|
* Fix incorrectly specified environment variableGravatar Sebastiaan Zeeff2020-12-12-1/+1
| | | | When I changed the name of SITE_SENTRY_DSN to SITE_DSN, I accidentally left an old reference in place.
* Change env var from SITE_SENTRY_DSN to SITE_DSNGravatar Sebastiaan Zeeff2020-12-12-1/+1
| | | | | The name of the environment variable was shortened during our refactor of the Sentry secrets. Changed `settings.py` to reflect that change.
* Default to HTTPS for account URLsGravatar Joe Banks2020-11-15-0/+1
|
* Allow requesting API data from internal DNSGravatar scragly2020-10-19-0/+1
|
* Merge branch 'master' into feat/397-398-metricity-db-and-apiGravatar dementati2020-10-06-4/+1
|\
| * Logs Cleanup: Remove another entry of site internal logging to DBGravatar ks1292020-10-03-1/+1
| |
| * Logs Cleanup: Remove site internal logging to DBGravatar ks1292020-10-03-3/+0
| |
* | Added metricity db connection and user bot APIGravatar Lucas Lindström2020-10-06-1/+2
|/
* Display no prompt to users who have already authenticatedGravatar Joe Banks2020-10-03-3/+4
|
* Only request the identify scope with Discord on OAuth2 loginGravatar Joe Banks2020-10-02-0/+7
|
* 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
| |
* | 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
|