Commit graph

304 commits

Author SHA1 Message Date
Adam Kelly
5bcf65a8a1 Parse rating int in view handler.
Activity already represents rating as an int in the json.
2020-04-02 10:25:47 +01:00
Adam Kelly
cceb433620 Don't display zero stars if there wasn't a rating 2020-04-02 10:08:52 +01:00
Adam Kelly
ae191731dc Fix create_review_from_activity. 2020-04-02 09:32:26 +01:00
Adam Kelly
9933dbba54 Generate reviews from import data. 2020-04-02 09:32:26 +01:00
Adam Kelly
1a5af7899b Style fixes (import order & else) 2020-04-02 09:32:26 +01:00
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
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
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
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