Commit graph

75 commits

Author SHA1 Message Date
Mouse Reeve
35ca61d7f6 Only use get_or_create_book with remote_id 2020-05-10 17:40:22 -07:00
Mouse Reeve
0f579e7d8d Re-thinks connector mappings 2020-05-10 16:45:03 -07:00
Mouse Reeve
4555d7713a remove unneeded connector code 2020-05-10 14:56:53 -07:00
Mouse Reeve
7493abeb53 Tests for fedireads connector 2020-05-10 14:53:45 -07:00
Mouse Reeve
d5f46a1c6f more openlibrary connector tests 2020-05-10 14:18:18 -07:00
Mouse Reeve
3edfc0be74 Merge branch 'fedireads_connector' into code-cleanup 2020-05-10 13:37:16 -07:00
Mouse Reeve
2ef87c2131 Refactors get_or_create_book 2020-05-10 13:23:02 -07:00
Mouse Reeve
72b4e7da76 Small code cleanup 2020-05-10 11:29:10 -07:00
Mouse Reeve
470c5d4acb Adds cursory openlibrary connector tests 2020-05-10 09:11:01 -07:00
Mouse Reeve
2a98093ebe Tidy up self connector 2020-05-09 13:36:10 -07:00
Mouse Reeve
7220a17840 Fixes bug that uses edition remote_id for work 2020-05-09 13:17:50 -07:00
Mouse Reeve
277c1a80fd Fixes loading covers 2020-05-09 12:59:06 -07:00
Mouse Reeve
8c3e208282 Load covers in fedireads connector 2020-05-09 12:53:55 -07:00
Mouse Reeve
5924e8ed63 Generalizes http request for json data in connectors 2020-05-09 12:39:58 -07:00
Mouse Reeve
3a8d84e9b1 A couple bugs in loading authors 2020-05-09 12:33:02 -07:00
Mouse Reeve
e9393ede28 Adds remote ID to authors 2020-05-09 12:29:23 -07:00
Mouse Reeve
4741ada418 Cleans up search results page 2020-05-09 12:16:59 -07:00
Mouse Reeve
093945e7fb Load author data with fedireads connector 2020-05-09 12:09:40 -07:00
Mouse Reeve
bb01834a31 Parser for search results in connectors 2020-05-08 17:56:24 -07:00
Mouse Reeve
c8bb717634 Fixes small logic errors 2020-05-08 17:41:23 -07:00
Mouse Reeve
9beae9cfcd Include all relevent book data without infinite recusion 2020-05-08 17:36:02 -07:00
Mouse Reeve
0edb9688cb Adds create_book functionality for fedireads conn 2020-05-08 17:29:48 -07:00
Mouse Reeve
1f2de18d42 Cleans up status creation book lookup flow 2020-05-04 12:37:34 -07:00
Mouse Reeve
2c1e7b8ecc fixes mapping for openlibrary isbn10 field 2020-05-04 10:42:48 -07:00
Mouse Reeve
07aab3806b Expand matching books on keys like isbn 2020-05-03 21:00:25 -07:00
Mouse Reeve
3c3afed6b3 Adds remote id to self connector search 2020-05-03 19:59:05 -07:00
Mouse Reeve
7594bed5d3 Use status source as connector 2020-05-03 19:54:30 -07:00
Mouse Reeve
b8568a76c8 Remove references to source_url 2020-05-03 18:58:12 -07:00
Mouse Reeve
3a4a194160 Path to update books 2020-05-03 18:56:29 -07:00
Mouse Reeve
2fd7792f34 Remove fedireads_key field
we have ID
2020-05-03 18:12:29 -07:00
Mouse Reeve
fba1397444
Merge pull request #160 from mouse-reeve/search-controls
Separate out local and remote search results
2020-05-03 18:10:01 -07:00
Mouse Reeve
f9198d2d4c Re-use work data for editions 2020-05-03 14:09:55 -07:00
Mouse Reeve
3094e2b539 Merge branch 'master' into search-controls 2020-05-03 13:54:58 -07:00
Mouse Reeve
93e12ac445 Fixes exception for openlibrary editions without works 2020-05-03 13:53:56 -07:00
Mouse Reeve
20264bc3f5 can't use self as a name 2020-05-03 13:12:42 -07:00
Mouse Reeve
60201ee5bf Fixes url fields in openlibrary connector 2020-05-03 13:03:15 -07:00
Mouse Reeve
7fb0a87077 Separate out local and remote search results 2020-05-03 12:59:06 -07:00
Mouse Reeve
3f437069bd Prefer to only show default editions of works 2020-04-29 11:22:29 -07:00
Mouse Reeve
99adb2ef38 Mark default editions 2020-04-29 11:21:36 -07:00
Mouse Reeve
f7b8453594 Set author text when data is inherited from works 2020-04-29 11:08:51 -07:00
Mouse Reeve
e3525b13f5 Adds fulltext search of postgres 2020-04-29 10:57:20 -07:00
Mouse Reeve
6e218a85de Adds more fields to book data 2020-04-29 10:12:48 -07:00
Adam Kelly
0b49d56707 Don't allow data source to change the primary key of an object. 2020-04-26 15:59:02 +01:00
Adam Kelly
fba78d7a0e Style fixes suggested by pylint. 2020-04-22 14:53:22 +01:00
Mouse Reeve
26d9454ec3 Refactors book ingest from openlibrary
it's very repetetive now but also works way better so who can say
2020-04-05 17:00:01 -07:00
Mouse Reeve
f0609e6ff3 SMall fixes for update form and ol connector 2020-04-04 13:46:10 -07:00
Mouse Reeve
630c94a34a Re-add tags to book page 2020-04-04 13:12:15 -07:00
Mouse Reeve
68372c3c43 Set work author for editions with no author 2020-04-02 09:11:42 -07:00
Mouse Reeve
2b451f65ab Better default edition logic 2020-04-02 08:44:34 -07:00
Mouse Reeve
c0ead910a4 small ol data fixes 2020-04-01 22:23:25 -07:00