-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSC3861: MAS support #3493
Open
mdnight
wants to merge
80
commits into
element-hq:main
Choose a base branch
from
mdnight:msc3861
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
MSC3861: MAS support #3493
Changes from 1 commit
Commits
Show all changes
80 commits
Select commit
Hold shift + click to select a range
ba542fe
mas: added /auth_issuer endpoint
mdnight 2c47959
mas: added username_available endpoint
mdnight e1dfe62
mas: rename msc2965 to msc3861
mdnight 150be58
mas: added localpart_external_ids table
mdnight 63a199c
mas: first successful attempt of login with via mas
mdnight 9d9841d
mas: added "admin's replacement without uia" endpoint
mdnight 4f406e2
minor goimports fix
mdnight b950703
mas: return correct http code
mdnight 9ebcebe
another goimports fix
mdnight be8d490
mas: implemented PUT /admin/v2/users/{userID} endpoint
mdnight 524f65c
mas: add AccountTypeOIDCService
mdnight ff63e7f
mas: modify PUT /profile/{userID}/displayname endpoint
mdnight bf310d5
drop primary key constraint from userapi_devices.access_token
mdnight f4ff426
mas: refactor admin user device handler
mdnight 803cce8
mas: added admin's delete devices endpoint
mdnight 7ffb2c1
mas: minor fixes in cross_signing_keys_table files
mdnight c06e0aa
refactor logger calls
mdnight 48f3cd3
mas: added /admin/v1/deactivate/{userID} endpoint
mdnight 9b064b1
minor refactoring
mdnight cc7deb2
mas: added support of msc3861 to /keys/device_signing/upload endpoint
mdnight 5cffc2c
mas: fix displayname handling
mdnight 811a504
mas: handle 3pids from mas
mdnight 17576cc
mas: acced msc3861 config example to the dendrite-sample.yaml
mdnight e943ba5
mas: fail if conflicts in config occur
mdnight 7eec60e
mas: reorganise endpoints
mdnight fb15db7
unit tests fix
mdnight b44a79c
Bump golang version
mdnight 7311d3e
more fixes
mdnight 0990676
linter fixes
mdnight 1afe2b9
fix cross_signing_keys_table
mdnight 244021d
deleted test cases TestDevices/sqlite/dupe_token
mdnight 78457f3
++
mdnight 80ee52e
fix syncapi tests
mdnight 930daa1
mas: move org.matrix.cross_signing_reset const from logintypes.go to …
mdnight 0be9b3c
syncapi_test.go fix
mdnight 4cde3ba
mas: add missing migration for adding x-signing updatable_without_uia…
mdnight 5ea033d
mas: remove enabled field from msc3861 config + remove some incorrect…
mdnight 5fd654f
Add TestMakeServiceAdminAPI
mdnight 5914661
mas: add TestVerifyUserFromRequest
mdnight 90e3de3
mas: TestAdminCheckUsernameAvailable
mdnight 59f73b1
mas: TestAdminUserDeviceRetrieveCreate
mdnight f1de5aa
mas: TestAdminUserDeviceDelete
mdnight 0db7647
mas: TestAdminUserDevicesDelete
mdnight 4193b7b
mas: TestAdminDeactivateAccount
mdnight e8902da
mas: TestAdminRetrieveAccount
mdnight 5dd8568
mas: TestAdminCreateOrModifyAccount
mdnight 418c584
mas: TestAdminAllowCrossSigningReplacementWithoutUIA
mdnight 3619a6d
mas: refactoring
mdnight 64f308b
mas: add missing server_name field to sqlite migration
mdnight 6833e99
Merge branch 'main' of github.com:element-hq/dendrite into msc3861
mdnight b44f899
mas: cross signing fixes after merge
mdnight 021431c
mas: fix key_crosssigning_test.go
mdnight 641f5b5
mas: todo comment
mdnight 7d076a9
Merge branch 'main' into msc3861
mdnight 17b7677
fix typo in api.QueryAccessTokenAPI
mdnight 8a05a66
code review fixes
mdnight ea875b3
Merge branch 'msc3861' of github.com:mdnight/dendrite into msc3861
mdnight bf31c44
more fixes
mdnight a185027
cr fixes
mdnight b5f34df
fix test
mdnight 4534456
mas: store crossSigngingKeysReplacement period in sessionsDict struct…
mdnight 0b4cf3b
mas: revert cross_signing_keys.updatable_without_uia_before_ms field …
mdnight 27f7a5e
mas: fix tests
mdnight c1ad175
more test fixes
mdnight b8ea41b
tests for sessionsDict.crossSigningKeysReplacement
mdnight ba919d7
Merge branch 'main' into msc3861
mdnight 6a741b2
Merge branch 'main' into msc3861
mdnight 9ab9a8d
Merge branch 'main' into msc3861
mdnight 8d39801
Merge branch 'main' into msc3861
mdnight 0924e99
Merge branch 'main' into msc3861
mdnight 8df6442
msd3861: added license headers for the new files
mdnight 3eb4c7e
msc3861: cr fixes
mdnight f91cc64
msc3861: cr fixes
mdnight fd52c7e
msc3861: cr
mdnight ff2ba03
msc3861: ++
mdnight c490bad
msc3861: delete QueryMasterKeys function and related as it's redundan…
mdnight 1b8a659
msc3861: tests
mdnight b74b52d
remove deprecated linters from golangci-lint
mdnight 950555a
goimports
mdnight 20b3917
msc3861: validate access_token uniqueness manually
mdnight File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
mas: added username_available endpoint
commit 2c47959600fd3df21f122023c7757e3048af8999
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even if it is invalid (maybe just a typo in the token at the end or such), better don't log it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You’re right. I should have removed the variable from the message. I forgot to change it after debugging.