Willi Hohenstein
03ff8c248d
Added input control and better char replacement
2022-02-14 17:38:45 +01:00
Willi Hohenstein
0b02287378
add docstring
2022-02-13 20:49:44 +01:00
Willi Hohenstein
54eeeb5798
fix style to pass tests
2022-02-13 20:30:11 +01:00
Willi Hohenstein
3c05cecb50
function moved
2022-02-13 19:07:25 +01:00
Thomas Versteeg
c88b34814f
Rename 'Partially Read' to 'Stopped Reading'
2022-02-12 19:49:54 +01:00
Mouse Reeve
9827cef9a9
Python formatting
2022-02-12 10:34:16 -08:00
Mouse Reeve
01b52f023a
Adds edit announcement view
2022-02-11 14:42:47 -05:00
Thomas Versteeg
2b27889457
Add 'Partially Read' shelf
2022-02-11 14:33:46 +01:00
Mouse Reeve
a73960a0da
Python formatting
2022-02-04 19:44:03 -08:00
Mouse Reeve
49ceb2a978
Fixes warning in author view tests
2022-02-04 19:41:21 -08:00
Mouse Reeve
28a8edfdc4
Fixes author page query
2022-02-04 19:06:47 -08:00
Mouse Reeve
0683ce1c33
Proper markdown formatting
2022-02-04 12:07:26 -08:00
Mouse Reeve
7c0d51ed14
Fixes duplicted shelves on user view
2022-02-03 18:59:08 -08:00
Mouse Reeve
3b12af63b6
Fixes links on import page
2022-02-03 13:49:33 -08:00
Mouse Reeve
a46ab96d9b
Fixes add/edit notes form on list page
2022-02-03 10:30:30 -08:00
Mouse Reeve
754e24812b
Check image extensions before saving
2022-02-01 21:18:25 -08:00
Mouse Reeve
e674f85d4e
Don't display empty shelves on user page
2022-01-30 11:23:23 -08:00
Mouse Reeve
68f9ee9d8a
Fixes access level control in report view
2022-01-30 09:20:26 -08:00
Mouse Reeve
778975d492
Merge branch 'misc-tests' into user-view
2022-01-27 19:39:19 -08:00
Mouse Reeve
afdaa776e2
Fixes syntax
2022-01-27 19:38:51 -08:00
Mouse Reeve
40a14a05ad
Merge pull request #1865 from bookwyrm-social/unread-status-translation
...
Calculate and translate unread status counts in view
2022-01-27 18:47:35 -08:00
Mouse Reeve
59b5369654
Updates tests
2022-01-27 18:23:31 -08:00
Mouse Reeve
b3d9a46c98
Merge pull request #1869 from bookwyrm-social/list-notes
...
Let users add info about their list entry submissions
2022-01-27 13:04:08 -08:00
Mouse Reeve
577bc18a47
Minor simplification for user shelf view
2022-01-27 12:05:26 -08:00
Mouse Reeve
c0dabeee04
Don't check suggested books against shelved books
...
It takes too long, and ideally this is your first action so you don't
have any books shelved yet.
2022-01-27 11:45:40 -08:00
Mouse Reeve
0d69d9b48b
Adds more unit tests for list views
2022-01-26 12:02:48 -08:00
Mouse Reeve
65b9872c72
Fixes approving curated submissions
2022-01-26 10:37:50 -08:00
Mouse Reeve
dd16fb2a26
Move embed view to separate file
2022-01-25 13:37:57 -08:00
Mouse Reeve
f85158191b
Use form for saving list items
2022-01-25 12:11:17 -08:00
Mouse Reeve
9902794bbd
Adds edit note view
2022-01-25 08:44:04 -08:00
Mouse Reeve
ca0dbeb0ab
Move list views into more files
2022-01-24 19:39:30 -08:00
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
Joachim
3a015062ec
Reverse sorting order
2021-12-28 10:49:09 +01:00
Mouse Reeve
b99ff9ef85
Removes unused import
2021-12-27 14:49:48 -08:00
Mouse Reeve
a064333a96
Use readthroughs only to determine books read this year
2021-12-27 14:45:11 -08:00
Mouse Reeve
2345845560
Merge pull request #1692 from joachimesque/summary-review-sharing
...
Feature: Annual summary sharing
2021-12-27 13:37:59 -08:00
Mouse Reeve
a96466bf35
Adds minor changes to null states for annual summary
2021-12-27 13:16:27 -08:00
Joachim
07f2d9a11c
Update tests
2021-12-22 18:15:05 +01:00
Joachim
b03b6f6d6f
Add docstring
2021-12-22 17:14:21 +01:00
Joachim
b9265bdd29
Update annual_summary.py
2021-12-22 17:10:47 +01:00
Joachim
04d51cde3f
pylint
2021-12-22 17:09:12 +01:00
Joachim
13ee7e7a65
Use readthrough finish date instead of shelving date
2021-12-22 16:53:10 +01:00
Joachim
357eddf16e
Limit page availability to earliest completed readthrough / shelving
2021-12-22 16:52:42 +01:00
Joachim
45dd39d370
Add key creation/revocation
2021-12-22 15:12:56 +01:00
Joachim
1022e3e165
Add basic key verification and change voice in template
2021-12-22 15:11:05 +01:00
Joachim
0da0a62660
Don't crash if there's no ratings
2021-12-22 11:18:47 +01:00
Joachim
6308625bab
Don't crash if there's no ratings
2021-12-22 11:18:26 +01:00
Joachim
c13e7479c3
Add tests
2021-12-21 14:44:21 +01:00
Joachim
545fb9e4be
disable no-self-use
2021-12-21 13:17:18 +01:00
Joachim
581e7f3e40
R0914 & R0201
2021-12-21 12:22:40 +01:00
Joachim
7e9c7ce9e3
Improve pylint
2021-12-21 12:12:32 +01:00