| Commit message (Collapse) | Author | Age | Lines |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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!
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
And use `include_js` flag to the bulma dark theme stylesheet template
tag.
|
| | | | |
| | | |
| | | |
| | | | |
A LOT of colors are still hardcoded in the CSS
|
| | | | | |
|
| | | |\ \
| | | | |
| | | | |
| | | | | |
hopefully I dont have to do this again
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | |_|/
| |/| | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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]>
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |\ \ \
| | | | |
| | | | | |
Prefetch user and actor in expanded infraction view
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | |\ \ \ \
| | | | | |
| | | | | | |
Prevent loading related object when updating tags
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | | |
We can simply save by the ID here, we do not need any other data from
the related object.
|
| | |/ / /
| | | |
| | | |
| | | | |
See https://python-discord.sentry.io/issues/4721508176/?project=2714379&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=90d&stream_index=1
|
| | | |/
| |/|
| | |
| | | |
Sentry is sending an N+1 query alert because of the way we were inserting messages (one by one)
|
| |/ /
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Additionally, implement frozen fields on the offensive message
serializer.
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| | |
Allow people to figure out our repository structure easily after settnig
up the project.
Part of #673.
|