| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | | | Add max_lengh for reminder.jump_url | 2019-10-19 | -0/+1 | ||
| | | | | | |||||
| | * | | | Add a jump-url field in the reminder model | 2019-10-19 | -1/+10 | ||
| | |/ / | |||||
| * | | | Add new test for deleted message context log_url. | 2019-10-20 | -3/+24 | ||
| | | | | |||||
| * | | | Adjust deleted message test to account for new ordering of newest created first. | 2019-10-20 | -1/+1 | ||
| | | | | |||||
| * | | | Add tag search and rendered preview. | 2019-10-20 | -2/+26 | ||
| | | | | |||||
| * | | | Show role colour style and add hex value, link perms to calc page, add role ↵ | 2019-10-20 | -1/+33 | ||
| | | | | | | | | | | | | | search. | ||||
| * | | | Add search field to off topic admin page. | 2019-10-20 | -1/+7 | ||
| | | | | |||||
| * | | | Improve nominations admin list and page, add search and filter by active. | 2019-10-20 | -1/+43 | ||
| | | | | |||||
| * | | | Improve infractions admin list and page, add search and filters. | 2019-10-20 | -1/+45 | ||
| | | | | |||||
| * | | | Order roles by positioning, add filters and search to api user admin page. | 2019-10-20 | -2/+48 | ||
| | | | | |||||
| * | | | Add message log links, improved formatting to message deletion admin pages. | 2019-10-20 | -7/+75 | ||
| | | | | |||||
| * | | | Set newest-first sorting for message deletion models, add log_url property. | 2019-10-20 | -2/+14 | ||
| |/ / | |||||
| * | | Allauth: Address reviews by @lemonsaurus | 2019-10-14 | -31/+111 | ||
| | | | |||||
| * | | Merge branch 'master' into #201-django-allauth | 2019-10-11 | -11/+174 | ||
| |\ \ | |||||
| | * | | Deny manual `LogEntry` creation. | 2019-10-11 | -0/+4 | ||
| | | | | |||||
| | * | | Resolve migration merge conflicts. | 2019-10-11 | -1/+1 | ||
| | | | | |||||
| | * | | Improve formatting for `has_delete_permission`, typespec. | 2019-10-11 | -1/+8 | ||
| | | | | |||||
| | * | | Merge branch 'master' into simple-admin-log-entry-view | 2019-10-11 | -0/+89 | ||
| | |\ \ | |||||
| | | * | | Migrate nominations to new Nomination model | 2019-09-30 | -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. | ||||
| | * | | Deny `LogEntry` deletion. | 2019-10-11 | -0/+5 | ||
| | | | | |||||
| | * | | Allow filtering through metadata, and searching by message. | 2019-10-11 | -0/+2 | ||
| | | | | |||||
| | * | | Remove old import. | 2019-10-11 | -2/+0 | ||
| | | | | |||||
| | * | | Group fieldsets. | 2019-10-11 | -0/+5 | ||
| | | | | |||||
| | * | | Use multi-column output from Django. | 2019-10-11 | -32/+1 | ||
| | | | | |||||
| | * | | Pluralize properly. | 2019-10-11 | -0/+22 | ||
| | | | | |||||
| | * | | Allow viewing log entries in the Django Admin. | 2019-10-11 | -11/+73 | ||
| | |/ | |||||
| * | | Signals: Handle (and test) mapping updates/deletions | 2019-10-11 | -14/+125 | ||
| | | | | | | | | | This also enforces unique values for both attributes on the RoleMapping model. Supporting configurations where this isn't the case would introduce quite a lot of added complexity. | ||||
| * | | Signals: Fix test for `deletion=True` change | 2019-10-11 | -1/+1 | ||
| | | | |||||
| * | | Signals: `add()` does require a list, a generator won't do. | 2019-10-11 | -2/+2 | ||
| | | | |||||
| * | | Clean up signal tests as per @jchristgit's review | 2019-10-11 | -9/+10 | ||
| | | | |||||
| * | | Simplify signals.py as per @jchristgit's review | 2019-10-11 | -10/+6 | ||
| | | | |||||
| * | | Clarify _apply_groups kwarg (Thanks, @jchristgit) | 2019-10-11 | -1/+1 | ||
| | | | | | | | Co-Authored-By: Johannes Christ <[email protected]> | ||||
| * | | Register GH provider manually in tests | 2019-10-06 | -0/+9 | ||
| | | | |||||
| * | | Remove GH login implementation, out of scope of this PR | 2019-10-06 | -1/+0 | ||
| | | | |||||
| * | | Prevent saving emails, remove login page | 2019-10-06 | -33/+24 | ||
| | | | |||||
| * | | Login page and styling fixes | 2019-10-06 | -0/+33 | ||
| | | | |||||
| * | | Test allauth redirect URLs | 2019-10-05 | -0/+14 | ||
| | | | |||||
| * | | Set up needed Allauth URLs and add login/logout to navbar | 2019-10-05 | -1/+23 | ||
| | | | |||||
| * | | Clean up and comment signal tests | 2019-10-04 | -19/+31 | ||
| | | | |||||
| * | | Add docstrings to tests, and test role mapping __str__() | 2019-10-04 | -4/+19 | ||
| | | | |||||
| * | | Tests for signal handlers | 2019-10-04 | -5/+291 | ||
| | | | |||||
| * | | Hook up Allauth and model signals to handle group assignments | 2019-10-03 | -1/+165 | ||
| | | | |||||
| * | | Remove app_label from role mapping model | 2019-10-03 | -3/+0 | ||
| | | | | | | | | | Turns out, setting this *does* move the model to a different category under the admin - but it also reparents it to the referenced app, so the migrations are created under that app instead. Nasty. | ||||
| * | | Add model to map Discord roles to Django permissions groups | 2019-10-03 | -0/+61 | ||
| | | | |||||
| * | | Remove accidental static files commit; fix Allauth | 2019-10-03 | -0/+1 | ||
| |/ | |||||
| * | Reject unhidden note or hidden warning infraction | 2019-09-26 | -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 | ||||
| * | Migrate hidden warnings to notes | 2019-09-26 | -0/+23 | ||
| | | | | | | | | | | | | | | https://github.com/python-discord/site/issues/260 We have added a new "note" type to the Infraction model, meaning that we can now decouple notes and warnings completely. However, notes made prior to this change are still registered as "hidden warnings". This commit adds a data migration that sets the type field of "hidden warning" infractions to "note". This commit implements the first part of #260 | ||||
| * | Merge branch 'master' into update-linting | 2019-09-24 | -9/+36 | ||
| |\ | |||||
| | * | Remove redundant off-topic names list test | 2019-09-21 | -7/+0 | ||
| | | | |||||
| | * | Add test for certain unicode characters in ot names | 2019-09-21 | -3/+14 | ||
| | | | |||||