Commit graph

357 commits

Author SHA1 Message Date
Adam Kelly
4e67d8bb38 Lift book lookup from create_review to review action. 2020-04-02 09:32:26 +01:00
Adam Kelly
d43c513d19 Style cleanup. 2020-04-02 09:32:26 +01:00
Mouse Reeve
c0ead910a4 small ol data fixes 2020-04-01 22:23:25 -07:00
Mouse Reeve
3a7c3724ad Merge branch 'master' into edition-task 2020-04-01 22:11:43 -07:00
Mouse Reeve
22c1d65ab9 move loading editions to task 2020-04-01 22:11:31 -07:00
Mouse Reeve
976e7ddf79 CSS reorg and cleans up ui
Fixes #93
2020-04-01 19:38:07 -07:00
Mouse Reeve
cfff75764b avoid error on bad book data in discover page 2020-04-01 16:21:11 -07:00
Mouse Reeve
ae37e5b9d9 Janky fix for z-index bug blocking review button 2020-04-01 16:18:58 -07:00
Mouse Reeve
5f940ef62a Helper function for getting activities 2020-04-01 16:02:39 -07:00
Mouse Reeve
4538a60490 Adds pagination to feed
Fixes #68
2020-04-01 15:36:35 -07:00
Mouse Reeve
575419cc5a Boost button shows if you boosted a post 2020-04-01 15:15:21 -07:00
Mouse Reeve
29693127ba Fixes boost display 2020-04-01 14:55:32 -07:00
Mouse Reeve
8d7ded1c69 display import books in a row 2020-04-01 14:32:56 -07:00
Mouse Reeve
772ba1840b Don't break on absent author name 2020-04-01 14:18:46 -07:00
Mouse Reeve
263b90599c Click through to book pages for no javascript 2020-04-01 14:04:59 -07:00
Mouse Reeve
c85eba53db Make user page covers shelf clickable 2020-04-01 12:32:24 -07:00
Mouse Reeve
87f12a970d Convert comments to AP Notes and unrated reviews
Works on #121
2020-04-01 11:34:48 -07:00
Mouse Reeve
1caf19863e use broadcast task 2020-04-01 10:16:20 -07:00
Mouse Reeve
d88ed7a90c this isn't mastodon 2020-03-31 20:06:42 -07:00
Mouse Reeve
0a8d080b62 Fixes for goodreads import + ol changes 2020-03-31 18:58:13 -07:00
Mouse Reeve
1970682c9c Move broadcast to celery 2020-03-31 18:03:58 -07:00
Mouse Reeve
c969e5550e Don't broadcast yourself 2020-03-31 17:07:35 -07:00
Mouse Reeve
aeb648a8d5 Turn incoming activities into tasks 2020-03-31 17:00:01 -07:00
Mouse Reeve
bb04a40044 Move to redis and fix a bunch of things 2020-03-31 16:31:33 -07:00
Mouse Reeve
ca26a712c3 Simplify default edition logic 2020-03-31 10:19:44 -07:00
Mouse Reeve
8101321871 Fixes merge for migration numbers 2020-03-30 15:45:11 -07:00
Mouse Reeve
5c4d078f92 Merge branch 'master' into works-editions 2020-03-30 15:30:06 -07:00
Mouse Reeve
33327e2bb6 sort editions correctly for picking default 2020-03-30 15:27:54 -07:00
Mouse Reeve
defd026ed0 handle work/edition concepts in ui 2020-03-30 15:03:21 -07:00
Mouse Reeve
f7fb9dde99 Differentiate works and editions more clearly 2020-03-30 14:12:18 -07:00
Mouse Reeve
44e1cf2a78 Mark default edition 2020-03-30 13:15:49 -07:00
Mouse Reeve
79e22183a2 Get editions of openlibrary works 2020-03-30 12:21:04 -07:00
Adam Kelly
a4c257a8d2 Don't create duplicate boosts. 2020-03-30 16:39:53 +01:00
Adam Kelly
acffb36f46 Display boosts in activity feed. 2020-03-30 16:31:31 +01:00
Adam Kelly
745ca7d4ff Boosts - handle url, store in database, send, notify. 2020-03-30 16:18:37 +01:00
Mouse Reeve
84d7e7c394 Simplifies incoming activity handler 2020-03-29 18:42:34 -07:00
Mouse Reeve
9aada80c05 Use timezone dates
Fixes #114
2020-03-29 17:40:51 -07:00
Mouse Reeve
da69b82d8a Clean up edit book page 2020-03-29 17:02:17 -07:00
Mouse Reeve
31f74c1a8c Hide follow request buttons after responding
Fixes #106
2020-03-29 16:18:04 -07:00
Mouse Reeve
c6d887defe Adds 404 and 500 pages
they only show up when debug is off though, thankfully
Fixes #112
2020-03-29 16:05:33 -07:00
Mouse Reeve
e7d18dada1 Keep track of remote servers
Fixes #32
2020-03-29 15:51:43 -07:00
Mouse Reeve
92790d520f code style cleanup 2020-03-29 11:18:42 -07:00
Mouse Reeve
3ead02e05f Rename handle_incoming_whatever functions 2020-03-28 23:52:07 -07:00
Mouse Reeve
952250009b Rename handle_outgoing_whatever to handle_whatever
it's in a file called outgoing.py! you can already tell it's outoging
2020-03-28 19:23:19 -07:00
Mouse Reeve
cf06b40c08 Broadcast update events for edit profile
Works on #26
2020-03-28 19:19:13 -07:00
Mouse Reeve
cf113e50fe Broadcast book update events 2020-03-28 19:12:17 -07:00
Mouse Reeve
db6af61f03 Fixes bug around unset absolute ids 2020-03-28 18:20:59 -07:00
Mouse Reeve
380e49712d Move database host to .env 2020-03-28 17:23:43 -07:00
Mouse Reeve
77e6e2d708 Use fedireads key as default author identifier 2020-03-28 16:38:20 -07:00
Mouse Reeve
06ff795df1 Periodically update books
Fixes #21
2020-03-28 16:32:18 -07:00
Mouse Reeve
0c9aad730d Set connectors on books 2020-03-28 16:01:02 -07:00
Mouse Reeve
1a33290267 Edit books
Fixes #109
2020-03-28 15:06:16 -07:00
Mouse Reeve
16fec1b6d5 Save source_url in connectors 2020-03-28 13:14:06 -07:00
Mouse Reeve
54b5f0097b Update connector and author tables 2020-03-28 13:03:49 -07:00
Mouse Reeve
d94dbf3974 More connectors more problems 2020-03-28 12:55:53 -07:00
Mouse Reeve
6fadf22a54
Merge pull request #95 from mouse-reeve/docker
Docker
2020-03-28 11:37:17 -07:00
Mouse Reeve
40028fa077 Fixes call to comment builder 2020-03-28 11:35:33 -07:00
Mouse Reeve
51e7a50b86 Get more data out of openlibrary 2020-03-27 21:28:52 -07:00
Mouse Reeve
5c475e448a ActivityPub serialize book 2020-03-27 19:52:05 -07:00
Mouse Reeve
0557a5cc69 Shuffle around some activitypub serializer files 2020-03-27 18:39:26 -07:00
Mouse Reeve
7f82546230 Typo fix 2020-03-27 18:36:45 -07:00
Mouse Reeve
ed6fd6d48e Rename local key and suggest fedireads connectors 2020-03-27 16:36:52 -07:00
Mouse Reeve
0f98610629 Use local key instead of openlibrary key in urls
but uh maybe the local key shouldn't look so gnarly?
2020-03-27 15:43:19 -07:00
Mouse Reeve
5d2fbb8500 Use database as source for initializing connector 2020-03-27 15:25:08 -07:00
Mouse Reeve
8494719512 Adds book data source connector database table 2020-03-27 14:16:59 -07:00
Mouse Reeve
0c766f9867 Keep more development environment options 2020-03-27 13:04:06 -07:00
Mouse Reeve
fd077f482a Adds cover images to federated statuses
Fixes #71
2020-03-27 10:41:18 -07:00
Mouse Reeve
b072bd50d5 Render pages when logged out
Fixes #92
2020-03-27 10:11:32 -07:00
Mouse Reeve
eaa0227c1a Adds avatars to activitypub actor
Fixes #45
2020-03-27 09:58:25 -07:00
Mouse Reeve
5ebe1aa7c7 Fixes error handling for book button filters 2020-03-27 09:37:11 -07:00
Mouse Reeve
09f030db88 Stylistic changes for goodreads import 2020-03-27 09:33:31 -07:00
Mouse Reeve
d41a420355 Move import books link to user pulldown 2020-03-27 09:27:57 -07:00
Mouse Reeve
c87f25f072 Quick fix for error when books are on 2+ shelves 2020-03-27 09:26:27 -07:00
Mouse Reeve
072e8fe02a
Merge pull request #96 from cthulahoops/goodreads_import
Goodreads import
2020-03-27 09:10:00 -07:00
Mouse Reeve
7be17ea09c
Merge pull request #102 from cthulahoops/shelf_button_user
Show shelf buttons appropriate for current user.
2020-03-27 08:57:17 -07:00
Adam Kelly
5945ddcd75 Add shelve button to the book page. 2020-03-27 15:36:57 +00:00
Adam Kelly
f40105990a Hide broken 'Your shelves' when not logged in. 2020-03-27 15:15:54 +00:00
Adam Kelly
2ebc758dae Get discover books to work while not logged in. 2020-03-27 15:15:54 +00:00
Adam Kelly
b58a362df2 Get book page to work while not logged in. 2020-03-27 15:15:54 +00:00
Adam Kelly
778ce91f91 Show shelf buttons appropriate for current user. 2020-03-27 14:50:38 +00:00
Adam Kelly
7d837ad344 Show up to three mentioned books with a status. 2020-03-25 14:34:02 +00:00
Adam Kelly
8bf3225fc4 Generated import status rather than individual statuses. 2020-03-25 14:15:28 +00:00
Adam Kelly
323c7f8dbf Shelve the books. 2020-03-25 14:15:28 +00:00
Adam Kelly
ce446d57fc Handle uploaded CSV and match to openlibrary titles. 2020-03-25 14:15:28 +00:00
Adam Kelly
2188371f44 Display results of import. 2020-03-25 14:15:28 +00:00
Adam Kelly
8fb082e2fc Add useful reprs to books & search results for debugging. 2020-03-25 14:15:28 +00:00
Adam Kelly
03a71b1c37 Process upload and create books. 2020-03-25 14:15:28 +00:00
Adam Kelly
8bcd3da25e Add a form to upload goodreads data. 2020-03-23 16:40:52 +00:00
Mouse Reeve
b97006d43c Adds celery broker to settings 2020-03-22 17:13:52 -07:00
Mouse Reeve
ea735fd570 Quotes around titles in shelve notifications 2020-03-22 15:28:56 -07:00
Mouse Reeve
dd18433faa Adds celery and rabbitmq 2020-03-22 14:34:44 -07:00
Mouse Reeve
6aad1c9250 Dockerize app 2020-03-22 11:21:19 -07:00
Mouse Reeve
eac8f2a2f9 Include register form in return login page
in case of wrong password
2020-03-22 11:20:36 -07:00
Mouse Reeve
3a0a87bee0 Fixes background on search icon 2020-03-22 09:30:08 -07:00
Mouse Reeve
7862af9729 Adds commenting
works on #59
2020-03-21 16:50:49 -07:00
Mouse Reeve
3f96c8cd9d remove fetch polyfill
I should have this, but I'll deal with it later
2020-03-21 15:56:12 -07:00
Mouse Reeve
88ce5f3d1d Change active button hover color 2020-03-21 15:29:37 -07:00
Mouse Reeve
7455467c40 Unfavorite statuses 2020-03-21 15:21:27 -07:00
Mouse Reeve
e0bd8200ad (Un)follow and boost/like buttons via javascript
Works on #78
2020-03-21 14:29:39 -07:00
Mouse Reeve
1ec515034c Fixes bug in accepting unmanaged follow requests 2020-03-21 14:25:31 -07:00