Joachim
cd89271724
Apply review suggestions
2021-12-30 10:43:23 +01:00
Joachim
3b0096caf0
Add button overlay
2021-12-29 18:55:02 +01:00
Joachim
6952ab0081
Solve markup validation issues
2021-12-29 17:10:44 +01:00
Joachim
e5f3e9cd2c
fix curlylint issue
2021-12-29 17:00:40 +01:00
Joachim
3de2396cb8
Update cover_show_modal.html
2021-12-29 16:45:36 +01:00
Joachim
87ab665583
fix for editorConfig linting
2021-12-29 16:43:38 +01:00
Joachim
f12ba8609f
Front-end: On book page, click on cover to show/add image
...
Closes #1009
2021-12-29 16:40:19 +01:00
Mouse Reeve
e500f53125
Sync button for books
2021-12-07 12:47:33 -08:00
Mouse Reeve
02313f40b8
Adds update from inventaire link for books
2021-12-05 13:48:05 -08:00
Mouse Reeve
4085714764
Update openlibrary author with ISNI
2021-12-05 13:26:22 -08:00
Mouse Reeve
d7e4e6aa1e
Adds openlibrary update for book
2021-12-05 13:02:42 -08:00
Mouse Reeve
2d875b5575
Add link properties for remotes
2021-12-05 12:29:54 -08:00
Mouse Reeve
f9c78c79c8
Removes inoperative translation string
2021-12-04 14:40:25 -08:00
Mouse Reeve
c0ac838ed8
Merge branch 'main' into font-end-accessibility-improvements
2021-12-03 10:08:47 -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
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
Joachim
63d31b8623
Edit book form
2021-11-29 23:29:22 +01:00
Hugh Rundle
b91915d316
change shelf var for shelf_selector in book view
2021-11-25 08:20:34 +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
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
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
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
03c59f2431
improve security on isni url
2021-11-16 20:37:37 +11:00
Hugh Rundle
ec39346e67
check shelf.editable instead of custom filter
2021-11-16 19:26:49 +11:00
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
bce5f3f3b5
populate new authors with isni data
...
If a user selects an author pulled from the ISNI service when editing a book, use any relevant data from ISNI to populate the new author record.
This includes
- bio
- aliases
- isni
- wikipedia url
- viaf
2021-10-31 17:58:15 +11:00
Hugh Rundle
87ed6f8380
code formatting
2021-10-29 21:14:32 +11:00
Hugh Rundle
f2e4865adf
check isni sources when editing book authors
2021-10-29 16:13:05 +11:00
Mouse Reeve
5558216917
Merge pull request #1542 from bookwyrm-social/cancel-button
...
A cancel button that leads nowhere
2021-10-16 07:21:39 -07:00
Mouse Reeve
94bce7fd83
Use javascript back button on create book page
2021-10-16 07:11:12 -07:00
Mouse Reeve
3621224074
Properly localize book format
2021-10-15 13:59:07 -07:00
Mouse Reeve
b9251b4dc7
Fixes book identifiers not displaying
2021-10-14 16:11:33 -07:00
Mouse Reeve
74d2cf646a
Moves meta tags out of p tags
...
I guess that's not kosher
2021-10-01 10:25:23 -07:00
Mouse Reeve
428d87a351
Don't render empty html about books
2021-10-01 10:08:56 -07:00
Mouse Reeve
58fa3d9ad6
Fixes dl syntax
2021-10-01 09:24:26 -07:00
Mouse Reeve
305dcc504b
Unique names for fallback forms
2021-09-29 15:52:08 -07:00
Mouse Reeve
899e6b55a8
Updates references to book templates
2021-09-29 13:27:07 -07:00
Mouse Reeve
1e5a8dc3db
Create subdirectories for book view templates
2021-09-29 13:21:11 -07:00
Mouse Reeve
f0e31f730a
Moves form into snippet and adds boxes around sections
2021-09-29 13:18:27 -07:00
Mouse Reeve
2d13fd0a1c
Merge branch 'main' into add-edit-book
2021-09-29 12:53:46 -07:00
Mouse Reeve
47706b5353
Use detail field on book paeg and meta
2021-09-29 11:59:09 -07:00
Mouse Reeve
4747bb2156
Hide cover preview column if cover is unset
2021-09-29 11:36:35 -07:00
Mouse Reeve
2f93e6d723
Merge branch 'main' into book-format-choices
2021-09-29 11:33:06 -07:00
Mouse Reeve
bc87856c2e
Merge branch 'main' into book-format-choices
2021-09-27 10:29:12 -07:00