Commit graph

52 commits

Author SHA1 Message Date
Mouse Reeve
d8aadb4587 Adds helper function for loading editions 2020-05-10 18:08:18 -07:00
Mouse Reeve
35ca61d7f6 Only use get_or_create_book with remote_id 2020-05-10 17:40:22 -07:00
Mouse Reeve
2ef87c2131 Refactors get_or_create_book 2020-05-10 13:23:02 -07:00
Mouse Reeve
1f2de18d42 Cleans up status creation book lookup flow 2020-05-04 12:37:34 -07:00
Mouse Reeve
7454fb7454 Search is a view not an action 2020-05-03 21:13:43 -07:00
Mouse Reeve
2fd7792f34 Remove fedireads_key field
we have ID
2020-05-03 18:12:29 -07:00
Adam Kelly
aec8e5c536 Do some checks to make sure we've got a csv file on import.
Fixes #104.
2020-04-29 15:33:06 +01:00
Adam Kelly
0bf73fef24 Store csv in the database and then import via celery. 2020-04-22 13:52:07 +01:00
Adam Kelly
881cc4d64b First draft async imports. 2020-04-22 12:43:55 +01:00
Mouse Reeve
94e66829b8 Fixes avatar crop logic 2020-04-20 18:42:13 -07:00
Mouse Reeve
b0493225be fixes typo in HTTPError 2020-04-20 17:46:32 -07:00
Adam Kelly
5148820fa3 Move attempt to resolve books to view action. 2020-04-12 13:56:11 +01:00
Mouse Reeve
a88cf2b6dd Adds quotes 2020-04-08 09:41:00 -07:00
Mouse Reeve
5635e60c09 Use edition not book for adding missing covers 2020-04-04 12:34:36 -07:00
Mouse Reeve
3aeeaa80e7 Clickable star rating form 2020-04-03 16:19:11 -07:00
Mouse Reeve
d91b77f49e Show current rating in interaction rating 2020-04-03 13:40:04 -07:00
Mouse Reeve
a27effd05d Adds ratings 2020-04-03 12:44:02 -07:00
Mouse Reeve
49b2ad1d48 Crop and resize avatars
Fixes #19
2020-04-02 10:23:34 -07:00
Mouse Reeve
6ad8d8662c
Merge pull request #122 from cthulahoops/import_reviews
Import reviews
2020-04-02 09:15:18 -07: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
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
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
Mouse Reeve
87f12a970d Convert comments to AP Notes and unrated reviews
Works on #121
2020-04-01 11:34:48 -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
Adam Kelly
745ca7d4ff Boosts - handle url, store in database, send, notify. 2020-03-30 16:18:37 +01:00
Mouse Reeve
92790d520f code style cleanup 2020-03-29 11:18:42 -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
1a33290267 Edit books
Fixes #109
2020-03-28 15:06:16 -07:00
Mouse Reeve
09f030db88 Stylistic changes for goodreads import 2020-03-27 09:33:31 -07: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
03a71b1c37 Process upload and create books. 2020-03-25 14:15:28 +00: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
7862af9729 Adds commenting
works on #59
2020-03-21 16:50:49 -07:00
Mouse Reeve
7455467c40 Unfavorite statuses 2020-03-21 15:21:27 -07:00
Mouse Reeve
3efc8d45c3 Redesign (front page, login page) 2020-03-16 17:45:56 -07:00
Adam Kelly
20662a90dd Generate Reject activities.
Work on checking incoming / outgoing will work alone.
2020-03-13 17:04:39 +00:00
Adam Kelly
05f5315b98 List of pending follow requests with accept/delete buttons on own profile. 2020-03-13 15:06:40 +00:00
Adam Kelly
971186ef3a Add field manually_approves_followers to db. 2020-03-09 20:29:11 +00:00
Mouse Reeve
f4008eb8c8 Adds notifications
Fixes #70
2020-03-07 14:51:04 -08:00