Alain St-Denis
|
63b591db46
|
Fix tests and other issues tests revealed
|
2022-09-08 11:40:37 +00:00 |
Alain St-Denis
|
ce00a6045d
|
fix extract_receivers + tweaks for outbound effect on inbound
|
2022-08-31 13:18:14 +00:00 |
Alain St-Denis
|
85b221f68a
|
remove activitipub/entities.py
|
2022-08-31 13:16:17 +00:00 |
Alain St-Denis
|
2018483257
|
outbound jsonld ready for testing
|
2022-08-29 13:55:26 +00:00 |
Alain St-Denis
|
916aa804a4
|
Merge branch 'master' into jsonld-outbound
|
2022-08-22 13:15:29 +00:00 |
Alain St-Denis
|
08ca0169fe
|
minor commit to let me rebase on more-content
|
2022-08-22 12:40:07 +00:00 |
Alain St-Denis
|
317fd932f4
|
initial commit to jsonld processed outbound ActivityPub payloads
|
2022-08-19 17:09:07 +00:00 |
Alain St-Denis
|
e3a039767f
|
Fetch public key from Signature header keyID field for signature verification.
Use identified language tag from content_map property instead of default.
|
2022-08-19 17:09:07 +00:00 |
Alain St-Denis
|
44f902f186
|
Cache requests only for pyld document loader
|
2022-08-19 17:09:07 +00:00 |
Alain St-Denis
|
f547473ca7
|
remove a debug print
|
2022-08-19 17:09:07 +00:00 |
Alain St-Denis
|
f248dc04f2
|
code robustness improvemwents. allow empty raw_content
|
2022-08-19 17:09:07 +00:00 |
Alain St-Denis
|
91faaf9f80
|
fix a few tests. update changelog
|
2022-08-19 17:09:07 +00:00 |
Alain St-Denis
|
2592e19f37
|
use EXCLUDE constant from marshmallow.utils instead of a string
|
2022-08-19 17:09:06 +00:00 |
Alain St-Denis
|
5d59e92540
|
changes to address comments made to merge request #167
|
2022-08-19 17:08:55 +00:00 |
Alain St-Denis
|
2aa0d161ab
|
enable inbound profile updates
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
8c6bd7e160
|
fix extract_mentions for outgoing payloads
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
441bbaeef0
|
Forgot to process the inline property. Hack added to @context for epicyon payloads
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
2d8f3633f1
|
forgot to add the cache param to rerieve_remote_content
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
ff25a88112
|
Revert to request_cache monkey patching, take #2. Catch KeyError in model_to_objects.
Run extract_receivers for unsupported objects.
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
569e432844
|
Revert to requests_cache monkey patching. Add per request cache control.
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
f3295caad2
|
hack to promote Pleroma source property to a dict
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
974e30b9cb
|
log requests_cache hits
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
f8c4892dfa
|
let socialhome process the reply fid extracted from reply collections
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
62da6298f2
|
wip. enable more content: peertube video payloads as Posts, audio and video media, reply collection processing
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
3c6d977e3a
|
add base and AP audio and video classes and process these objects
rebased on the test jsonld-processing branch commit (666951a )
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
6678fc5159
|
update changelog. do not verify http signature without a public key. catch http signature exceptions.
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
33660b8557
|
thanks to failing tests, made django config access more robust
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
7980f2c5cc
|
rewrote update_context to make it (hopefully) more robust
added django federation user to enable http signature on get requests
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
4c18ce72f6
|
fix misuses of the len builtin. improve collection handling.
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
23907c77ba
|
argh, forgot to move django's get_configuration
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
c2759b4768
|
well, it seems setup.py doesn't want third party imports in federation/__init__.py. moved request_cache setup to utils/___init__.py
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
c103126c87
|
pull redis config from django, move requests_cache setup to __init__
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
8ff538facf
|
fix html string literals in tests and mixins.py for bleach 5.0.0
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
439b09f3cd
|
pep8 code formatting
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
085583e81e
|
improve context massaging to allow for more AP implementations (namely hubzilla, litepub and misskey).
all properties are now using snake case.
pep8 code formatting.
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
38dc2d82a0
|
use jsonld collections with extract_receivers
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
387a9b4a9f
|
Fix a few logic errors
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
a46c8af22e
|
Update tox.ini for python 3.10
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
60436e92e0
|
Update .gitlab-ci.yml file for python 3.10
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
55061f9147
|
autospec=True causes a test to fail. Removed it and adjusted the assert_called_once_with args
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
ed973a0681
|
removed schema.py, replaed with models.py
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
8c7b385591
|
removed debug prints. switch request_cache to its default backend (sqlite) for now
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
c0bec2ba26
|
some tests and fixtures need updates to succeed with the jsonld processor
|
2022-08-19 17:06:16 +00:00 |
Alain St-Denis
|
05334870b6
|
switching from JsonLDSchema to JsonLDAnnotation, hopefully making the code easier to read
|
2022-08-19 17:06:15 +00:00 |
Alain St-Denis
|
05aa678cf2
|
Rearranged code in schemas.py with the hope to make it more legible
|
2022-08-19 17:06:15 +00:00 |
Alain St-Denis
|
b6cad12586
|
Rearrrange code to minimize changes outside schemas.py. Added more AP objects
|
2022-08-19 17:06:15 +00:00 |
Alain St-Denis
|
7ad99450e6
|
Make Follow/Unfollow functional. Work on Post/Comment/Accept
|
2022-08-19 17:06:15 +00:00 |
Alain St-Denis
|
4a71ffb16f
|
add calcmus and requests-cache dependendies
|
2022-08-19 17:06:15 +00:00 |
Alain St-Denis
|
36d9a7c092
|
WIP process AP payloads with a json-ld processor (calamus)
|
2022-08-19 17:06:15 +00:00 |
Alain St-Denis
|
bb6cc724f3
|
Merge branch 'more-content' into 'master'
Add audio and video media objects and much more.
See merge request jaywink/federation!168
|
2022-08-19 17:01:44 +00:00 |