Commit graph

446 commits

Author SHA1 Message Date
Roman Isaev
b8ea41b2ad
tests for sessionsDict.crossSigningKeysReplacement 2025-01-25 02:02:24 +00:00
Roman Isaev
c1ad175178
more test fixes 2025-01-25 01:08:52 +00:00
Roman Isaev
27f7a5e3eb
mas: fix tests 2025-01-25 00:56:19 +00:00
Roman Isaev
453445695c
mas: store crossSigngingKeysReplacement period in sessionsDict struct instead of db 2025-01-24 23:31:46 +00:00
Roman Isaev
a185027fda
cr fixes 2025-01-23 02:45:56 +00:00
Roman Isaev
bf31c44298
more fixes 2025-01-23 01:58:49 +00:00
Roman Isaev
8a05a66cd7
code review fixes 2025-01-23 01:25:04 +00:00
Roman Isaev
17b7677071
fix typo in api.QueryAccessTokenAPI 2025-01-22 22:50:37 +00:00
Roman Isaev
641f5b54f8
mas: todo comment 2025-01-17 03:45:25 +00:00
Roman Isaev
021431c710
mas: fix key_crosssigning_test.go 2025-01-17 03:24:07 +00:00
Roman Isaev
b44f899637
mas: cross signing fixes after merge 2025-01-17 02:56:17 +00:00
Roman Isaev
6833e99558
Merge branch 'main' of github.com:element-hq/dendrite into msc3861 2025-01-17 02:55:30 +00:00
Till
7f4ba1f6eb
MSC3967: Do not require UIA when first uploading cross signing keys (#3471)
Playing around with Copilot, tests are generated.

Requires https://github.com/matrix-org/gomatrixserverlib/pull/444
2025-01-16 22:43:50 +01:00
Roman Isaev
3619a6de8d
mas: refactoring 2025-01-15 19:35:24 +00:00
Roman Isaev
418c584e40
mas: TestAdminAllowCrossSigningReplacementWithoutUIA 2025-01-15 18:54:59 +00:00
Roman Isaev
5dd8568ecd
mas: TestAdminCreateOrModifyAccount 2025-01-15 15:41:11 +00:00
Roman Isaev
e8902dad02
mas: TestAdminRetrieveAccount 2025-01-15 13:30:47 +00:00
Roman Isaev
4193b7b197
mas: TestAdminDeactivateAccount 2025-01-15 13:12:13 +00:00
Roman Isaev
0db7647f46
mas: TestAdminUserDevicesDelete 2025-01-15 13:02:28 +00:00
Roman Isaev
f1de5aa838
mas: TestAdminUserDeviceDelete 2025-01-15 12:14:14 +00:00
Roman Isaev
59f73b1ff6
mas: TestAdminUserDeviceRetrieveCreate 2025-01-15 04:00:18 +00:00
Roman Isaev
90e3de3223
mas: TestAdminCheckUsernameAvailable 2025-01-15 03:21:12 +00:00
Roman Isaev
930daa1090
mas: move org.matrix.cross_signing_reset const from logintypes.go to key_crosssigning.go 2025-01-10 00:51:29 +00:00
Roman Isaev
0990676466
linter fixes 2025-01-09 01:29:57 +00:00
Roman Isaev
fb15db7f7a
unit tests fix 2025-01-08 10:11:27 +00:00
Roman Isaev
7eec60e2ef
mas: reorganise endpoints 2025-01-07 02:28:20 +00:00
Roman Isaev
811a504e01
mas: handle 3pids from mas 2025-01-06 03:19:47 +00:00
Roman Isaev
5cffc2c257
mas: fix displayname handling 2025-01-06 03:18:31 +00:00
Roman Isaev
cc7deb22ad
mas: added support of msc3861 to /keys/device_signing/upload endpoint
this change is based mostly on changes made in synapse https://github.com/element-hq/synapse/blob/develop/synapse/rest/client/keys.py#L392
2025-01-05 02:42:20 +00:00
Roman Isaev
9b064b1572
minor refactoring 2025-01-05 02:38:07 +00:00
Roman Isaev
48f3cd3367
mas: added /admin/v1/deactivate/{userID} endpoint 2025-01-05 02:35:37 +00:00
Roman Isaev
c06e0aa206
refactor logger calls 2025-01-05 02:24:40 +00:00
Roman Isaev
803cce882f
mas: added admin's delete devices endpoint 2025-01-01 02:26:15 +00:00
Roman Isaev
f4ff4266f5
mas: refactor admin user device handler 2025-01-01 00:37:03 +00:00
Roman Isaev
ff63e7fa98
mas: modify PUT /profile/{userID}/displayname endpoint
Extended logic of the endpoint in order to make it compatible with
MAS
2024-12-30 20:40:00 +00:00
Roman Isaev
be8d490e56
mas: implemented PUT /admin/v2/users/{userID} endpoint
MAS requires this endpoint to fetch the data for the account management page
2024-12-30 17:14:04 +00:00
Roman Isaev
9d9841d02e
mas: added "admin's replacement without uia" endpoint
i.e. /_synapse/admin/v1/users/{userID}/_allow_cross_signing_replacement_without_uia
2024-12-30 13:34:21 +00:00
Roman Isaev
63a199cec3
mas: first successful attempt of login with via mas 2024-12-29 23:53:37 +00:00
Roman Isaev
e1dfe62b20
mas: rename msc2965 to msc3861 2024-12-22 00:35:04 +00:00
Roman Isaev
2c47959600
mas: added username_available endpoint 2024-12-22 00:23:25 +00:00
Roman Isaev
ba542fedcd
mas: added /auth_issuer endpoint 2024-12-21 01:00:13 +00:00
Neil
72039f651e
Update dependencies (#3449)
Signed-off-by: Neil Alexander <git@neilalexander.dev>

---------

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2024-12-15 11:27:27 +01:00
Johannes Marbach
7acf32f24d
Add via parameter on join room requests as per MSC4156 (#3441)
This implements
[MSC4156](https://github.com/matrix-org/matrix-spec-proposals/pull/4156)
which will ship with Matrix 1.12 and is the continuation of
https://github.com/matrix-org/dendrite/pull/3438.

### Pull Request Checklist

<!-- Please read
https://matrix-org.github.io/dendrite/development/contributing before
submitting your pull request -->

* [ ] 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: Johannes Marbach <n0-0ne+github@mailbox.org>

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
Co-authored-by: Till <2353100+S7evinK@users.noreply.github.com>
2024-12-09 20:31:20 +01:00
Till Faelligen
11b48749bf
Fix linting 2024-11-14 16:40:08 +01:00
Quentin Gliech
075b236155
Update the license headers to mention the commercial license 2024-10-18 16:14:08 +02:00
Quentin Gliech
891950f7b6
Replace references to the repository 2024-10-17 17:34:12 +02:00
Quentin Gliech
6e6c3de0a6
Rename the go package
github.com/matrix-org/dendrite to github.com/element-hq/dendrite
2024-10-17 17:33:45 +02:00
Quentin Gliech
8b769d2cc4
Fixup missed license headers 2024-10-17 17:21:25 +02:00
Quentin Gliech
6bfe946bd2
Update the copyright headers in all files 2024-10-17 17:16:37 +02:00
Till
7a4ef240fc
Implement MSC3916 (#3397)
Needs https://github.com/matrix-org/gomatrixserverlib/pull/437
2024-08-16 12:37:59 +02:00