aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
...
| | * | Dark: Support system color scheme preferenceGravatar hedy2024-01-05-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added features - When no preference already stored when page loads, we'll take into account the system setting and set the theme automatically. - When the system setting is modified while the site is active, switch theme automatically. - The system preference takes lower precedence than saved preference from the switch toggle, unless the setting is modified while the site is active. Miscellaneous refactor.
| | * | Dark: Refactor toggle handling JSGravatar hedy2024-01-05-75/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use localstorage. Advantages: - One key=value for the entire site, without needing to specify `path=/` - No need for string splitting to parse the `key=value; ...` data - Suggested more widely in tutorials Pretty good support: https://caniuse.com/?search=localstorage - Remove the need for JQuery, use IDs for switch and knob elements. - This also makes the code more robust if the page has other switch & knob classes!
| | * | Shouldn't a white wave be white?Gravatar hedy2024-01-04-1/+1
| | | |
| | * | Bump django-simple-bulma to 2.6.0Gravatar hedy2024-01-04-1/+1
| | | | | | | | | | | | | | | | | | | | And use `include_js` flag to the bulma dark theme stylesheet template tag.
| | * | Dark: Fix most colors on timelineGravatar hedy2023-12-14-162/+155
| | | | | | | | | | | | | | | | A LOT of colors are still hardcoded in the CSS
| | * | Automatically fix lintGravatar hedy2023-12-14-2/+2
| | | |
| | * | Fix all conflictsGravatar hedy2023-12-14-3511/+10816
| | |\ \ | | | | | | | | | | | | | | | hopefully I dont have to do this again
| | * | | Resize theme switchGravatar GDWR2022-02-09-1/+1
| | | | |
| | * | | Resize theme switchGravatar GDWR2022-02-09-26/+8
| | | | |
| | * | | Update colour variablesGravatar GDWR2022-02-09-6/+12
| | | | |
| | * | | Remove clashing cssGravatar GDWR2022-02-09-5/+0
| | | | |
| | * | | Change wave colour tempGravatar GDWR2022-02-09-1/+1
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-09-108/+108
| | | | |
| | * | | Determine current theme and set switchGravatar GDWR2022-02-08-24/+28
| | | | |
| | * | | remove unused colour valuesGravatar GDWR2022-02-08-4/+0
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-6/+6
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-6/+6
| | | | |
| | * | | Set dark theme colour valuesGravatar GDWR2022-02-08-7/+7
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-18/+18
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-13/+13
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-18/+18
| | | | |
| | * | | Use colour helpersGravatar GDWR2022-02-08-9/+8
| | | | |
| | * | | Comment bulma variablesGravatar GDWR2022-02-08-4/+13
| | | | |
| | * | | getCurrentTheme returns "default" if emptyGravatar GDWR2022-02-08-0/+3
| | | | |
| | * | | Resize switchGravatar GDWR2022-02-08-8/+8
| | | | |
| | * | | Add initial dark themeGravatar GDWR2022-02-08-1/+193
| | | | |
| | * | | Add dark theme stylesheetGravatar GDWR2022-02-07-0/+11
| | | | |
| | * | | Correct typehintsGravatar GDWR2022-02-07-2/+2
| | | | |
| * | | | Add section about dark mode in guide for contributing a pageGravatar hedy2024-01-28-0/+24
| | |_|/ | |/| |
| * | | Fixed truncated dropdown menu (#1138)Gravatar sarzz2024-01-06-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * removing padding-right from discord button in nav * fixing dropdown menu on contributing page for sub-articles * Revert "fixing dropdown menu on contributing page for sub-articles" This reverts commit 2d158ddbb8f1d27dd7d8b0b9282554365cf042e3. * fixing dropdown menu on contributing page for sub-articles * Revert "removing padding-right from discord button in nav" This reverts commit e6642932611de307f5386928be0a1dd7e94cd134. * lint fix * fixing dropdown menu for mobile screen * Update pydis_site/static/css/content/page.css Co-authored-by: wookie184 <[email protected]> --------- Co-authored-by: wookie184 <[email protected]>
| * | | Use icon_image instead of title_image and set icon_size to 50.Gravatar devdanzin2024-01-03-1/+2
| | | |
| * | | Add a Goodreads link and 'paid' tag.Gravatar devdanzin2023-12-23-0/+4
| | | |
| * | | Fix trailing whitespace.Gravatar devdanzin2023-12-23-1/+1
| | | |
| * | | Add 'Software Design by Example' to resources.Gravatar devdanzin2023-12-22-0/+21
| | | |
| * | | Merge pull request #1186 from python-discord/nplusone-infractions-expandedGravatar jchristgit2023-12-15-8/+7
| |\ \ \ | | | | | | | | | | Prefetch user and actor in expanded infraction view
| | * | | Prefetch user and actor in expanded infraction viewGravatar Johannes Christ2023-12-15-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Prevent N+1 reported by Sentry: https://python-discord.sentry.io/issues/4721126467/?project=2714379&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=3
| * | | | Merge pull request #1188 from python-discord/slightly-optimize-tag-updatesGravatar jchristgit2023-12-15-2/+2
| |\ \ \ \ | | | | | | | | | | | | Prevent loading related object when updating tags
| | * | | | Prevent loading related object when updating tagsGravatar Johannes Christ2023-12-15-2/+2
| | |/ / / | | | | | | | | | | | | | | | | | | | | We can simply save by the ID here, we do not need any other data from the related object.
| * / / / Preload nomination entries in nomination viewsetGravatar Johannes Christ2023-12-15-1/+1
| |/ / / | | | | | | | | | | | | See https://python-discord.sentry.io/issues/4721508176/?project=2714379&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=1
| * | / insert deleted messages as a BatchGravatar shtlrs2023-12-15-6/+3
| | |/ | |/| | | | | | | Sentry is sending an N+1 query alert because of the way we were inserting messages (one by one)
* / | Migrate mailing lists to their own API endpointsGravatar Johannes Christ2023-12-17-9/+362
|/ / | | | | | | | | | | Add a new model for the bot to store its mailing list state in, as opposed to the current JSON blob in the BotSetting table. Migrate the existing settings from the BotSetting table into the new model.
* | Simplify is_bot_pr_approval logicGravatar Chris Lovering2023-12-12-4/+1
| |
* | Convert to lower case before checking equalityGravatar Chris Lovering2023-12-12-8/+8
| |
* | Enable tracing and include source for slow queriesGravatar Chris Lovering2023-12-12-1/+4
| |
* | Enable Sentry profile samplingGravatar Chris Lovering2023-12-11-1/+2
| |
* | Log a warning when being ratelimtted by GithubGravatar Chris Lovering2023-12-11-0/+25
| |
* | Enable sentry logging integrationGravatar Chris Lovering2023-12-11-1/+3
| |
* | Unify frozen fields logic into serializer mixin (#1169)Gravatar jchristgit2023-12-11-14/+40
| | | | | | | | Additionally, implement frozen fields on the offensive message serializer.
* | Implement editing of offensive message records (#1165)Gravatar jchristgit2023-12-11-22/+59
| | | | | | | | | | | | | | Allow changing the deletion date of offensive message records in case the bot encounters an error during deletion attempts. Fixes #364. Unblocks python-discord/bot#1013.
* | Mention READMEs for app dirs in contributing guide (#1168)Gravatar jchristgit2023-12-11-0/+5
| | | | | | | | | | | | Allow people to figure out our repository structure easily after settnig up the project. Part of #673.