summary refs log tree commit diff
path: root/synapse/rest/consent/consent_resource.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a test for the public T&Cs formRichard van der Hoff2018-11-141-1/+1
|
* Fix an internal server error when viewing the public privacy policyRichard van der Hoff2018-11-141-4/+7
|
* Fix encoding error for consent form on python3hera2018-11-081-1/+3
| | | | | | The form was rendering this as "b'01234....'". -- richvdh
* Add config variables for enabling terms auth and the policy name (#4142)Travis Ralston2018-11-061-1/+1
| | | | So people can still collect consent the old way if they want to.
* Tests for user consent resource (#4140)Amber Brown2018-11-061-1/+1
|
* Fix logic error that prevented guests from seeing the privacy policyTravis Ralston2018-11-011-1/+1
|
* Rely on the lack of ?u to represent public accessTravis Ralston2018-10-121-8/+4
| | | also general cleanup
* Use a flag rather than a new route for the public policyTravis Ralston2018-10-031-14/+22
| | | This also means that the template now has optional parameters, which will need to be documented somehow.
* fix another consent encoding failRichard van der Hoff2018-08-211-1/+1
|
* Fix 500 error from /consent formRichard van der Hoff2018-08-211-2/+11
| | | | Fixes #3731
* 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-151-0/+210
Hopefully there are enough comments and docs in this that it makes sense on its own.