Commit graph

88 commits

Author SHA1 Message Date
Mouse Reeve
b608e36946 Filter books for discover page for privacy 2021-01-03 15:44:07 -08:00
Mouse Reeve
0247f89c0b Use recent reviews instead of most reviewed books 2021-01-03 14:28:28 -08:00
Mouse Reeve
ef42d29bd9 Discovery landing page 2021-01-03 11:10:04 -08:00
Mouse Reeve
18e0347077
Merge pull request #470 from mouse-reeve/duplicate-replies-in-feed
Fixes replies showing up twice in feed
2021-01-03 08:32:01 -08:00
Mouse Reeve
1187016aba
Merge pull request #469 from mouse-reeve/user-search
Search on username and localname in user search
2021-01-03 08:31:46 -08:00
Mouse Reeve
4d4b27e844 Fixes replies showing up twice in feed 2021-01-03 08:17:00 -08:00
Mouse Reeve
b5ce7a0c25 Search on username and localname in user search 2021-01-03 07:48:57 -08:00
Renato "Lond" Cerqueira
b389cfb013 Use user-agent to determine whether to show pure representation
Together with #434 and #435, this fixes #429. Use the user-agent to
determine if the call is coming from a BookWyrm instance or not. If it's
not, give a pure activitypub representation for the status. Otherwise,
give a BookWyrm one, to allow for a complete integration between
instances.
2021-01-03 14:24:03 +01:00
Mouse Reeve
97b56e9bc2 Removes references to max entries in views 2021-01-02 09:45:51 -08:00
Mouse Reeve
86060f795d Updates tests 2021-01-02 08:55:42 -08:00
Mouse Reeve
d828b0ead9 Remove books manager at long last 2021-01-02 08:14:28 -08:00
Mouse Reeve
dc68fdd53e User generated local paths 2020-12-30 17:36:35 -08:00
Mouse Reeve
885bb023a3 Sort shelves by shelfbook updated date 2020-12-30 16:07:29 -08:00
Mouse Reeve
48f002727a small change and test to get_user_from_username 2020-12-30 14:57:43 -08:00
Mouse Reeve
b71eda6e38
Merge pull request #434 from renatolond/activitypub/use_activitypub_content_type
Create a ActivitypubResponse class and use it in the views
2020-12-30 12:37:04 -08:00
Renato "Lond" Cerqueira
44a8184f72 Create a ActivitypubResponse class and use it in the views
This improves compatibility with other fediverse software by using the
expected content type for any api calls.
2020-12-30 21:25:28 +01:00
Mouse Reeve
d3161ea361 Send appropriate error codes back with error pages 2020-12-30 11:42:07 -08:00
Mouse Reeve
e5a914c3c2 Fixes API search causing 500 error 2020-12-30 11:37:26 -08:00
Mouse Reeve
25dee8362d Adds edit author form and stores last edited by 2020-12-22 09:26:55 -08:00
Mouse Reeve
646df03d81 show books for authors who only have editions 2020-12-20 11:51:17 -08:00
Mouse Reeve
ef696782ab Allow markdown in html fields 2020-12-19 18:54:56 -08:00
Mouse Reeve
729e50de63 Show consistent book status regardless of edition 2020-12-16 09:15:26 -08:00
Mouse Reeve
b36eaef172 Merge branch 'main' into switch-edition 2020-12-13 21:10:37 -08:00
Mouse Reeve
943d97c0bc Adds direct messages UI 2020-12-13 16:17:14 -08:00
Mouse Reeve
801b6c3a77 Merge branch 'main' into follow-remote-ids 2020-12-12 09:34:54 -08:00
Mouse Reeve
733e0e19ac Don't show boost and original status in timeline
Fixes #381
2020-12-11 17:39:17 -08:00
Mouse Reeve
716068474e Merge branch 'main' into switch-edition 2020-12-11 16:59:59 -08:00
Mouse Reeve
72eb94315a Adds shelf info to book page
- includes change shelf button
- WIP button for switching to the current edition
2020-12-11 16:40:48 -08:00
Mouse Reeve
b33ea40da2 Use context processor to include site settings in templates 2020-12-11 12:07:37 -08:00
Mouse Reeve
dfd730757d handle unset default editions 2020-11-28 17:42:09 -08:00
Mouse Reeve
72c7829bab Preserve remote_id syntax for authors and books 2020-11-28 17:29:03 -08:00
Mouse Reeve
fd7e476c9b refactors tag model to fit ordered collection structure 2020-11-28 11:04:54 -08:00
Mouse Reeve
a93b5cf5bc Use remote_id resolver to load books, user 2020-11-28 10:18:24 -08:00
Mouse Reeve
9c33d0ebfa use require_GET decorator 2020-11-28 08:22:25 -08:00
Mouse Reeve
1ad347ffdb
Merge pull request #346 from mouse-reeve/trim-text
Collapse long review text
2020-11-12 14:38:43 -08:00
Mouse Reeve
032ce8efba Show failed books 2020-11-12 13:52:57 -08:00
Mouse Reeve
23ef1e8b7d Collapse long review text 2020-11-12 11:40:20 -08:00
Mouse Reeve
c1567826ca Paginate reviews page 2020-11-11 10:50:51 -08:00
Mouse Reeve
90d0d721dd Paginates user activity feed 2020-11-11 10:43:47 -08:00
Mouse Reeve
91a32c014e Uses django paginator for feed page 2020-11-11 10:35:34 -08:00
Mouse Reeve
1d0b7fa64f Proper privacy on user page shelf previews 2020-11-11 10:14:04 -08:00
Mouse Reeve
1e7b5f7981 remove unused forms
also some more get_object_or_404s
2020-11-10 22:06:06 -08:00
Mouse Reeve
c3d2018411 Unused forms 2020-11-10 21:47:28 -08:00
Mouse Reeve
c16047d0bc Control display of shelves based on privacy settings 2020-11-10 16:43:52 -08:00
Mouse Reeve
408ca6609c Let users create shelves 2020-11-10 14:52:04 -08:00
Mouse Reeve
c3fe8e041a Disentangles user pages 2020-11-10 14:07:12 -08:00
Mouse Reeve
794aeb299c Max on books shown from shelves in suggestions bar 2020-11-07 11:54:32 -08:00
Mouse Reeve
1ffa21b67d Fixes suggested books and serialize covers in status 2020-11-07 10:56:24 -08:00
Mouse Reeve
ba97870276 get suggested books from shelfbook 2020-11-06 20:51:11 -08:00
Mouse Reeve
a02f380472
Merge pull request #295 from mouse-reeve/suggested-books
Show shelf names with suggested books
2020-11-06 20:40:23 -08:00