Wykres commitów

730 Commity (ld-signatures)

Autor SHA1 Wiadomość Data
Alain St-Denis 0c4f8218c7 Make Announce and Delete payloads LD signable. 2023-03-30 11:25:58 -04:00
Alain St-Denis 90db138f62 Prevent infinite recursion by not checking retrieved profile signatures. 2023-03-27 08:44:48 -04:00
Alain St-Denis 59d5e99d23 Objects extracted from collections don't have _source_object set. 2023-03-26 17:32:18 -04:00
Alain St-Denis e7d954b788 Fixes to address the reviewer's comments. Where appropriate, align with existing code structure. 2023-03-26 14:47:40 -04:00
Alain St-Denis 26f93ec1be Update changelog. 2023-03-25 08:24:30 -04:00
Alain St-Denis 2f4a3e9c16 Merge branch 'master' into ld-signatures 2023-03-25 07:12:31 -04:00
Alain St-Denis 41785c2fdc Refactor jsonld context management. Move LD signing to entities/activitypub. Move jsonld document_loader caching to __init__.py. Fix tests. 2023-03-24 18:34:15 -04:00
Jason Robinson 05105e5c46 Release 0.24.1 2023-03-18 02:08:28 +02:00
Jason Robinson e3474ce284 Explicitly set version in docs/conf.py 2023-03-18 02:06:17 +02:00
Jason Robinson 73b21a688b Remove sphinx specific config part 2023-03-18 02:03:35 +02:00
Jason Robinson b8a6270241 Build docs on python 3.9 2023-03-18 01:59:18 +02:00
Jason Robinson f76f862ddb Release 0.24.0 2023-03-18 01:53:23 +02:00
Alain St-Denis 913bc300df Catch TypeError for import_key. 2023-03-14 20:39:31 -04:00
Alain St-Denis 0d42bb7018 Implement LD signatures for outbound payloads. 2023-03-14 20:20:44 -04:00
Alain St-Denis f787c2f998 Truncate zeros for XSD_DOUBLE values. 2023-03-14 16:03:57 -04:00
Alain St-Denis 3e0259a35e Turn float values with a zero fraction to integers. 2023-03-14 12:47:39 -04:00
Alain St-Denis d27f38dee5 Return if a profile can't be retrieved. 2023-03-13 07:46:38 -04:00
Alain St-Denis 4d923fc0b4 Actually call verify_ld_signature. 2023-03-12 17:36:23 -04:00
Alain St-Denis 9b10ef6779 Add funcy to the reqs 2023-03-12 17:20:16 -04:00
Alain St-Denis 012db475e1 Implement LD signature verification. 2023-03-12 17:15:47 -04:00
Alain St-Denis 49b29f6ab4 Initial commit 2023-03-12 10:11:37 -04:00
Alain St-Denis 38fd38101f Merge branch 'various-fixes' into 'master'
Various low hanging fruit fixes

See merge request jaywink/federation!174
2023-03-12 14:01:18 +00:00
Alain St-Denis 6dc2553197 Improve a misleading comment. 2023-03-12 09:54:50 -04:00
Alain St-Denis 81c5356c41 Re-arrange changelog updates. 2023-03-11 20:10:36 -05:00
Alain St-Denis bf69c74a63 Changelog updates. 2023-03-11 18:38:56 -05:00
Alain St-Denis 7bcb1694d4 Revert "Append #nfsw when the AP sensitive property is true."
This reverts commit 1ca67c987e.
2023-03-11 18:05:20 -05:00
Alain St-Denis c574f69adc Test for the Accept activity on Follow objects. If true, return the Accept activity from to_base. 2023-03-01 16:42:09 -05:00
Alain St-Denis 9f1cc9432f endpoint, not endpoints... 2023-02-27 16:51:09 -05:00
Alain St-Denis 8d8e10b7b3 Optimize handle_send by ensuring a payload is sent only once per endpoint. 2023-02-25 11:53:44 -05:00
Alain St-Denis 1ca67c987e Append #nfsw when the AP sensitive property is true. 2023-02-25 11:05:29 -05:00
Alain St-Denis 654a8e4396 Validate the actor_id (AP attributedTo) property. 2023-02-24 08:30:44 -05:00
Alain St-Denis 3798d9ddb9 Strip query from Hashtag objects href property for platform that don't use the same href in the content (pixelfed). 2023-02-22 15:08:22 -05:00
Alain St-Denis 0e9a74e088 Define all Mastodon extensions in patch_context for platforms that assume http://joinmastodon.org/ns is a json-ld document (or just don't care). 2023-02-22 12:43:49 -05:00
Alain St-Denis 492601c32d Catch cases when a CollectionPage next attribute point back to a Collection object. 2023-02-22 12:06:01 -05:00
Alain St-Denis f84b83cb5c Change the url property field so that Link objects are processed properly. 2023-02-22 11:43:55 -05:00
Alain St-Denis 0688e83240 The tag property can also include Emoji objects. Limit to Hashtag. 2023-02-21 16:25:54 -05:00
Alain St-Denis db0b545f24 Try matching against Hashtag objects href property in remove_tag_links. 2023-02-21 10:03:25 -05:00
Alain St-Denis daa742124d Merge branch 'fix-outbound-accept' into 'master'
Fix broken outbound automatic Accept of a Follow request.

Closes socialhome#619

See merge request jaywink/federation!173
2023-02-20 22:25:18 +00:00
Alain St-Denis 31e8c9d4c7 Revert a change that doesn't fix anything and s
doesn't belong in this PR.
2023-02-20 08:00:20 -05:00
Alain St-Denis 342a239148 Fix broken outbound automatic Accept of a Follow request. Fixes https://gitlab.com/jaywink/socialhome/-/issues/619. 2023-02-20 07:23:42 -05:00
Jason Robinson 8515d538e8 Release v0.23.1 2023-02-08 16:27:47 +01:00
Jason Robinson 449ea99e97 Switch python-httpsig-socialhome dependency to PyPi packaged version 2023-02-08 16:27:24 +01:00
Jason Robinson 1603fd7bf7 Release v0.23.0 2023-02-08 11:27:08 +01:00
Jason Robinson ae720f66b2 Update readme note on AP stabiity and setup.py Python versions 2023-02-08 11:24:49 +01:00
Jason Robinson 288325857a Add http_cache.sqlite to .gitignore 2023-02-08 11:19:34 +01:00
Alain St-Denis 0051cee3eb Merge branch 'local-signing' into 'master'
Make sure AP post requests are signed by a local user when forwarding.

See merge request jaywink/federation!172
2023-02-06 14:13:11 +00:00
Alain St-Denis 5b560efded update changelog and doc string. django now throws a ModuleNotFound error when it's config can't be found. Catch it. 2023-02-06 09:03:22 -05:00
Alain St-Denis b3c97fc701 make sure requests are signed by a local user. 2023-02-05 12:29:20 -05:00
Alain St-Denis 1c188fc878 do not cache reply collections. properly handle AP payloads where the attributedTo property is an array 2023-02-01 15:40:34 +00:00
Alain St-Denis f75dbebb95 Merge branch 'fix-like-payload' into 'master'
Make sure AP Like objects are noops.

See merge request jaywink/federation!171
2023-01-22 13:01:49 +00:00