aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py (unfollow)
Commit message (Collapse)AuthorLines
2019-10-11Update favicons (rounded corners, other improvements)Gravatar ByteCommander-7/+7
2019-10-11Deny manual `LogEntry` creation.Gravatar Johannes Christ-0/+4
2019-10-11Resolve migration merge conflicts.Gravatar Johannes Christ-1/+1
2019-10-11Improve formatting for `has_delete_permission`, typespec.Gravatar Johannes Christ-1/+8
2019-10-11Deny `LogEntry` deletion.Gravatar Johannes Christ-0/+5
2019-10-11Allow filtering through metadata, and searching by message.Gravatar Johannes Christ-0/+2
2019-10-11Remove old import.Gravatar Johannes Christ-2/+0
2019-10-11Group fieldsets.Gravatar Johannes Christ-0/+5
2019-10-11Use multi-column output from Django.Gravatar Johannes Christ-32/+1
2019-10-11Pluralize properly.Gravatar Johannes Christ-0/+22
2019-10-11Allow viewing log entries in the Django Admin.Gravatar Johannes Christ-11/+73
2019-10-09Improve homepage flex responsivenessGravatar ByteCommander-26/+18
2019-10-08Add favicons; workaround for gitattributesGravatar ByteCommander-1/+51
2019-10-06disable usage of pyuwsgi on windows due to incompatibility, library is only ↵Gravatar Joseph Banks-65/+66
used in production anyway
2019-10-05Make the homepage paragraphier.Gravatar Leon Sandøy-6/+4
2019-10-05Address code review from Scragly and Mark.Gravatar Leon Sandøy-4/+4
Makes various minor changes to commas and formulations.
2019-10-03Fix migrations exclude in flake8Gravatar MarkKoz-1/+1
They were not being excluded when flake8 was invoked via pre-commit.
2019-10-01Update the landing page text.Gravatar Leon Sandøy-7/+7
The new text was written by Tizzysaurus in his website cleanup project, and lifted from his google doc.
2019-09-30Update contrib doc to point to new wiki linksGravatar sco1-2/+2
2019-09-30Add link to Contributing landing page to navbarGravatar Sebastiaan Zeeff-0/+3
This commit adds a link to the Contributing landing page to the navbar on our website.
2019-09-30Migrate nominations to new Nomination modelGravatar Sebastiaan Zeeff-5/+100
Before the migration to Django, we stored meta data on a nomination, such as the `reason` and `end_reason`, in the infraction table using "note" infractions, using a special prefix for the `reason`. We have since decided to move nominations out of the infraction context by creating a special `Nomination` model. However, given the complexity of the data migration, we did not yet migrate the old nomination data to this new model. This commit migrates that data by performing a data migration. The data migration works as follows: - Query all nomination data in chronological order; - Replay all nominations and add them to the `Nomination` model; - Delete the now obsolete `Infraction` entry. In addition, this commit also adds a useful string representation for `Nomination` objects.
2019-09-30Monkeypatch in new HEADER_ID_PREFIX.Gravatar Leon Sandøy-0/+4
Currently, all toc-links will have a wiki-toc prefix. This commit removes this prefix, so that we can header link with just something like #environment instead of #wiki-toc-environment. This addresses #276. https://github.com/python-discord/site/issues/267
2019-09-30Create superuser after doing migrations.Gravatar Leon Sandøy-1/+3
Previously, the create_superuser() command was called before migrations had been completed on local setups, and this would cause the command to crash, saying that the table did not exist.
2019-09-30Correct the Dockerfile path for azure.Gravatar scragly-1/+1
2019-09-29Poll the database a maximum of 10 attempts before exit code 1.Gravatar scragly-1/+7
2019-09-29Remove useless verbosity check.Gravatar scragly-1/+1
2019-09-29Remove rogue image fileGravatar kosayoda-0/+0
2019-09-28Add static images for wiki contributing guidesGravatar kosayoda-0/+0
2019-09-28Fix comments after previous changes.Gravatar scragly-2/+2
2019-09-28Support internal docker network DNS resolution & dev ALLOWED_HOSTS env var.Gravatar scragly-6/+19
2019-09-28Automatically create a default bot api token for dev.Gravatar scragly-6/+22
2019-09-28Create custom manage.py entry point, remove scripts and merge Dockerfile.Gravatar scragly-106/+197
2019-09-27Ensure docker containers are published only for master branch builds.Gravatar scragly-1/+1
2019-09-26Reject unhidden note or hidden warning infractionGravatar Sebastiaan Zeeff-15/+38
https://github.com/python-discord/site/issues/260 This commit adds validation steps to the InfractionSerializer to make sure that `"warning"` infractions can never be set with `hidden=True` and note infractions can never be set with `hidden=False` usng the API. This is the final step in decoupling "note" infractions and "warning" infractions. This commit implements the final part of and closes #260