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
Jason Robinson
63b7970c8f
Add some debug
2021-04-28 23:02:05 +03:00
Jason Robinson
9244e96682
Changelog for handle_send fix
2021-04-28 22:19:25 +03:00
Jason Robinson
3b8d90cf99
Don't crash outbound.handle_send if payload fails to be generated and parent_user is None
2021-04-28 22:15:32 +03:00
jaywink
cc6dd1cc43
Merge branch 'emulate-cerulean' into 'master'
...
Emulate Cerulean by creating a thread room for each top level post
See merge request jaywink/federation!164
2021-01-02 00:09:14 +00:00
Jason Robinson
36443e85a2
Emulate Cerulean by creating a thread room for each top level post
2021-01-02 01:48:35 +02:00
jaywink
6b3e17083a
Merge branch 'images-to-matrix' into 'master'
...
Support images to Matrix
See merge request jaywink/federation!163
2021-01-01 01:29:47 +00:00
Jason Robinson
2fe45a35f0
Delete the temp file after uploading
2021-01-01 03:02:31 +02:00
Jason Robinson
e4db91503b
Fetch and upload embedded images before sending to Matrix
2021-01-01 02:48:40 +02:00
Jason Robinson
82ac0ce3cf
Refactor up the embedded image recognition code from ActivityPub AttachImagesMixin to the base RawContentMixin so Matrix can use that too to upload images pre sending.
2020-12-29 23:12:06 +02:00
Jason Robinson
4566b252a1
Changelog for images in markdown fix
2020-12-27 23:08:36 +02:00
Jason Robinson
f512d8a9dc
Make IDE linter happier in some touched files
2020-12-27 23:04:55 +02:00
Jason Robinson
0bfadd059e
Additional test while hunting for the image delivery bug
2020-12-27 22:59:40 +02:00
Jason Robinson
33c6edac7f
Fix wrongly linkified image urls with markdown AP content
...
When we get a Markdown source in AP, we prefer that over HTML. Our linkifying of urls however should not be run in this case, we want the markdown to be as it was sent.
Fixes broken images between Socialhome instances.
2020-12-27 22:59:21 +02:00
Jason Robinson
e55f13a117
Fix tests
2020-12-27 17:24:27 +02:00
Jason Robinson
48373ad615
Room events are PUT not POST
2020-12-27 02:07:42 +02:00
Jason Robinson
ccd975ce46
Actually fix profile room ID lookup
2020-12-27 01:55:55 +02:00
Jason Robinson
8797a08c02
Fix profile room ID lookup and make code more DRY
2020-12-27 01:43:41 +02:00
Jason Robinson
c40194da95
Support Post entities on Matrix side into profile rooms
2020-12-27 01:10:31 +02:00
Jason Robinson
0abb33a4fb
Merge branch 'matrix-delivery'
2020-12-27 00:39:00 +02:00
Jason Robinson
49e5f0a511
Don't crash on outbound_send if matrix payload has no method
2020-12-27 00:29:13 +02:00