Commit graph

5521 commits

Author SHA1 Message Date
Hugh Rundle
8e6619294f
oclc server sure is slow 2021-12-01 21:02:25 +11:00
Hugh Rundle
2602ae42b0
add translation strings
- add logic when default shelves used
- add trans strings in a few spots they were missing
2021-12-01 20:07:52 +11:00
Mouse Reeve
ad6c860951
Merge pull request #1627 from joachimesque/fix-preview-image-url
Don't change the preview image URL on update
2021-11-23 15:01:15 -08:00
Mouse Reeve
a24fb5cd11
Merge pull request #1581 from hughrun/isni-poc
Query ISNI database when adding authors
2021-11-23 14:30:49 -08:00
Mouse Reeve
73abd2d342
Merge pull request #1631 from bookwyrm-social/locale
Updates for Spanish, Galician, French, Lithuanian locales
2021-11-23 14:19:04 -08:00
Mouse Reeve
8752fec37f Updates for Spanish, Galician, French, Lithuanian locales 2021-11-23 12:38:02 -08:00
Hugh Rundle
d8e83ffe82
moar code linting 2021-11-22 13:01:58 +11:00
Hugh Rundle
a9d921cc06
code cleanup 2021-11-22 12:52:59 +11:00
Hugh Rundle
09c5a3861b
prefer English language sources for ISNI titles 2021-11-22 12:15:06 +11:00
Hugh Rundle
fd3ed7fb8c
fix author is now class object not dict 2021-11-22 09:25:31 +11:00
Hugh Rundle
8691023fa9
display link to isni in author page when other identifiers missing 2021-11-22 09:24:05 +11:00
Hugh Rundle
a218fa21ea Merge branch 'main' into isni-poc 2021-11-22 08:53:58 +11:00
Hugh Rundle
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
Hugh Rundle
e2836d468d
don't use author name as deduplication field 2021-11-22 08:47:12 +11:00
Hugh Rundle
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
Joachim
ad6aaa6bc8 Update preview_images.py 2021-11-20 17:15:58 +01:00
Joachim
7d0a7ab766 Bump django-imagekit to remove deprecation warning 2021-11-20 17:12:54 +01:00
Joachim
f26a41bd10 Prevent empty file name 2021-11-20 17:10:29 +01:00
Joachim
d74df047c5 Clean up file before saving 2021-11-20 16:59:05 +01:00
Joachim
40264e372d Update preview_images.py 2021-11-20 16:26:02 +01:00
Joachim
37508d2583 Update preview_images.py 2021-11-20 16:23:50 +01:00
Mouse Reeve
8a6f78cfff
Merge pull request #1624 from bookwyrm-social/locale-updates
Full coverage in Galician locale!
2021-11-19 09:44:22 -08:00
Mouse Reeve
7ac3d5da7c Full coverage in Galician locale! 2021-11-19 09:34:43 -08:00
Mouse Reeve
da39d91b68
Merge pull request #1622 from bookwyrm-social/email-reports
Include admin and moderator in reporting email
2021-11-18 15:19:33 -08:00
Mouse Reeve
417f09690f Include admin and moderator in reporting email 2021-11-18 15:08:00 -08:00
Mouse Reeve
f4ad1dbbdf
Merge pull request #1620 from bookwyrm-social/email-reports
Email admins when a moderation report is created
2021-11-18 15:02:39 -08:00
Mouse Reeve
21c90ac99e Use groups not permissions 2021-11-18 14:51:00 -08:00
Mouse Reeve
3787a31c67 Updates image helpers on site 2021-11-18 14:39:22 -08:00
Mouse Reeve
253225cf43
Merge pull request #1621 from bookwyrm-social/locale-update
Updates locales
2021-11-18 14:36:46 -08:00
Mouse Reeve
235167f06c Updates locales 2021-11-18 14:03:19 -08:00
Mouse Reeve
41dd915d7f Email templates 2021-11-17 20:22:00 -08:00
Mouse Reeve
8cf6eb1c13
Merge pull request #1619 from bookwyrm-social/galician-locale
Adds Galician locale
2021-11-17 10:19:10 -08:00
Mouse Reeve
9662143518 Updates english locale file 2021-11-17 10:03:48 -08:00
Mouse Reeve
9961a08c93 Adds Galician locale 2021-11-17 10:02:39 -08:00
Mouse Reeve
e6ffc48b17
Merge pull request #1618 from bookwyrm-social/locale-updates
Adds translations for french and lithuanian lcoales
2021-11-17 10:02:05 -08:00
Mouse Reeve
058184a81b Adds translations for french and lithuanian lcoales 2021-11-17 09:51:15 -08:00
Mouse Reeve
f255b5f21d
Merge pull request #1617 from bookwyrm-social/nodeinfo
Fixes logic on nodeinfo page
2021-11-16 16:55:57 -08:00
Mouse Reeve
e3fec5885a Fixes logic on nodeinfo page 2021-11-16 16:20:29 -08:00
Mouse Reeve
d0e431cff5
Merge pull request #1580 from bookwyrm-social/inventaire-connector-tests
Adds more tests for the inventaire connector
2021-11-16 10:25:36 -08:00
Mouse Reeve
6dd7eebd98 Fixes tests 2021-11-16 10:16:28 -08:00
Mouse Reeve
50ca16a46f Merge branch 'main' into inventaire-connector-tests 2021-11-16 09:59:50 -08:00
Mouse Reeve
a463e22bbe
Merge pull request #1615 from bookwyrm-social/locales-update
A command to update locales and updated locales
2021-11-16 09:41:17 -08:00
Mouse Reeve
a26302683f List command in echo 2021-11-16 09:31:57 -08:00
Mouse Reeve
a1830ac701 Adds updates locales 2021-11-16 09:30:11 -08:00
Mouse Reeve
77f29a621f Adds command to pull locale updates 2021-11-16 09:29:58 -08:00
Hugh Rundle
8658e36ca8
code formatting 2021-11-16 20:40:22 +11:00
Hugh Rundle
03c59f2431
improve security on isni url 2021-11-16 20:37:37 +11:00
Hugh Rundle
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
Mouse Reeve
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
Mouse Reeve
f22ae23574 Safer call to get preview image or books 2021-11-15 13:34:02 -08:00