1
0
Fork 0
Commit graph

6210 commits

Author SHA1 Message Date
0ddecd7049
Merge pull request #1778 from hughrun/register-403
do not cache registration form
2022-01-06 18:56:23 -08:00
a1e3ef1c79
Fixes pylint complaint 2022-01-06 18:47:14 -08:00
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
602574566b
Merge pull request #1775 from bookwyrm-social/order-suggestions
Sort suggestions by mutuals
2022-01-06 13:12:51 -08:00
cc6c75c5ec
Merge pull request #1774 from hughrun/zero-annual
Minor grammar fix for annual review page
2022-01-06 13:05:33 -08:00
deaa06d44c Sort suggestions by mutuals 2022-01-06 13:02:12 -08:00
e2efd5fd5a
"any" is plural
English huh, what a weird language.
2022-01-07 07:50:36 +11:00
00a14e89a0
Merge pull request #1772 from bookwyrm-social/cache-tweaks
Cache tweaks
2022-01-06 12:13:56 -08:00
8722778ed0 Updates tests 2022-01-06 12:13:24 -08:00
cf57891482 Python formatting 2022-01-06 11:50:51 -08:00
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
4d0fa2db4a Dummy cache for tests 2022-01-06 11:40:27 -08:00
45393af843 Loads subclass for generated note
Fixes display weirdness in threads
2022-01-06 11:27:02 -08:00
86b3789ffe Fixes display of filter inputs in chromium 2022-01-06 11:11:00 -08:00
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
32ac4111aa
Merge pull request #1768 from bookwyrm-social/shelf-button-cache
Cache queries in feed view
2022-01-06 10:42:31 -08:00
b3bfaf0586 Use 6 month cache for items that don't really need to expire 2022-01-06 10:27:12 -08:00
996d1fc571 Don't crash tests 2022-01-06 10:22:27 -08:00
d9857839dc Add all superusers to admin group 2022-01-06 10:14:21 -08:00
1d2b6f038a Fixes wording on want-to-read superlative 2022-01-06 10:01:20 -08:00
ee1fd05430 Fixes book links 2022-01-06 09:58:46 -08:00
ee301afa61 Adds tests for views 2022-01-06 09:55:35 -08:00
0f09759662 Separate out landing and about views files 2022-01-06 09:51:38 -08:00
b8c72d75e5 Python formatting 2022-01-06 09:48:36 -08:00
461bfd0ce7 Link to books 2022-01-06 09:47:46 -08:00
d690224559 Use weighted averages 2022-01-06 09:39:51 -08:00
840746754d Fixes superlatives 2022-01-06 09:22:10 -08:00
705f6d36a6 Adds admins copy 2022-01-06 09:09:00 -08:00
4caa68200f Adds more info to the about page 2022-01-06 09:04:59 -08:00
b855464396 Expands about pages 2022-01-05 21:42:41 -08:00
99a5924ea8 Not bool 2022-01-05 17:36:52 -08:00
2fed188862 Configure email sender from .env file 2022-01-05 17:35:42 -08:00
6168ce91b3
Merge branch 'main' into list-not-loading 2022-01-05 16:33:05 -08:00
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
0f37e0ad42 Don't try to clear caches for nonexistant authors 2022-01-05 15:55:12 -08:00
b0fef8f0e3 Cache landing page 2022-01-05 15:53:01 -08:00
7df99afdc7 Cache status interact buttons 2022-01-05 14:54:51 -08:00
0da0091237 Cache title author snippet 2022-01-05 14:33:10 -08:00
4a43ad95ef Linting on suggested_users 2022-01-05 13:51:34 -08:00
ad6d7d5eca Caches suggested books 2022-01-05 13:43:15 -08:00
3cda27577f Removes status content cache 2022-01-05 13:01:53 -08:00
6823d5f1b7 Cache follow button template snippet 2022-01-05 12:59:52 -08:00
a5309e9973 Cache status contents 2022-01-05 10:22:25 -08:00
d8dbf94c29 Fixes cache syntax 2022-01-05 10:16:49 -08:00
2cad762646 Use in-memory cache for CI tests 2022-01-05 09:51:00 -08:00
66456fc508 Adds test env var 2022-01-05 09:32:10 -08:00
e6f7828361 Python formatting 2022-01-05 09:30:54 -08:00
bebb2c167e Use redis with password in dev 2022-01-05 08:52:28 -08:00
629140cad4 Adds redis cache backend 2022-01-05 08:27:31 -08:00