Hugh Rundle
e4be6a98e8
do not cache registration form
...
Fixes #1777
Caching the Landing view also caches the registration form, including the CSRF value.
This moves the caching into the recently reviewed books landing template which is presumably what we're trying to cache here, instead of caching the whole view.
NOTE: this fixes the problem with registration, I haven't done enough testing to be sure it actually still caches the recent reviews data.
2022-01-07 13:13:56 +11:00
dependabot[bot]
2d5ea3a99d
Bump celery from 4.4.2 to 5.2.2
...
Bumps [celery](https://github.com/celery/celery ) from 4.4.2 to 5.2.2.
- [Release notes](https://github.com/celery/celery/releases )
- [Changelog](https://github.com/celery/celery/blob/master/Changelog.rst )
- [Commits](https://github.com/celery/celery/compare/4.4.2...v5.2.2 )
---
updated-dependencies:
- dependency-name: celery
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-06 22:42:44 +00:00
Mouse Reeve
602574566b
Merge pull request #1775 from bookwyrm-social/order-suggestions
...
Sort suggestions by mutuals
2022-01-06 13:12:51 -08:00
Mouse Reeve
cc6c75c5ec
Merge pull request #1774 from hughrun/zero-annual
...
Minor grammar fix for annual review page
2022-01-06 13:05:33 -08:00
Mouse Reeve
deaa06d44c
Sort suggestions by mutuals
2022-01-06 13:02:12 -08:00
Hugh Rundle
e2efd5fd5a
"any" is plural
...
English huh, what a weird language.
2022-01-07 07:50:36 +11:00
Mouse Reeve
00a14e89a0
Merge pull request #1772 from bookwyrm-social/cache-tweaks
...
Cache tweaks
2022-01-06 12:13:56 -08:00
Mouse Reeve
8722778ed0
Updates tests
2022-01-06 12:13:24 -08:00
Mouse Reeve
cf57891482
Python formatting
2022-01-06 11:50:51 -08:00
Mouse Reeve
cf6e101e55
Merge pull request #1773 from bookwyrm-social/load-generatednote-status-type
...
Loads subclass for generated note
2022-01-06 11:41:30 -08:00
Mouse Reeve
4d0fa2db4a
Dummy cache for tests
2022-01-06 11:40:27 -08:00
Mouse Reeve
45393af843
Loads subclass for generated note
...
Fixes display weirdness in threads
2022-01-06 11:27:02 -08:00
Mouse Reeve
86b3789ffe
Fixes display of filter inputs in chromium
2022-01-06 11:11:00 -08:00
Mouse Reeve
e416ef05e8
Fixes cache of status interact
...
The CSRF token was being cached which caused submits to fail
2022-01-06 11:07:22 -08:00
Mouse Reeve
32ac4111aa
Merge pull request #1768 from bookwyrm-social/shelf-button-cache
...
Cache queries in feed view
2022-01-06 10:42:31 -08:00
Mouse Reeve
b3bfaf0586
Use 6 month cache for items that don't really need to expire
2022-01-06 10:27:12 -08:00
Mouse Reeve
996d1fc571
Don't crash tests
2022-01-06 10:22:27 -08:00
Mouse Reeve
d9857839dc
Add all superusers to admin group
2022-01-06 10:14:21 -08:00
Mouse Reeve
1d2b6f038a
Fixes wording on want-to-read superlative
2022-01-06 10:01:20 -08:00
Mouse Reeve
ee1fd05430
Fixes book links
2022-01-06 09:58:46 -08:00
Mouse Reeve
ee301afa61
Adds tests for views
2022-01-06 09:55:35 -08:00
Mouse Reeve
0f09759662
Separate out landing and about views files
2022-01-06 09:51:38 -08:00
Mouse Reeve
b8c72d75e5
Python formatting
2022-01-06 09:48:36 -08:00
Mouse Reeve
461bfd0ce7
Link to books
2022-01-06 09:47:46 -08:00
Mouse Reeve
d690224559
Use weighted averages
2022-01-06 09:39:51 -08:00
Mouse Reeve
840746754d
Fixes superlatives
2022-01-06 09:22:10 -08:00
Mouse Reeve
705f6d36a6
Adds admins copy
2022-01-06 09:09:00 -08:00
Mouse Reeve
4caa68200f
Adds more info to the about page
2022-01-06 09:04:59 -08:00
Mouse Reeve
b855464396
Expands about pages
2022-01-05 21:42:41 -08:00
Mouse Reeve
99a5924ea8
Not bool
2022-01-05 17:36:52 -08:00
Mouse Reeve
2fed188862
Configure email sender from .env file
2022-01-05 17:35:42 -08:00
Mouse Reeve
6168ce91b3
Merge branch 'main' into list-not-loading
2022-01-05 16:33:05 -08:00
Mouse Reeve
69bd9246dd
Merge pull request #1767 from bookwyrm-social/suggested-users-query
...
Uses single query to get suggested users
2022-01-05 16:19:00 -08:00
Mouse Reeve
0f37e0ad42
Don't try to clear caches for nonexistant authors
2022-01-05 15:55:12 -08:00
Mouse Reeve
b0fef8f0e3
Cache landing page
2022-01-05 15:53:01 -08:00
Mouse Reeve
7df99afdc7
Cache status interact buttons
2022-01-05 14:54:51 -08:00
Mouse Reeve
0da0091237
Cache title author snippet
2022-01-05 14:33:10 -08:00
Mouse Reeve
4a43ad95ef
Linting on suggested_users
2022-01-05 13:51:34 -08:00
Mouse Reeve
ad6d7d5eca
Caches suggested books
2022-01-05 13:43:15 -08:00
Mouse Reeve
3cda27577f
Removes status content cache
2022-01-05 13:01:53 -08:00
Mouse Reeve
6823d5f1b7
Cache follow button template snippet
2022-01-05 12:59:52 -08:00
Mouse Reeve
a5309e9973
Cache status contents
2022-01-05 10:22:25 -08:00
Mouse Reeve
d8dbf94c29
Fixes cache syntax
2022-01-05 10:16:49 -08:00
Mouse Reeve
2cad762646
Use in-memory cache for CI tests
2022-01-05 09:51:00 -08:00
Mouse Reeve
66456fc508
Adds test env var
2022-01-05 09:32:10 -08:00
Mouse Reeve
e6f7828361
Python formatting
2022-01-05 09:30:54 -08:00
Mouse Reeve
bebb2c167e
Use redis with password in dev
2022-01-05 08:52:28 -08:00
Mouse Reeve
629140cad4
Adds redis cache backend
2022-01-05 08:27:31 -08:00
Joachim
f141777d52
Change thumbnail generation strategy
2022-01-05 11:54:49 +01:00
Mouse Reeve
b91649478b
Fixes cache value
2022-01-04 18:07:30 -08:00