Wykres commitów

805 Commity (master)

Autor SHA1 Wiadomość Data
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
Alain St-Denis 6339c58268 make sure AP Like objects are a noop 2023-01-21 17:49:58 +00:00
Alain St-Denis 420292679f Merge branch 'http-signature' into 'master'
Update http signatures processing

See merge request jaywink/federation!170
2023-01-21 15:35:48 +00:00
Alain St-Denis 52c96532dc Update http signatures processing 2023-01-21 15:35:48 +00:00
Alain St-Denis a4019d88f9 Merge branch 'jsonld-outbound' into 'master'
Render Activitypub outbound payloads with calamus.

See merge request jaywink/federation!169
2023-01-07 15:59:38 +00:00
Alain St-Denis 9df803dafe Render Activitypub outbound payloads with calamus. 2023-01-07 15:59:38 +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
Alain St-Denis 58c8f95e54 Add audio and video media objects and much more. 2022-08-19 17:01:44 +00:00
Jason Robinson 662e2964b6 Feneas GitLab -> GitLab.com updates 2022-06-05 02:50:09 +03: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
Jason Robinson 5c79a5d1cb List tag rooms in room directory on creation 2021-05-03 23:49:36 +03:00
Jason Robinson 2714f6a973 Ensure tag room gets an alias
Also add link to tags stream in topic if configured.
2021-05-03 23:30:39 +03:00
Jason Robinson b7e6181594 Start creating tag rooms and carbon copying posts to them based on the tags they contain
This happens for public posts only. Post author appservice users will be invited to the rooms.
2021-05-02 23:18:05 +03:00
jaywink a64107da85 Merge branch 'matrix/create-missing-profiles' into 'master'
Ensure missing profiles are created on Matrix side

Closes #126 and #127

See merge request jaywink/federation!165
2021-05-02 19:29:05 +00:00
Jason Robinson d44e2e3c8f Make user own the Matrix profile room
Avoids needing to join it.
2021-05-02 22:27:40 +03:00
Jason Robinson 1d782f5f5a Remove a comment 2021-05-02 02:47:09 +03:00
Jason Robinson a82f75822e Revert invite in thread room creation 2021-05-02 02:46:54 +03:00
Jason Robinson ca521d4a03 Try again for room join 2021-05-02 02:20:26 +03:00
Jason Robinson a4228242de Tag thread rooms as low priority
So Element and other clients that respect tags don't clutter rooms should the appservice user use a client.
2021-05-02 01:49:07 +03:00
Jason Robinson 7973f3e87c Ensure joined to profile and thread rooms
Closes #126
2021-05-02 01:48:20 +03:00
Jason Robinson 448c8cd780 Ensure Matrix register call happens earlier
We need to register the user via the appservice before going on to the thread room creation later in MatrixRoomMessage.pre_send.
2021-05-02 01:15:46 +03:00
Jason Robinson fbaee66da8 Ensure missing profiles are created on Matrix side
If we try to send a Post to the Matrix appservice, missing profiles need creating.

Closes #127
2021-05-02 00:41:39 +03:00
Jason Robinson d5938186ac Make unique_recipients a list 2021-04-28 23:10:42 +03:00