4f94d99c88
Use None instead of empty string for activitypub null value
2021-08-28 11:16:39 -07:00
c2763f0c18
Merge pull request #1304 from bookwyrm-social/prevent-import-overwrite
...
Prevent overwriting data on import form outside data source
2021-08-17 12:13:12 -06:00
bbe5ad7ce1
Suppresses pylint warning
2021-08-17 10:49:11 -07:00
ad0fff7030
Prevent overwriting data on import form outside data source
2021-08-17 10:08:07 -07:00
bb49d0dc9b
Adds test
2021-08-16 13:59:15 -07:00
21a954c7df
Always use underscores in html ids
...
Plus some other shifting around
2021-08-08 19:44:12 -07:00
a84a744e8d
Track changed fields in activity to model code
2021-08-03 08:48:15 -07:00
9e5c7053e9
More pylint fixes
2021-06-18 14:29:24 -07:00
4479864008
Updates code for linter
2021-06-18 14:12:56 -07:00
d61ba2e474
Fixes review rating serialization
2021-04-29 15:16:51 -07:00
6551c59c45
Don't store default edition in the dataase
2021-04-28 16:05:17 -07:00
7b65291a59
Python formatting for the new Black standard
2021-04-26 14:43:29 -07:00
64c2313a5d
Merge branch 'main' into inventaire
2021-04-26 14:22:05 -07:00
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
e9dc63e296
Only remove objects that are known
2021-04-22 09:25:12 -07:00
db09ca4331
Adds last edited by to author
2021-04-22 07:51:06 -07:00
ae5e744731
Save last edited by user
2021-04-22 07:29:09 -07:00
5df2ac676b
Fixes error on deletion requests for unknown users
2021-04-17 12:51:30 -07:00
779f44e9bd
Merge pull request #954 from bookwyrm-social/ap-image
...
Handle both Image and Document types
2021-04-17 12:11:41 -07:00
020e6f74ef
Python formatting
2021-04-17 11:57:06 -07:00
7c85b554cf
Handle both Image and Document types
2021-04-17 11:47:48 -07:00
bd294cce83
Check if obj exists for updates
2021-04-16 15:17:55 -07:00
caa261f4bf
Gracefully handle expect, unsupported activities
2021-04-16 15:12:38 -07:00
220fb926c9
Rename Image to Document
2021-04-15 16:35:04 -07:00
2f493336ad
Don't try to delete nonexistant objects
2021-04-15 16:24:05 -07:00
addcc59d7f
Makes cc fields optional
...
Plus a bit of cleanup in comments and to: fields
2021-04-15 16:21:54 -07:00
af6cab2e3f
Don't reutnr an error when discarding activity objects
2021-04-08 20:03:29 -07:00
ddd05a68cf
Resolve and assign target collection for collection items
2021-04-08 15:40:02 -07:00
24685187e8
Updates collection item add/remove handlers
2021-04-08 15:22:06 -07:00
ee6f37d7d2
python formatting
2021-04-08 15:11:16 -07:00
98161b9041
Use CollectionItem objects
2021-04-08 14:16:34 -07:00
ef12b077dd
Adds following field to actor serialization
2021-04-07 10:32:16 -07:00
fec3d63e46
Python formatting
2021-04-06 18:17:33 -07:00
4112862924
Fixes search data and new activitypub fields
2021-04-06 18:00:54 -07:00
fba44206ac
Adds separate view and load links for book search results
2021-04-06 12:17:58 -07:00
295842badd
Adds inventaire id to book data model
2021-04-06 10:40:39 -07:00
a39cd670ef
Fixes boosted remote statuses coming in as Notes
2021-04-05 18:05:06 -07:00
9c8ce5f77d
Makes followers an optional AP field
2021-04-02 07:38:37 -07:00
45d229d712
Makes outbox an optional field on the user table
2021-04-02 07:35:56 -07:00
9acb8e53d8
Adds privacy fields to boost activities
2021-03-24 13:35:49 -07:00
3fe3b0b2d5
Adds published date field to boost activity
2021-03-24 13:25:00 -07:00
d8c83fa31c
Return activities for existing objs in resolve_remote_id
2021-03-24 12:58:39 -07:00
28dc67bf5c
Fixes ignore test for valid remote statuses
2021-03-24 12:37:42 -07:00
3e75253ff1
Updates activitpub and tests for discoverability
2021-03-21 14:50:36 -07:00
ba09377041
Use None instead of empty dict for endpoint default value
2021-03-17 13:59:16 -07:00
0d8e1f0ae2
Makes endponts a default field
2021-03-17 09:34:20 -07:00
db426d71ee
Fixes failed serialization of empty avatar field
2021-03-17 09:22:45 -07:00
08edba4891
Ignore activities that expect dict args but get strs
...
Some Undo activities are coming from Pleroma with just the id
of the activity, rather than the serialized object. There isn't
an obvious way to know what is being undone, so for now this
just ignores those
2021-03-16 12:00:21 -07:00
220f2c1eb4
Fixes image attachments
2021-03-15 13:55:48 -07:00
6490a55274
Handle incoming follow request cancellations
2021-03-13 15:32:56 -08:00