Commit graph

36 commits

Author SHA1 Message Date
Mouse Reeve
ebc0680288 Fixes logic error in detecting changed fields when serializing 2021-08-03 12:21:11 -07:00
Mouse Reeve
b059cbdd18 Adds missing import and mock 2021-08-03 12:02:47 -07:00
Mouse Reeve
a84a744e8d Track changed fields in activity to model code 2021-08-03 08:48:15 -07:00
Mouse Reeve
6d8bced0f1 Refactors test mocks 2021-08-02 16:05:40 -07:00
Joachim
f8df501239 Fix tests (for realz) 2021-05-27 23:19:17 +02:00
Joachim
b7965ce2ae Fix tests 2021-05-27 21:37:27 +02:00
Joachim
2ea1cd8319 Tests 2021-05-26 23:57:29 +02:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
9e23bfe7c0 Updates activitypub tests 2021-03-23 10:25:52 -07:00
Mouse Reeve
bb8ce74f52 Updates base activity tests for updated Image type 2021-03-15 15:57:00 -07:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
410e0b04bb Fixes fav logic and base activity test 2021-03-07 13:13:16 -08:00
Mouse Reeve
29df2e0fac fixes typo in person test 2021-02-16 20:26:51 -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
3f61675a0a Updates usage of resolve_remote_id 2021-02-16 19:35:43 -08:00
Mouse Reeve
76e90cb3f6 Fixes remaining test patches 2021-02-08 09:38:28 -08:00
Mouse Reeve
7e987fc446 Updates unit tests for new username handling
still some failing tho
2020-12-27 17:21:01 -08:00
Mouse Reeve
79973687d5 Updates tests 2020-12-20 12:50:35 -08:00
Mouse Reeve
44cbf7c07f Fixes checking privacy when serializing status 2020-12-13 14:35:56 -08:00
Mouse Reeve
49979fabef More user serialization tests 2020-12-12 15:00:20 -08:00
Mouse Reeve
e7f400533e Fixes missing book and user objects 2020-12-12 14:15:10 -08:00
Mouse Reeve
7c43fa1f7c Adds deduplication fields 2020-12-12 13:39:55 -08:00
Mouse Reeve
31a407d74a Use name field only for author name
It feels janky to remove a more granular name designation, but all these
first/last name fields were algorithmically populated by a dubious
process of splitting the name by a space character. If it makes sense to
have first/last name fields, it should be re-added with some
consideration.
2020-12-12 09:53:21 -08:00
Mouse Reeve
6b9db97ab8 tests set_related_field 2020-12-09 13:11:42 -08:00
Mouse Reeve
ef2a07884f Throws validation error when remote_id is None 2020-12-09 11:57:29 -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
0a576c325c Fixes deserializing tags of varied types 2020-12-07 13:16:42 -08:00
Mouse Reeve
6817babf3c adds some tests for to_model 2020-12-07 12:19:15 -08:00
Mouse Reeve
f61fcb1261 Adds tests for resolve_remote_id 2020-12-07 10:46:41 -08:00
Mouse Reeve
74ac8d60f8 Starts adding tests for base_activity
includes init and find_existing_by_remote_id
2020-12-07 10:32:31 -08:00
Mouse Reeve
e87236d78f Remove unnecessary user create action 2020-12-03 12:57:44 -08:00
Mouse Reeve
205fa0d465 set user's remote server in a celery task 2020-11-29 10:08:19 -08:00
Mouse Reeve
7a153e185a User activitypub tests 2020-10-16 09:45:14 -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