This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
create support user #4141
Merged
Merged
create support user #4141
Changes from 65 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
a481435
WIP creating and filtering support user
neilisfragile 0bfd8ee
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile c8e1bb6
move to using config.support_user_id
neilisfragile e9dbd02
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile 32b8971
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile 0ee8d1b
wip tests to filter out support user
neilisfragile 1d0a5ab
Merge branch 'neilj/create_support_user' of github.com:matrix-org/syn…
neilisfragile cdb3aae
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile 158eccd
test suppoer user filtering
neilisfragile 9d045fe
tc
neilisfragile 76081eb
ensure support user created if does not exist
neilisfragile 8964009
remove unused variable localpart
neilisfragile 5032076
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile 0e962f5
fix py2/3 incompatibility
neilisfragile 373a461
remove need to create support user in homeserver
neilisfragile 6f19edb
fix misnamed var
neilisfragile bccbdb8
replace is with ==
neilisfragile d8b1f51
remove unused dependency
neilisfragile b7d1f0d
remove unused import
neilisfragile 4254033
update description due to change in desired behaviour
neilisfragile 06a3ec8
replace filter with list comp to aid py2 py3 compat, make test more p…
neilisfragile f217b5f
fix case where auto creation of rooms should never auto create for su…
neilisfragile 12d09ac
tiday up cruft
neilisfragile 7430a87
remove white space
neilisfragile eaac29f
move to db backed support user
neilisfragile eae8d4a
add db support for support user
neilisfragile 45e0b9d
implementation and tests for db backed support user
neilisfragile cf10ca9
remove errant prints
neilisfragile a54aaf4
fix boolean typing
neilisfragile 22418bc
remove unneeded sql
neilisfragile 3121f04
wip - move support user logic into handler from storage
neilisfragile c708296
fix unit tests
neilisfragile b01271a
tweak tests and tidy
neilisfragile add1488
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile b58bf8d
tests for support user behaviour
neilisfragile 3f5fe16
test support user behaviour
neilisfragile ce27b1c
clean up
neilisfragile eab8843
improve docstring
neilisfragile ded5774
fix py2 Mock dep
neilisfragile 44539df
Merge branch 'develop' into neilj/create_support_user
neilisfragile 255515b
isort
neilisfragile 65b4a21
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile 40771ff
remove line
neilisfragile 6ae725a
fix race condition
neilisfragile 430ea68
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile b620f0a
fix reference to unused config.support_user_id
neilisfragile 628c96e
Merge branch 'develop' into neilj/create_support_user
neilisfragile 6574fdd
add in missing @defer.inlineCallbacks to test_auto_create_auto_join_w…
neilisfragile 0dae671
allow creation of support users via the admin register api
neilisfragile 33dfdd1
improved comments
neilisfragile 868a72b
check for support users in _initialise_reserved_users. Remove unneces…
neilisfragile 77a4163
Merge branch 'develop' into neilj/create_support_user
neilisfragile 04f197d
fix merge conflict
neilisfragile 1f0075e
linting
neilisfragile 179ad1e
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/cr…
neilisfragile 936b554
change logic to be more explicit in _handle_deltas since order of che…
neilisfragile da3b125
fix log context leak
neilisfragile 87cd017
add user_type validation and hmac support to admin registraion api
neilisfragile 868cb6b
missing yield in test_is_support_user
neilisfragile d6d0401
style
neilisfragile b7c35d9
make user_type arg in admin registration api backward compatible
neilisfragile 151d5c5
Update synapse/handlers/register.py
richvdh 3ddd991
Update synapse/rest/client/v1/admin.py
richvdh d09cc1d
Update synapse/storage/registration.py
richvdh a7bb9bc
pep8
neilisfragile 2adb5fc
fix doc typo
neilisfragile 26a5c5f
remove trailing white space
neilisfragile 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Special-case a support user for use in verifying behaviour of a given server. The support user does not appear in user directory or monthly active user counts. |
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
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
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
Oops, something went wrong.
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.
this needs to be conditional :/