aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps (follow)
Commit message (Collapse)AuthorAgeLines
* Add alternate accounts to the user modelGravatar jchristgit2024-05-23-14/+784
| | | | | 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 fieldsGravatar Joe Banks2024-05-21-1/+2
|
* Update reminder tests for new soft-deleted behaviourGravatar Chris Lovering2024-05-10-3/+10
|
* Soft-delete reminders on DELETE instead of removing entirelyGravatar Chris Lovering2024-05-10-0/+18
|
* Add our reference to Netcup linksGravatar Johannes Christ2024-04-15-1/+1
|
* Merge branch 'main' into set-elidable-on-run-python-operations-in-migrationsGravatar wookie1842024-04-02-35/+159
|\
| * Merge branch 'main' into add-test-case-drf-3.15-regressionGravatar wookie1842024-04-02-34/+113
| |\
| | * Merge branch 'main' into upsert-tags-in-three-queriesGravatar Joe Banks2024-04-02-0/+3
| | |\
| | | * Return BytesIO as fp for mocked HTTP errorsGravatar Johannes Christ2024-04-01-0/+3
| | | | | | | | | | | | | | | | Prevent spurious test failures on Solaris systems.
| | * | Upsert tags in two queriesGravatar Johannes Christ2024-04-01-18/+25
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, we had an N+1 query, where each tag would be separately fetched and updated. Instead, first delete any tags we no longer care about, then perform an upsert of all fields except for `last_commit`, which we want to keep from the existing tag. This comes with one caveat: on the first update of the tags, the `tags` list is no longer modified in-place, because mutation is bad, however, the database state is updated accordingly.
| | * Prefetch the filter_list field in the FilterListSerializerGravatar Joe Banks2024-04-01-1/+1
| | |
| | * Make pure-SQL line in api_user.display_name migration elidableGravatar Joe Banks2024-04-01-1/+1
| | | | | | | | | Co-authored-by: jchristgit <[email protected]>
| | * Update user tests with display_name fieldGravatar Joe Banks2024-04-01-4/+9
| | |
| | * Update user viewset docstrings with display_nameGravatar Joe Banks2024-04-01-3/+11
| | |
| | * Add display_name to serializerGravatar Joe Banks2024-04-01-1/+1
| | |
| | * Add display name to API user modelGravatar Joe Banks2024-04-01-0/+23
| | |
| | * Log failed webhook attempts to stderr in GitHub Webhook FilterGravatar Joe Banks2024-04-01-1/+27
| | |
| | * No need to remove headers in GitHub Filter EndpointGravatar Joe Banks2024-04-01-2/+0
| | |
| | * Update GitHub Filter endpoint tests for new responseGravatar Joe Banks2024-04-01-2/+4
| | |
| | * Don't propagate the status received from Discord to GitHub WebhookGravatar Joe Banks2024-04-01-1/+8
| | |
| | * Update Python version requirements in contributing guide (#1283)Gravatar wookie1842024-04-01-2/+2
| | |
| * | Add test case for DRF 3.15 regressionGravatar Johannes Christ2024-03-31-1/+46
| |/
* / Set elidable on RunPython operations in migrationsGravatar Johannes Christ2024-03-31-10/+11
|/ | | | | | Any RunPython operation that only migrated existing data (that is, did not create data) can be safely elided by Django when we run `squashmigrations`.
* Revert "Bump djangorestframework from 3.14.0 to 3.15.1"Gravatar jchristgit2024-03-31-13/+33
|
* Merge branch 'main' into support-test-keepdbGravatar Xithrius2024-03-30-33/+13
|\
| * Implement adjustments for DRF 3.15Gravatar Johannes Christ2024-03-29-33/+13
| |
* | Support running tests with --keepdb optionGravatar Johannes Christ2024-03-29-4/+11
|/ | | | | | Allow faster local tests by skipping the database re-setup. Only two cases were dependent on hardcoded IDs and already existing data, they have been adjusted appropriately.
* Merge branch 'main' into feat/events-redesignGravatar hedy2024-03-18-1/+1
|\
| * Fix resources project-ideas FA iconGravatar hedy2024-03-12-1/+1
| |
* | Merge branch 'main' into feat/events-redesignGravatar hedy2024-03-16-8/+33
|\|
| * Merge branch 'main' into docs/suggest-resourcesGravatar ChrisJL2024-03-10-98/+105
| |\
| | * Ensure messages returned for metricity data do not match all excluded channelsGravatar Chris Lovering2024-02-20-3/+3
| | |
| * | Resources: Add guidelines on YAML filesGravatar hedy2024-02-07-5/+30
| | |
* | | Add READMEs to apps/events and templates/eventsGravatar hedy2024-03-16-1/+3
| |/ |/|
* | Update path variable in resource page testsGravatar RohanJnr2024-02-11-1/+1
| |
* | Move resorce loading from view init() to AppConfig ready() methodGravatar RohanJnr2024-02-11-94/+101
|/ | | | This is done to load the resources only once on startup instead of loading it everytime the view is initialized which is done whenever a request is made to the resources endpoint.
* Merge branch 'main' into mailing-list-modelGravatar Xithrius2024-02-03-60/+115
|\
| * Appeased the linterGravatar Xithrius2024-02-01-1/+1
| |
| * Merge branch 'main' into docs/dark-themeGravatar hedy2024-01-28-45/+54
| |\
| | * Dark: Use alternate images for homepage, resources, eventsGravatar hedy2024-01-28-0/+10
| | | | | | | | | | | | | | | | | | Thanks to lemon for editting all the images. Co-authored-by: Leon Sandøy <[email protected]>
| | * Dark: Use our own panda3d logo with light backgroundGravatar hedy2024-01-18-1/+1
| | |
| | * Dark: For content pages using transparent images...Gravatar hedy2024-01-17-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...which are unreadable in dark mode, use `has-dark-mode-background` class. ![](/img.png){: class="has-dark-mode-background" } Like this. And it will be given a nice light gray background and a subtle padding & border.
| | * Dark: Use kivy logo with light background in resourcesGravatar hedy2024-01-16-3/+1
| | |
| | * Dark: Use adafruit logo with light background in resourcesGravatar hedy2024-01-16-1/+1
| | |
| | * Dark: Fix the filter box on resources pageGravatar hedy2024-01-16-31/+31
| | |
| | * Merge branch 'main' into gdwr-dark-themeGravatar ~hedy2024-01-13-17/+39
| | |\
| | * \ Fix all conflictsGravatar hedy2023-12-14-2881/+7487
| | |\ \ | | | | | | | | | | | | | | | hopefully I dont have to do this again
| | * | | Use colour helpersGravatar GDWR2022-02-08-4/+4
| | | | |
| * | | | Add section about dark mode in guide for contributing a pageGravatar hedy2024-01-28-0/+24
| | |_|/ | |/| |
| * | | Use icon_image instead of title_image and set icon_size to 50.Gravatar devdanzin2024-01-03-1/+2
| | | |