aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
...
* Merge branch 'main' into feat/timeline-from-yamlGravatar wookie1842024-07-18-76/+342
|\
| * Add more allowed frameworks for CJ11Gravatar Boris Muratov2024-07-16-0/+25
| |
| * Pleasure the style dictatorGravatar Johannes Christ2024-07-10-1/+1
| |
| * Update site for Code Jam 2024 (#1353)Gravatar Shakya Majumdar2024-07-03-72/+301
| |
| * Allow some bots through the GitHub Webhook FilterGravatar Joe Banks2024-06-16-1/+13
| | | | | | | | | | | | | | | | | | | | | | This allows the Fast Forward bot and GitHub Actions scripts through the webhook filter. * Fast Forward bot should be allowed as otherwise any event created by this bot (i.e. it's merges to main) are not reported into Discord as it is considered a bot payload * GitHub Actions are generally things we have created ourselves and are not normally high noise, and as such are also worth reporting
| * Use Prometheus drop-in database enginesGravatar Joe Banks2024-06-04-2/+2
| |
* | Timeline: Fix word breaking on hyphenation in 8th Code JamGravatar ~hedy2024-05-30-3/+3
| | | | | | | | Co-authored-by: wookie184 <[email protected]>
* | Timeline: Fix CSS commentGravatar ~hedy2024-05-24-1/+1
| |
* | Timeline: Start a new paragraph for the @Directors (DWIM)Gravatar ~hedy2024-05-24-1/+3
| | | | | | | | A separate paragraph was used in the HTML, but another <p> was not actually used.
* | Better readme for timeline appGravatar ~hedy2024-05-24-20/+21
| |
* | Timeline: Fix icons and assetsGravatar ~hedy2024-05-24-4/+4
| | | | | | | | I fixed them in PRs that were merged after the JSON used for this conversion was generated.
* | Timeline: Fix paragraph spacing of Pixels itemGravatar ~hedy2024-05-24-1/+3
| |
* | Timeline: Migrate contentGravatar ~hedy2024-05-24-11/+578
| | | | | | | | | | | | | | | | | | - There might be missing HTML that was stripped by `markdownify` - Slugs were converted from kebab-casing titles and editorizing to make everything shorter (thanks to oil.nvim) - I should've just used Python and arrow (for the dates), but before I realized arrow existed Nushell had the best built-in support. - Markdown is wrapped at 80
* | Timeline: Add basic test for the timeline viewGravatar hedy2024-05-24-0/+10
| |
* | Timeline: More muted heading links for entriesGravatar hedy2024-05-24-0/+9
| |
* | Timeline: Use pydis blurple as default icon background colorGravatar hedy2024-05-24-2/+7
| |
* | Timeline: Move the new timeline.css in and have git recognize the renameGravatar hedy2024-05-24-0/+0
| |
* | Timeline: Remove files from old implementationGravatar hedy2024-05-24-4826/+14
| |
* | Timeline: Migrate to Markdown source files - initial implementationGravatar hedy2024-05-24-11/+4016
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The timeline app is introduced, moved from the home app. - Add a basic README.md to illustrate the overall code breakdown of the app as it is in the current stage. - Two entries are added for now. - Add ability to link headers using the slug portion of the filename. - The way markdown files are fetched is similar to that of the resources app - using the AppConfig ready() function, all resources are ensured to be only fetched once when the app is first laoded. I debated whether to introduce the new functionality in the home app instead, without creating a new app. Eventually I decided extracting it to a standalone app now is better as it allows easier extension of functionality in the future. The home app can remain as it is to only server the `/` homepage. The timeline CSS is kept the same, as with the structure of the timeline HTML template. Once the CSS rewrite PR is merged, it's relatively easy to fix conflicts here (again, since timeline is now its own app, with the CSS file and HTML template moved - extra advantage). References to `home:timeline` are updated to use `timeline:index` throughout the codebase, as far as my ripgrep search could go. The format of the markdown + YAML entries are still up for debate, so I've only added the first two entries for now. They can be completely overwritten in the future once the formats are decided by using a script to convert all the data from my JSON file into individual markdown files: http://0x0.st/Xr78.txt This link should last for at least a few months. (Originally saved on https://paste.pythondiscord.com/KPJA, but it expires on 12th April 2024.)
* 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
| |