Commit graph

4125 commits

Author SHA1 Message Date
Adam Kelly
34c83e93e0 Sanitize the review name as well as content. 2020-04-02 17:05:22 +01:00
Adam Kelly
31b71cf35f Provide a default title for imported reviews. 2020-04-02 17:04:19 +01:00
Mouse Reeve
75a589571c Edit book form 2020-04-02 08:44:53 -07:00
Mouse Reeve
2b451f65ab Better default edition logic 2020-04-02 08:44:34 -07:00
Mouse Reeve
f4c088e465 Merge branch 'edition-task' 2020-04-02 08:05:41 -07:00
Mouse Reeve
5d022f5f91
Merge pull request #120 from mouse-reeve/celery-tasks
Create celery tasks
2020-04-02 07:56:32 -07:00
Adam Kelly
5edef615c8 Formatting for ratings without reviews. 2020-04-02 10:38:40 +01:00
Adam Kelly
b5a5a63e88 Import books with either a rating or a review. 2020-04-02 10:29:30 +01:00
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