Commit graph

75 commits

Author SHA1 Message Date
Henri Bourcereau
703ff60271 isbn search 2021-03-06 18:09:15 +01:00
Mouse Reeve
cad19ee878 Merge branch 'main' into inbox-refactor 2021-02-24 09:51:34 -08:00
Mouse Reeve
726a8739a3 way too much logging coming from http errors 2021-02-22 11:42:45 -08:00
Mouse Reeve
a9ca3a4290 Fixes calls to to_model, init with activitypub partially serialized 2021-02-16 20:17:38 -08:00
Mouse Reeve
3f61675a0a Updates usage of resolve_remote_id 2021-02-16 19:35:43 -08:00
Mouse Reeve
41cef9bdfd Catch expand book data load error 2021-02-10 17:54:49 -08:00
Mouse Reeve
4c2ec43fce Don't set default edition if it's already set 2021-02-10 16:53:51 -08:00
Mouse Reeve
f46a708f7e Handle connector exceptions with sketchy book data from OL 2021-02-10 12:00:16 -08:00
Mouse Reeve
9a564a846a Better error handling and loggin in get_data 2021-02-10 11:56:08 -08:00
Mouse Reeve
6a68fe9475 Search for books to add to lists 2021-01-31 11:11:26 -08:00
Mouse Reeve
661d49d9cc Ignore openlibrary editions with little to no metadata
Also fixes the isbn problem
2021-01-30 17:19:01 -08:00
Mouse Reeve
fe67f65307 Set default edition on bookwyrm import 2021-01-11 10:25:34 -08:00
Mouse Reeve
9a114e1736 Don't match arbitrary results on empty isbn queries 2021-01-07 09:26:05 -08:00
Mouse Reeve
ef42d29bd9 Discovery landing page 2021-01-03 11:10:04 -08:00
Mouse Reeve
8afd111ff4
Merge pull request #466 from mouse-reeve/search-tweaks
Search tweaks
2021-01-02 16:30:28 -08:00
Mouse Reeve
d3c181cacb Re-sorts search results after deduplication 2021-01-02 16:09:54 -08:00
Mouse Reeve
a413c87963 Separate search for unique identifiers out from text search 2021-01-02 15:58:25 -08:00
Mouse Reeve
a2e8cf1993 Return best matching edition instead of default in search 2021-01-02 15:15:25 -08:00
Mouse Reeve
afa1921968 Deduplicates search results 2021-01-02 14:33:01 -08:00
Mouse Reeve
8c8aae2c92 Check if a book is already shelved after import 2021-01-02 12:08:30 -08:00
Mouse Reeve
3344eed3b9 Tests for goodreads import lookup 2021-01-02 11:35:56 -08:00
Mouse Reeve
86060f795d Updates tests 2021-01-02 08:55:42 -08:00
Mouse Reeve
d828b0ead9 Remove books manager at long last 2021-01-02 08:14:28 -08:00
Mouse Reeve
e169565e00 Makes expanding book data fully part of the connector 2021-01-02 07:45:45 -08:00
Mouse Reeve
03ed1cfa94 Small syntax changes in openlibrary connector 2020-12-31 11:03:30 -08:00
Mouse Reeve
171d09599c Fixes author path in openlibrary connector 2020-12-31 09:32:40 -08:00
Mouse Reeve
c1e1bdac4b Fixes url formatting in openlibrary connector 2020-12-31 09:19:39 -08:00
Mouse Reeve
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
Mouse Reeve
e5a914c3c2 Fixes API search causing 500 error 2020-12-30 11:37:26 -08:00
Mouse Reeve
d7db6d50ba Log errors in conenctor search 2020-12-30 09:14:07 -08:00
Mouse Reeve
21f67c9e28 Catch error response decoding json in search connector 2020-12-30 09:11:00 -08:00
Renato "Lond" Cerqueira
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
Mouse Reeve
ac261d7b1a Send connector with search result
also fix typo in get_work_from_edition_data function
2020-12-27 14:33:34 -08:00
Mouse Reeve
1fb728edbd
Merge pull request #415 from mouse-reeve/author_text
Generate author_text field dynamically
2020-12-21 13:09:40 -08:00
Mouse Reeve
aac264c998 Generate author_text field dynamically 2020-12-21 12:10:42 -08:00
Mouse Reeve
c3d0e8e7f7 Fixes openlibrary import to prefer editions with covers 2020-12-21 11:47:47 -08:00
Mouse Reeve
3e61f48da2 Fixes loading more data 2020-12-19 16:16:39 -08:00
Mouse Reeve
d3671d981f Use author activitypub in OL connector 2020-12-19 15:20:31 -08:00
Mouse Reeve
2128219b05 Use activitypub to_model de-serializer in openlibrary connector 2020-12-19 14:56:03 -08:00
Mouse Reeve
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
Mouse Reeve
5cf9e24ae5 Fixes name import in openlibrary 2020-12-12 09:43:07 -08:00
Mouse Reeve
27c45c0584 Catch json decode error in loading data 2020-12-03 13:42:02 -08:00
Mouse Reeve
a85043b351 Updates to_model to use fields 2020-12-03 12:35:57 -08:00
Mouse Reeve
9ddd60ce16 Fixes broadcast tests 2020-11-29 09:40:15 -08:00
Mouse Reeve
c9433a3c7e Simplify bookwyrm connector abstract 2020-11-28 18:56:28 -08:00
Mouse Reeve
9d84346d3c remove need for get_or_create_book 2020-11-28 18:46:50 -08:00
Mouse Reeve
7b6035898b Serialize activitypub authors from data in connector 2020-11-27 14:54:08 -08:00
Mouse Reeve
9b79eb5fc3 Removes outdated test of bookwyrm connector updater 2020-11-25 11:44:19 -08:00
Mouse Reeve
847014720e Refactors bookwyrm connector to use activitypub serializer 2020-11-24 16:05:00 -08:00
Mouse Reeve
28e1c9525c tweaks search rankings for better results 2020-11-13 11:03:39 -08:00