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
42167af3e9
Tests fro html field
2020-12-16 18:39:18 -08:00
Mouse Reeve
a3c7d324d6
Sanitize incoming html
2020-12-16 16:47:23 -08:00
Mouse Reeve
ef92e562fd
Merge pull request #382 from mouse-reeve/switch-edition
...
Adds shelf info to book page
2020-12-16 14:58:36 -08:00
Mouse Reeve
8a1800ea26
Federate shelve activities when switching editions
2020-12-16 13:59:18 -08:00
Mouse Reeve
da05b99bb8
Fixes incoming shelve activity
2020-12-15 18:57:17 -08:00
Mouse Reeve
bde75766f2
test for registration and password reset
2020-12-15 16:36:22 -08:00
Mouse Reeve
ee2121095c
Separate update editon and work functions
2020-12-15 12:39:09 -08:00
Mouse Reeve
2ef4df41b4
Fixes boosts
2020-12-15 11:54:57 -08:00
Mouse Reeve
8787599692
tests unfavorite
2020-12-14 13:04:07 -08:00
Mouse Reeve
1bcae45145
Remove notifications related to deleted statuses
2020-12-14 12:54:39 -08:00
Mouse Reeve
d49e49f021
Notify mentioned users
2020-12-14 12:31:11 -08:00
Mouse Reeve
8d27f02a9a
Fixes typo in handle_unfollow
2020-12-14 11:46:31 -08:00
Mouse Reeve
171b8c75ae
use require_POST decorator in inbox
2020-12-14 11:29:22 -08:00
Mouse Reeve
7f6390f722
Test incoming in one file
2020-12-14 10:25:43 -08:00
Mouse Reeve
badc5d0dab
Adds another shelf model test
2020-12-14 10:18:14 -08:00
Mouse Reeve
4fcdbe5299
Fixes clashing test model name
2020-12-13 15:56:30 -08:00
Mouse Reeve
c75f5a1598
Unit tests for privacy model field
2020-12-13 15:50:02 -08:00
Mouse Reeve
44cbf7c07f
Fixes checking privacy when serializing status
2020-12-13 14:35:56 -08:00
Mouse Reeve
47981dc15e
Show year in time_since when ambiguous
2020-12-12 20:02:14 -08:00
Mouse Reeve
b61a7cccff
Use trimmedwords_html instead of a custom filter
2020-12-12 19:34:51 -08:00
Mouse Reeve
cb28c19abc
Use get_data in resolving remote id
2020-12-12 15:19:57 -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
804066c523
a couple more assertions for testing fk field
2020-12-12 13:47:51 -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
d0c1a68df6
Patches celery call in field tests and fixes tag field
2020-12-07 13:39:05 -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
4599df752d
Adds tests for many to many field deserialization
2020-12-07 09:31:12 -08:00
Mouse Reeve
69bb3f2751
Fixes validation error in many to many field deserializer
2020-12-07 09:14:30 -08:00
Mouse Reeve
7a90aa8f6c
Start moving serializing from to_model to fields
2020-12-05 21:33:48 -08:00
Mouse Reeve
8500a7cfe1
Unit test fails in CI but not local
2020-12-05 15:38:12 -08:00
Mouse Reeve
ef1558628f
Fixes transient failure in image field test
2020-12-05 14:48:47 -08:00
Mouse Reeve
05cde33a0c
Adds tests for remaining nontrivial model fields
2020-12-05 14:42:54 -08:00
Mouse Reeve
8a900689d3
Generalizes link format in many to many field
2020-12-04 17:57:14 -08:00
Mouse Reeve
f116ce378d
Fixes foreign key test
2020-12-04 17:42:41 -08:00
Mouse Reeve
aa6e312cfb
Starts adding tests for custom model fields
2020-12-04 17:38:39 -08:00
Mouse Reeve
142a39cf55
Updates remote user when refreshing key
2020-12-04 16:26:07 -08:00
Mouse Reeve
9c9da35d9a
Tests base_model to_activity
2020-12-04 15:14:26 -08:00
Mouse Reeve
800ddf2a6b
fixes inconsistency in to_undo activity helper
2020-12-04 11:53:50 -08:00
Mouse Reeve
39307ce1cd
Fixes remote_id on Update activities
2020-12-04 11:48:34 -08:00
Mouse Reeve
2e4aff90a3
Fixes signing Create activities
...
and some tests for the base_model
2020-12-04 11:29:38 -08:00