| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Adjust FilterList Schema to group settings into subcategories | 2021-12-18 | -48/+54 | |
| | | | | | - This commit patches the FilterList serializer's schema, and puts the settings into the relevant subcategories. | |||
| * | Adjust FilterList Representation | 2021-12-18 | -6/+60 | |
| | | | | | From now on the FilterList Serializer will contain a settings field with all the settings that were listed previously, on the model. | |||
| * | Adjust Filter JSON Schema | 2021-12-18 | -30/+127 | |
| | | | | | | From now on the Serializer will have a different JSON representation than the table schema itself, conforming to the format needed on the bot-side. | |||
| * | Fix linting | 2021-12-18 | -7/+19 | |
| | | ||||
| * | Add merge migration | 2021-12-18 | -0/+14 | |
| | | ||||
| * | Move filters validations to serializers | 2021-12-18 | -34/+33 | |
| | | ||||
| * | Add validation to filters to not allow duplicates + additional_field -> JSON | 2021-12-18 | -7/+8 | |
| | | ||||
| * | Add validation to filters to not allow duplicated channels and categories | 2021-12-18 | -0/+29 | |
| | | ||||
| * | Add basic validation for infraction fields + use common infraction types | 2021-12-18 | -11/+8 | |
| | | ||||
| * | Update filters API to actually work | 2021-12-18 | -85/+123 | |
| | | ||||
| * | Remove old models from migration | 2021-12-18 | -2/+0 | |
| | | ||||
| * | Remove default field from FilterSettingsMixin and migration | 2021-12-18 | -8/+2 | |
| | | ||||
| * | Update filters migrations | 2021-12-18 | -120/+53 | |
| | | ||||
| * | Add AbstractModelMeta mixin | 2021-12-18 | -0/+5 | |
| | | ||||
| * | Remove old one-to-one filters relationships serializers, views and URLs | 2021-12-18 | -555/+15 | |
| | | ||||
| * | Remove one-to-one relationships from filters tables | 2021-12-18 | -90/+63 | |
| | | ||||
| * | Correct Filter-FilterList relationship. | 2021-12-18 | -64/+68 | |
| | | | | | | | Instead of a many-many relationship, one filterlist has multiple filters. Nested serialization is read-only by default, so not all CRUD methods are implemented yet for the FilterList viewset. | |||
| * | Migrate misc field names and help text changes. | 2021-12-18 | -0/+44 | |
| | | ||||
| * | Improve name of dm sent to triggered user. | 2021-12-18 | -11/+11 | |
| | | ||||
| * | Fix faulty model enumeration. | 2021-12-18 | -3/+3 | |
| | | | | | This also allows us to simplify the str dunder for a FilterList. | |||
| * | Improve help text message. | 2021-12-18 | -6/+6 | |
| | | ||||
| * | Filters: allowed_category -> allowed_categories | 2021-12-18 | -11/+11 | |
| | | ||||
| * | Filters: update tests to the new schema | 2021-12-18 | -124/+300 | |
| | | ||||
| * | Filters: hook the new models into the REST API | 2021-12-18 | -116/+773 | |
| | | ||||
| * | Filters: Add migration to the new model | 2021-12-18 | -0/+165 | |
| | | | | | This will take the currently defined filter list and put them inside the new schema while trying to keep defaults similar to our current setup. | |||
| * | Filters: Add new models to Django Admin | 2021-12-18 | -0/+12 | |
| | | ||||
| * | Filter: new schema | 2021-12-18 | -44/+194 | |
| | | | | | This commit adds new filter schema as described in #479 | |||
| * | Merge pull request #635 from python-discord/revert-metricity-change | 2021-12-14 | -3/+5 | |
| |\ | ||||
| | * | Query message count directly from messages | 2021-12-14 | -3/+5 | |
| |/ | | | | | | This was changed due to performance reasons, but after some tweaking in the database, such as increasing work memory and adding an index, this query runs much faster now. To test this, I want to revert this change, so that we can stop the materialised view from refreshing, to see if the act of refreshing is what's causing this query to seem faster when runing against the database. | |||
| * | Merge pull request #634 from python-discord/bump-drf | 2021-12-14 | -82/+119 | |
| |\ | | | | | Bump drf up to 3.12.0 | |||
| | * | Bump drf up to 3.12.0 | 2021-12-13 | -82/+119 | |
| |/ | | | | This is to add support for Django 3.1's database-agnositic JSONField. | |||
| * | Merge pull request #633 from python-discord/dependabot/pip/django-3.1.14 | 2021-12-12 | -5/+5 | |
| |\ | | | | | Bump django from 3.1.13 to 3.1.14 | |||
| | * | Merge branch 'main' into dependabot/pip/django-3.1.14 | 2021-12-12 | -5/+3 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #632 from python-discord/use-new-message-view | 2021-12-11 | -5/+3 | |
| |\ \ | | | | | | | Use new approx message count view | |||
| | * \ | Merge branch 'main' into use-new-message-view | 2021-12-11 | -17/+41 | |
| | |\ \ | |/ / |/| | | ||||
| | * | | Use new approx message count view | 2021-12-11 | -5/+3 | |
| | | | | | | | | | | | | | | | | | | | We have added a new view to metricity that will keep track of an approximate message count, updating every 10 seconds. By doing this, we avoid running a query against the whole message table every time we want to get a user's messages. | |||
| | | * | Bump django from 3.1.13 to 3.1.14 | 2021-12-11 | -5/+5 | |
| | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 3.1.13 to 3.1.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.1.13...3.1.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> | |||
| * | | Merge pull request #630 from python-discord/dependabot/pip/django-3.1.13 | 2021-12-11 | -17/+41 | |
| |\ \ | |/ |/| | Bump django from 3.0.14 to 3.1.13 | |||
| | * | Merge branch 'main' into dependabot/pip/django-3.1.13 | 2021-12-11 | -9/+4 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #631 from Akarys42/patch-1 | 2021-12-10 | -9/+4 | |
| |\ \ | ||||
| | * | | Remove myself from the codeowners | 2021-12-10 | -9/+4 | |
| |/ / | ||||
| | * | Update `django-filter` for new Django version | 2021-11-27 | -7/+7 | |
| | | | ||||
| | * | Migrate to generic `JSONField` | 2021-11-27 | -5/+28 | |
| | | | ||||
| | * | Bump django from 3.0.14 to 3.1.13 | 2021-11-26 | -6/+7 | |
| |/ | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 3.0.14 to 3.1.13. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.0.14...3.1.13) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> | |||
| * | Merge pull request #629 from python-discord/static-docs | 2021-11-26 | -7/+9 | |
| |\ | | | | | Clean Up Static Deployment Docs | |||
| | * | Clean Up Static Deploys Readme | 2021-11-26 | -6/+8 | |
| | | | | | | | Reorganize the static deploy readme, and clarify the content. | |||
| | * | Fix Typo In Static Task | 2021-11-26 | -1/+1 | |
| |/ | ||||
| * | Merge pull request #572 from D0rs4n/pr/deleterolesignal | 2021-11-26 | -4/+45 | |
| |\ | | | | | Create a signal to unassign roles from user when the role is deleted | |||
| | * | Patch signals to use post_delete, instead of pre_delete | 2021-11-26 | -5/+4 | |
| | | | | | | | | | | | From now on the signal will only get executed after the Role has been deleted The commit also introduces minor changes in the tests of roles | |||
| | * | Patch roles test to use fresh instance from the DB | 2021-11-26 | -0/+1 | |
| | | | ||||