Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert additional templates to Jinja (#8444) | Patrick Cloke | 2020-10-02 | 1 | -0/+2 |
| | | | This converts a few more of our inline HTML templates to Jinja. This is somewhat part of #7280 and should make it a bit easier to customize these in the future. | ||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -1/+1 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Add config linting script that checks for bool casing (#6203) | Andrew Morgan | 2019-10-23 | 1 | -2/+2 |
| | | | | | Add a linting script that enforces all boolean values in the default config be lowercase. This has annoyed me for a while so I decided to fix it. | ||||
* | Refactor HomeserverConfig so it can be typechecked (#6137) | Amber Brown | 2019-10-10 | 1 | -0/+3 |
| | |||||
* | Fix up some typechecking (#6150) | Amber Brown | 2019-10-02 | 1 | -2/+2 |
| | | | | | | * type checking fixes * changelog | ||||
* | Don't load the generated config as the default. | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
| | | | | It's too confusing. | ||||
* | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
| | | | | | | * Pull config_dir_path and data_dir_path calculation out of read_config_files * Pass config_dir_path and data_dir_path into read_config | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -15/+12 |
| | |||||
* | Attempt to make default config more consistent | Richard van der Hoff | 2019-02-19 | 1 | -14/+14 |
| | | | | | | The general idea here is that config examples should just have a hash and no extraneous whitespace, both to make it easier for people who don't understand yaml, and to make the examples stand out from the comments. | ||||
* | Check consent dir path on startup | Andrew Morgan | 2019-01-29 | 1 | -1/+13 |
| | |||||
* | Add config variables for enabling terms auth and the policy name (#4142) | Travis Ralston | 2018-11-06 | 1 | -0/+18 |
| | | | | So people can still collect consent the old way if they want to. | ||||
* | Merge remote-tracking branch 'origin/master' into develop | Richard van der Hoff | 2018-06-05 | 1 | -0/+3 |
|\ | |||||
| * | remove trailing whitespace | Richard van der Hoff | 2018-05-30 | 1 | -2/+2 |
| | | |||||
| * | fix english and wrap comment | Richard van der Hoff | 2018-05-30 | 1 | -1/+2 |
| | | |||||
| * | add link to thorough instruction how to configure consent | Ruben Barkow | 2018-05-25 | 1 | -0/+2 |
| | | |||||
* | | Fix default for send_server_notice_to_guests | Richard van der Hoff | 2018-05-25 | 1 | -1/+1 |
| | | | | | | | | bool("False") == True... | ||||
* | | Avoid sending consent notice to guest users | Richard van der Hoff | 2018-05-25 | 1 | -1/+7 |
|/ | | | | we think it makes sense not to send the notices to guest users. | ||||
* | Support for putting %(consent_uri)s in messages | Richard van der Hoff | 2018-05-23 | 1 | -4/+7 |
| | | | | | Make it possible to put the URI in the error message and the server notice that get sent by the server | ||||
* | Reject attempts to send event before privacy consent is given | Richard van der Hoff | 2018-05-22 | 1 | -0/+10 |
| | | | | | | Returns an M_CONSENT_NOT_GIVEN error (cf https://github.com/matrix-org/matrix-doc/issues/1252) if consent is not yet given. | ||||
* | Move consent config parsing into ConsentConfig | Richard van der Hoff | 2018-05-22 | 1 | -1/+15 |
| | | | | turns out we need to reuse this, so it's better in the config class. | ||||
* | Send users a server notice about consent | Richard van der Hoff | 2018-05-22 | 1 | -0/+8 |
| | | | | | 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. | ||||
* | Rename 'version' param on user consent config | Richard van der Hoff | 2018-05-22 | 1 | -4/+6 |
| | | | | 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 | 1 | -0/+42 |
Hopefully there are enough comments and docs in this that it makes sense on its own. |