Commit graph

398 commits

Author SHA1 Message Date
Mouse Reeve
a907dfdce7 Adds tests for block lists 2021-04-12 15:08:10 -07:00
Mouse Reeve
901e7f69d4 Allow admins to upload domain blocklists
Fixes #804
2021-04-12 14:23:51 -07:00
Mouse Reeve
659986771f Edit notes on federated servers 2021-04-11 10:36:40 -07:00
Mouse Reeve
77caf1a8fa Merge branch 'main' into domain-block 2021-04-11 10:02:11 -07:00
Mouse Reeve
b552634a87 Make sure goal exists before checking perms 2021-04-11 09:58:03 -07:00
Mouse Reeve
b6a7871b04 Makes visibility evaluator a model function 2021-04-11 09:31:18 -07:00
Mouse Reeve
98ff66cd16 Don't broadcast curation rejects 2021-04-10 18:15:13 -07:00
Mouse Reeve
675b34f5ad Merge branch 'main' into collection-item-refacotr 2021-04-10 16:02:54 -07:00
Mouse Reeve
1903812b1d Class method for checking if urls are blocked 2021-04-10 11:44:29 -07:00
Mouse Reeve
d5fbdacc02 Adds unblock view 2021-04-10 11:06:28 -07:00
Mouse Reeve
2741aa55be Makes blocking it's own view 2021-04-10 10:37:28 -07:00
Mouse Reeve
d076162aa6 Remove edit server mode
It just doesn't really make sense
2021-04-10 10:09:36 -07:00
Mouse Reeve
13d54871b7 Merge branch 'main' into domain-block 2021-04-10 09:26:01 -07:00
Mouse Reeve
27664e323a Fixes edit book form throwing error on empty dates 2021-04-08 16:08:35 -07:00
Mouse Reeve
fdf5113143 Removes tag code 2021-04-08 16:02:02 -07:00
Mouse Reeve
6617cede37 Loudly throw errors in inbox task 2021-04-08 14:15:58 -07:00
Mouse Reeve
0de1b8d0c3 Case insensitive remote user search 2021-04-08 09:59:21 -07:00
Mouse Reeve
9658123dd7
Merge pull request #893 from void-witch/fix-date
fix the book edit confirmation template dropping initial data for dates
2021-04-07 18:36:15 -07:00
Mouse Reeve
ddba61f138 Block all/unblock all users on server block 2021-04-07 16:50:12 -07:00
Mouse Reeve
8556474537 Add and edit servers 2021-04-07 13:17:51 -07:00
Mouse Reeve
ddab9af564 Functional add server form 2021-04-07 13:06:29 -07:00
Mouse Reeve
74549956c2 Adds edit server form 2021-04-07 11:52:13 -07:00
Mouse Reeve
4e0225749d Merge branch 'main' into domain-block 2021-04-07 11:23:15 -07:00
n2no1
ac86c194d4 move from strptime to dateutil for parsing date inputs 2021-04-07 14:11:13 -04:00
Mouse Reeve
e3d01c6736 Gracefully handle errors in webfinger during search 2021-04-07 09:17:04 -07:00
n2no1
31146b00e4 import MultiValueDictKeyError to catch with formcopy 2021-04-06 21:40:15 -04:00
n2no1
51e16fba97 run black, add a try/catch around the formcopy fix 2021-04-06 21:01:57 -04:00
n2no1
0941c50c69 ensure that the book edit confirmation receives initial date data as a datetime 2021-04-06 20:46:18 -04:00
Mouse Reeve
a4b892dfad Fixes domain block tests 2021-04-05 16:47:48 -07:00
Mouse Reeve
34b790a086 Adds tests for blocked server checks 2021-04-05 15:54:33 -07:00
Mouse Reeve
ad543f46c1 Adds block and unblock functionality 2021-04-05 15:38:32 -07:00
Mouse Reeve
1901f7e6cb Check if incoming domains are blocked 2021-04-05 15:16:41 -07:00
Mouse Reeve
bd8858830a Created generic redis class for activitstreams 2021-04-05 11:05:37 -07:00
Mouse Reeve
ea837a3879
Merge pull request #864 from mouse-reeve/delete-and-redraft
Delete and redraft
2021-04-04 11:00:09 -07:00
Mouse Reeve
03ba01a790 Expands filtering and sorting on invite requests page 2021-04-04 10:36:28 -07:00
Mouse Reeve
ff3631cbe3 Python formatting 2021-04-04 09:24:17 -07:00
Mouse Reeve
be8c3b7904 Handles delete and redraft replies 2021-04-04 09:18:52 -07:00
Mouse Reeve
936d68f0ed Don't allow delete and redraft of ratings 2021-04-04 09:08:44 -07:00
Mouse Reeve
ffb7f8f7ce Populate redraft form 2021-04-03 15:47:47 -07:00
Mouse Reeve
2a4fc8fb9a Adds model-to-form helper for statuses 2021-04-03 14:55:13 -07:00
Mouse Reeve
4cf9bca5aa Adds compose view 2021-04-03 14:32:34 -07:00
Mouse Reeve
fb900d58cd Names status urls 2021-04-03 12:38:12 -07:00
Mouse Reeve
8711a2eba5 Adds url path 2021-04-03 12:31:28 -07:00
Mouse Reeve
c5b2489330 Adds start of redraft view 2021-04-03 12:30:18 -07:00
Mouse Reeve
6211e66a5e
Merge pull request #849 from mouse-reeve/ui-small-fixes
UI small fixes
2021-04-02 07:37:31 -07:00
Mouse Reeve
e84a07430c Fixes books get started view error 2021-04-02 07:11:35 -07:00
Mouse Reeve
de16dd75c6 Python formatting 2021-04-01 20:30:50 -07:00
Mouse Reeve
7121b74a6e Helper for suggested users panel 2021-04-01 19:56:53 -07:00
Mouse Reeve
732c7a190b Don't show pending folloq requests in suggestions 2021-04-01 19:51:29 -07:00
Mouse Reeve
634509a7f3 Associate users with their invites 2021-04-01 17:20:02 -07:00
Mouse Reeve
fc31b3e0b0 Fixes invite requests page with no filters 2021-04-01 14:22:01 -07:00
Mouse Reeve
b62989b5a8 Adds invite request filters 2021-04-01 14:14:17 -07:00
Mouse Reeve
8039917b89 Preserve get params on invite send 2021-04-01 13:56:24 -07:00
Mouse Reeve
b5e98e0bdf Make invite requests sort-able 2021-04-01 13:41:08 -07:00
Mouse Reeve
bd0c0ff2a2 Changes the header copy 2021-04-01 12:46:38 -07:00
Mouse Reeve
3b725fab63
Merge pull request #839 from mouse-reeve/onboarding
Get started flow for new users
2021-04-01 10:23:04 -07:00
Mouse Reeve
1e75674f7b Fixes user view 2021-04-01 09:57:50 -07:00
Mouse Reeve
ac8e68ce2c Python formatting 2021-04-01 09:48:13 -07:00
Mouse Reeve
493b04d91d
Merge pull request #841 from mouse-reeve/shelf-error
Shelf page 500s where it should 404
2021-04-01 09:47:29 -07:00
Mouse Reeve
fa17d9018f Adds user search to get started view 2021-04-01 09:39:05 -07:00
Mouse Reeve
776f1768d9 Updates get started users template 2021-04-01 09:30:15 -07:00
Mouse Reeve
ed127f4e07 Save and continue from get started books view 2021-04-01 09:13:10 -07:00
Mouse Reeve
e2388d8f67 Makes user profile view editable 2021-04-01 08:38:42 -07:00
Mouse Reeve
d5d4582ed1 Only show unshelved books 2021-04-01 08:12:38 -07:00
Mouse Reeve
fd6c1973cf Shelf page 500s where it should 404 2021-04-01 07:24:56 -07:00
Mouse Reeve
f2f700c7b8 Adds error messaging for invalid cover urls 2021-03-31 15:39:28 -07:00
Mouse Reeve
210cf4a702 Fixes shelf redirects 2021-03-31 15:03:07 -07:00
Mouse Reeve
13e153412e Adds profile and user get started views 2021-03-31 14:53:15 -07:00
Mouse Reeve
7483cb5919 Adds getting started find books view 2021-03-31 13:56:26 -07:00
Mouse Reeve
66b7a3d193 Avoids error on empty search query 2021-03-31 12:03:58 -07:00
Mouse Reeve
daf2fd1667 Perform webfinger search on all username syntaxes 2021-03-31 11:57:39 -07:00
Mouse Reeve
f89e94b0c0 Adds privacy to fake shelf 2021-03-31 10:32:50 -07:00
Mouse Reeve
a670c8d366 Adds "all books" view" 2021-03-31 10:25:15 -07:00
Mouse Reeve
8b9b70d9cd
Merge pull request #829 from mouse-reeve/status-404s
Handle invalid status urls with 404
2021-03-30 11:01:05 -07:00
Mouse Reeve
0365a57307 Handle invalid status urls with 404 2021-03-30 10:46:02 -07:00
Mouse Reeve
daea57f91c Updates python formatting 2021-03-30 10:31:23 -07:00
Mouse Reeve
f7b0a282a7 Set updated date on list when item is added 2021-03-30 10:28:50 -07:00
Mouse Reeve
9b949d9845 Merges display of lists to show all
Rather than separating out "your lists"
2021-03-30 10:19:51 -07:00
Mouse Reeve
754ccaedd6 Move importers into module 2021-03-30 09:03:57 -07:00
Mouse Reeve
a54014f693 Fixes import retry 2021-03-30 08:44:17 -07:00
Mouse Reeve
4b325fedee Removes error views from init 2021-03-29 18:51:35 -07:00
Mouse Reeve
28f07f7729 Fixes error pages 2021-03-29 18:47:21 -07:00
Mouse Reeve
e86f160c53
Merge pull request #812 from SavinaRoja/357-tz-in-datetimes
357 Users set preferred timezone, used for readthroughs
2021-03-29 15:20:01 -07:00
Mouse Reeve
47cf1f3b22
Merge pull request #825 from mouse-reeve/misc-server-errors
Misc server errors
2021-03-29 15:09:42 -07:00
Mouse Reeve
6bf3d9dcd8 Adds hosts-meta path 2021-03-29 14:36:24 -07:00
Mouse Reeve
2722050ee2 Python formatting 2021-03-29 14:20:51 -07:00
Mouse Reeve
662ddf44b9 Avoid error when request Accept header is not set 2021-03-29 14:12:07 -07:00
Mouse Reeve
3be420944e Fixes display of dms pagination 2021-03-29 13:51:06 -07:00
Mouse Reeve
84dfa69695 Fixes invite flow 2021-03-29 13:28:30 -07:00
Mouse Reeve
cc00a66b90
Merge pull request #800 from SavinaRoja/716-book-multiple-shelves
716 books can be on multiple shelves, but only on one shelf for reading status
2021-03-29 12:59:49 -07:00
Mouse Reeve
04ca6de968 Paginates editions page 2021-03-29 12:13:05 -07:00
Mouse Reeve
e9f202b9e0 Paginate shelf page
Also removes some fields from the table
2021-03-29 11:48:19 -07:00
Mouse Reeve
f6ad069f74 Fixes tests 2021-03-29 11:38:14 -07:00
Mouse Reeve
0a4e755516 Fixes setting lower() on NoneType 2021-03-29 11:27:51 -07:00
Mouse Reeve
9c798a4feb Filter editions 2021-03-29 11:14:34 -07:00
Mouse Reeve
769ba6466c Adds filters ui to editions page 2021-03-29 10:58:46 -07:00
Mouse Reeve
b13e8d75cd Introduces filters snippets 2021-03-29 10:39:13 -07:00
Mouse Reeve
7c9518afa6 Adds info to editions page 2021-03-29 10:21:48 -07:00
Pablo Barton
765e6b542f adding middleware and use in readthrough template 2021-03-29 08:20:35 -04:00
Mouse Reeve
621c0ea15a Fixes password reset 2021-03-28 18:53:49 -07:00