Commit Graph

1046 Commits

Author SHA1 Message Date
27a0b92de0 Fix include order 2022-01-17 16:12:16 -08:00
13a2c58b98 Use parameter-based formatting for debug 2022-01-17 15:14:01 -08:00
4cc35ba25e Cache query for author's books 2022-01-17 12:05:11 -08:00
8a0ea674ea Merge pull request #1834 from bookwyrm-social/links-display
Improve link filetype and add availability field
2022-01-17 11:08:40 -08:00
cfcacb4797 Edit book availability 2022-01-17 10:00:12 -08:00
b9fde85b49 Sort domains in admin view 2022-01-17 08:15:14 -08:00
0c2537e27a Merge pull request #1527 from bookwyrm-social/book-file-links
Book file links
2022-01-13 11:10:05 -08:00
d95830037a Adds admin notice 2022-01-13 11:00:59 -08:00
c7b2b303da Fixes searching for users in group view, with test 2022-01-13 08:38:54 -08:00
d1183fd003 Python formatting 2022-01-12 17:11:24 -08:00
262e641c79 Creates link template subdirectory 2022-01-12 16:50:52 -08:00
4cf3f378ef Delete view 2022-01-12 10:08:49 -08:00
ebc451fdd2 Edit links view 2022-01-12 09:59:46 -08:00
2ca41a0b11 Renames add link view 2022-01-12 09:16:24 -08:00
e6d9895854 Merge branch 'main' into book-file-links 2022-01-12 06:39:22 -08:00
0f9881365b Python formatting 2022-01-11 10:41:33 -08:00
4ca90ca10f Renames class view 2022-01-11 10:40:32 -08:00
68d943fb26 Preserve readthrough id in edit 2022-01-11 10:33:58 -08:00
cdaf0fe8e3 Show error message when start and finish date is invalid 2022-01-11 10:22:19 -08:00
0d2c6e63d1 Converts create readthrough to modal 2022-01-11 09:50:04 -08:00
dcf8a8dab9 Fixes settings tab highlighting 2022-01-10 15:27:33 -08:00
aee7e1ae41 Fixes redirect on reports modal 2022-01-10 14:58:10 -08:00
78dd5caf9f Allow users to report spam links 2022-01-10 14:55:10 -08:00
d610115a5b Null state for links 2022-01-10 12:09:03 -08:00
4ba375892a Merge pull request #1793 from bookwyrm-social/more-caches
More caches
2022-01-10 11:25:26 -08:00
4820a2f982 Python formatting 2022-01-10 11:21:03 -08:00
f0ae37c331 Block or approve domains 2022-01-10 11:19:20 -08:00
3f280af715 Functionality to edit name 2022-01-10 10:48:27 -08:00
32e3fdb438 Adds admin view 2022-01-10 10:12:28 -08:00
5cf1d8a30a Make it black 2022-01-09 23:53:23 -08:00
83851c2933 Add bookwyrm-specific logging 2022-01-09 23:49:14 -08:00
4931e5cad2 Merge branch 'main' into book-file-links 2022-01-09 13:15:58 -08:00
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
599c79917e Makes query to get admins unique 2022-01-08 18:44:32 -08:00
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -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
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
392dbfce01 Merge branch 'main' into about-page 2022-01-07 14:59:26 -08:00
165fdc6d2d Merge branch 'main' into list-not-loading 2022-01-07 10:32:17 -08:00
c918edb622 Fixes searching for users in get started view 2022-01-07 09:56:29 -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
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
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