Commit graph

1055 commits

Author SHA1 Message Date
Mouse Reeve
191079a922 Python formatting 2022-01-22 19:01:42 -08:00
Mouse Reeve
3fc690e763 Calculate and translate unread status counts in view 2022-01-22 17:03:48 -08:00
Mouse Reeve
7476964cca Show only recent results in rss feed view 2022-01-20 16:33:24 -08:00
Mouse Reeve
a0da5c75ff
Merge pull request #1853 from bookwyrm-social/author-page
Trying a new query to get author books
2022-01-20 15:19:11 -08:00
Mouse Reeve
d5ddaa874f Trying a new query to get author books 2022-01-20 15:07:39 -08:00
Mouse Reeve
afea857442 Uses max shelved date to get valid date for all books page 2022-01-20 14:28:30 -08:00
Mouse Reeve
e3545517ec
Merge pull request #1837 from bookwyrm-social/author-page-caching
Author page caching
2022-01-18 11:02:49 -08:00
Mouse Reeve
8bbc4d3301 Cache checking if books are on shelve in shelve button snippet 2022-01-18 10:52:15 -08:00
Mouse Reeve
9e450f2d99
Merge pull request #1802 from cincodenada/configurable-logging
Make log level configurable, override default logging config
2022-01-18 07:39:43 -08:00
Joel Bradshaw
27a0b92de0 Fix include order 2022-01-17 16:12:16 -08:00
Joel Bradshaw
13a2c58b98 Use parameter-based formatting for debug 2022-01-17 15:14:01 -08:00
Mouse Reeve
4cc35ba25e Cache query for author's books 2022-01-17 12:05:11 -08:00
Mouse Reeve
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
Mouse Reeve
cfcacb4797 Edit book availability 2022-01-17 10:00:12 -08:00
Mouse Reeve
b9fde85b49 Sort domains in admin view 2022-01-17 08:15:14 -08:00
Mouse Reeve
0c2537e27a
Merge pull request #1527 from bookwyrm-social/book-file-links
Book file links
2022-01-13 11:10:05 -08:00
Mouse Reeve
d95830037a Adds admin notice 2022-01-13 11:00:59 -08:00
Mouse Reeve
c7b2b303da Fixes searching for users in group view, with test 2022-01-13 08:38:54 -08:00
Mouse Reeve
d1183fd003 Python formatting 2022-01-12 17:11:24 -08:00
Mouse Reeve
262e641c79 Creates link template subdirectory 2022-01-12 16:50:52 -08:00
Mouse Reeve
4cf3f378ef Delete view 2022-01-12 10:08:49 -08:00
Mouse Reeve
ebc451fdd2 Edit links view 2022-01-12 09:59:46 -08:00
Mouse Reeve
2ca41a0b11 Renames add link view 2022-01-12 09:16:24 -08:00
Mouse Reeve
e6d9895854
Merge branch 'main' into book-file-links 2022-01-12 06:39:22 -08:00
Mouse Reeve
0f9881365b Python formatting 2022-01-11 10:41:33 -08:00
Mouse Reeve
4ca90ca10f Renames class view 2022-01-11 10:40:32 -08:00
Mouse Reeve
68d943fb26 Preserve readthrough id in edit 2022-01-11 10:33:58 -08:00
Mouse Reeve
cdaf0fe8e3 Show error message when start and finish date is invalid 2022-01-11 10:22:19 -08:00
Mouse Reeve
0d2c6e63d1 Converts create readthrough to modal 2022-01-11 09:50:04 -08:00
Mouse Reeve
dcf8a8dab9 Fixes settings tab highlighting 2022-01-10 15:27:33 -08:00
Mouse Reeve
aee7e1ae41 Fixes redirect on reports modal 2022-01-10 14:58:10 -08:00
Mouse Reeve
78dd5caf9f Allow users to report spam links 2022-01-10 14:55:10 -08:00
Mouse Reeve
d610115a5b Null state for links 2022-01-10 12:09:03 -08:00
Mouse Reeve
4ba375892a
Merge pull request #1793 from bookwyrm-social/more-caches
More caches
2022-01-10 11:25:26 -08:00
Mouse Reeve
4820a2f982 Python formatting 2022-01-10 11:21:03 -08:00
Mouse Reeve
f0ae37c331 Block or approve domains 2022-01-10 11:19:20 -08:00
Mouse Reeve
3f280af715 Functionality to edit name 2022-01-10 10:48:27 -08:00
Mouse Reeve
32e3fdb438 Adds admin view 2022-01-10 10:12:28 -08:00
Joel Bradshaw
5cf1d8a30a Make it black 2022-01-09 23:53:23 -08:00
Joel Bradshaw
83851c2933 Add bookwyrm-specific logging 2022-01-09 23:49:14 -08:00
Mouse Reeve
4931e5cad2 Merge branch 'main' into book-file-links 2022-01-09 13:15:58 -08:00
Mouse Reeve
0a182e8150 Caches query for landing page books 2022-01-09 13:04:41 -08:00
Mouse Reeve
e8c830750a No cache for suggested books 2022-01-09 13:00:02 -08:00
Mouse Reeve
599c79917e Makes query to get admins unique 2022-01-08 18:44:32 -08:00
Mouse Reeve
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -08:00
Mouse Reeve
82294909a8 Python formatting 2022-01-08 16:38:52 -08:00
Mouse Reeve
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
Mouse Reeve
a80cb4310e
Merge pull request #1771 from bookwyrm-social/about-page
Refactors about page
2022-01-08 13:28:23 -08:00
Mouse Reeve
26928252cd Use cache 2022-01-08 11:44:04 -08:00
Mouse Reeve
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
Mouse Reeve
392dbfce01 Merge branch 'main' into about-page 2022-01-07 14:59:26 -08:00
Mouse Reeve
165fdc6d2d Merge branch 'main' into list-not-loading 2022-01-07 10:32:17 -08:00
Mouse Reeve
c918edb622 Fixes searching for users in get started view 2022-01-07 09:56:29 -08:00
Mouse Reeve
a1e3ef1c79
Fixes pylint complaint 2022-01-06 18:47:14 -08:00
Hugh Rundle
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
Mouse Reeve
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
Mouse Reeve
0f09759662 Separate out landing and about views files 2022-01-06 09:51:38 -08:00
Mouse Reeve
b8c72d75e5 Python formatting 2022-01-06 09:48:36 -08:00
Mouse Reeve
461bfd0ce7 Link to books 2022-01-06 09:47:46 -08:00
Mouse Reeve
d690224559 Use weighted averages 2022-01-06 09:39:51 -08:00
Mouse Reeve
840746754d Fixes superlatives 2022-01-06 09:22:10 -08:00
Mouse Reeve
4caa68200f Adds more info to the about page 2022-01-06 09:04:59 -08:00
Mouse Reeve
b855464396 Expands about pages 2022-01-05 21:42:41 -08:00
Mouse Reeve
6168ce91b3
Merge branch 'main' into list-not-loading 2022-01-05 16:33:05 -08:00
Mouse Reeve
b0fef8f0e3 Cache landing page 2022-01-05 15:53:01 -08:00
Mouse Reeve
7df99afdc7 Cache status interact buttons 2022-01-05 14:54:51 -08:00
Mouse Reeve
ad6d7d5eca Caches suggested books 2022-01-05 13:43:15 -08:00
Mouse Reeve
cc4469e7e1 Python formatting 2022-01-04 18:05:26 -08:00
Mouse Reeve
5981575f0e Cache template snipped for shelve buttons 2022-01-04 17:59:35 -08:00
Hugh Rundle
2153afe743 Merge branch 'main' into group-list-button
Hopefully fixes failing tests!
2022-01-05 08:47:01 +11:00
Mouse Reeve
8a889e9a69
Merge branch 'main' into list-not-loading 2022-01-04 12:27:41 -08:00
Mouse Reeve
1ff653ddeb
Merge pull request #1749 from joachimesque/summary-goals
Display completed goal on Annual Summary page
2022-01-04 11:42:47 -08:00
Mouse Reeve
cccd28cb74
Merge pull request #1726 from joachimesque/options-panels
Front-end: New look and behavior for Filters and Result panels
2022-01-03 09:23:12 -08:00
Hugh Rundle
d4acd89a28 Merge branch 'main' into group-list-button 2022-01-03 10:28:59 +11:00
Joachim
6e8a29aebf Update annual_summary.py 2022-01-02 17:52:49 +01:00
Mouse Reeve
5313b283dd Adds comment 2022-01-02 07:16:46 -08:00
Hugh Rundle
38bd1f46d6
emblacken 2022-01-02 10:19:57 +11:00
Hugh Rundle
045506d6e0
show group lists on group FindUsers page 2022-01-02 10:06:02 +11:00
Hugh Rundle
b1fa57d2ca
fix group form ids
Also adds the List form to the group FindUsers view
2022-01-02 09:08:04 +11:00
Hugh Rundle
8e17e20802
Merge branch 'bookwyrm-social:main' into group-list-button 2022-01-02 07:50:56 +11:00
Joachim
fd8423b73c Update annual_summary.py 2022-01-01 21:37:53 +01:00
Joachim
29b688b68d Update annual_summary.py 2022-01-01 21:32:30 +01:00
Joachim
864b731cfa remove testing line 2022-01-01 21:30:13 +01:00
Joachim
358aa142b2 Display completed goal on Annual Summary page 2022-01-01 21:28:14 +01:00
Mouse Reeve
31be6de665 Python formatting 2021-12-30 20:23:22 -08:00
Mouse Reeve
2cc9e3bbca Removes duplicates from all books view 2021-12-30 20:14:49 -08:00
Mouse Reeve
472c003293 Merge branch 'main' into list-not-loading 2021-12-30 14:09:04 -08:00
Mouse Reeve
1e879f66ac Simplify decorators in list curate view 2021-12-30 12:45:47 -08:00
Mouse Reeve
975ef7d38e Merge branch 'main' into list-not-loading 2021-12-30 10:44:23 -08:00
Mouse Reeve
906e0c9c7c Renames function for loading lists 2021-12-30 10:40:26 -08:00
Mouse Reeve
4b8daf6874
Merge branch 'main' into group-list-button 2021-12-29 12:52:24 -08:00
Joachim
4cb520f242 Front-end: New look and behavior for Filters and Result panels 2021-12-29 19:50:32 +01:00
Mouse Reeve
0dcd7bee10
Merge pull request #1715 from bookwyrm-social/summary-queries
Simplifies query for earliest year
2021-12-29 10:17:52 -08:00
Mouse Reeve
f9e9dc55d5 Updates tests 2021-12-29 09:58:42 -08:00
Mouse Reeve
21e0f4234e Don't try to create a json view of the all books page
It's a fake view, a liar
2021-12-28 15:04:25 -08:00
Mouse Reeve
14601a0c31 Don't error out on invalid login POST
Thanks, log4j exploit scanners, for catching this one
2021-12-28 14:50:28 -08:00
Mouse Reeve
c3ec25dbf8 Simplifies query for earliest year 2021-12-28 13:02:12 -08:00
Joachim
5284e7009d fix pylint remark 2021-12-28 21:51:45 +01:00
Joachim
ff3021d1f3 Redirect /@<username> to /user/<username> 2021-12-28 21:40:01 +01:00