1
0
Fork 0
Commit graph

4711 commits

Author SHA1 Message Date
0a182e8150 Caches query for landing page books 2022-01-09 13:04:41 -08:00
e8c830750a No cache for suggested books 2022-01-09 13:00:02 -08:00
6492ca2941
Merge pull request #1769 from joachimesque/thumbnail-generation-strategy
Change thumbnail generation strategy
2022-01-09 12:34:42 -08:00
556c9ea98f Adjusts cache get_or_set to work with tests 2022-01-09 12:16:01 -08:00
00e8574d1f Typo fix 2022-01-09 11:01:55 -08:00
ebf4c6127f
Merge pull request #1798 from joachimesque/annual-summary-fix-highest-link
Annual Summary: Fix link to book with highest page count
2022-01-09 10:08:13 -08:00
Joachim
278ce88b82 Annual Summary: Fix link to book with highest page count 2022-01-09 12:18:18 +01:00
Joachim
4c07c5e47e Add end message for populate_list_streams command 2022-01-09 12:11:52 +01:00
Joachim
734da71037 Remove backend setting 2022-01-09 10:36:06 +01:00
599c79917e Makes query to get admins unique 2022-01-08 18:44:32 -08:00
79f6fb966e Updates migration 2022-01-08 17:07:51 -08:00
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -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
reesporte
85691478f1 save language preferences with cookies that last
(as long as login ones do)
2022-01-08 12:56:57 -06:00
Joachim
705c4cd636 Update thumbnail_generation.py 2022-01-08 17:54:03 +01:00
Joachim
12ea1910b4 Add docstrings 2022-01-08 17:47:45 +01:00
Joachim
656e0b84eb Fix 2022-01-08 17:42:25 +01:00
Joachim
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