aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (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-3/+3
|
* Update new web namespace in ALLOWED_HOSTSGravatar Joe Banks2024-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 pull request #1262 from python-discord/feat/timeline-css-rewriteGravatar jchristgit2024-03-29-4210/+787
|\ | | | | Timeline CSS refactor
| * Timeline: Fix s/2/3/g substitutions on titlesGravatar hedy2024-03-26-7/+7
| | | | | | | | Co-authored-by: wookie184 <[email protected]>
| * Fix typo in timeline.css commentGravatar hedy2024-03-22-1/+1
| |
| * Timeline: Implement arrow on content boxesGravatar hedy2024-03-21-19/+48
| |
| * Use semantic class names in the timeline consistent with BulmaGravatar hedy2024-03-21-608/+489
| | | | | | | | | | | | | | | | | | | | Also turns out I was using the Bulma .content class wrong this whole time. We just need to slap that class onto a div and anything inside can be the output of, say a markdown -> HTML converter! Fix messy spacing and extraneous whitespace in the HTML as well. Special thanks to Vim macros.
| * Timeline: Better design structureGravatar hedy2024-03-20-403/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Put CSS for the pydis banner item (Aperture's logo design) inline style rather than using a class. - Style icons that uses images separate from icons that uses the pydis logo image. - Rename the pydis logo image to be more descriptive. - Group the icon and date components together for easier and more robust styling (see CSS comments). - More descriptive alt text for pydis icons. - Added responsibility: EVEN smaller icons on mobile. - Align content boxes about the middle axis rather than relying on container padding.
| * Timeline: Add mobile layout, support SafariGravatar hedy2024-03-19-193/+179
| | | | | | | | | | | | | | | | Also - Add comments in CSS - Remove `-webkit` rules because most of them are deprecated And uh, I forgot, but the title summarises them!
| * Timeline: Modify class ordering of containerGravatar hedy2024-03-19-2/+2
| | | | | | | | And remove bulma .section class because it's unnecessary here.
| * Remove cd-timeline__img--pictureGravatar hedy2024-03-19-52/+52
| | | | | | | | | | It's useless here after having added has-background-primary which leverages the bulma class, configurable through settings.py.
| * Timeline: Remove link to home/index.css stylesheetGravatar hedy2024-03-19-1/+0
| | | | | | | | | | That file is for the homepage explicitly and including it for the timeline is actually redundant.
| * Timeline: Adjust spacing between timeline itemsGravatar hedy2024-03-19-1/+1
| |
| * Semantic animation names for timeline.cssGravatar hedy2024-03-19-24/+25
| |
| * Conform to 4-spaces indent for timeline.cssGravatar hedy2024-03-19-241/+241
| |
| * Timeline: Use an accentuated grey border for iconsGravatar hedy2024-03-19-1/+1
| | | | | | | | The grey was there as a placeholder before this.
| * Timeline: Use Bulma has-background-primary class for PyDis logoGravatar hedy2024-03-19-6/+1
| |
| * Center align the timeline line (container ::before pseudoelement)Gravatar hedy2024-03-19-1/+1
| |
| * Fix typo in timeline.css CSS-variableGravatar hedy2024-03-19-1/+2
| | | | | | | | | | | | | | Unfortunately there is a merge commit (with merge conflicts) in between this change and the timeline commit before it. Perhaps in a few years time when I'm more confident in rebasing I'll be able to amend that commit to include this fix.
| * Fix conflictsGravatar hedy2024-03-19-2/+1
| |\
| * | Timeline: Initial rewrite of CSSGravatar hedy2024-03-19-4145/+837
| | |
* | | Merge pull request #1273 from python-discord/fix/safari-touch-toggle-dropdownGravatar jchristgit2024-03-29-1/+3
|\ \ \ | | | | | | | | Fix navbar dropdown toggle for touchscreens using Safari
| * | | Fix navbar dropdown toggle for touchscreens using SafariGravatar hedy2024-03-27-1/+3
| | | |
* | | | Merge pull request #1210 from python-discord/feat/events-redesignGravatar jchristgit2024-03-29-117/+1110
|\ \ \ \ | | | | | | | | | | Redesign of events page