aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* Merge pull request #1280 from ↵Gravatar wookie1842024-04-02-10/+11
|\ | | | | | | | | python-discord/set-elidable-on-run-python-operations-in-migrations Set elidable on RunPython operations in migrations
| * Merge branch 'main' into set-elidable-on-run-python-operations-in-migrationsGravatar wookie1842024-04-02-55/+179
| |\ | |/ |/|
* | Merge pull request #1279 from python-discord/add-test-case-drf-3.15-regressionGravatar wookie1842024-04-02-1/+46
|\ \ | | | | | | Add test case for DRF 3.15 regression
| * \ Merge branch 'main' into add-test-case-drf-3.15-regressionGravatar wookie1842024-04-02-54/+133
| |\ \ | |/ / |/| |
* | | Merge pull request #1287 from python-discord/upsert-tags-in-three-queriesGravatar Joe Banks2024-04-02-18/+25
|\ \ \ | | | | | | | | Upsert tags in two queries
| * \ \ Merge branch 'main' into upsert-tags-in-three-queriesGravatar Joe Banks2024-04-02-20/+23
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1289 from python-discord/dependabot/pip/ruff-0.3.5Gravatar Xithrius2024-04-01-20/+20
|\ \ \ \
| * | | | Bump ruff from 0.3.4 to 0.3.5Gravatar dependabot[bot]2024-04-02-20/+20
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.4 to 0.3.5. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.3.4...v0.3.5) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | Merge pull request #1288 from python-discord/return-bytes-io-from-http-errorsGravatar Joe Banks2024-04-01-0/+3
|\ \ \ \ | | | | | | | | | | Return BytesIO as fp for mocked HTTP errors
| * | | | 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.
* | | Merge pull request #1286 from python-discord/jb3/filterlist-perf-improvementsGravatar Joe Banks2024-04-01-1/+1
|\ \ \ | | | | | | | | Prefetch the filter_list field in the FilterListSerializer
| * | | Prefetch the filter_list field in the FilterListSerializerGravatar Joe Banks2024-04-01-1/+1
|/ / /
* | | Merge pull request #1284 from python-discord/jb3/api-user-display-nameGravatar Joe Banks2024-04-01-8/+44
|\ \ \ | | | | | | | | Add display name to API user model
| * | | 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
|/ / /
* | | Merge pull request #1281 from python-discord/jb3/github-webhook-no-statusGravatar Joe Banks2024-04-01-5/+38
|\ \ \ | | | | | | | | Don't propagate the status received from Discord to GitHub Webhook
| * | | 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`.
* Merge pull request #1278 from ↵Gravatar jchristgit2024-03-31-18/+50
|\ | | | | | | | | python-discord/revert-1271-dependabot/pip/djangorestframework-3.15.1 Revert "Bump djangorestframework from 3.14.0 to 3.15.1"
| * Revert "Bump djangorestframework from 3.14.0 to 3.15.1"Gravatar jchristgit2024-03-31-18/+50
|/
* Merge pull request #1276 from python-discord/support-test-keepdbGravatar jchristgit2024-03-30-4/+11
|\ | | | | Support running tests with --keepdb option
| * Merge branch 'main' into support-test-keepdbGravatar Xithrius2024-03-30-50/+18
| |\ | |/ |/|
* | Merge pull request #1271 from ↵Gravatar wookie1842024-03-30-50/+18
|\ \ | | | | | | | | | | | | python-discord/dependabot/pip/djangorestframework-3.15.1 Bump djangorestframework from 3.14.0 to 3.15.1
| * | Implement adjustments for DRF 3.15Gravatar Johannes Christ2024-03-29-33/+13
| | |
| * | Bump djangorestframework from 3.14.0 to 3.15.1Gravatar dependabot[bot]2024-03-29-17/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.14.0 to 3.15.1. - [Release notes](https://github.com/encode/django-rest-framework/releases) - [Commits](https://github.com/encode/django-rest-framework/compare/3.14.0...3.15.1) --- updated-dependencies: - dependency-name: djangorestframework dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
| * 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
| |
| * Merge branch 'main' into feat/timeline-css-rewriteGravatar hedy2024-03-21-5/+6
| |\
| * | 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.