Commit Graph

3976 Commits

Author SHA1 Message Date
a9d921cc06 code cleanup 2021-11-22 12:52:59 +11:00
09c5a3861b prefer English language sources for ISNI titles 2021-11-22 12:15:06 +11:00
fd3ed7fb8c fix author is now class object not dict 2021-11-22 09:25:31 +11:00
8691023fa9 display link to isni in author page when other identifiers missing 2021-11-22 09:24:05 +11:00
a218fa21ea Merge branch 'main' into isni-poc 2021-11-22 08:53:58 +11:00
fd2ade2313 refactor isni author enrichment
- use activitypub.Author instead of custom dict
- prefer to display "Author of [title]" from ISNI data instead of short description
- merge isni and db authors for edit_book display
- fix edit_book template to use changed data
- rename some functions in utils/isni.py
2021-11-22 08:49:22 +11:00
e2836d468d don't use author name as deduplication field 2021-11-22 08:47:12 +11:00
1e6e4b0f8d use activitypub dataclass for isni authors
- add timeout to isni API call
- use activitypub.Author dataclass instead of bespoke dict
- display isni authors as "Author of" first title in ISNI record if possible
- sensible fallbacks if title info unavailable in isni record
2021-11-21 19:55:55 +11:00
417f09690f Include admin and moderator in reporting email 2021-11-18 15:08:00 -08:00
21c90ac99e Use groups not permissions 2021-11-18 14:51:00 -08:00
3787a31c67 Updates image helpers on site 2021-11-18 14:39:22 -08:00
41dd915d7f Email templates 2021-11-17 20:22:00 -08:00
9961a08c93 Adds Galician locale 2021-11-17 10:02:39 -08:00
e3fec5885a Fixes logic on nodeinfo page 2021-11-16 16:20:29 -08:00
6dd7eebd98 Fixes tests 2021-11-16 10:16:28 -08:00
50ca16a46f Merge branch 'main' into inventaire-connector-tests 2021-11-16 09:59:50 -08:00
8658e36ca8 code formatting 2021-11-16 20:40:22 +11:00
03c59f2431 improve security on isni url 2021-11-16 20:37:37 +11:00
9ca18d9cd4 isni utils cleanup
Utilises the requests module's built in functionality to pass params as a dict
which is url encoded by requests.
2021-11-16 20:35:47 +11:00
2968145627 Merge pull request #1614 from bookwyrm-social/outbox-error
Safer call to get preview image or books
2021-11-15 13:47:00 -08:00
f22ae23574 Safer call to get preview image or books 2021-11-15 13:34:02 -08:00
58f63280fd Merge pull request #1612 from bookwyrm-social/lithuanian-space
Preserve spaces between links
2021-11-15 12:11:36 -08:00
5e5cb26290 Preserve spaces between links 2021-11-15 11:47:39 -08:00
bcfe13bb4e Sort followers/following lists by if you follow the user 2021-11-15 11:28:43 -08:00
7d66013b52 Adds Lithuanian to the user options 2021-11-15 10:26:00 -08:00
afbc742f47 Merge pull request #1600 from bookwyrm-social/import-field-names
Refactors import process
2021-11-15 09:59:54 -08:00
30afe42b3a Removes extra space in progress bar 2021-11-15 09:41:05 -08:00
83e468a4f8 Fixes "indeterminate" state of progress indicator on screen reader 2021-11-15 09:34:36 -08:00
77ee1147d5 Adds return_first tests to book_search 2021-11-15 09:03:00 -08:00
8612cf654d Invalid href 2021-11-14 11:31:47 -08:00
14e2960d06 Update legacy jobs 2021-11-14 10:58:46 -08:00
9f6796bbf5 Safer request for normalized data 2021-11-14 10:29:12 -08:00
31f3351854 Fixes bug comparing dates to nonetype 2021-11-14 10:22:26 -08:00
8cede05d32 Retry hanging items 2021-11-14 10:20:14 -08:00
f92863ad3e Notify when import completes 2021-11-14 09:56:23 -08:00
47b98ad0d9 Track completed items on job 2021-11-14 09:04:12 -08:00
9e673834dc Check for duplicates 2021-11-14 08:35:16 -08:00
6cca3f9772 Updates test data 2021-11-14 07:57:13 -08:00
2748e0a824 Check for existing reviews/ratings on import items 2021-11-14 07:50:19 -08:00
bdc3f6828b Python formatting 2021-11-14 07:11:48 -08:00
c614f638fd Merge branch 'import-field-names' of github.com:bookwyrm-social/bookwyrm into import-field-names 2021-11-14 07:06:48 -08:00
3357953a53 whoops forgot inventaire_id 2021-11-14 21:26:23 +11:00
8495cf8a45 don't delete non-form data when editing authors
fixes #1584

This is a temporary fix. As Mouse has suggested, ultimately it would be good to re-import data from one or more of the linked data sources if there is anything missing.
2021-11-14 21:21:37 +11:00
32d0d8d027 Expand librarything csv processing tests 2021-11-13 13:04:54 -08:00
7f06ee3844 Fixes getting isbn for librarything imports 2021-11-13 12:46:27 -08:00
fb91c33682 Fixes isbn assignment for goodreads 2021-11-13 12:24:16 -08:00
a9622942cd Test correctly adding goodreads isbns 2021-11-13 12:11:07 -08:00
8b7720c8b8 Use "reject" instead of "delete" on review page 2021-11-13 11:54:28 -08:00
712d8ecfb4 Don't show empty stars when there's no review 2021-11-13 11:52:08 -08:00
1e46de4c9d Associate imported review with import item 2021-11-13 11:44:05 -08:00