Commit graph

5567 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
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
b0790f3356 Set flower broker
it still doesn't load but we're getting closer
2020-03-31 16:50:58 -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
3cc948a55b
Merge pull request #119 from mouse-reeve/works-editions
Get editions of openlibrary works
2020-03-30 17:16:52 -07:00
Mouse Reeve
199cc21251
Merge pull request #118 from cthulahoops/fr-dev
fr-dev - script for common development tasks.
2020-03-30 17:07:10 -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
eb04600dc5
Merge pull request #117 from cthulahoops/boosts
Boosts
2020-03-30 14:22:09 -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
d59c331c48 fr-dev - script for common development tasks. 2020-03-30 19:15:36 +01: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