-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add options to disable setting profile info for prevent changes. #7053
Conversation
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.
Thanks a lot for your PR! :)
I've noticed a few issues with it, but otherwise it looks good and sounds to me like something we'd like to have in Synapse.
Also, the CI seems to be failing on your tests.
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.
Just one last bit, and then it's probably good to go :)
Co-Authored-By: Brendan Abolivier <[email protected]>
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.
Looks like it's good to go! Thanks again for your contribution :)
I'm afraid I'm going to back this out for now: the sample configuration options don't follow the conventions: in particular they should make it clear what the defaults are, and give examples ready to be uncommented. This is really, really important, because inconsistency in the sample config makes it very hard for users to understand. |
@dklimpel please could you resubmit this PR with updated text for the sample config? |
OK. I can do ist. |
…es. (matrix-org#7053)" This reverts commit 54dd286, reversing changes made to 6640460.
* commit '6a3504636': (29 commits) Revert "Add options to disable setting profile info for prevent changes. (#7053)" Populate the room version from state events (#7070) Fix buggy condition in account validity handler (#7074) Use innerText instead of innerHTML Add type annotations and comments to auth handler (#7063) Lint Put the file in the templates directory Update wording and config Changelog Move the default SAML2 error HTML to a dedicated file Refactor a bit Also don't fail on aliases events in this case Lint Changelog Also don't filter out events sent by ignored users when checking state visibility Fix condition Don't filter out dummy events when we're checking the visibility of state Update sample_config.yaml Update synapse/config/registration.py lint, fix tests ...
PR for: #5267
Code from #3179 and #3180 with additional tests
EventStore
toEventWorkerStore
.".code blocks
.Signed-off-by: Dirk Klimpel [email protected]