Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add DELETE handling for moderator settingsjb3/user-props-store | 2024-05-26 | -0/+13 | |
| | ||||
* | Add method for PATCHing new moderator settings | 2024-05-26 | -1/+22 | |
| | ||||
* | Add serializer for mod_settings response key on User objects | 2024-05-26 | -2/+34 | |
| | ||||
* | Use select_related to JOIN for UserModSettings | 2024-05-26 | -1/+1 | |
| | ||||
* | Add UserModSettings model | 2024-05-26 | -3/+69 | |
| | | | | | | Update imports in API models to include UserModSettings Add migration for UserModSettings model | |||
* | Add alternate accounts to the user model | 2024-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 fields | 2024-05-21 | -1/+2 | |
| | ||||
* | Update reminder tests for new soft-deleted behaviour | 2024-05-10 | -3/+10 | |
| | ||||
* | Soft-delete reminders on DELETE instead of removing entirely | 2024-05-10 | -0/+18 | |
| | ||||
* | Add our reference to Netcup links | 2024-04-15 | -3/+3 | |
| | ||||
* | Update new web namespace in ALLOWED_HOSTS | 2024-04-15 | -1/+1 | |
| | ||||
* | Merge branch 'main' into set-elidable-on-run-python-operations-in-migrations | 2024-04-02 | -35/+159 | |
|\ | ||||
| * | Merge branch 'main' into add-test-case-drf-3.15-regression | 2024-04-02 | -34/+113 | |
| |\ | ||||
| | * | Merge branch 'main' into upsert-tags-in-three-queries | 2024-04-02 | -0/+3 | |
| | |\ | ||||
| | | * | Return BytesIO as fp for mocked HTTP errors | 2024-04-01 | -0/+3 | |
| | | | | | | | | | | | | | | | | Prevent spurious test failures on Solaris systems. | |||
| | * | | Upsert tags in two queries | 2024-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 FilterListSerializer | 2024-04-01 | -1/+1 | |
| | | | ||||
| | * | Make pure-SQL line in api_user.display_name migration elidable | 2024-04-01 | -1/+1 | |
| | | | | | | | | | Co-authored-by: jchristgit <[email protected]> | |||
| | * | Update user tests with display_name field | 2024-04-01 | -4/+9 | |
| | | | ||||
| | * | Update user viewset docstrings with display_name | 2024-04-01 | -3/+11 | |
| | | | ||||
| | * | Add display_name to serializer | 2024-04-01 | -1/+1 | |
| | | | ||||
| | * | Add display name to API user model | 2024-04-01 | -0/+23 | |
| | | | ||||
| | * | Log failed webhook attempts to stderr in GitHub Webhook Filter | 2024-04-01 | -1/+27 | |
| | | | ||||
| | * | No need to remove headers in GitHub Filter Endpoint | 2024-04-01 | -2/+0 | |
| | | | ||||
| | * | Update GitHub Filter endpoint tests for new response | 2024-04-01 | -2/+4 | |
| | | | ||||
| | * | Don't propagate the status received from Discord to GitHub Webhook | 2024-04-01 | -1/+8 | |
| | | | ||||
| | * | Update Python version requirements in contributing guide (#1283) | 2024-04-01 | -2/+2 | |
| | | | ||||
| * | | Add test case for DRF 3.15 regression | 2024-03-31 | -1/+46 | |
| |/ | ||||
* / | Set elidable on RunPython operations in migrations | 2024-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" | 2024-03-31 | -13/+33 | |
| | ||||
* | Merge branch 'main' into support-test-keepdb | 2024-03-30 | -33/+13 | |
|\ | ||||
| * | Implement adjustments for DRF 3.15 | 2024-03-29 | -33/+13 | |
| | | ||||
* | | Support running tests with --keepdb option | 2024-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-rewrite | 2024-03-29 | -4210/+787 | |
|\ | | | | | Timeline CSS refactor | |||
| * | Timeline: Fix s/2/3/g substitutions on titles | 2024-03-26 | -7/+7 | |
| | | | | | | | | Co-authored-by: wookie184 <[email protected]> | |||
| * | Fix typo in timeline.css comment | 2024-03-22 | -1/+1 | |
| | | ||||
| * | Timeline: Implement arrow on content boxes | 2024-03-21 | -19/+48 | |
| | | ||||
| * | Use semantic class names in the timeline consistent with Bulma | 2024-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 structure | 2024-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 Safari | 2024-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 container | 2024-03-19 | -2/+2 | |
| | | | | | | | | And remove bulma .section class because it's unnecessary here. | |||
| * | Remove cd-timeline__img--picture | 2024-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 stylesheet | 2024-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 items | 2024-03-19 | -1/+1 | |
| | | ||||
| * | Semantic animation names for timeline.css | 2024-03-19 | -24/+25 | |
| | | ||||
| * | Conform to 4-spaces indent for timeline.css | 2024-03-19 | -241/+241 | |
| | | ||||
| * | Timeline: Use an accentuated grey border for icons | 2024-03-19 | -1/+1 | |
| | | | | | | | | The grey was there as a placeholder before this. | |||
| * | Timeline: Use Bulma has-background-primary class for PyDis logo | 2024-03-19 | -6/+1 | |
| | | ||||
| * | Center align the timeline line (container ::before pseudoelement) | 2024-03-19 | -1/+1 | |
| | | ||||
| * | Fix typo in timeline.css CSS-variable | 2024-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. |