Commit Graph

4575 Commits

Author SHA1 Message Date
79f6fb966e Updates migration 2022-01-08 17:07:51 -08:00
ac1787ce6b Merge branch 'main' into new-languages 2022-01-08 16:54:31 -08:00
82294909a8 Python formatting 2022-01-08 16:38:52 -08:00
e1a617f742 Merge pull request #1613 from bookwyrm-social/list-not-loading
Use a redis cache to store lists for user
2022-01-08 13:38:20 -08:00
a80cb4310e Merge pull request #1771 from bookwyrm-social/about-page
Refactors about page
2022-01-08 13:28:23 -08:00
c822048509 Invalidate template cache on relationship change 2022-01-08 13:04:01 -08:00
f2f40cf3b9 Creates custom get_or_set function 2022-01-08 13:01:05 -08:00
2cca9fab2d Cache user relationship for follow buttons 2022-01-08 12:33:13 -08:00
26928252cd Use cache 2022-01-08 11:44:04 -08:00
bb4b724b1a Updates queries 2022-01-08 11:26:15 -08:00
85691478f1 save language preferences with cookies that last
(as long as login ones do)
2022-01-08 12:56:57 -06:00
705c4cd636 Update thumbnail_generation.py 2022-01-08 17:54:03 +01:00
12ea1910b4 Add docstrings 2022-01-08 17:47:45 +01:00
656e0b84eb Fix 2022-01-08 17:42:25 +01:00
a54995eb9d Add new complete strategy 2022-01-08 17:41:44 +01:00
02a963c4ef Adds locales to application 2022-01-08 07:38:14 -08:00
392dbfce01 Merge branch 'main' into about-page 2022-01-07 14:59:26 -08:00
02feb0d594 Stylelint updates 2022-01-07 14:08:36 -08:00
f43a9570e2 Updates test 2022-01-07 13:40:20 -08:00
8a8ce0c0d4 Fixes deletion of lists 2022-01-07 13:30:11 -08:00
0580b66c3b Fixes test 2022-01-07 10:34:45 -08:00
7e1a4bc363 Ticks version number 2022-01-07 10:32:40 -08:00
165fdc6d2d Merge branch 'main' into list-not-loading 2022-01-07 10:32:17 -08:00
47c79afd75 Merge pull request #1770 from bookwyrm-social/email-config
Configure email sender from .env file
2022-01-07 10:23:50 -08:00
5c7cc034d5 Merge pull request #1782 from bookwyrm-social/get-started-user-search
Fixes searching for users in get started view
2022-01-07 10:23:19 -08:00
e91947afbf Adds meaningful test mock 2022-01-07 10:06:11 -08:00
c918edb622 Fixes searching for users in get started view 2022-01-07 09:56:29 -08:00
abcae9e6c4 Removes caches that cause CSRF token failures 2022-01-07 09:47:58 -08:00
b18c69e186 Make search timeouts configurable 2022-01-07 07:42:05 -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
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
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