Commit graph

79 commits

Author SHA1 Message Date
Mouse Reeve
a31d05c694 Don't crash on books with no isbn 2021-04-29 11:31:01 -07:00
Mouse Reeve
d1b5f3b6f0 Fixes ranks and normalizes isbns 2021-04-29 11:06:05 -07:00
Mouse Reeve
7853610a20 Load descriptions correctly 2021-04-29 10:54:36 -07:00
Mouse Reeve
b1c38d291c Set preferred language 2021-04-29 10:40:49 -07:00
Mouse Reeve
6551c59c45 Don't store default edition in the dataase 2021-04-28 16:05:17 -07:00
Mouse Reeve
64c2313a5d Merge branch 'main' into inventaire 2021-04-26 14:22:05 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
ae5e744731 Save last edited by user 2021-04-22 07:29:09 -07:00
Mouse Reeve
45006afdf3 Remove character limit on some book fields 2021-04-07 08:50:50 -07:00
Mouse Reeve
82c2f2eeb1 Adds more author identifier fields 2021-04-06 17:46:06 -07:00
Mouse Reeve
295842badd Adds inventaire id to book data model 2021-04-06 10:40:39 -07:00
Mouse Reeve
8e1e4572f6
Merge pull request #747 from mouse-reeve/edit-book-fields
Adds publishers to edit book form
2021-03-16 14:03:49 -07:00
Mouse Reeve
9251883d77 Checks if publisher fields is present (it isn't on works) 2021-03-16 13:54:15 -07:00
Mouse Reeve
6370fbf2c6 Formatting 2021-03-16 13:39:33 -07:00
Mouse Reeve
d947632b69 Adds publisher to book cover alt text 2021-03-15 15:39:16 -07:00
Mouse Reeve
f79bb60d81 Adds ability to reset default edition based on computer ranks 2021-03-15 15:08:20 -07:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
c0ccb7065c Safer federation of book data changes
Only broadcast to other BW instances, plus bonus error handling
2021-03-07 09:22:35 -08:00
Mouse Reeve
b70e728ffb Removes the word "cover" from cover alt text
Fixes #694
2021-03-05 06:58:22 -08:00
Mouse Reeve
7381536ad6 circular import issues and added_by migration 2021-02-04 14:27:26 -08:00
Mouse Reeve
42d80ce238 Remove explicit broadcast calls 2021-02-04 13:21:55 -08:00
Mouse Reeve
dfb5c396b0 Moves activitypub mixin to its own file 2021-02-04 10:47:18 -08:00
Joel Bradshaw
a4519d55c9 Merge branch 'main' into progress_update 2021-01-17 13:05:38 -08:00
Joel Bradshaw
48147883ce Merge branch 'main' into progress_update 2021-01-13 19:53:26 -08:00
Joel Bradshaw
0b703a252b Make get_rank() a regular method
It doesn't act like a property, and we have edition_rank as a proper
property anyway
2021-01-13 18:47:43 -08:00
Mouse Reeve
5b7f7aa0e3 sort edition list by rank 2021-01-11 11:16:10 -08:00
Mouse Reeve
fe67f65307 Set default edition on bookwyrm import 2021-01-11 10:25:34 -08:00
Mouse Reeve
83852e29eb Update edition ranks when work is saved 2021-01-11 10:02:49 -08:00
Mouse Reeve
6db64e33e4 set rank on editions 2021-01-11 09:29:23 -08:00
Mouse Reeve
b44b42be7e Adds rank field to edition model 2021-01-11 09:18:40 -08:00
Mouse Reeve
29ee027f6d Tests tag page and orders tag collection json 2020-12-31 08:05:24 -08:00
Mouse Reeve
7bcf0a1d53 Fixes missing code for editions list json 2020-12-31 07:46:35 -08:00
Mouse Reeve
a3df0847e1 Fixes celery tasks expanding data not setting many to many fields 2020-12-23 12:45:40 -08:00
Mouse Reeve
cfa1a1b42c Remove sync fields and share fields between book and author 2020-12-21 12:17:18 -08:00
Mouse Reeve
aac264c998 Generate author_text field dynamically 2020-12-21 12:10:42 -08:00
Mouse Reeve
3597ca460c Don't let author and book remote ids get overridden 2020-12-20 12:40:20 -08:00
Mouse Reeve
80de6079fa User p tags for pure status serializer 2020-12-18 11:00:30 -08:00
Mouse Reeve
6149f36c7f Fixes bug in alt text breaing serializing work 2020-12-17 13:55:31 -08:00
Mouse Reeve
d109ac0626
Merge pull request #402 from mouse-reeve/alt-text
Federate cover alt text
2020-12-17 13:22:09 -08:00
Mouse Reeve
530198adea Serialize alt text of images 2020-12-17 12:54:04 -08:00
Mouse Reeve
39dc0501a5 Make alt text a model property 2020-12-17 12:30:49 -08:00
Mouse Reeve
04ba5abf45 Fixes infinite recursion when loading books
Also fixes bug in serializing page nubmers
2020-12-17 12:02:59 -08:00
Mouse Reeve
a3c7d324d6 Sanitize incoming html 2020-12-16 16:47:23 -08:00
Mouse Reeve
7c43fa1f7c Adds deduplication fields 2020-12-12 13:39:55 -08:00
Mouse Reeve
4d4ee8b8c3 Starts getting reverse fields working for deserialization
also fixes the fields on the image model and runs a long overdue
migration
2020-12-07 18:28:42 -08:00
Mouse Reeve
77aead722d serialize book and author models 2020-11-30 14:40:26 -08:00
Mouse Reeve
3966c84e08 Updates status model and serializer 2020-11-30 14:24:31 -08:00
Mouse Reeve
dfd730757d handle unset default editions 2020-11-28 17:42:09 -08:00
Mouse Reeve
72c7829bab Preserve remote_id syntax for authors and books 2020-11-28 17:29:03 -08:00
Mouse Reeve
7ed2e310c0 User origin ids for books and authors 2020-11-28 13:40:09 -08:00