aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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-5/+5
| | | | | 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-4793/+12052
|\ | | | | | | hopefully I dont have to do this again
| * Merge pull request #1173 from python-discord/dependabot/pip/sentry-sdk-1.39.0Gravatar jchristgit2023-12-13-6/+6
| |\ | | | | | | Bump sentry-sdk from 1.38.0 to 1.39.0
| | * Bump sentry-sdk from 1.38.0 to 1.39.0Gravatar dependabot[bot]2023-12-13-6/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.38.0 to 1.39.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.38.0...1.39.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #1172 from python-discord/update-sentry-configGravatar jchristgit2023-12-12-12/+12
| |\ | | | | | | Enable tracing and include source for slow queries
| | * 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.
| * Merge pull request #1164 from ↵Gravatar jchristgit2023-12-11-1/+161
| |\ | | | | | | | | | | | | python-discord/the-pythondiscord-workers-serverless-webscale-platform Implement the github-filter worker in the API
| | * 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.
| * Merge pull request #1167 from python-discord/dependabot/pip/pre-commit-3.6.0Gravatar Xithrius2023-12-10-6/+7
| |\
| | * Bump pre-commit from 3.5.0 to 3.6.0Gravatar dependabot[bot]2023-12-11-6/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v3.5.0...v3.6.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #1163 from hedyhli/patch-1Gravatar jchristgit2023-12-08-1/+1
| |\ | | | | | | API: Add alias "hire" for rule 9
| | * 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.
| * Merge pull request #1159 from python-discord/dependabot/pip/django-filter-23.5Gravatar jchristgit2023-12-06-5/+5
| |\ | | | | | | Bump django-filter from 23.4 to 23.5
| | * Bump django-filter from 23.4 to 23.5Gravatar dependabot[bot]2023-12-06-5/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django-filter](https://github.com/carltongibson/django-filter) from 23.4 to 23.5. - [Release notes](https://github.com/carltongibson/django-filter/releases) - [Changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst) - [Commits](https://github.com/carltongibson/django-filter/compare/23.4...23.5) --- updated-dependencies: - dependency-name: django-filter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #1158 from python-discord/dependabot/pip/django-5.0Gravatar jchristgit2023-12-05-10/+10
| |\ | | | | | | Bump django from 4.2.7 to 5.0
| | * Bump django from 4.2.7 to 5.0Gravatar dependabot[bot]2023-12-05-10/+10
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 4.2.7 to 5.0. - [Commits](https://github.com/django/django/compare/4.2.7...5.0) --- updated-dependencies: - dependency-name: django dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #1157 from python-discord/dependabot/pip/ruff-0.1.7Gravatar jchristgit2023-12-05-20/+20
| |\ | | | | | | Bump ruff from 0.1.6 to 0.1.7
| | * Bump ruff from 0.1.6 to 0.1.7Gravatar dependabot[bot]2023-12-05-20/+20
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.6 to 0.1.7. - [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.1.6...v0.1.7) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
| * Fix typo in psql quit commandGravatar Johannes Christ2023-12-04-1/+1
| |
| * Update required Python versionGravatar Johannes Christ2023-12-04-1/+5
| | | | | | | | | | Include a note to update the contributor guide in the Dockerfile instruction pinning the Python version as well.
| * Merge pull request #1156 from python-discord/dependabot/pip/psycopg-3.1.14Gravatar jchristgit2023-12-04-74/+74
| |\ | | | | | | Bump psycopg from 3.1.13 to 3.1.14
| | * Bump psycopg from 3.1.13 to 3.1.14Gravatar dependabot[bot]2023-12-04-74/+74
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [psycopg](https://github.com/psycopg/psycopg) from 3.1.13 to 3.1.14. - [Changelog](https://github.com/psycopg/psycopg/blob/master/docs/news.rst) - [Commits](https://github.com/psycopg/psycopg/compare/3.1.13...3.1.14) --- updated-dependencies: - dependency-name: psycopg dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
| * Merge pull request #1155 from python-discord/dependabot/pip/sentry-sdk-1.38.0Gravatar Xithrius2023-11-29-5/+5
| |\
| | * Bump sentry-sdk from 1.37.1 to 1.38.0Gravatar dependabot[bot]2023-11-30-5/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.37.1 to 1.38.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/1.37.1...1.38.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>