Till Faelligen
3f49a9d2dc
Update GMSl
2023-06-28 09:08:00 +02:00
Till Faelligen
5a159fa64e
Handle pseudo identity room federated joins
2023-06-28 09:08:00 +02:00
Till Faelligen
a33ef5b380
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/mxidmapping
2023-06-28 08:56:30 +02:00
santhoshivan23
45082d4dce
feat: admin APIs for token authenticated registration ( #3101 )
...
### Pull Request Checklist
<!-- Please read
https://matrix-org.github.io/dendrite/development/contributing before
submitting your pull request -->
* [x] I have added Go unit tests or [Complement integration
tests](https://github.com/matrix-org/complement ) for this PR _or_ I have
justified why this PR doesn't need tests
* [x] Pull request includes a [sign off below using a legally
identifiable
name](https://matrix-org.github.io/dendrite/development/contributing#sign-off )
_or_ I have already signed off privately
Signed-off-by: `Santhoshivan Amudhan santhoshivan23@gmail.com`
2023-06-22 16:37:21 +00:00
Till
a734b112c6
Fix backfilling ( #3117 )
...
This should fix two issues with backfilling:
1. right after creating and joining a room over federation, we are doing
a `/backfill` request, which would return redacted events, because the
`authEvents` are empty. Even though the spec states that, in the absence
of a history visibility event, it should be handled as `shared`.
2. `gomatrixserverlib: unsupported room version ''` - because, well, we
were never setting the `roomInfo` field..
2023-06-20 16:52:29 +02:00
CicadaCinema
d13466c1ee
rearrange order of sections about signing keys and configuring dendrite, fix a dead link ( #3114 )
...
I thought I would rearrange these pages since the configuration step
requires that a signing key has been generated.
Co-authored-by: kegsay <kegan@matrix.org>
2023-06-18 22:54:16 +01:00
Till Faelligen
52c888c507
Update GMSL
2023-06-16 12:54:00 +02:00
Till Faelligen
f2e9815248
Change the powerlevels from userID -> senderID
2023-06-16 12:53:34 +02:00
Till Faelligen
45003cc564
Also set the prev_content, if present
2023-06-16 09:32:30 +02:00
Till Faelligen
75ffbc6aa7
Linter
2023-06-15 18:11:10 +02:00
Till Faelligen
708e95090a
Update GMSL
2023-06-15 18:05:40 +02:00
Till Faelligen
31609d62fe
Replace senderID with userID in powerlevel events, workaround invites
2023-06-15 18:04:31 +02:00
Till Faelligen
b4d5c837dd
Update test
2023-06-15 15:02:40 +02:00
Till Faelligen
0f305500a6
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/mxidmapping
2023-06-15 14:49:21 +02:00
Till Faelligen
4406c85c98
Merge main, fix issues
2023-06-15 14:48:21 +02:00
Till Faelligen
e6fd65b8fc
Fix empty senderID
2023-06-15 14:05:56 +02:00
Till Faelligen
07960a5efc
Cleanup, fix test
2023-06-15 14:05:26 +02:00
Josh Qou
420e7ec81f
Fix unsafe hotserving behaviour for multimedia uploads. ( #3113 )
...
Return multimedia with a disposition type of attachment instead of
inline. NVT#1548992
Signed-off-by: Josh Qou [jqou@icloud.com ](mailto:jqou@icloud.com)
Co-authored-by: Jon <haddock.05.roast@icloud.com>
2023-06-15 12:28:34 +01:00
Till Faelligen
7f41a6a3f0
Update GMSL
2023-06-15 13:25:02 +02:00
Till Faelligen
8f967e5f52
Partially working pseudo IDs
2023-06-15 13:24:58 +02:00
Till Faelligen
b655017b07
Workaround problem with senderID/userID
2023-06-15 13:20:28 +02:00
Till Faelligen
fd999253ef
Correctly resolve userID
2023-06-15 09:37:07 +02:00
Devon Hudson
8cf6c381e2
Fix senderID/key conversion unit tests
2023-06-14 17:11:27 +01:00
Devon Hudson
3f4df25b31
Add missing dep
2023-06-14 17:04:19 +01:00
Devon Hudson
5aaa539e3e
Fix senderID/key conversions
2023-06-14 16:42:09 +01:00
Till Faelligen
93a2687ad2
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/mxidmapping
2023-06-14 17:08:06 +02:00
Till Faelligen
34ab4d11ed
Get signing identity depending on the room version
2023-06-14 16:58:20 +02:00
devonh
e4665979bf
Merge SenderID & Per Room User Key work ( #3109 )
2023-06-14 14:23:46 +00:00
Till Faelligen
50615c7609
Sign MXIDMapping for join events
2023-06-14 09:39:32 +02:00
Till Faelligen
781bd80c2c
Update GMSL
2023-06-13 18:10:39 +02:00
Till Faelligen
d63685af4c
Add MXIDMapping for pseudoID rooms, also sign with the pseudoIDKey
2023-06-13 18:05:28 +02:00
Till
7a2e325d10
Add AssignRoomNID to pre-assign roomNIDs ( #3111 )
2023-06-13 16:28:41 +02:00
Till
2c87972a3a
Create user room key if needed ( #3108 )
2023-06-13 14:19:31 +02:00
Till
82b73a4906
Add sender_key to ClientEvent ( #3110 )
2023-06-13 12:50:22 +02:00
devonh
77d9e4e93d
Cleanup remaining statekey usage for senderIDs ( #3106 )
2023-06-12 11:19:25 +00:00
Till
832ccc32f6
Add initial support for storing user room keys ( #3098 )
2023-06-12 12:45:42 +02:00
Antonio Cheong
5713c5715c
Update sample link ( #3107 )
...
Leftover work by f956a8c1d9
Signed-off-by: `Antonio Cheong <acheong@student.dalat.org>`
[skip ci]
2023-06-12 10:51:26 +02:00
devonh
8ea1a11105
Use SenderID Type ( #3105 )
2023-06-07 17:14:35 +00:00
devonh
7a1fd7f512
PDU Sender split ( #3100 )
...
Initial cut of splitting PDU Sender into SenderID & looking up UserID where required.
2023-06-06 20:55:18 +00:00
Till
725ff5567d
Make StrictValidityChecking a function ( #3092 )
...
Companion PR to https://github.com/matrix-org/gomatrixserverlib/pull/388
2023-06-06 15:16:55 +02:00
Till
d11da6ec7c
Fix newly found linter issues ( #3099 )
...
Fixes the issues found in
https://github.com/matrix-org/dendrite/actions/runs/5155539352/jobs/9285342056#step:5:22 .
Only naked returns in longer functions.
2023-06-02 15:48:04 +02:00
devonh
ea6b368ad4
Move Invite logic to GMSL ( #3086 )
...
This is both the federation receiving & sending side logic (which were
previously entangeld in a single function)
2023-05-31 16:33:49 +00:00
devonh
cbdc601f1b
Move CreateRoom logic to Roomserver ( #3093 )
...
Move create room logic over to roomserver.
2023-05-31 15:27:08 +00:00
Till
61341aca50
Add tests for the UpDropEventReferenceSHAPrevEvents migration ( #3087 )
...
... as they could fail if there are duplicate events in
`roomserver_previous_events`.
This fixes the migration by trying to combine the `event_nids` if
possible (same room) as mentioned by @kegsay in
https://github.com/matrix-org/dendrite/pull/3083#discussion_r1195508963
2023-05-30 18:05:48 +02:00
Till
3dcca4017c
Fix potential state reset when trying to join a room ( #3040 )
...
When trying to join a room in short sequence, it is possible that a
state reset occurs. This fixes it by using `singleflight`.
2023-05-30 15:27:11 +02:00
Till
f956a8c1d9
Docs restructure ( #2953 )
...
Needs to be merged into `gh-pages` later on.
2023-05-30 10:02:53 +02:00
Till
11b557097c
Drop reference_sha column ( #3083 )
...
Companion PR to https://github.com/matrix-org/gomatrixserverlib/pull/383
2023-05-24 12:14:42 +02:00
Till
5d6221d191
Move MakeLeave to GMSL ( #3085 )
...
Basically the same API shape as for `/make_join`
https://github.com/matrix-org/gomatrixserverlib/pull/385
2023-05-23 19:37:04 +02:00
devonh
2eae8dc489
Move SendJoin logic to GMSL ( #3084 )
...
Moves the core matrix logic for handling the send_join endpoint over to
gmsl.
2023-05-19 16:27:01 +00:00
Devon Hudson
027a9b8ce0
Fix bug with nil interface return & add test
2023-05-18 13:41:47 -06:00