Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Fix newly added lint rules from new ruff versionforms | 2025-07-18 | -4/+39 | |
| | ||||
* | Do not activate infractions on partial updates | 2025-05-27 | -1/+6 | |
| | ||||
* | Do not require "active" to be sent in PATCH infraction (#1518) | 2025-05-01 | -0/+1 | |
| | | | Regression from the DRF update. | |||
* | Mark unique constraint error checks as no cover | 2025-05-01 | -2/+14 | |
| | ||||
* | Add alternate accounts to the user model | 2024-05-23 | -8/+175 | |
| | | | | | Introduce a way to store alternate accounts on the user, and add the `PATCH /bot/users/<id:str>/alts` endpoint, which allows updating the user's alt accounts to the alt accounts in the request.. | |||
* | Add reviewed to nomination filterset fields | 2024-05-21 | -1/+2 | |
| | ||||
* | Soft-delete reminders on DELETE instead of removing entirely | 2024-05-10 | -0/+18 | |
| | ||||
* | Update user viewset docstrings with display_name | 2024-04-01 | -3/+11 | |
| | ||||
* | Revert "Bump djangorestframework from 3.14.0 to 3.15.1" | 2024-03-31 | -0/+26 | |
| | ||||
* | Implement adjustments for DRF 3.15 | 2024-03-29 | -26/+0 | |
| | ||||
* | Merge branch 'main' into mailing-list-model | 2024-02-03 | -2/+6 | |
|\ | ||||
| * | Merge pull request #1186 from python-discord/nplusone-infractions-expanded | 2023-12-15 | -1/+5 | |
| |\ | | | | | | | Prefetch user and actor in expanded infraction view | |||
| | * | Prefetch user and actor in expanded infraction view | 2023-12-15 | -1/+5 | |
| | | | | | | | | | | | | | | | Prevent N+1 reported by Sentry: https://python-discord.sentry.io/issues/4721126467/?project=2714379&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=3 | |||
| * | | Preload nomination entries in nomination viewset | 2023-12-15 | -1/+1 | |
| |/ | | | | | | | See https://python-discord.sentry.io/issues/4721508176/?project=2714379&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=1 | |||
* / | Migrate mailing lists to their own API endpoints | 2023-12-17 | -9/+105 | |
|/ | | | | | | Add a new model for the bot to store its mailing list state in, as opposed to the current JSON blob in the BotSetting table. Migrate the existing settings from the BotSetting table into the new model. | |||
* | Unify frozen fields logic into serializer mixin (#1169) | 2023-12-11 | -10/+0 | |
| | | | | Additionally, implement frozen fields on the offensive message serializer. | |||
* | Implement editing of offensive message records (#1165) | 2023-12-11 | -1/+12 | |
| | | | | | | | Allow changing the deletion date of offensive message records in case the bot encounters an error during deletion attempts. Fixes #364. Unblocks python-discord/bot#1013. | |||
* | Update code for new linter rules | 2023-06-21 | -2/+2 | |
| | | | | | | Ignore RUF012, which suggests to add typing.ClassVar to "mutable" class variables (in our case, it complained about the ordering attribute of the `Meta` class within models) - annotating this would be a bit noisy. | |||
* | Use the new datetime.UTC alias over datetime.timezone.utc | 2023-05-13 | -2/+2 | |
| | ||||
* | Switch to ruff for linting | 2023-05-10 | -9/+7 | |
| | ||||
* | Rename additional_field to additional_settings | 2023-03-26 | -7/+7 | |
| | ||||
* | Merge branch 'main' into new-filter-schema | 2023-03-21 | -3/+5 | |
|\ | ||||
| * | Remove typo | 2023-02-17 | -1/+1 | |
| | | ||||
| * | Add jump_url field to infraction model | 2023-02-17 | -3/+5 | |
| | | ||||
* | | Fix documentation and import | 2023-02-11 | -2/+2 | |
| | | | | | | | | Co-authored-by: wookie184 <[email protected]> | |||
* | | Update viewsets, fix linting | 2023-01-28 | -168/+364 | |
| | | ||||
* | | Merge branch 'main' into new-filter-schema | 2023-01-27 | -8/+70 | |
|\| | ||||
| * | Merge branch 'main' into 2304-link-previous-nomination-threads | 2022-12-29 | -1/+56 | |
| |\ | ||||
| | * | Include users with no messages in response, and simplify response format | 2022-11-17 | -11/+8 | |
| | | | ||||
| | * | Change the endpoint to be a POST not a GET | 2022-11-02 | -3/+3 | |
| | | | ||||
| | * | Add API endpoint for activity data | 2022-10-27 | -1/+59 | |
| | | | | | | | | | | | | I really had to work against DRF to get this working. Using the validator manually here isn't ideal but I couldn't see an obvious better way without adding a bunch of boilerplate code. It seems to work. | |||
| * | | remove useless coverage related commented | 2022-11-07 | -1/+0 | |
| | | | ||||
| * | | refactor nomination validation flow | 2022-11-07 | -12/+8 | |
| | | | ||||
| * | | add validation criteria for thread_id modification | 2022-11-07 | -0/+12 | |
| |/ | ||||
* | | Rename delete_messages to the more generic remove_context | 2022-11-09 | -6/+6 | |
| | | ||||
* | | Merge branch 'main' into new-filter-schema | 2022-10-07 | -16/+13 | |
|\| | ||||
| * | Bump To Django 4.1.1 & Update Dependencies | 2022-09-30 | -10/+7 | |
| | | | | | | | | | | | | Update outdated and broken dependencies. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| * | Fix Unittest Deprecation Warnings | 2022-09-04 | -6/+6 | |
| | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | |||
* | | Merge branch 'main' into new-filter-schema | 2022-07-15 | -16/+266 | |
|\| | ||||
| * | Adjust filtering settings for the AoC link viewset | 2022-04-18 | -1/+1 | |
| | | ||||
| * | Don't return the BumpedThread object when retrieving single | 2022-03-16 | -9/+15 | |
| | | | | | | | | We only need to check for existence, so sending the full object isn't needed. | |||
| * | Only return list of ints when retrieving all BumpedThreads | 2022-03-16 | -6/+1 | |
| | | ||||
| * | Add support for BumpedThreads to be stored in site | 2022-03-16 | -0/+67 | |
| | | | | | | | | | | | | Following our move to use Redis as just a cache, this PR allows the site to store a list of threads that need to be bumped. The bot will interact with this within the ThreadBumper cog. | |||
| * | Move FilterList imports down so they're sorted | 2022-03-16 | -1/+1 | |
| | | ||||
| * | Add new filter field, and patch the docs in AoC viewsets | 2022-03-10 | -13/+12 | |
| | | | | | | | | | | - Add the possibility to filter by `is_blocked` in the AoC completionist block viewset. - Patch various tense, and formatting inconsistencies in AoC viewsets | |||
| * | Enhance code, documentation consistency in AoC related code | 2022-03-10 | -3/+5 | |
| | | | | | | Co-authored-by: Mark <[email protected]> | |||
| * | Patch AoC tables to use the Discord user as PK. | 2022-03-09 | -3/+5 | |
| | | ||||
| * | Add reason field to AoC completionist block table | 2022-03-09 | -2/+5 | |
| | | ||||
| * | Enhance comments and table structure in AoC related modules | 2022-03-08 | -4/+4 | |
| | | | | | | | | - Set the user reference to be a OneToOne relation, on tables: AocCompletionistBlock and AocAccountLink. | |||
| * | Add support for storing AoC related data in site | 2022-03-07 | -0/+142 | |
| | |