Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace username picker with a template (#9275) | Richard van der Hoff | 2021-02-01 | 1 | -0/+1 |
| | | | | | There's some prelimiary work here to pull out the construction of a jinja environment to a separate function. I wanted to load the template at display time rather than load time, so that it's easy to update on the fly. Honestly, I think we should do this with all our templates: the risk of ending up with malformed templates is far outweighed by the improved turnaround time for an admin trying to update them. | ||||
* | Remove unnecessary maybeDeferred calls (#8044) | Patrick Cloke | 2020-08-07 | 1 | -3/+1 |
| | |||||
* | Merge different Resource implementation classes (#7732) | Erik Johnston | 2020-07-03 | 1 | -8/+2 |
| | |||||
* | Merge branch 'master' into develop | Patrick Cloke | 2020-07-02 | 1 | -7/+3 |
|\ | |||||
| * | Ensure that HTML pages served from Synapse include headers to avoid embedding. | Patrick Cloke | 2020-07-02 | 1 | -7/+3 |
| | | |||||
* | | Replace all remaining six usage with native Python 3 equivalents (#7704) | Dagfinn Ilmari Mannsåker | 2020-06-16 | 1 | -3/+2 |
|/ | |||||
* | fix async/await consentresource (#5585) | Amber Brown | 2019-07-01 | 1 | -1/+3 |
| | | | Fixes #5582 | ||||
* | Make the http server handle coroutine-making REST servlets (#5475) | Amber Brown | 2019-06-29 | 1 | -23/+12 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -12/+16 |
| | |||||
* | Fix registration on workers (#4682) | Erik Johnston | 2019-02-20 | 1 | -1/+1 |
| | | | | | | | | | | * Move RegistrationHandler init to HomeServer * Move post registration actions to RegistrationHandler * Add post regisration replication endpoint * Newsfile | ||||
* | Check consent dir path on startup | Andrew Morgan | 2019-01-29 | 1 | -10/+1 |
| | |||||
* | Neilj/fix autojoin (#4223) | Neil Johnson | 2018-11-28 | 1 | -0/+2 |
| | | | | | | * Fix auto join failures for servers that require user consent * Fix auto join failures for servers that require user consent | ||||
* | Add a test for the public T&Cs form | Richard van der Hoff | 2018-11-14 | 1 | -1/+1 |
| | |||||
* | Fix an internal server error when viewing the public privacy policy | Richard van der Hoff | 2018-11-14 | 1 | -4/+7 |
| | |||||
* | Fix encoding error for consent form on python3 | hera | 2018-11-08 | 1 | -1/+3 |
| | | | | | | The form was rendering this as "b'01234....'". -- richvdh | ||||
* | Add config variables for enabling terms auth and the policy name (#4142) | Travis Ralston | 2018-11-06 | 1 | -1/+1 |
| | | | | So people can still collect consent the old way if they want to. | ||||
* | Tests for user consent resource (#4140) | Amber Brown | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Fix logic error that prevented guests from seeing the privacy policy | Travis Ralston | 2018-11-01 | 1 | -1/+1 |
| | |||||
* | Rely on the lack of ?u to represent public access | Travis Ralston | 2018-10-12 | 1 | -8/+4 |
| | | | also general cleanup | ||||
* | Use a flag rather than a new route for the public policy | Travis Ralston | 2018-10-03 | 1 | -14/+22 |
| | | | This also means that the template now has optional parameters, which will need to be documented somehow. | ||||
* | fix another consent encoding fail | Richard van der Hoff | 2018-08-21 | 1 | -1/+1 |
| | |||||
* | Fix 500 error from /consent form | Richard van der Hoff | 2018-08-21 | 1 | -2/+11 |
| | | | | Fixes #3731 | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -7/+5 |
| | |||||
* | Add a 'has_consented' template var to consent forms | Richard van der Hoff | 2018-05-22 | 1 | -3/+14 |
| | | | | fixes #3260 | ||||
* | Enable auto-escaping for the consent templates | Richard van der Hoff | 2018-05-22 | 1 | -1/+4 |
| | | | | ... to reduce the risk of somebody introducing an html injection attack... | ||||
* | Move consent config parsing into ConsentConfig | Richard van der Hoff | 2018-05-22 | 1 | -5/+3 |
| | | | | turns out we need to reuse this, so it's better in the config class. | ||||
* | Rename 'version' param on user consent config | Richard van der Hoff | 2018-05-22 | 1 | -1/+1 |
| | | | | we're going to use it for the version we require too. | ||||
* | ConsentResource to gather policy consent from users | Richard van der Hoff | 2018-05-15 | 2 | -0/+210 |
Hopefully there are enough comments and docs in this that it makes sense on its own. |