aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * Remove delete permission for bot settings admin.Gravatar scragly2020-09-20-0/+5
| | | | | | | | | | | | | | | | | | I'm unable to see any cases where this would be wanted, and instead accidental deletion would result in the system possibly breaking, as we are unable to add the setting again to replace it if it got removed. The name has also set to read only in item view, to prevent renames, effectively doing the same thing as deleting it.
| | * Add migrations for nomination and doc link model changes.Gravatar scragly2020-09-20-0/+93
| | |
| | * Change documentation link model to order by package.Gravatar scragly2020-09-20-0/+5
| | |
| | * Change Infraction admin to use fieldsets for better grouping of info.Gravatar scragly2020-09-20-9/+5
| | |
| | * Allow Nomination end_reason to have a blank value for validation.Gravatar scragly2020-09-20-1/+2
| | | | | | | | | | | | Without `blank=True`, admin page editable forms could not be saved if no content was in the end_reason input.
| | * Change UserTopRoleFilter to UserRoleFilter.Gravatar scragly2020-09-20-2/+2
| | | | | | | | | | | | Filter checks for general role membership instead of only those who have the selected role as top role. Noticed during development that we'd not be able to filter to show all Helpers otherwise, as some Helpers have different top roles such as Core Dev that wouldn't give immediately obvious behaviour to user expectations.
| | * Test username property formatting for user model.Gravatar scragly2020-09-20-1/+5
| | |
| | * Update user model in DeletedMessagesLogURLTests.Gravatar scragly2020-09-19-1/+0
| | | | | | | | | | | | `avatar_hash` is no longer a field stored in the database.
| | * Remove noqa from DeletedMessagesLogURLTests setup.Gravatar scragly2020-09-19-1/+1
| | |
| | * Don't allow expiry to be editable, due to pending bot tasks unsyncingGravatar scragly2020-09-18-0/+1
| | |
| | * Declutter Infraction admin list, add actor list filter.Gravatar scragly2020-09-18-5/+25
| | |
| | * Add DocumentationLink and BotSetting Admin models.Gravatar scragly2020-09-18-4/+28
| | |
| | * Update DeletedMessage and LogEntry Admin models, add verbose names for MessageGravatar scragly2020-09-18-78/+95
| | |
| | * Update Nomination Admin model, add actor filter.Gravatar scragly2020-09-18-10/+37
| | |
| | * Add Used filter for OffTopicChannelName Admin model.Gravatar scragly2020-09-18-0/+1
| | |
| | * Add OffensiveMessage Admin model.Gravatar scragly2020-09-18-4/+30
| | |
| | * Update Role ModelAdmin to past changes, cleanup formatting.Gravatar scragly2020-09-18-17/+31
| | |
| | * Fix format-style not supporting X hex casting like f-strings.Gravatar scragly2020-09-18-2/+2
| | |
| | * Add return types and docstrings for new user admin changes.Gravatar scragly2020-09-18-14/+26
| | |
| | * Add verbose names for user fields that need capitalisation fixes.Gravatar scragly2020-09-18-2/+4
| | |
| | * Update UserAdmin to use new role values, pretty colours.Gravatar scragly2020-09-18-32/+50
| | |
| | * Use admin.register decorators.Gravatar scragly2020-09-18-8/+8
| | |
| | * Remove TagAdmin model as Tags were removed from site.Gravatar scragly2020-09-18-23/+0
| | |
| | * Merge branch 'master' into admin-api-pages-improvementsGravatar scragly2020-09-18-673/+4338
| | |\ | | | | | | | | | | | | | | | | # Conflicts: # pydis_site/apps/api/admin.py
| | | * Fix a broken test for nomination reason.Gravatar Eivind Teig2020-09-12-5/+2
| | | | | | | | | | | | | | | | We no longer return 400 if a reason is missing.
| | | * Allow blank/null input to the nomination reason.Gravatar Eivind Teig2020-09-11-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | We are lowering the threshold for nomination. By allowing the users to make a nomination without a reason might make this feature more attractive amongst members of staff.
| | * | Add new test for deleted message context log_url.Gravatar scragly2019-10-20-3/+24
| | | |
| | * | Adjust deleted message test to account for new ordering of newest created first.Gravatar scragly2019-10-20-1/+1
| | | |
| | * | Add tag search and rendered preview.Gravatar scragly2019-10-20-2/+26
| | | |
| | * | Show role colour style and add hex value, link perms to calc page, add role ↵Gravatar scragly2019-10-20-1/+33
| | | | | | | | | | | | | | | | search.
| | * | Add search field to off topic admin page.Gravatar scragly2019-10-20-1/+7
| | | |
| | * | Improve nominations admin list and page, add search and filter by active.Gravatar scragly2019-10-20-1/+43
| | | |
| | * | Improve infractions admin list and page, add search and filters.Gravatar scragly2019-10-20-1/+45
| | | |
| | * | Order roles by positioning, add filters and search to api user admin page.Gravatar scragly2019-10-20-2/+48
| | | |
| | * | Add message log links, improved formatting to message deletion admin pages.Gravatar scragly2019-10-20-7/+75
| | | |
| | * | Set newest-first sorting for message deletion models, add log_url property.Gravatar scragly2019-10-20-2/+14
| | | |
| * | | optimize bulk update endpoint by using Model.objects.bulk_update() methodGravatar RohanJnr2020-09-22-1/+7
| | | | | | | | | | | | | | | | The Model.objects.bulk_update() method greatly reduces the number of SQL queries by updating all required instances in 1 query.
| * | | Merge branch 'master' into user_endpointGravatar rohanjnr2020-09-09-214/+179
| |\ \ \ | | | |/ | | |/| | | | | the Pipfile.lock conflict was resolved by re-locking the pipfile.
| | * | Update landing page.Gravatar Leon Sandøy2020-09-03-2/+2
| | | | | | | | | | | | | | | | Replace flake8-annotations with metricity.
| | * | Merge branch 'master' into add_deployment_infoGravatar Joe Banks2020-09-02-210/+159
| | |\ \
| | | * | Create new merge migration to fix conflicts between migrationsGravatar Karlis S2020-09-01-0/+14
| | | | |
| | | * | Merge branch 'master' into tags-cleanupGravatar ks1292020-09-01-4/+87
| | | |\ \
| | | | * | Create merge migration to fix conflictsGravatar ks1292020-08-30-0/+14
| | | | | |
| | | | * | Revert "Fix mess with migrations"Gravatar ks1292020-08-30-10/+38
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 32342aca3309b4fd482841cb84e4f166152d5c33.
| | | | * | Revert "Revert pull request #348"Gravatar ks1292020-08-30-41/+82
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit dae68c46831ef14e6a0715add1025f9af1b5a73d.
| | | * | | Replace bad import on migrationGravatar ks1292020-08-27-1/+1
| | | | | |
| | | * | | Fix embed validator location in migrationGravatar ks1292020-08-27-1/+1
| | | | | |
| | | * | | Fix import paths of mixins in message modelGravatar Karlis S2020-08-27-1/+2
| | | | | |
| | | * | | Still move mixins back to its own fileGravatar Karlis S2020-08-27-31/+32
| | | | | |
| | | * | | Fix FilterList model mixins import pathGravatar Karlis S2020-08-27-1/+1
| | | | | |