Commit Graph

53 Commits

Author SHA1 Message Date
d828b0ead9 Remove books manager at long last 2021-01-02 08:14:28 -08:00
e169565e00 Makes expanding book data fully part of the connector 2021-01-02 07:45:45 -08:00
03ed1cfa94 Small syntax changes in openlibrary connector 2020-12-31 11:03:30 -08:00
171d09599c Fixes author path in openlibrary connector 2020-12-31 09:32:40 -08:00
c1e1bdac4b Fixes url formatting in openlibrary connector 2020-12-31 09:19:39 -08:00
877e3356e5 Merge pull request #436 from mouse-reeve/search-errors
Catch error response decoding json in search connector
2020-12-30 12:18:43 -08:00
e5a914c3c2 Fixes API search causing 500 error 2020-12-30 11:37:26 -08:00
d7db6d50ba Log errors in conenctor search 2020-12-30 09:14:07 -08:00
21f67c9e28 Catch error response decoding json in search connector 2020-12-30 09:11:00 -08:00
fb10cb35ad Add BookWyrm user-agent to http requests
This allows other software to identify BookWyrm in calls, as well as
will allow BookWyrm to differentiate between calls done from other
fediverse software and BookWyrm to answer with specific BookWyrm data.
2020-12-30 12:36:50 +01:00
ac261d7b1a Send connector with search result
also fix typo in get_work_from_edition_data function
2020-12-27 14:33:34 -08:00
1fb728edbd Merge pull request #415 from mouse-reeve/author_text
Generate author_text field dynamically
2020-12-21 13:09:40 -08:00
aac264c998 Generate author_text field dynamically 2020-12-21 12:10:42 -08:00
c3d0e8e7f7 Fixes openlibrary import to prefer editions with covers 2020-12-21 11:47:47 -08:00
3e61f48da2 Fixes loading more data 2020-12-19 16:16:39 -08:00
d3671d981f Use author activitypub in OL connector 2020-12-19 15:20:31 -08:00
2128219b05 Use activitypub to_model de-serializer in openlibrary connector 2020-12-19 14:56:03 -08:00
31a407d74a Use name field only for author name
It feels janky to remove a more granular name designation, but all these
first/last name fields were algorithmically populated by a dubious
process of splitting the name by a space character. If it makes sense to
have first/last name fields, it should be re-added with some
consideration.
2020-12-12 09:53:21 -08:00
5cf9e24ae5 Fixes name import in openlibrary 2020-12-12 09:43:07 -08:00
27c45c0584 Catch json decode error in loading data 2020-12-03 13:42:02 -08:00
a85043b351 Updates to_model to use fields 2020-12-03 12:35:57 -08:00
9ddd60ce16 Fixes broadcast tests 2020-11-29 09:40:15 -08:00
c9433a3c7e Simplify bookwyrm connector abstract 2020-11-28 18:56:28 -08:00
9d84346d3c remove need for get_or_create_book 2020-11-28 18:46:50 -08:00
7b6035898b Serialize activitypub authors from data in connector 2020-11-27 14:54:08 -08:00
9b79eb5fc3 Removes outdated test of bookwyrm connector updater 2020-11-25 11:44:19 -08:00
847014720e Refactors bookwyrm connector to use activitypub serializer 2020-11-24 16:05:00 -08:00
28e1c9525c tweaks search rankings for better results 2020-11-13 11:03:39 -08:00
86504989b4 fixes import matching with local books 2020-11-13 09:59:57 -08:00
74236c4810 Handle errors tryingt o load covers from instances 2020-11-12 13:20:32 -08:00
0a2d762d3b Fixes error state when there are author duplicates
there shouldn't be, but it shouldn't crash a goodreads import either
2020-11-12 13:16:26 -08:00
dd4e323e18 Fixes cover filesnames 2020-11-07 10:59:08 -08:00
9238f4c74a Correclty parse ordered collection json for editions 2020-11-04 13:18:30 -08:00
6bf9a7159b Load expanded book data from bookwyrm connector 2020-11-04 13:09:11 -08:00
441220a547 Fixes edition/work author correction check 2020-11-04 12:12:29 -08:00
ff96835c2a Migrate default edition field to work model
Fixes #281
2020-11-04 11:27:49 -08:00
2ac9a6fcee Fixes updating books from remote instances 2020-11-02 09:34:46 -08:00
0393d81230 Fixes loading covers and authors 2020-10-30 17:18:25 -07:00
203e526a83 Fixes loading remote books
- saves remote_id correctly
- loads remote books for incoming statuses
2020-10-30 17:04:10 -07:00
6e97592518 Trying to catch more http request errors 2020-10-30 14:19:43 -07:00
7ce0890a41 Stop assuming every book is Hamlet 2020-10-29 15:30:53 -07:00
a46d7f5dc7 Change how goodread import writes reviews
- adds published date
 - broadcasts review imports
 - completes review and shelve actions as it goes
 - some small connector fixes

 fixes #247
2020-10-29 14:31:06 -07:00
7febcec229 convert between ibsn 10 and 13 2020-10-29 12:32:37 -07:00
90cccc455e Another error check point in abstract connector 2020-10-28 17:16:16 -07:00
6b5246f06a Merge pull request #209 from mouse-reeve/connector-errors
Raise errors when connectors fail
2020-10-01 08:29:39 -07:00
94d5986ff2 More error handling in connector/books manager 2020-09-30 20:09:25 -07:00
fe83f5d442 small style fixes and typo 2020-09-30 19:57:25 -07:00
0b8f8e3659 Fixes celery media path 2020-09-30 19:43:42 -07:00
f72d59955e Raise errors when connectors fail 2020-09-30 10:37:29 -07:00
56ebd6e7c0 Fixes bug in setting author text on books 2020-09-29 20:54:49 -07:00