Commit Graph

181 Commits

Author SHA1 Message Date
d610115a5b Null state for links 2022-01-10 12:09:03 -08:00
8ba3a4ab00 Adds link confirmation modal 2022-01-10 11:48:07 -08:00
0bfa15bb47 Adds id on static link edit view 2022-01-09 20:48:16 -08:00
aa9864a21e Only show approved links 2022-01-09 20:30:23 -08:00
bae01e1ea5 Updates modal 2022-01-09 14:20:52 -08:00
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -08:00
2f4899dc1f Remove old modal, new modal is our best friend now 2021-12-30 19:19:55 -08:00
65c719d2d4 Move readthrough delete modal into books dir 2021-12-30 17:49:41 -08:00
7af4af278d Readthrough delete modal 2021-12-30 17:48:09 -08:00
57ce894667 Updates book sync modals 2021-12-30 14:19:31 -08:00
0031a63511 Updates add cover modal 2021-12-30 14:07:30 -08:00
cd89271724 Apply review suggestions 2021-12-30 10:43:23 +01:00
3b0096caf0 Add button overlay 2021-12-29 18:55:02 +01:00
6952ab0081 Solve markup validation issues 2021-12-29 17:10:44 +01:00
e5f3e9cd2c fix curlylint issue 2021-12-29 17:00:40 +01:00
3de2396cb8 Update cover_show_modal.html 2021-12-29 16:45:36 +01:00
87ab665583 fix for editorConfig linting 2021-12-29 16:43:38 +01:00
f12ba8609f Front-end: On book page, click on cover to show/add image
Closes #1009
2021-12-29 16:40:19 +01:00
86b294afd7 Re-structures link models 2021-12-15 16:23:21 -08:00
322bb909fc Better mobile display 2021-12-15 13:35:10 -08:00
d911e2c6db Cleans up sidebar html 2021-12-15 13:23:25 -08:00
5ed5d5d222 Don't show cancel button in static mode 2021-12-15 13:21:08 -08:00
c8e038cd4e Adds form errors 2021-12-15 13:20:05 -08:00
cc3db31db9 Adds noscript fallback for links modal 2021-12-15 13:11:49 -08:00
4f576b77a0 Use urlfield 2021-12-15 12:46:10 -08:00
1d6b200172 Modal to add link 2021-12-15 12:40:25 -08:00
e500f53125 Sync button for books 2021-12-07 12:47:33 -08:00
02313f40b8 Adds update from inventaire link for books 2021-12-05 13:48:05 -08:00
4085714764 Update openlibrary author with ISNI 2021-12-05 13:26:22 -08:00
d7e4e6aa1e Adds openlibrary update for book 2021-12-05 13:02:42 -08:00
2d875b5575 Add link properties for remotes 2021-12-05 12:29:54 -08:00
f9c78c79c8 Removes inoperative translation string 2021-12-04 14:40:25 -08:00
c0ac838ed8 Merge branch 'main' into font-end-accessibility-improvements 2021-12-03 10:08:47 -08:00
baca5e50e7 Merge pull request #1608 from hughrun/move-shelves
refactor shelf activity on book page
2021-12-02 12:06:07 -08:00
e59a480065 Merge branch 'main' into 1203-better-ui-for-adding-authors 2021-11-30 17:30:00 -05:00
66e414be3c Standardize JS, use button, & filter empty authors 2021-11-30 17:22:35 -05:00
63d31b8623 Edit book form 2021-11-29 23:29:22 +01:00
b91915d316 change shelf var for shelf_selector in book view 2021-11-25 08:20:34 +11:00
09c5a3861b prefer English language sources for ISNI titles 2021-11-22 12:15:06 +11:00
6be9ac4f70 Abstract JS for multivalue form fields 2021-11-21 17:32:48 -05: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
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
c6a2de3bbc pass readthrough id to shelf_selector
- allows user to move book from a shelf to the 'Read' shelf using the move button.
2021-11-20 10:29:17 +11:00
9ffe4d340e trigger reading status modals from move button
- unhide reading status shelves
- trigger modals when moving to a read status shelf
- force page refresh when using move button
2021-11-20 08:06:13 +11:00
03c59f2431 improve security on isni url 2021-11-16 20:37:37 +11:00
ec39346e67 check shelf.editable instead of custom filter 2021-11-16 19:26:49 +11:00
168a2488e2 refactor shelf activity on book page
- disallow moving from custom shelf to a reading status shelf with shelf_selector
- always use shelve_button for moving books from a reading status shelf
- redesign shelf information as a list of boxes
2021-11-15 20:59:22 +11:00
6556090524 Update existing authors when isni data available
When an existing author is selected as a new author when editing a book,
if they have an ISNI ID recorded we check the record and augment the local
database record from the ISNI data.

Also dedupes author aliases for this feature and when adding a completely
new author.
2021-11-01 19:50:49 +11:00
552980e208 select correct isni record when adding authors
The original implementation of this was so, so broken.
Now it's not.
2021-11-01 11:34:32 +11:00
37148c5127 display isni bio with existing author name
If an existing author has an isni on record and it matches an author from the isni api call,
display the isni short description to aid with identifying the appropriate author.
2021-11-01 10:26:17 +11:00