summary refs log tree commit diff
path: root/synapse/server_notices/consent_server_notices.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Use direct references for some configuration variables (part 3) (#10885)Patrick Cloke2021-09-231-3/+8
| | | | | | | | This avoids the overhead of searching through the various configuration classes by directly referencing the class that the attributes are in. It also improves type hints since mypy can now resolve the types of the configuration variables.
* Use inline type hints in various other places (in `synapse/`) (#10380)Jonathan de Jong2021-07-151-1/+1
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Add a type hints for service notices to the HomeServer object. (#9675)Patrick Cloke2021-03-241-8/+10
|
* Fix typos and spelling errors. (#8639)Patrick Cloke2020-10-231-1/+1
|
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
|
* Fix some comments and types in service notices (#7996)Patrick Cloke2020-07-311-7/+5
|
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-3/+1
|
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-2/+2
|
* async/await is_server_admin (#7363)Andrew Morgan2020-05-011-7/+4
|
* Clean up newline quote marks around the codebase (#6362)Andrew Morgan2019-11-211-1/+1
|
* Revert "Do not send consent notices if "no-consent-required" is set"Brendan Abolivier2019-08-221-4/+0
| | | | This reverts commit 27a686e53b8ba3f2e2f102fae73e598c00ec0086.
* Do not send consent notices if "no-consent-required" is setHalf-Shot2019-08-221-0/+4
|
* Run Black. (#5482)Amber Brown2019-06-201-15/+9
|
* 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.
* 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
* 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-221-0/+101
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.