Commit graph

628 commits

Author SHA1 Message Date
Mouse Reeve
9e48328e9e Mocks broadcast task for outgoing shelve tests 2020-11-27 14:18:45 -08:00
Mouse Reeve
4ec557fc5d fixes unit tests for incoming and outgoing follows 2020-11-27 14:15:13 -08:00
Mouse Reeve
f173d674ac Mock fetch_user function which makes http request 2020-11-27 13:53:38 -08:00
Mouse Reeve
a8f3ddec05 Trying to avoid issues from execusing http requests 2020-11-27 13:39:33 -08:00
Mouse Reeve
829615cdd7 Fixes celery mocks on more signature unit tests 2020-11-27 13:18:10 -08:00
Mouse Reeve
73279d65d7 Fix test remote signer and comment out failing tests 2020-11-27 13:08:01 -08:00
Mouse Reeve
48ab993861 Mocks celery task for follow request 2020-11-27 13:02:26 -08:00
Mouse Reeve
0c01af4042 Another nondeterministic list order problem 2020-11-27 12:42:01 -08:00
Mouse Reeve
44a0ef3b0b Fixes nondeterministic order of query causing test failure 2020-11-27 12:25:01 -08:00
Mouse Reeve
257a29dcfd Comment out failing tests
Obviously this is not a SOLUTION, it's an intermediary step in resolving
the redis dependency issues. this PR isn't mergable until the tests are
restored.
2020-11-27 11:53:30 -08:00
Mouse Reeve
9b79eb5fc3 Removes outdated test of bookwyrm connector updater 2020-11-25 11:44:19 -08:00
Mouse Reeve
4f6ce0307d fixes import in abstract connector unit test 2020-11-25 11:24:36 -08:00
Mouse Reeve
0ec40ae748 Merge branch 'main' into refactor-bookwyrm-connector 2020-11-25 11:21:13 -08:00
Mouse Reeve
aed360d07e Fixes serializer handling default dataclass fields 2020-11-25 11:16:01 -08:00
Mouse Reeve
9b57cfd331 Fixes default lists on activitypub dataclasses 2020-11-25 10:45:39 -08:00
Mouse Reeve
641ac22786 remove outdated tests 2020-11-24 16:26:28 -08:00
Mouse Reeve
847014720e Refactors bookwyrm connector to use activitypub serializer 2020-11-24 16:05:00 -08:00
Mouse Reeve
7b4847852a Merge migrations manually 2020-11-24 13:42:47 -08:00
Mouse Reeve
3dc0fc7e8f Merge branch 'main' into edit-books-erros 2020-11-24 13:40:53 -08:00
Mouse Reeve
1fd498c306 Display error messages in edit book form 2020-11-24 13:37:35 -08:00
Mouse Reeve
9bbedc5d9a Fixes field causing form invalidation when editing books 2020-11-24 13:25:58 -08:00
Mouse Reeve
6cc1e241fe display images at a reasonable size 2020-11-24 12:07:00 -08:00
Mouse Reeve
ff5a0f7bc2 Adds alt text to status images 2020-11-24 11:44:13 -08:00
Mouse Reeve
45a0bd79fd Very basic image display 2020-11-24 11:28:17 -08:00
Mouse Reeve
ad7ce6595b Receive and save incoming images 2020-11-24 11:25:07 -08:00
Mouse Reeve
88e4705717 Use attachment database table 2020-11-23 20:42:05 -08:00
Mouse Reeve
17fca8181b Simplify user creation code 2020-11-23 13:50:14 -08:00
Mouse Reeve
e2debd855c Convert activitypub Image into model ImageField 2020-11-23 13:43:46 -08:00
Mouse Reeve
5526b4773e Formatter for converting model images to AP Images
Replaces reduntant properties on user and book models
2020-11-23 13:07:26 -08:00
Mouse Reeve
dab0aeffb2 Adds image attachment field to status model 2020-11-23 12:48:41 -08:00
Mouse Reeve
56638f79cf
Merge pull request #359 from mouse-reeve/activity-tags
Serialize and deserialize activitypub "Tags" on statuses
2020-11-22 09:35:19 -08:00
Mouse Reeve
5e34d136fd
Merge pull request #361 from cincodenada/fix-navbar
Fix navbar on mobile, make search an addon
2020-11-20 21:51:33 -08:00
Joel Bradshaw
df2dc5a8a1 Remove placebo class
is-third-mobile was the wrong class, it turns out just column is what
was making it work like I wanted it to
2020-11-20 21:27:50 -08:00
Joel Bradshaw
8945e70e42 Fix navbar on mobile, make search an addon
In reading up on Bulma I found the has-addons option which is a nice
touch, I think
2020-11-20 21:19:26 -08:00
Mouse Reeve
56b6fb9c97
Merge pull request #360 from mouse-reeve/shelve_buttons
Fixes unset active shelf in shelve button pulldown
2020-11-20 21:18:28 -08:00
Mouse Reeve
448efff648 Fixes unset active shelf in shelve button pulldown 2020-11-20 10:05:37 -08:00
Mouse Reeve
9a55dba315 Special handling for setting many to many fields in serializer 2020-11-20 09:59:55 -08:00
Mouse Reeve
72b4c150f6 (De)serializers for tag fields 2020-11-20 09:28:54 -08:00
Mouse Reeve
73e41d568e Serialize model user and book tags to activitypub 2020-11-20 08:14:16 -08:00
Joel Bradshaw
1d0c0ae5c5 Add rename_app command and use it
This allows users to migrate from a pre-rename database without
resetting their database, hopefully
2020-11-19 13:49:53 -08:00
Mouse Reeve
6553e5df34 Makes sure pages have h1 header heirarchy 2020-11-18 12:31:53 -08:00
Mouse Reeve
680211cff5 refactors re-shelve button dropdown to be accessible
still looks janky as heck, but fixes #350
2020-11-16 16:34:26 -08:00
Mouse Reeve
699a661f00 Remove broken add book link 2020-11-13 12:18:13 -08:00
Mouse Reeve
28e1c9525c tweaks search rankings for better results 2020-11-13 11:03:39 -08:00
Mouse Reeve
6300c37a4e Select all checkbox 2020-11-13 10:14:24 -08:00
Mouse Reeve
86504989b4 fixes import matching with local books 2020-11-13 09:59:57 -08:00
Mouse Reeve
e3a803b907 Allow import retry 2020-11-13 09:02:41 -08:00
Mouse Reeve
083b576bc4 fixes broken activity serializer error import 2020-11-13 07:34:37 -08:00
Mouse Reeve
211ac4241b
Merge pull request #348 from mouse-reeve/incoming-errors
Incoming errors
2020-11-12 14:38:57 -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
1f11ffd646 Uses task.ready for checking if the job is running 2020-11-12 14:11:39 -08:00
Mouse Reeve
932b4f8b81 Small fix in goodreads import error handling 2020-11-12 14:01:17 -08:00
Mouse Reeve
032ce8efba Show failed books 2020-11-12 13:52:57 -08:00
Mouse Reeve
799496bb86 Move past all book loading exceptions during import 2020-11-12 13:33:12 -08:00
Mouse Reeve
74236c4810 Handle errors tryingt o load covers from instances 2020-11-12 13:20:32 -08:00
Mouse Reeve
0a2d762d3b Fixes error state when there are author duplicates
there shouldn't be, but it shouldn't crash a goodreads import either
2020-11-12 13:16:26 -08:00
Mouse Reeve
ffeed6047e Fixes reporting import task status 2020-11-12 13:12:08 -08:00
Mouse Reeve
123fe5e769 Error handling in remote user 2020-11-12 12:27:49 -08:00
Mouse Reeve
4ccf1c4818 Small html style changes on import pages 2020-11-12 12:22:06 -08:00
Mouse Reeve
c0bc4f3903 Catch error trying to get status id in delete 2020-11-12 12:02:43 -08:00
Mouse Reeve
648e7a7581 Special error for catching activitypub serialization issues 2020-11-12 11:59:34 -08:00
Mouse Reeve
2f0b91d843
Merge pull request #343 from mouse-reeve/readthrough-ui
Make readthrough edit/delete toggle a button
2020-11-12 11:41:34 -08:00
Mouse Reeve
23ef1e8b7d Collapse long review text 2020-11-12 11:40:20 -08:00
Mouse Reeve
44b798b423 Puts reply form below button that shows it
still think this is janky.
2020-11-11 18:32:52 -08:00
Mouse Reeve
801c2cdad2 Make readthrough edit/delete toggle a button 2020-11-11 16:47:11 -08:00
Mouse Reeve
ad948e7313 Remove more info box when it's not used 2020-11-11 11:52:14 -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
c08be903b1
Merge pull request #338 from mouse-reeve/code-cleanup
Code cleanup
2020-11-10 22:29:30 -08:00
Mouse Reeve
56850b9574
Merge pull request #336 from mouse-reeve/user-shelves
User-created shelves
2020-11-10 22:06:40 -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
de7de3d3d5 json view for tags page 2020-11-10 21:50:05 -08:00
Mouse Reeve
c3d2018411 Unused forms 2020-11-10 21:47:28 -08:00
Mouse Reeve
d71b451eef More model ids in urls 2020-11-10 21:45:22 -08:00
Mouse Reeve
4297e8647d put status id in path for delete-status 2020-11-10 21:39:24 -08:00
Mouse Reeve
7f9cc31040 consistent style for urls 2020-11-10 21:34:26 -08:00
Mouse Reeve
8ae05c1350 Use get_object_or_404 2020-11-10 21:13:13 -08:00
Mouse Reeve
a6796275b8 Fixes duplicate ids 2020-11-10 20:50:46 -08:00
Mouse Reeve
60e699efeb Make shelves delete-able 2020-11-10 20:33:46 -08:00
Mouse Reeve
ee59c64a10 Edit shelf 2020-11-10 20:11:21 -08:00
Mouse Reeve
c16047d0bc Control display of shelves based on privacy settings 2020-11-10 16:43:52 -08:00
Mouse Reeve
176257eb85 SHow privacy icon on shelves 2020-11-10 16:18:48 -08:00
Mouse Reeve
81d09a3d1b Fixes aria that should be role 2020-11-10 14:57:44 -08:00
Mouse Reeve
0e13616e73 lowercase shelf identifier 2020-11-10 14:56:53 -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
4ee2fab58f Refactors menu for re-shelving a book in shelf page 2020-11-10 13:40:42 -08:00
Mouse Reeve
ab0f9230c7 Adds privacy setting to shelves 2020-11-10 13:39:58 -08:00
Mouse Reeve
a5a1af418c Adds ui for editing and adding shelves 2020-11-10 13:39:37 -08:00
Mouse Reeve
de744483ec
Merge pull request #334 from mouse-reeve/comment-form
More interactive clickable elements
2020-11-10 12:48:45 -08:00
Mouse Reeve
a0243d089c star rating label can't surround input for css to work 2020-11-09 21:26:22 -08:00
Mouse Reeve
c4bf2653f7 Fixes text for absent star rating 2020-11-09 21:15:55 -08:00
Mouse Reeve
5a1cf9ce83 more search results clickable 2020-11-09 18:57:56 -08:00
Mouse Reeve
5e3426236a
Merge pull request #333 from mouse-reeve/show-more-less
Show more less
2020-11-09 16:56:32 -08:00
Mouse Reeve
29013ca91b Fixes mobile-only navbar menu 2020-11-09 16:53:52 -08:00
Mouse Reeve
37bb53aba5 set tabindex on show more show less toggles 2020-11-09 16:28:38 -08:00
Mouse Reeve
68cb1612e2 make comment toggle clickable 2020-11-09 16:27:45 -08:00
Mouse Reeve
be12ec49a3 Gives more/less toggles button role 2020-11-09 16:16:57 -08:00
Mouse Reeve
ae27570812 Adds tablist and tabpanel elements for covers tabs 2020-11-09 13:24:11 -08:00
Mouse Reeve
82896e7d81
Merge pull request #330 from mouse-reeve/wave-evaluator
Various small WAVE suggestions
2020-11-09 13:12:50 -08:00
Mouse Reeve
a40a1bdcb4 Fixes labels on import page 2020-11-09 12:40:22 -08:00
Mouse Reeve
cdc7af89cf Fixes header numbers in edit book page 2020-11-09 12:35:18 -08:00
Mouse Reeve
0f4df08769 Fixes contrast on danger buttons 2020-11-09 12:10:37 -08:00
Mouse Reeve
7042e59402 Convert h2s to h1s where obvious 2020-11-09 12:06:44 -08:00
Mouse Reeve
79f7c55a04 indicate if menu has been expanded 2020-11-09 11:58:19 -08:00
Mouse Reeve
607612a1d9 Adds label to privacy pulldown 2020-11-09 11:44:24 -08:00
Mouse Reeve
e176d5d288 Labels textareas in create status form 2020-11-09 11:40:19 -08:00
Mouse Reeve
b4d1a23ef6 Expose "no rating" option in create review form 2020-11-09 11:33:50 -08:00
Mouse Reeve
c3c59ce3d8 Adds label to mobile dropdown button
and changes the icon
2020-11-09 11:29:17 -08:00
Mouse Reeve
716ab3a78d make the start reading button always use the modal
are the modals good??? who knows
2020-11-09 11:16:39 -08:00
Mouse Reeve
52cb5fbb0e
Merge pull request #327 from mouse-reeve/create-status-tabs
Covers and create status tabs
2020-11-08 20:12:21 -08:00
Mouse Reeve
0b97efd94d
Merge pull request #323 from jimfingal/jim/cli-tooling
Add some extra Python / Docker cli tooling
2020-11-08 20:12:03 -08:00
Mouse Reeve
c37c6aae40 nested covers tabs should work with screen reader 2020-11-08 19:34:41 -08:00
Mouse Reeve
b7bc089d86 Improves tabbing javascript for create status tabs 2020-11-08 19:09:29 -08:00
Mouse Reeve
b7f8055ede Fixes review/comment/quote tabs in create status form 2020-11-08 18:23:12 -08:00
Mouse Reeve
957afed8bb Make star ratings in reviews accessible in voiceover 2020-11-08 16:45:32 -08:00
Mouse Reeve
36dc41620a Set tabbing on shelve button items 2020-11-08 16:25:22 -08:00
Mouse Reeve
096d5008c3 Adds start and finish modal snippets 2020-11-08 15:53:53 -08:00
Mouse Reeve
5042344bca Fix accessibility for shelve buttons/read forms 2020-11-08 15:15:42 -08:00
Mouse Reeve
07b0112e1a
Merge pull request #312 from mouse-reeve/api_info
Updates nodeinfo and api info
2020-11-08 14:15:50 -08:00
Mouse Reeve
a8afc3fc36
Merge pull request #322 from mouse-reeve/voiceover-review
Fixes "notifications" typo and adds alt text to avatars
2020-11-08 14:12:20 -08:00
Christa Hartsock
037697a382 Associate 'tags' label to formfield
So that the tags label is read by screenreaders
2020-11-08 13:42:01 -08:00
Christa Hartsock
2e944bceb9 Remove "for" from start/end date labels
The "for" value pointed to an ID for an input that didn't exist, which
caused screenreaders to not read the value of the label when
specififying readthrough dates. Removing the
'for' tags makes the screenreader read the label as expected since the
label wraps the input, so we don't need a 'for'.
2020-11-08 13:40:36 -08:00
Christa Hartsock
b684e929b4 Add label text to search input
For use by screenreaders.
2020-11-08 13:23:05 -08:00
Jim Fingal
1f9891dcf5 Create example marker to avoid tests that require external domain 2020-11-08 13:07:37 -08:00
Mouse Reeve
8f95c1e728 Clearer logo link to home page and missing filter import 2020-11-08 12:38:27 -08:00
Mouse Reeve
77b0a3b67f Adds alt text to avatars 2020-11-08 12:25:05 -08:00
Mouse Reeve
0171b5a427 Fixes typo in notifications link 2020-11-08 12:24:50 -08:00
Jim Fingal
8c6c28c7d8 Move initdb into a management command 2020-11-08 10:30:55 -08:00
Mouse Reeve
edc653e273 Fixes typo in edit user manually approve followers label 2020-11-08 09:45:42 -08:00
Mouse Reeve
01f7d2ac44 Updates nodeinfo and api info 2020-11-07 21:07:07 -08:00
Mouse Reeve
e21d59386c Don't show reshelve buttons on other people's shelves
yikes
2020-11-07 20:47:56 -08:00
Mouse Reeve
50aaa8d9a1 Don't error on statuses that didn't get created 2020-11-07 20:13:13 -08:00
Mouse Reeve
4710e65269 create notification for local favs/boosts 2020-11-07 19:15:04 -08:00
Mouse Reeve
aa170d0d6c
Merge pull request #310 from mouse-reeve/unboost
Unboost
2020-11-07 19:00:10 -08:00
Mouse Reeve
57fad30b6b Fixes unboost 2020-11-07 18:59:38 -08:00
Mouse Reeve
dce766a929
Merge pull request #307 from mouse-reeve/test
corrects tests for latest code changes
2020-11-07 18:32:35 -08:00
Mouse Reeve
c58538539a Outgoing unboost 2020-11-07 18:31:01 -08:00
Mouse Reeve
e6d46878fb Fixes like/unlike statuses 2020-11-07 18:18:44 -08:00
Mouse Reeve
cfa4cb015d corrects tests for latest code changes 2020-11-07 17:48:50 -08:00
Mouse Reeve
20395ff2ec Corrects serialization of Add activity 2020-11-07 16:11:12 -08:00
Mouse Reeve
65770b8dd4
Merge pull request #303 from mouse-reeve/nodeinfo-user-count
Only report local users in user count
2020-11-07 12:39:47 -08:00
Mouse Reeve
3ba02f8fbd Only report local users in user count 2020-11-07 12:07:09 -08:00
Mouse Reeve
5a842ca6ad
Merge pull request #301 from mouse-reeve/shelf-controls
Pulldown for moving books between or off shelves
2020-11-07 11:55:55 -08:00
Mouse Reeve
794aeb299c Max on books shown from shelves in suggestions bar 2020-11-07 11:54:32 -08:00
Mouse Reeve
70cd706ce3 Pulldown for moving books between or off shelves 2020-11-07 11:49:57 -08:00
Mouse Reeve
dd4e323e18 Fixes cover filesnames 2020-11-07 10:59:08 -08:00
Mouse Reeve
1ffa21b67d Fixes suggested books and serialize covers in status 2020-11-07 10:56:24 -08:00
Mouse Reeve
83770abfd2 Deduplicate incoming create activities
This is a regression.
2020-11-07 10:29:46 -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
Mouse Reeve
b763b7469b Show shelf names with suggested books 2020-11-06 20:36:52 -08:00
Mouse Reeve
275527f255
Merge branch 'main' into load_remote_statuses 2020-11-06 15:48:17 -08:00
Mouse Reeve
ce4c02936d
Merge pull request #293 from mouse-reeve/tagging
fixes tagging
2020-11-06 15:46:45 -08:00
Mouse Reeve
3641661c9b
Merge pull request #292 from mouse-reeve/markup-cleanup
Markup cleanup
2020-11-06 15:46:03 -08:00
Mouse Reeve
a8b1c1ce98 button audit 2020-11-06 15:20:11 -08:00
Mouse Reeve
a1242cd83f Invalid title for status page causing 500 2020-11-06 15:14:30 -08:00
Mouse Reeve
7f7cce3bb8 Group invite form elements 2020-11-06 15:08:40 -08:00
Mouse Reeve
0b34b6cd96 Updates code for loading remote statuses 2020-11-06 14:56:05 -08:00
Mouse Reeve
d320ba1ff9 Don't put deleted statuses in outbox 2020-11-06 14:53:27 -08:00
Mouse Reeve
ad25e75282 fixes tagging 2020-11-06 14:25:48 -08:00
Mouse Reeve
9d1f1ce84b tweaks tag markup 2020-11-06 14:01:43 -08:00
Mouse Reeve
404ec82657 Simplify markup for creating status 2020-11-06 13:33:26 -08:00
Mouse Reeve
9ef63fff4a More formatting for editing readthrough 2020-11-06 13:04:58 -08:00
Mouse Reeve
ec463ff4c8 Confirm deleting readthroughs 2020-11-06 12:51:49 -08:00
Mouse Reeve
981628260a Don't show read dates of "None" 2020-11-06 12:40:21 -08:00
Mouse Reeve
f868471460 cleans up cover upload form 2020-11-06 12:27:52 -08:00
Mouse Reeve
c883893dd6 Slightly less messy boost status header 2020-11-06 12:09:14 -08:00
Mouse Reeve
8550cbc710 Move user header into snippets 2020-11-06 12:02:25 -08:00
Mouse Reeve
681ebd136a Links on user page 2020-11-06 12:00:00 -08:00
Mouse Reeve
8b5b6e13a5 Use check icon instead of unicode character 2020-11-06 11:55:32 -08:00
Mouse Reeve
6aa7522c34 Put status form in a visual distinct box on book page
and clean up create status markup
2020-11-06 11:54:31 -08:00
Mouse Reeve
2ad16f86a0 Move privacy selector to snippet 2020-11-06 09:07:15 -08:00
Mouse Reeve
4ec6104cac Want to read activity 2020-11-06 09:07:04 -08:00
Mouse Reeve
8f5d6c11ef button spacing in shelve button pulldown 2020-11-06 09:00:33 -08:00
Mouse Reeve
86f170b11c Functional cancel buttons 2020-11-06 08:54:59 -08:00
Mouse Reeve
c64acf559b create readthroughs 2020-11-06 08:51:50 -08:00
Mouse Reeve
7bf39d3bf7 html for updated reading progress flow 2020-11-05 16:48:15 -08:00
Mouse Reeve
7612df5161 Use html in code of conduct 2020-11-05 13:51:16 -08:00
Mouse Reeve
632ef258b7 Colors for follow/unfollow buttons 2020-11-05 12:09:05 -08:00
Mouse Reeve
a48bb5a16e Adds cancel button to edit book page 2020-11-05 12:05:29 -08:00
Mouse Reeve
a3bf31796a Make status footer more mobile friendly 2020-11-05 11:40:03 -08:00
Mouse Reeve
7f11afa081 Revamps reply form 2020-11-05 10:48:28 -08:00
Mouse Reeve
1c442f0dfe More legible statuses on mobile 2020-11-05 08:21:00 -08:00
Mouse Reeve
152343d251 Boost and unboost federation fixes 2020-11-04 16:28:32 -08:00
Mouse Reeve
21c0a0163a Deduplicate incoming Create notes 2020-11-04 15:23:52 -08:00
Mouse Reeve
722f44ac9f actual fix for status deserialization 2020-11-04 14:19:06 -08:00
Mouse Reeve
4bde389d6b Fixes matching activities to models 2020-11-04 14:13:34 -08:00
Mouse Reeve
61ac7b1426 Removes stray paren from quoation pure serializer 2020-11-04 14:01:28 -08:00
Mouse Reeve
19a9136ebb Correctly serialize edition ids in work page 2020-11-04 13:31:44 -08:00
Mouse Reeve
9238f4c74a Correclty parse ordered collection json for editions 2020-11-04 13:18:30 -08:00
Mouse Reeve
6bf9a7159b Load expanded book data from bookwyrm connector 2020-11-04 13:09:11 -08:00
Mouse Reeve
53a358f2fd Activitypub serializable edition list 2020-11-04 12:55:00 -08:00
Mouse Reeve
441220a547 Fixes edition/work author correction check 2020-11-04 12:12:29 -08:00
Mouse Reeve
ff96835c2a Migrate default edition field to work model
Fixes #281
2020-11-04 11:27:49 -08:00
Mouse Reeve
c6b8357c77 Make tags optional in activitypub Notes 2020-11-02 16:32:56 -08:00
Mouse Reeve
842291d729 Fixes shelving tests 2020-11-02 16:28:02 -08:00
Mouse Reeve
0c73a1f42e updates test data and serialization 2020-11-02 16:24:56 -08:00
Mouse Reeve
8a4e00c6b9 migrations are fucked 2020-11-02 16:17:48 -08:00
Mouse Reeve
ce5d847a1d
Merge pull request #279 from mouse-reeve/data-encoding
Stop double-encoding broadcasts
2020-11-02 15:39:51 -08:00
Mouse Reeve
752193d0e2
Merge pull request #278 from mouse-reeve/incoming-shelve
Incoming shelve
2020-11-02 15:39:37 -08:00
Mouse Reeve
f9d8115ba6 Stop double-encoding broadcasts
Fixes #234
2020-11-02 15:37:39 -08:00
Mouse Reeve
5501318f95 Incoming shelve activities 2020-11-02 15:10:41 -08:00
Mouse Reeve
4cfded3d19 Fixes activitypub serializer local ids 2020-11-02 15:01:28 -08:00
Mouse Reeve
a539b77dfa Different titles for different pages 2020-11-02 14:25:16 -08:00
Mouse Reeve
c5a215b11d Fixes serialization of parent work remote_id 2020-11-02 14:13:24 -08:00
Mouse Reeve
0c9dff61ca Re-adds hiding book in reviews feed 2020-11-02 13:41:43 -08:00
Mouse Reeve
917c97daba
Merge pull request #273 from mouse-reeve/follow-reqest-dupe
Prevent creating follow requests when there's already a follow
2020-11-02 11:52:36 -08:00
Mouse Reeve
64d75fe014
Merge pull request #275 from mouse-reeve/update-book
Fixes updating books from remote instances
2020-11-02 11:52:05 -08:00
Mouse Reeve
b5467f7d6d Refactor status display 2020-11-02 11:47:21 -08:00
Mouse Reeve
2ac9a6fcee Fixes updating books from remote instances 2020-11-02 09:34:46 -08:00
Mouse Reeve
30d5846fa4 Adds missing template snippet 2020-11-02 09:23:47 -08:00
Mouse Reeve
afa2aff30a
Merge pull request #274 from mouse-reeve/search-ui
Search ui
2020-11-02 09:06:53 -08:00
Mouse Reeve
903e68f64a Show extended search results automatically for empty local results 2020-11-02 09:03:48 -08:00
Mouse Reeve
485f3831b9 Priortize other instances over openlibrary 2020-11-02 08:50:21 -08:00
Mouse Reeve
277c0c4bfe Hide search results from external datasources 2020-11-02 08:48:58 -08:00
Mouse Reeve
ad3d492fcc Prevent creating follow requests when there's already a follow
Fixes #90
2020-11-01 13:14:56 -08:00
Mouse Reeve
2b0b88802b Fixes weirdness in handling avatars
- urls weren't serialized correctly for activitypub
- the filename shouldn't have been preserved as-is
2020-11-01 12:36:56 -08:00
Mouse Reeve
4b7de93c90 still tweaking webfinger syntax 2020-11-01 12:29:31 -08:00
Mouse Reeve
65371d6904 Don't show "None" in book description 2020-11-01 12:09:39 -08:00
Mouse Reeve
a2692f92d2 Fixes logic issues in saving user model 2020-11-01 12:07:51 -08:00
Mouse Reeve
beb5e1f11e Show empty string, not "None" for books with no text 2020-11-01 11:59:51 -08:00
Mouse Reeve
fdaa63d5dc Fixes error in text trimming tag 2020-11-01 11:57:46 -08:00
Mouse Reeve
76a4f0e9a7 Merge migration 2020-11-01 11:13:34 -08:00
Mouse Reeve
8ae9519bf2
Merge branch 'main' into mention_users 2020-11-01 11:09:16 -08:00
Mouse Reeve
85a7e83340 Adds regex util file 2020-11-01 10:57:17 -08:00
Mouse Reeve
b941bb7ad5 format webfinger "subject" 2020-11-01 10:53:47 -08:00
Mouse Reeve
203a0a25eb Fixes webfinger 2020-11-01 10:49:28 -08:00
Mouse Reeve
29094f3c3f Notification text for mentions 2020-11-01 10:15:56 -08:00
Mouse Reeve
0cf1838276 Mention and notify users when creating a status 2020-11-01 10:13:51 -08:00
Mouse Reeve
4e02a8df99 Track when user was last active
fixes #10
2020-11-01 09:20:35 -08:00
Mouse Reeve
c334451216 code cleanup 2020-11-01 08:57:43 -08:00
Mouse Reeve
4684a83e6f fixes quote character 2020-10-31 21:56:45 -07:00
Mouse Reeve
93baaf261a Show/hide toggle for long book descriptions 2020-10-31 14:18:56 -07:00
Mouse Reeve
c45247e236 correctly grab book data from tags 2020-10-31 13:39:52 -07:00
Mouse Reeve
418971e9f8
Merge pull request #266 from mouse-reeve/book-lookup
lookup books when resolving activity json
2020-10-31 13:08:15 -07:00
Mouse Reeve
a7d8376b6a Small activitypub serialization issues 2020-10-31 13:06:22 -07:00
Mouse Reeve
2463e64321 wrong quote in blockquote 2020-10-31 13:00:28 -07:00
Mouse Reeve
9ef03664f2 lookup books when resolving activity json 2020-10-31 12:59:15 -07:00
Mouse Reeve
02265b1e49 Show federated servers and connectors in admin 2020-10-31 12:45:39 -07:00
Mouse Reeve
fd76d1a585
Merge pull request #263 from mouse-reeve/delete
Send Delete activity, not Tombstone on deletion
2020-10-31 11:05:07 -07:00
Mouse Reeve
301a452d9f Send Delete activity, not Tombstone on deletion 2020-10-31 11:04:19 -07:00
Mouse Reeve
3db1e7a6d0
Merge pull request #262 from mouse-reeve/minor-ui
Preserve linebreaks in display text
2020-10-31 10:55:33 -07:00
Mouse Reeve
2cdd281e98 Prevent error on serializing book cover 2020-10-31 10:50:20 -07:00
Mouse Reeve
b8e9f90138 no need to assign book var in incoming 2020-10-30 17:41:32 -07:00
Mouse Reeve
0393d81230 Fixes loading covers and authors 2020-10-30 17:18:25 -07:00
Mouse Reeve
203e526a83 Fixes loading remote books
- saves remote_id correctly
- loads remote books for incoming statuses
2020-10-30 17:04:10 -07:00
Mouse Reeve
72219ace77
Merge pull request #260 from mouse-reeve/shelves
tab through user shelves
2020-10-30 15:23:12 -07:00