Mouse Reeve
bd294cce83
Check if obj exists for updates
2021-04-16 15:17:55 -07:00
Mouse Reeve
caa261f4bf
Gracefully handle expect, unsupported activities
2021-04-16 15:12:38 -07:00
Mouse Reeve
220fb926c9
Rename Image to Document
2021-04-15 16:35:04 -07:00
Mouse Reeve
2f493336ad
Don't try to delete nonexistant objects
2021-04-15 16:24:05 -07:00
Mouse Reeve
addcc59d7f
Makes cc fields optional
...
Plus a bit of cleanup in comments and to: fields
2021-04-15 16:21:54 -07:00
Mouse Reeve
af6cab2e3f
Don't reutnr an error when discarding activity objects
2021-04-08 20:03:29 -07:00
Mouse Reeve
ddd05a68cf
Resolve and assign target collection for collection items
2021-04-08 15:40:02 -07:00
Mouse Reeve
24685187e8
Updates collection item add/remove handlers
2021-04-08 15:22:06 -07:00
Mouse Reeve
ee6f37d7d2
python formatting
2021-04-08 15:11:16 -07:00
Mouse Reeve
98161b9041
Use CollectionItem objects
2021-04-08 14:16:34 -07:00
Mouse Reeve
ef12b077dd
Adds following field to actor serialization
2021-04-07 10:32:16 -07:00
Mouse Reeve
fec3d63e46
Python formatting
2021-04-06 18:17:33 -07:00
Mouse Reeve
4112862924
Fixes search data and new activitypub fields
2021-04-06 18:00:54 -07:00
Mouse Reeve
fba44206ac
Adds separate view and load links for book search results
2021-04-06 12:17:58 -07:00
Mouse Reeve
295842badd
Adds inventaire id to book data model
2021-04-06 10:40:39 -07:00
Mouse Reeve
a39cd670ef
Fixes boosted remote statuses coming in as Notes
2021-04-05 18:05:06 -07:00
Mouse Reeve
9c8ce5f77d
Makes followers an optional AP field
2021-04-02 07:38:37 -07:00
Mouse Reeve
45d229d712
Makes outbox an optional field on the user table
2021-04-02 07:35:56 -07:00
Mouse Reeve
9acb8e53d8
Adds privacy fields to boost activities
2021-03-24 13:35:49 -07:00
Mouse Reeve
3fe3b0b2d5
Adds published date field to boost activity
2021-03-24 13:25:00 -07:00
Mouse Reeve
d8c83fa31c
Return activities for existing objs in resolve_remote_id
2021-03-24 12:58:39 -07:00
Mouse Reeve
28dc67bf5c
Fixes ignore test for valid remote statuses
2021-03-24 12:37:42 -07:00
Mouse Reeve
3e75253ff1
Updates activitpub and tests for discoverability
2021-03-21 14:50:36 -07:00
Mouse Reeve
ba09377041
Use None instead of empty dict for endpoint default value
2021-03-17 13:59:16 -07:00
Mouse Reeve
0d8e1f0ae2
Makes endponts a default field
2021-03-17 09:34:20 -07:00
Mouse Reeve
db426d71ee
Fixes failed serialization of empty avatar field
2021-03-17 09:22:45 -07:00
Mouse Reeve
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
Mouse Reeve
220f2c1eb4
Fixes image attachments
2021-03-15 13:55:48 -07:00
Mouse Reeve
6490a55274
Handle incoming follow request cancellations
2021-03-13 15:32:56 -08:00
Mouse Reeve
a1d95d5010
Merge pull request #725 from mouse-reeve/incoming-unshelve
...
Fixes handling incoming unshelve activities
2021-03-13 08:53:37 -08:00
Mouse Reeve
e1a8c4d260
Fixes handling incoming unshelve activities
2021-03-13 08:43:36 -08:00
Mouse Reeve
919b166241
Catch error in serializing unknown boosts
2021-03-13 08:13:20 -08:00
Mouse Reeve
2548ba926a
Fixes error when receiving Undo for unknown boost
2021-03-13 07:15:30 -08:00
Mouse Reeve
3bdfc341e4
Runs black
2021-03-08 09:54:02 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate
2021-03-08 09:48:25 -08:00
Mouse Reeve
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
Mouse Reeve
71bbea83f9
Adds discard check to favs
2021-03-07 09:42:31 -08:00
Mouse Reeve
e5bdb4b9d1
Make empty cover value null
2021-03-07 07:35:50 -08:00
Mouse Reeve
3ba6479e79
hide linter error on override funtion
2021-02-25 15:16:16 -08:00
Mouse Reeve
ed7c13531f
Merge branch 'main' into review-rate
2021-02-25 10:17:52 -08:00
Mouse Reeve
6d7e063b81
Makes rating field mandatory on ratings
2021-02-25 10:17:24 -08:00
Mouse Reeve
fba53c72e0
default safe mode for activity serialization
2021-02-23 17:19:47 -08:00
Mouse Reeve
4d0e52bf51
Test tag and list add
2021-02-23 17:18:25 -08:00
Mouse Reeve
6e6bcb2f48
gotta simplify the add activity
2021-02-23 15:51:02 -08:00
Mouse Reeve
fb98ef4b38
Remove redundant activitypub dataclass
2021-02-19 11:16:01 -08:00
Mouse Reeve
79875271f7
Makes next/prev page links optional
2021-02-17 13:33:48 -08:00
Mouse Reeve
7b21a0a208
Fix things, unfix things, refix things, break things, fix things
2021-02-17 12:23:55 -08:00
Mouse Reeve
92e40e1cec
Pass model instances into activities instead of json
2021-02-17 10:36:05 -08:00
Mouse Reeve
b18dac5814
Don't use generic ActivityObject as serializer
2021-02-17 10:15:22 -08:00
Mouse Reeve
8bb20730fc
Fixes bug in serializing dataclasses in place
2021-02-17 09:33:33 -08:00
Mouse Reeve
7b27f98e20
Fixes recursive serializer
2021-02-17 08:34:21 -08:00
Mouse Reeve
77781d57c3
Fixes base activity tests
2021-02-16 20:24:37 -08:00
Mouse Reeve
a9ca3a4290
Fixes calls to to_model, init with activitypub partially serialized
2021-02-16 20:17:38 -08:00
Mouse Reeve
e2f921b7f5
better checking for empty values
2021-02-16 19:28:23 -08:00
Mouse Reeve
91908eb1b6
Smarter way of inferring serializers (which are explicitly present)
2021-02-16 18:59:50 -08:00
Mouse Reeve
714202986d
Fixes person/author confusion and public keys
2021-02-16 17:47:53 -08:00
Mouse Reeve
d81bfb6573
Fixes unfollow
2021-02-16 16:35:28 -08:00
Mouse Reeve
3f1b62eb98
Fixes Add activity
...
still janky
2021-02-16 11:04:13 -08:00
Mouse Reeve
b393df8cab
Fixes deletion
2021-02-16 09:35:00 -08:00
Mouse Reeve
08c1553e71
Fixes Favs
2021-02-15 21:41:08 -08:00
Mouse Reeve
606d89d3bd
Fixes boost, recursive to_model calls
2021-02-15 21:20:00 -08:00
Mouse Reeve
a16b81a6eb
Adds actions for all verbs
2021-02-15 20:49:23 -08:00
Mouse Reeve
12a3aa9667
incoming Create flow with tests
2021-02-15 19:41:22 -08:00
Mouse Reeve
81e2021f92
Move handlers to activitypub classes
2021-02-15 18:47:08 -08:00
Mouse Reeve
e810c2bee0
Recursively parse activities
2021-02-15 17:23:17 -08:00
Mouse Reeve
06feef44ad
Merge branch 'main' into review-rate
2021-02-12 18:33:05 -08:00
Mouse Reeve
5f7466e92d
Fixes bugs in how lists/shelves federate Adds
2021-02-10 19:17:16 -08:00
Mouse Reeve
76e90cb3f6
Fixes remaining test patches
2021-02-08 09:38:28 -08:00
Mouse Reeve
2fcfebd4e5
fixes broadcasting for incoming activities
2021-02-07 16:23:20 -08:00
Mouse Reeve
bbc05578fb
Fixes tests
2021-02-02 14:59:40 -08:00
Mouse Reeve
f42a5444e5
User ordered collection subtype for shelves
2021-02-02 11:17:31 -08:00
Mouse Reeve
e61d8b7638
Serialize lists as custom activitypub object
2021-02-02 11:13:15 -08:00
Mouse Reeve
e53b4e57fa
Federating lists and shelves
2021-02-02 09:37:46 -08:00
Mouse Reeve
cc8888dea2
Adds incoming handler for blocking
2021-01-23 11:03:10 -08:00
Mouse Reeve
83852e29eb
Update edition ranks when work is saved
2021-01-11 10:02:49 -08:00
Mouse Reeve
385ec4d70a
Adds ReviewRating model
...
I can't just calling Rating because that would clash with the rating
field
2021-01-01 11:51:52 -08:00
Renato "Lond" Cerqueira
44a8184f72
Create a ActivitypubResponse class and use it in the views
...
This improves compatibility with other fediverse software by using the
expected content type for any api calls.
2020-12-30 21:25:28 +01:00
Mouse Reeve
25d72c5d1e
Save attachments on incoming statuses
2020-12-23 13:38:36 -08:00
Mouse Reeve
365408e86b
Handle reverse serialized fields with no serialized field
2020-12-23 13:33:46 -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
77948f64d2
Merge branch 'main' into book-data-model
2020-12-22 09:29:32 -08:00
Mouse Reeve
b4c60c0591
Catches exception thrown when boosting unknown statuses
2020-12-21 14:25:10 -08:00
Mouse Reeve
830aaf9d1c
Add identifier fields to author activity
2020-12-21 13:21:17 -08:00
Mouse Reeve
60738011a2
user's name and bio field are optional
...
get it together, mouse
2020-12-20 12:09:19 -08:00
Mouse Reeve
1204679cbd
Change transaction atomic to avoid cascading errors
2020-12-19 18:34:37 -08:00
Mouse Reeve
3e61f48da2
Fixes loading more data
2020-12-19 16:16:39 -08:00
Mouse Reeve
0c6049b81c
Discard remote boosts
2020-12-18 12:38:27 -08:00
Mouse Reeve
5cadd48aef
Fixes rate action
2020-12-17 13:21:21 -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
172c36b641
Adds content warning field in status forms
2020-12-16 20:10:50 -08:00
Mouse Reeve
33c2f6c3b2
Merge branch 'main' into content-warnings
2020-12-16 19:14:34 -08:00
Mouse Reeve
da05b99bb8
Fixes incoming shelve activity
2020-12-15 18:57:17 -08:00
Mouse Reeve
c470aeb3ce
Create helper function on field for settings values
2020-12-13 12:02:26 -08:00
Mouse Reeve
aacf5b7ba4
fields for content warnings
2020-12-12 18:00:39 -08:00
Mouse Reeve
e58ef83f20
Fixes image fields breaking user import
2020-12-12 15:44:17 -08:00
Mouse Reeve
4ed713662e
Fixes skipping refresh on matched object
2020-12-12 13:59:44 -08:00
Mouse Reeve
7c43fa1f7c
Adds deduplication fields
2020-12-12 13:39:55 -08:00
Mouse Reeve
cc42e9d149
Asyncronously set related fields
2020-12-08 09:43:12 -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
6817babf3c
adds some tests for to_model
2020-12-07 12:19:15 -08:00