Commit graph

33 commits

Author SHA1 Message Date
Joel Bradshaw
a16d759766 Add shelved_date field and populate it on import 2021-07-13 21:04:11 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
77775d9bf8 Remove superfluous calls to all() 2021-04-19 14:47:59 -07:00
Mouse Reeve
b1491c2ac6 Adds privacy and recipient details to list items 2021-04-08 15:09:56 -07:00
Mouse Reeve
e550f8cde6 Fixes list item fields and broadcast updates 2021-04-08 14:47:38 -07:00
Mouse Reeve
31077a9790 Update ordered collection classes to use CollectionItem 2021-04-08 14:17:29 -07:00
Mouse Reeve
32bd426999 Fixes shelf remote ids 2021-03-31 11:04:20 -07:00
Mouse Reeve
f8ce9b0956 Backwards compatibility with "shelf" urls 2021-03-31 09:50:16 -07:00
Pablo Barton
daf69d2375 716 books can be on multiple shelves, but only on one shelf for reading status 2021-03-26 08:21:42 -04:00
Mouse Reeve
b285fb2fc0 Set shelf user by default 2021-03-16 13:37:22 -07:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
fb98ef4b38 Remove redundant activitypub dataclass 2021-02-19 11:16:01 -08:00
Mouse Reeve
ad7a045582 Makes shelbook user required 2021-02-07 11:29:13 -08:00
Mouse Reeve
63fe9777e2 Fixes shelf model tests 2021-02-06 21:02:58 -08:00
Mouse Reeve
feb8190d8f Created mixin for ordered collection items 2021-02-04 12:25:07 -08:00
Mouse Reeve
dfb5c396b0 Moves activitypub mixin to its own file 2021-02-04 10:47:18 -08:00
Mouse Reeve
f42a5444e5 User ordered collection subtype for shelves 2021-02-02 11:17:31 -08:00
Mouse Reeve
e53b4e57fa Federating lists and shelves 2021-02-02 09:37:46 -08:00
Joel Bradshaw
b0ea31f2a9 Add order for shelf books to satisfy warning
I believe this will sort books by order they were added to the shelf,
which seems reasonable. Should add some tests to make sure though.
2021-01-13 23:44:44 -08:00
Mouse Reeve
6eb7872598 Fixes queryset for shelf page json 2021-01-10 07:54:58 -08:00
Mouse Reeve
da05b99bb8 Fixes incoming shelve activity 2020-12-15 18:57:17 -08:00
Mouse Reeve
b6907f39e9 Creates Privacy field that handles setting to/cc 2020-12-13 13:03:17 -08:00
Mouse Reeve
1ec2f20486 avoid naming clash is to_activity for field vs model 2020-11-30 14:54:45 -08:00
Mouse Reeve
fd7e476c9b refactors tag model to fit ordered collection structure 2020-11-28 11:04:54 -08:00
Mouse Reeve
a93b5cf5bc Use remote_id resolver to load books, user 2020-11-28 10:18:24 -08:00
Mouse Reeve
0e13616e73 lowercase shelf identifier 2020-11-10 14:56:53 -08:00
Mouse Reeve
408ca6609c Let users create shelves 2020-11-10 14:52:04 -08:00
Mouse Reeve
ab0f9230c7 Adds privacy setting to shelves 2020-11-10 13:39:58 -08:00
Mouse Reeve
20395ff2ec Corrects serialization of Add activity 2020-11-07 16:11:12 -08:00
Mouse Reeve
5501318f95 Incoming shelve activities 2020-11-02 15:10:41 -08:00
Mouse Reeve
3aa9c3accf Renames bookwyrm base model 2020-09-21 08:16:34 -07:00
Mouse Reeve
c7883cd615 Updates migrations
To get the app working again I ran resetdb, let it crash in initdb,
then ran the migration, then re-ran initdb
2020-09-21 08:10:37 -07:00
Mouse Reeve
f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00
Renamed from fedireads/models/shelf.py (Browse further)