summary refs log tree commit diff
path: root/synapse/rest/consent (follow)
Commit message (Collapse)AuthorAgeFilesLines
* run isortAmber Brown2018-07-091-7/+5
|
* Add a 'has_consented' template var to consent formsRichard van der Hoff2018-05-221-3/+14
| | | | fixes #3260
* Enable auto-escaping for the consent templatesRichard van der Hoff2018-05-221-1/+4
| | | | ... to reduce the risk of somebody introducing an html injection attack...
* Move consent config parsing into ConsentConfigRichard van der Hoff2018-05-221-5/+3
| | | | turns out we need to reuse this, so it's better in the config class.
* Rename 'version' param on user consent configRichard van der Hoff2018-05-221-1/+1
| | | | we're going to use it for the version we require too.
* ConsentResource to gather policy consent from usersRichard van der Hoff2018-05-152-0/+210
Hopefully there are enough comments and docs in this that it makes sense on its own.