Wykres commitów

718 Commity (more-content)

Autor SHA1 Wiadomość Data
Alain St-Denis 8379df74e3 merge master branch 2022-08-19 16:50:21 +00:00
Alain St-Denis cbc46334db documentation updates and clean up comments 2022-08-19 16:35:12 +00:00
Alain St-Denis 2e60c37f36 Fetch public key from Signature header keyID field for signature verification.
Use identified language tag from content_map property instead of default.
2022-07-30 15:16:20 +00:00
Alain St-Denis 273bb018d4 Cache requests only for pyld document loader 2022-07-04 14:43:42 +00:00
Alain St-Denis 9290822902 remove a debug print 2022-06-23 14:36:56 +00:00
Alain St-Denis a7642f6cc8 code robustness improvemwents. allow empty raw_content 2022-06-19 14:49:20 +00:00
Alain St-Denis bdf914ee23 fix a few tests. update changelog 2022-06-06 01:52:45 +00:00
Alain St-Denis 267c2c3f0d use EXCLUDE constant from marshmallow.utils instead of a string 2022-06-05 15:27:15 +00:00
Alain St-Denis d91088105b changes to address comments made to merge request #167 2022-06-05 14:51:57 +00:00
Alain St-Denis 97db29ab73 changes to address comments made to merge request #167 2022-06-05 14:43:42 +00:00
Jason Robinson 662e2964b6 Feneas GitLab -> GitLab.com updates 2022-06-05 02:50:09 +03:00
Alain St-Denis 621cfc23fa enable inbound profile updates 2022-05-25 02:36:45 +00:00
Alain St-Denis 26f249a68d fix extract_mentions for outgoing payloads 2022-05-21 17:51:46 +00:00
Alain St-Denis 4f6443a9f3 Forgot to process the inline property. Hack added to @context for epicyon payloads 2022-05-21 16:25:33 +00:00
Alain St-Denis d3adaf39d0 forgot to add the cache param to rerieve_remote_content 2022-05-19 14:57:19 +00:00
Alain St-Denis f46f30e61a Revert to request_cache monkey patching, take #2. Catch KeyError in model_to_objects.
Run extract_receivers for unsupported objects.
2022-05-19 12:54:46 +00:00
Alain St-Denis f95f370d0e Revert to requests_cache monkey patching. Add per request cache control. 2022-05-18 13:50:56 +00:00
Alain St-Denis d938432067 hack to promote Pleroma source property to a dict 2022-05-18 12:39:49 +00:00
Alain St-Denis 5f38b70890 log requests_cache hits 2022-05-15 22:26:39 +00:00
Alain St-Denis aebc5276a9 let socialhome process the reply fid extracted from reply collections 2022-05-15 12:34:14 +00:00
Alain St-Denis 6678c4feea wip. enable more content: peertube video payloads as Posts, audio and video media, reply collection processing 2022-05-11 13:41:13 +00:00
Alain St-Denis 9e5d5e398b add base and AP audio and video classes and process these objects
rebased on the test jsonld-processing branch commit (666951a)
2022-04-28 12:30:54 +00:00
Alain St-Denis 3236f667d4 update changelog. do not verify http signature without a public key. catch http signature exceptions. 2022-04-27 15:39:03 +00:00
Alain St-Denis 666951adc4 thanks to failing tests, made django config access more robust 2022-04-25 22:32:57 +00:00
Alain St-Denis 34f8bb0811 rewrote update_context to make it (hopefully) more robust
added django federation user to enable http signature on get requests
2022-04-25 21:31:44 +00:00
Alain St-Denis f9f94daae9 fix misuses of the len builtin. improve collection handling. 2022-04-24 14:27:54 +00:00
Alain St-Denis 6f86ea1595 argh, forgot to move django's get_configuration 2022-04-23 13:30:53 +00:00
Alain St-Denis b0fbaf1617 well, it seems setup.py doesn't want third party imports in federation/__init__.py. moved request_cache setup to utils/___init__.py 2022-04-23 13:26:06 +00:00
Alain St-Denis cd813f7ba4 pull redis config from django, move requests_cache setup to __init__ 2022-04-23 12:19:45 +00:00
Alain St-Denis 81300f8030 fix html string literals in tests and mixins.py for bleach 5.0.0 2022-04-21 13:23:05 +00:00
Alain St-Denis 02f2464542 pep8 code formatting 2022-04-20 13:50:07 +00:00
Alain St-Denis 78a4fa8aea 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-04-20 13:31:12 +00:00
Alain St-Denis e00c47ea62 use jsonld collections with extract_receivers 2022-04-13 14:55:50 +00:00
Alain St-Denis cb6b7c7abb Fix a few logic errors 2022-04-09 02:14:02 +00:00
Alain St-Denis bb186ee63d Update tox.ini for python 3.10 2022-04-05 12:37:54 +00:00
Alain St-Denis 70bc9b75ac Update .gitlab-ci.yml file for python 3.10 2022-04-05 12:27:21 +00:00
Alain St-Denis 5aed54b70e autospec=True causes a test to fail. Removed it and adjusted the assert_called_once_with args 2022-04-05 11:00:01 +00:00
Alain St-Denis 333effbcad removed schema.py, replaed with models.py 2022-04-03 13:53:54 +00:00
Alain St-Denis d12cd6eb66 removed debug prints. switch request_cache to its default backend (sqlite) for now 2022-04-03 13:27:27 +00:00
Alain St-Denis 2c88cf9023 some tests and fixtures need updates to succeed with the jsonld processor 2022-04-02 20:21:36 +00:00
Alain St-Denis 8963326d12 switching from JsonLDSchema to JsonLDAnnotation, hopefully making the code easier to read 2022-04-02 20:20:02 +00:00
Alain St-Denis 2f4e611ee0 Rearranged code in schemas.py with the hope to make it more legible 2022-03-23 13:59:45 +00:00
Alain St-Denis 6056d79ec9 Rearrrange code to minimize changes outside schemas.py. Added more AP objects 2022-03-20 14:36:02 +00:00
Alain St-Denis 66c5dea561 Make Follow/Unfollow functional. Work on Post/Comment/Accept 2022-03-17 13:18:42 +00:00
Alain St-Denis 9578c26864 add calcmus and requests-cache dependendies 2022-03-15 22:33:40 +00:00
Alain St-Denis a0282eec11 WIP process AP payloads with a json-ld processor (calamus) 2022-03-15 22:29:41 +00:00
Jason Robinson 01357aacb0 Release v0.22.0 2021-08-15 21:26:59 +03:00
jaywink 0291d9dd98 Merge branch 'matrix/start-creating-tag-rooms' into 'master'
Start creating tag rooms and carbon copying posts to them based on the tags they contain

See merge request jaywink/federation!166
2021-05-08 21:37:11 +00:00
Jason Robinson 5a940e75f5 Fix get tag room alias and create tag room
Create room needs just the local part while the directory lookup needs the full alias. Adjust as needed.
2021-05-09 00:18:28 +03:00
Jason Robinson dd102d4575 Fix get_tag_room_alias
Needs to include also the server name.
2021-05-08 23:13:49 +03:00