Mouse Reeve
da7f44791f
Merge branch 'main' into shelfnames
2021-12-02 12:25:19 -08:00
Mouse Reeve
baca5e50e7
Merge pull request #1608 from hughrun/move-shelves
...
refactor shelf activity on book page
2021-12-02 12:06:07 -08:00
Mouse Reeve
b4f1a7a020
Merge pull request #1642 from bookwyrm-social/locale-updates
...
Updates locales
2021-12-02 11:03:01 -08:00
Mouse Reeve
26f28f7642
Merge pull request #1481 from bibliotechy/1203-better-ui-for-adding-authors
...
Improve UI for adding authors to books
2021-12-02 10:47:40 -08:00
Mouse Reeve
0794f1a286
Updates locales
2021-12-02 10:28:13 -08:00
Hugh Rundle
2ec6e56698
blocktrans for reading goal
2021-12-02 07:28:35 +11:00
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
Chad Nelson
91997b6f4c
Linting after merge conflict
2021-11-30 17:42:31 -05:00
Chad Nelson
e59a480065
Merge branch 'main' into 1203-better-ui-for-adding-authors
2021-11-30 17:30:00 -05:00
Chad Nelson
66e414be3c
Standardize JS, use button, & filter empty authors
2021-11-30 17:22:35 -05:00
Mouse Reeve
1fed22b27e
Merge pull request #1636 from bookwyrm-social/missing-covers
...
Fixes checking if image fields are already set
2021-11-28 09:34:49 -08:00
Mouse Reeve
3f09b4bc8a
More tests
2021-11-28 09:23:13 -08:00
Mouse Reeve
3a7f070a79
Typo fix
2021-11-28 08:50:29 -08:00
Mouse Reeve
a7ee8fea24
Adds test for setting model image field
2021-11-28 08:49:54 -08:00
Mouse Reeve
7b89014e7b
Updates image fields tests
2021-11-28 08:24:00 -08:00
Mouse Reeve
54cef421e2
Fixes checking if image fields are already set
2021-11-28 07:57:27 -08:00
Hugh Rundle
1a37903583
remove unnecessary function call arg
2021-11-26 17:39:35 +11:00
Hugh Rundle
a5efc798f8
clean up old vars
2021-11-26 17:30:27 +11:00
Hugh Rundle
951eb43aa6
bypass ajax for shelf_selector statuses
2021-11-26 17:16:26 +11:00
Hugh Rundle
5b67226571
forceReload prevents ajax submission
...
...instead of weird hacky workarounds forcing refreshes later.
2021-11-25 19:12:03 +11:00
Hugh Rundle
b91915d316
change shelf var for shelf_selector in book view
2021-11-25 08:20:34 +11:00
Hugh Rundle
c704c7eb8f
remove from any shelf in all books shelf view
...
- fixes removing book from 'all books' shelf erroring
- remove from any shelf item is on when in 'all books'
2021-11-25 07:38:08 +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
Chad Nelson
6be9ac4f70
Abstract JS for multivalue form fields
2021-11-21 17:32:48 -05: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
Hugh Rundle
e247e96832
remove incorrect comment
2021-11-20 19:34:37 +11:00
Hugh Rundle
a3270551f9
code cleanup
2021-11-20 19:19:51 +11:00
Hugh Rundle
b406a03533
don't persist form state in firefox
...
Fixes shelves not being disabled in dropdowns.
See https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing
2021-11-20 19:04:51 +11:00
Hugh Rundle
4b6f5c9f51
remove out of date comment
2021-11-20 19:03:57 +11:00
Hugh Rundle
b273123708
code style
2021-11-20 16:06:16 +11:00
Hugh Rundle
12810d8e34
don't try to update non-existent readthroughs
2021-11-20 16:03:46 +11:00
Hugh Rundle
af9768a2e3
force page reload when adding status from move button
2021-11-20 14:59:59 +11:00