1
0
Fork 0
Commit graph

6055 commits

Author SHA1 Message Date
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
f9d7512ffd
Merge pull request #1780 from bookwyrm-social/search-timeouts
Make search timeouts configurable
2022-01-07 08:12:30 -08:00
b18c69e186 Make search timeouts configurable 2022-01-07 07:42:05 -08:00
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
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
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
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
b91649478b Fixes cache value 2022-01-04 18:07:30 -08:00
cc4469e7e1 Python formatting 2022-01-04 18:05:26 -08:00
5981575f0e Cache template snipped for shelve buttons 2022-01-04 17:59:35 -08:00
c28fbbeb09 Uses single query to get suggested users 2022-01-04 16:33:19 -08:00
1bd813c6f7
Merge pull request #1761 from bookwyrm-social/portuguese
Adds Portuguese locale
2022-01-04 14:45:07 -08:00
96e8839d4b
Merge pull request #1690 from hughrun/group-list-button
add "Create list" form to group template
2022-01-04 14:39:12 -08:00
557acd40ad Fixes locale names 2022-01-04 14:34:22 -08:00
2153afe743 Merge branch 'main' into group-list-button
Hopefully fixes failing tests!
2022-01-05 08:47:01 +11:00
e5c5dd8f98
Merge pull request #1736 from bookwyrm-social/new-modals-bright-futures
Switch old modals to new modals
2022-01-04 13:31:56 -08:00
d8c682fb2b Adds Portuguese to the language list 2022-01-04 13:30:08 -08:00
10792125ae Merge branch 'main' into portuguese 2022-01-04 13:28:19 -08:00
160c758ce6 Adds and updates locale files 2022-01-04 13:23:43 -08:00
afa713e667 Adds locale to bw-dev update command 2022-01-04 13:23:28 -08:00
a5dc6b3d76
Merge pull request #1759 from bookwyrm-social/annual-goal-migration
Uses function to get current year for annual goal default
2022-01-04 13:03:53 -08:00