Commit graph

884 commits

Author SHA1 Message Date
530503d769
Add in-memory cache around linguist data
Mostly useful for local development, but should help a little in production too
2023-07-15 17:47:21 +01:00
7bf9956627
Add more attributes to all pages feed
With some defensive coding, there's no real reason why not
2023-07-15 17:45:13 +01:00
e9de06338b
Add ellipsis to summary when truncated 2023-07-15 17:43:04 +01:00
d22923357d Update dependency black to v23.7.0 2023-07-15 16:00:48 +01:00
29bd939ae4
Replace flake8 and isort with ruff 2023-07-15 15:10:05 +01:00
019e0cf431
Replace humanize with hack around django built-in 2023-07-15 14:52:07 +01:00
385fae7fe1
Downgrade shareon to fix web-share icon issue
https://github.com/kytta/shareon/pull/71
2023-07-15 14:41:59 +01:00
062410803d
Add teams and webshare buttons 2023-07-15 14:40:44 +01:00
5fad50dace Update dependency shareon to v2.2.1 2023-07-15 12:00:55 +01:00
6ff661e610
Update Django to 4.1.10 2023-07-03 09:38:07 +01:00
f90c25d132
Add mastodon verification link 2023-07-03 08:53:25 +01:00
a5d5f828c0
Add images to RSS feed 2023-06-26 14:27:04 +01:00
bc9bdce31d
Remove duplication on content page feed 2023-06-26 13:36:16 +01:00
c2150b66f3
Reduce cache times
This means content will be updated faster after changes
2023-06-26 13:26:28 +01:00
0ac02231ad
Add RSS link to navbar 2023-06-21 12:53:37 +01:00
85b1f05f72
Add base feed to all pages
This is listed below the page-specific feed, so hopefully that will be detected first
2023-06-21 12:53:37 +01:00
cbd1eb027b
Add "View all" button for similar content 2023-06-21 12:53:37 +01:00
f3ee847b28
Match node version in local dev 2023-06-21 11:50:05 +01:00
8506564d89
Increase width hero images are shown at
This saves bandwidth, as upscaling them won't reduce quality too much
2023-06-17 12:49:54 +01:00
e4a8fbd14f
Remove blank line in migrations
Keep `black` happy
2023-06-17 12:49:31 +01:00
2a349d32d3
Reverse order of source tags so they load in the correct order 2023-06-17 12:41:23 +01:00
2535c30c2f Update dependency black to v23 2023-06-17 11:49:40 +01:00
636044a407 Update dependency mypy to v1.3.0 2023-06-17 11:44:55 +01:00
0b986bd793 Update dependency sass to v1.63.4 2023-06-17 11:41:38 +01:00
306a0cecb8 Update dependency esbuild to v0.18.4 2023-06-17 11:39:42 +01:00
23556d54a9 Update dependency djlint to v1.31.0 2023-06-17 11:28:34 +01:00
8d94e388f1 Update dependency django-redis to v5.3.0 2023-06-16 14:00:45 +01:00
583db9382e
Add title to copy URL button 2023-06-14 20:03:38 +01:00
8ec9256c78
Ensure button links are marked as buttons 2023-06-14 19:19:10 +01:00
2024aa0ad5
Support more images for hero sizes 2023-06-14 09:13:49 +01:00
9abb1045b2
Make sure Google lighthouse can tell we're using font-display: swap 2023-06-13 14:34:10 +01:00
7e57f25d1b
Clean up pagination links 2023-06-13 13:55:57 +01:00
d6b4397498
Add alt to list item title 2023-06-13 13:45:17 +01:00
0917e39e40
Use picture tag to support smaller hero image on small screens 2023-06-13 09:31:45 +01:00
2f396bc158
I made this 2023-06-08 13:52:26 +01:00
5bd8455c4b
Advertise colour schemes 2023-06-08 13:40:29 +01:00
64c85d4f9d
Use correct canonical URL syntax 2023-06-08 13:38:24 +01:00
c2d8ef260a
Add tests for linguist integration 2023-06-04 19:25:38 +01:00
8f5ab16891
Add display and linguist mapping for postgres 2023-06-04 18:20:21 +01:00
e0f3ab3311
Hide similar content in preview 2023-06-03 15:27:17 +01:00
e8cd4f6628
Add tests for post similarity 2023-06-02 17:39:42 +01:00
b7bcaeff63
Use alias instead of annotate for intermediary similarity values 2023-06-02 17:35:20 +01:00
033b8be859
Cast count to float before dividing
`COUNT` returns a `bigint`, which can't be divided into a float
2023-06-02 17:34:10 +01:00
ef20d9c695
Install libpq-dev package for gunicorn and django checks
Because we're using `django.contrib.postgres`, `psycopg2` must be importable
2023-06-02 16:11:54 +01:00
8e3bb2a9c8
Merge remote-tracking branch 'origin/renovate/djlint-1.x' 2023-06-02 15:46:45 +01:00
c03782e4bb
Merge remote-tracking branch 'origin/renovate/fontsource-fira-code-5.x' 2023-06-02 15:43:06 +01:00
b882a80154
Merge remote-tracking branch 'origin/renovate/types-requests-2.x' 2023-06-02 15:42:01 +01:00
b41e5a124b
Merge remote-tracking branch 'origin/renovate/django-plausible-0.x' 2023-06-02 15:42:00 +01:00
82f86b0dab
Merge remote-tracking branch 'origin/renovate/sentry-sdk-1.x' 2023-06-02 15:40:58 +01:00
87d00675fa
Merge remote-tracking branch 'origin/renovate/django-sri-0.x' 2023-06-02 15:37:50 +01:00