aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Dark: Fix colors on content pagesGravatar hedy2024-01-13-0/+10
|
* Dark: Use link color of better contrastGravatar hedy2024-01-13-6/+22
|
* Dark: Fix timeline color for bordersGravatar hedy2024-01-12-2/+9
|
* Dark: Fix sizing of sponsors' logosGravatar hedy2024-01-12-6/+18
| | | | | | Also works on mobile. I *love* CSS.
* Dark: Fix backgrounds on sponsors section on homepageGravatar hedy2024-01-06-20/+63
| | | | | | | | | | | | | | | | | | See https://discord.com/channels/267624335836053506/635950537262759947/1193170173574774855 Idea from go.dev -- add background to each sponsor logo and put them in a grid. Also set the sponsor section background color to match that of footer's. Issue pointed out by @ChrisLovering on discord. This is an initial draft. As of now this works from my own testing: - Consistent & uniform spacing (gaps) - Supports mobile - No affect to light theme other than the arrangement - Logos do not get squashed, ever
* Dark: Fix colors for bulma cards shadow & bordersGravatar hedy2024-01-06-2/+21
|
* Dark: Fix all link hover colors (hopefully) everywhereGravatar hedy2024-01-05-4/+7
|
* Dark: Name JS & CSS files according to their contentGravatar hedy2024-01-05-2/+4
| | | | | | | | We have the CSS for the navbar in base.css, the relevant files only contain code for the theme toggle, so they should be named as such. If we ever implement CSS variables per-theme, they could then be done in `themes.css`.
* Dark: Revert some not so decent whitespace changes from previous PRGravatar hedy2024-01-05-3/+3
|
* Dark: Fix shadows & borders colors on the homepageGravatar hedy2024-01-05-4/+18
|
* Remove obsolete comment regarding notification.css fileGravatar hedy2024-01-05-1/+1
|
* Dark: Inline selectors for the hero bottom waveGravatar hedy2024-01-05-4/+3
|
* Dark: Fix hero colors on homepageGravatar hedy2024-01-05-0/+89
| | | | | | | | | | We can now use `[data-theme="dark"]` selector in CSS to defined styles specifically for dark mode. This follows common web dev patterns and gives little overhead. - Hero - Added `wave_black` SVG which copies `wave_white` as is but uses the site's dark mode background color.
* 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
| * 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.
| * Implement the github-filter worker in the APIGravatar Johannes Christ2023-12-11-1/+161
| | | | | | | | | | | | | | | | | | | | | | | | The current github-filter worker, found at https://github.com/python-discord/workers/blob/main/github-filter/src/index.ts, fails to work at present because Discord's webhook endpoints block Cloudflare's IP ranges from accessing this endpoint. Whilst they use Cloudflare to guard themselves, it seems they do not wish others to use it. Implement it on the site to circumvent IP restrictions and allow to modify the code in Python.
| * Add alias "hire" for rule 9Gravatar ~hedy2023-12-08-1/+1
| | | | | | ref: https://discord.com/channels/267624335836053506/429409067623251969/1182407804787626047
| * Fix broken netcup icon in "Powered by" footerGravatar Johannes Christ2023-12-08-1/+2
| | | | | | | | | | | | The original URL this was hosted at is no longer available. Incorporate the netcup icon as found on https://www.netcup.de/ueber-netcup/werbemittel/index.php.
| * Lazy load footer images (#1161)Gravatar jchristgit2023-12-08-8/+8
| | | | | | | | Only load the footer sponsor images when they start coming into view to save on data.
| * Fix typo in psql quit commandGravatar Johannes Christ2023-12-04-1/+1
| |
| * Update required Python versionGravatar Johannes Christ2023-12-04-1/+1
| | | | | | | | | | Include a note to update the contributor guide in the Dockerfile instruction pinning the Python version as well.
| * Add winners and submissions from cj10Gravatar Janine vN2023-11-01-1/+240
| |
| * Update sidebars for CJ10 endGravatar Janine vN2023-11-01-1/+1
| |
| * Merge branch 'python-discord:main' into mainGravatar sarzz2023-10-08-1/+1
| |\
| | * Merge branch 'main' into fix-CJ-mobile-bannerGravatar Kieran Siek2023-10-08-70/+24
| | |\
| | * | Fix Dead CJ Banner LinkGravatar Hassan Abouelela2023-09-19-1/+1
| | | |
| * | | removing margin-left property from base.css to fix the overflow caused by ↵Gravatar Sarthak singh2023-10-05-1/+0
| | |/ | |/| | | | | | | discord button on top right
| * | Merge branch 'main' into remove-the-redirect-filter-listGravatar Xithrius2023-10-01-70/+8
| |\ \
| | * | Merge pull request #1104 from python-discord/no-more-previews-for-redirectsGravatar jchristgit2023-09-20-70/+8
| | |/ | | | | | | | | | | | | Links have been removed as part of #681. Closes #680.
| * / Remove the redirect FilterList on migrationGravatar Chris Lovering2023-09-19-0/+16
| |/ | | | | | | | | | | | | | | This redirect filter list does not have any filters, nor does it have a bot implementation. It is something that we were working on, but has been stalled for a while. The presence of this filter list also causes the bot to warn on startup due to it finding a filter list with no implementation. This commit removes the FilterList, which can be added back if/when we support this filter type in bot.
| * Link guide to contributing a page in site guide (#1105)Gravatar jchristgit2023-09-18-1/+1
| |
| * Document Netlify static previewsGravatar Johannes Christ2023-08-31-0/+8
| | | | | | | | Closes #677.
| * Add additional approved frameworks for CJ10Gravatar mbaruh2023-08-28-0/+45
| |
| * Fix broken links and remove extraneous space in timelineGravatar Richard Si2023-08-26-5/+5
| | | | | | | | | | | | Many thanks to @Rainb0wCodes for making me aware of the broken links. Co-authored-by: Rainb0w :3 <[email protected]>
| * Add switch to pinnward paste serviceGravatar Richard Si2023-08-18-0/+20
| |
| * Remove #today-i-teach and add missing dateGravatar Richard Si2023-08-18-18/+1
| |