Commit graph

66 commits

Author SHA1 Message Date
Mouse Reeve
6d5923bb8f
Merge pull request #2128 from bookwyrm-social/multiple-authors
Multiple authors not added when editing book
2022-05-23 14:07:54 -07:00
Mouse Reeve
69f192e78c Fixes error in add author code returning too soon 2022-05-23 13:57:14 -07:00
Mouse Reeve
efd1fd82a9 Corrects redirect to confirm mode when adding book 2022-05-23 13:02:06 -07:00
Vivianne
5a2bf64864
Merge branch 'bookwyrm-social:main' into url-names 2022-04-08 21:45:37 -07:00
Mouse Reeve
a701bfcf8e Uses custom date select widget for publication dates 2022-03-19 08:45:10 -07:00
Mouse Reeve
a684d86d15 Fixes subjects in add edition view 2022-03-17 08:02:59 -07:00
Mouse Reeve
0cf2c07069
Merge branch 'main' into url-names 2022-03-16 16:32:07 -07:00
Mouse Reeve
68dc5962ee Merge branch 'main' into add-edition 2022-03-16 16:16:55 -07:00
Mouse Reeve
c7efa23405 Display error message for remote failure 2022-03-13 12:38:29 -07:00
Mouse Reeve
739b394ccc Catch error when trying to update book 2022-03-13 12:31:21 -07:00
Vivianne Langdon
a4391f35c1 black 2022-03-11 22:31:40 -08:00
Vivianne Langdon
d6767e42fc fix variable clash 2022-03-11 22:28:05 -08:00
Vivianne Langdon
598a0587cf Fix issue with tabs on bottom of book page 2022-03-11 21:10:22 -08:00
Vivianne Langdon
f2d7bdbf27 in progress fixes for pylint 2022-03-11 20:14:45 -08:00
Vivianne
9fa8caba45
Merge branch 'bookwyrm-social:main' into url-names 2022-03-11 19:55:06 -08:00
Mouse Reeve
cbcd5c7a57 Adds elided page range to editions 2022-03-10 09:49:17 -08:00
Vivianne Langdon
8838875879 Fix failure to 404 2022-03-02 04:07:13 -08:00
Vivianne Langdon
440e2f8806 black 2022-03-02 01:47:08 -08:00
Vivianne Langdon
d8181d6d66 Redirect to correct url with slug 2022-03-02 01:12:32 -08:00
Vivianne Langdon
ebf463fc91 Generation of slugs and new urls to handle slugs
- TODO: redirect to correct slug if not found.
2022-03-02 00:21:23 -08:00
Mouse Reeve
202696f913 Don't show lists a book is already on in add form 2022-02-28 10:03:24 -08:00
Mouse Reeve
eea7d9d4e5 Retain author across saves 2022-02-25 17:57:18 -08:00
Mouse Reeve
29a6d74ff2 Python formatting 2022-02-25 17:23:13 -08:00
Mouse Reeve
b001c31f97 Save author along with added edition 2022-02-25 16:54:03 -08:00
Mouse Reeve
c67f92af46 Add editions view 2022-02-25 16:40:34 -08:00
Mouse Reeve
6d1d62cf2f View for starting to edit a book with existing data 2022-02-25 11:50:25 -08:00
Mouse Reeve
754e24812b Check image extensions before saving 2022-02-01 21:18:25 -08:00
Mouse Reeve
cfcacb4797 Edit book availability 2022-01-17 10:00:12 -08:00
Mouse Reeve
d1183fd003 Python formatting 2022-01-12 17:11:24 -08:00
Mouse Reeve
262e641c79 Creates link template subdirectory 2022-01-12 16:50:52 -08:00
Mouse Reeve
4cf3f378ef Delete view 2022-01-12 10:08:49 -08:00
Mouse Reeve
ebc451fdd2 Edit links view 2022-01-12 09:59:46 -08:00
Mouse Reeve
2ca41a0b11 Renames add link view 2022-01-12 09:16:24 -08:00
Mouse Reeve
86b294afd7 Re-structures link models 2021-12-15 16:23:21 -08:00
Mouse Reeve
ed7d8e5501 Removed unused import 2021-12-15 13:39:20 -08:00
Mouse Reeve
c8e038cd4e Adds form errors 2021-12-15 13:20:05 -08:00
Mouse Reeve
dcf5694b66 Use class view 2021-12-15 13:15:51 -08:00
Mouse Reeve
cc3db31db9 Adds noscript fallback for links modal 2021-12-15 13:11:49 -08:00
Mouse Reeve
1d6b200172 Modal to add link 2021-12-15 12:40:25 -08:00
Mouse Reeve
d7e4e6aa1e Adds openlibrary update for book 2021-12-05 13:02:42 -08:00
Mouse Reeve
113eda33e9 Adds update views 2021-12-05 12:47:43 -08: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
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
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
c3ba7ba547 pylint Y U like this? 2021-11-01 20:04:25 +11:00