aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | Correct 'Redirect' FilterLists' default values.Gravatar D0rs4n2021-12-24-1/+1
| | | | | | | |
| * | | | | | | Include 'dm_content ' field under Infraction settings in Filters/FilterListsGravatar D0rs4n2021-12-24-1/+1
| | | | | | | |
| * | | | | | | Patch Filter/FilterList's default values and add new fieldsGravatar D0rs4n2021-12-22-61/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Patch default values, so that further implementations can be performed on the bot side - Add three new fields: "send_alert", and in settings under the "server_message" field: "send_message_text", and "server_message_embed" fields. - Patch documentation, and validators accordingly. - Perform further patches, and minor corrections.
| * | | | | | | Prepare FilterList and Filter models, serializers for the new filter schemaGravatar D0rs4n2021-12-18-96/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rename channel scope fields: - "allowed" -> "disabled" eg.: "allowed_channels" -> "disabled_channels" - Rename FilterLists` names: filter_token -> tokens domain_name -> domains guild_invite -> invites file_format -> formats - Patch the docs and validators accordingly.
| * | | | | | | Patch Filter and FilterList Serializer validation logic and representationGravatar D0rs4n2021-12-18-24/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This commit patches an error with the FilterListSerializer validation logic, so that it won't raise an error when an optional field is not present. - It also adds the `enabled` and `delete_messages` fields, to the FilterSerializer's representation - Furthermore the commit introduces minor bug patches, regarding DRF Serializer Fields.
| * | | | | | | Adjust FilterList Schema to group settings into subcategoriesGravatar D0rs4n2021-12-18-48/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - This commit patches the FilterList serializer's schema, and puts the settings into the relevant subcategories.
| * | | | | | | Adjust FilterList RepresentationGravatar D0rs4n2021-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 SchemaGravatar D0rs4n2021-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 lintingGravatar ks1292021-12-18-7/+19
| | | | | | | |
| * | | | | | | Add merge migrationGravatar ks1292021-12-18-0/+14
| | | | | | | |
| * | | | | | | Move filters validations to serializersGravatar ks1292021-12-18-34/+33
| | | | | | | |
| * | | | | | | Add validation to filters to not allow duplicates + additional_field -> JSONGravatar ks1292021-12-18-7/+8
| | | | | | | |
| * | | | | | | Add validation to filters to not allow duplicated channels and categoriesGravatar ks1292021-12-18-0/+29
| | | | | | | |
| * | | | | | | Add basic validation for infraction fields + use common infraction typesGravatar ks1292021-12-18-11/+8
| | | | | | | |
| * | | | | | | Update filters API to actually workGravatar ks1292021-12-18-85/+123
| | | | | | | |
| * | | | | | | Remove old models from migrationGravatar ks1292021-12-18-2/+0
| | | | | | | |
| * | | | | | | Remove default field from FilterSettingsMixin and migrationGravatar ks1292021-12-18-8/+2
| | | | | | | |
| * | | | | | | Update filters migrationsGravatar ks1292021-12-18-120/+53
| | | | | | | |
| * | | | | | | Add AbstractModelMeta mixinGravatar ks1292021-12-18-0/+5
| | | | | | | |
| * | | | | | | Remove old one-to-one filters relationships serializers, views and URLsGravatar ks1292021-12-18-555/+15
| | | | | | | |
| * | | | | | | Remove one-to-one relationships from filters tablesGravatar ks1292021-12-18-90/+63
| | | | | | | |
| * | | | | | | Correct Filter-FilterList relationship.Gravatar kosayoda2021-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.Gravatar kosayoda2021-12-18-0/+44
| | | | | | | |
| * | | | | | | Improve name of dm sent to triggered user.Gravatar kosayoda2021-12-18-11/+11
| | | | | | | |
| * | | | | | | Fix faulty model enumeration.Gravatar kosayoda2021-12-18-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also allows us to simplify the str dunder for a FilterList.
| * | | | | | | Improve help text message.Gravatar kosayoda2021-12-18-6/+6
| | | | | | | |
| * | | | | | | Filters: allowed_category -> allowed_categoriesGravatar Matteo Bertucci2021-12-18-11/+11
| | | | | | | |
| * | | | | | | Filters: update tests to the new schemaGravatar Matteo Bertucci2021-12-18-124/+300
| | | | | | | |
| * | | | | | | Filters: hook the new models into the REST APIGravatar Matteo Bertucci2021-12-18-116/+773
| | | | | | | |
| * | | | | | | Filters: Add migration to the new modelGravatar Matteo Bertucci2021-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 AdminGravatar Matteo Bertucci2021-12-18-0/+12
| | | | | | | |
| * | | | | | | Filter: new schemaGravatar Matteo Bertucci2021-12-18-44/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds new filter schema as described in #479
* | | | | | | | Bump sentry-sdk from 1.19.0 to 1.19.1 (#931)Gravatar dependabot[bot]2023-04-06-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.19.0 to 1.19.1. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.19.0...1.19.1) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Add README for the redirects app (#924)Gravatar Johannes Christ2023-04-06-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is kept more minimal than the other apps, as it's mostly for backwards compatibility.
* | | | | | | | Merge pull request #927 from python-discord/dependabot/pip/psycopg2-binary-2.9.6Gravatar Johannes Christ2023-04-06-74/+65
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Bump psycopg2-binary from 2.9.5 to 2.9.6
| * | | | | | | | Bump psycopg2-binary from 2.9.5 to 2.9.6Gravatar dependabot[bot]2023-04-05-74/+65
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [psycopg2-binary](https://github.com/psycopg/psycopg2) from 2.9.5 to 2.9.6. - [Release notes](https://github.com/psycopg/psycopg2/releases) - [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS) - [Commits](https://github.com/psycopg/psycopg2/commits/2.9.6) --- updated-dependencies: - dependency-name: psycopg2-binary dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | Merge pull request #928 from python-discord/dependabot/pip/django-4.2Gravatar Johannes Christ2023-04-06-7/+7
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Bump django from 4.1.7 to 4.2
| * | | | | | | | Bump django from 4.1.7 to 4.2Gravatar dependabot[bot]2023-04-05-7/+7
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 4.1.7 to 4.2. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/4.1.7...4.2) --- updated-dependencies: - dependency-name: django dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | Bump pre-commit from 3.2.1 to 3.2.2 (#929)Gravatar dependabot[bot]2023-04-05-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.2.1...v3.2.2) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Bump sentry-sdk from 1.18.0 to 1.19.0 (#930)Gravatar dependabot[bot]2023-04-05-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.18.0 to 1.19.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.18.0...1.19.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* | | | | | | | Merge pull request #925 from python-discord/dependabot/pip/django-distill-3.1.2Gravatar wookie1842023-03-31-4/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Bump django-distill from 3.0.2 to 3.1.2
| * | | | | | | | Bump django-distill from 3.0.2 to 3.1.2Gravatar dependabot[bot]2023-03-31-4/+9
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django-distill](https://github.com/meeb/django-distill) from 3.0.2 to 3.1.2. - [Release notes](https://github.com/meeb/django-distill/releases) - [Commits](https://github.com/meeb/django-distill/compare/v3.0.2...v3.1.2) --- updated-dependencies: - dependency-name: django-distill dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | Merge pull request #923 from python-discord/dependabot/pip/sentry-sdk-1.18.0Gravatar Johannes Christ2023-03-29-5/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Bump sentry-sdk from 1.17.0 to 1.18.0
| * | | | | | | | Bump sentry-sdk from 1.17.0 to 1.18.0Gravatar dependabot[bot]2023-03-29-5/+5
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.17.0 to 1.18.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.17.0...1.18.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | Merge pull request #922 from python-discord/add-home-app-readmeadd-home-app-readmeGravatar Johannes Christ2023-03-29-7/+36
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add a readme for the home app
| * | | | | | | | Add a readme for the home appGravatar Johannes Christ2023-03-29-7/+36
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit also moves the nested structures for models and views in the home app into a single module, as they were not split up as part of the subpackage, with the goal of making this a bit more overseeable. Part of #674.
* | | | | | | | Merge pull request #920 from python-discord/dependabot/pip/django-filter-23.1Gravatar Johannes Christ2023-03-28-5/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Bump django-filter from 22.1 to 23.1
| * | | | | | | | Bump django-filter from 22.1 to 23.1Gravatar dependabot[bot]2023-03-27-5/+5
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django-filter](https://github.com/carltongibson/django-filter) from 22.1 to 23.1. - [Release notes](https://github.com/carltongibson/django-filter/releases) - [Changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst) - [Commits](https://github.com/carltongibson/django-filter/compare/22.1...23.1) --- updated-dependencies: - dependency-name: django-filter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | | Merge pull request #921 from python-discord/dependabot/pip/taskipy-1.10.4Gravatar Johannes Christ2023-03-28-5/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Bump taskipy from 1.10.3 to 1.10.4
| * | | | | | | | Bump taskipy from 1.10.3 to 1.10.4Gravatar dependabot[bot]2023-03-27-5/+5
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [taskipy](https://github.com/taskipy/taskipy) from 1.10.3 to 1.10.4. - [Release notes](https://github.com/taskipy/taskipy/releases) - [Commits](https://github.com/taskipy/taskipy/commits) --- updated-dependencies: - dependency-name: taskipy dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>