summary refs log tree commit diff
path: root/synapse/server_notices (follow)
Commit message (Collapse)AuthorAgeFilesLines
* run isortAmber Brown2018-07-091-1/+2
|
* Avoid sending consent notice to guest usersRichard van der Hoff2018-05-251-0/+5
| | | | we think it makes sense not to send the notices to guest users.
* Allow overriding the server_notices user's avatarRichard van der Hoff2018-05-231-3/+14
| | | | probably should have done this in the first place, like @turt2live suggested.
* Merge pull request #3271 from matrix-org/rav/consent_uri_in_messagesRichard van der Hoff2018-05-231-2/+39
|\ | | | | Support for putting %(consent_uri)s in messages
| * Support for putting %(consent_uri)s in messagesRichard van der Hoff2018-05-231-2/+39
| | | | | | | | | | Make it possible to put the URI in the error message and the server notice that get sent by the server
* | fix typoRichard van der Hoff2018-05-231-1/+1
| |
* | Block attempts to send server notices to remote usersRichard van der Hoff2018-05-231-0/+4
|/
* fix synchrotronhera2018-05-221-1/+1
|
* Stub out ServerNoticesSender on the workersRichard van der Hoff2018-05-222-4/+50
| | | | | ... and have the sync endpoints call it directly rather than obsure indirection via PresenceHandler
* Move consent config parsing into ConsentConfigRichard van der Hoff2018-05-221-8/+2
| | | | turns out we need to reuse this, so it's better in the config class.
* Send users a server notice about consentRichard van der Hoff2018-05-222-0/+159
| | | | | When a user first syncs, we will send them a server notice asking them to consent to the privacy policy if they have not already done so.
* Better docstringsRichard van der Hoff2018-05-181-0/+16
|
* Make sure we reject attempts to invite the notices userRichard van der Hoff2018-05-181-0/+5
|
* Infrastructure for a server notices roomRichard van der Hoff2018-05-172-0/+110
Server Notices use a special room which the user can't dismiss. They are created on demand when some other bit of the code calls send_notice. (This doesn't actually do much yet becuse we don't call send_notice anywhere)