summary refs log tree commit diff
path: root/synapse/config/captcha.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert additional templates to Jinja (#8444)Patrick Cloke2020-10-021-0/+3
| | | 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.
* Fix some DETECTED VIOLATIONS in the config file (#7550)Richard van der Hoff2020-05-221-7/+10
| | | consistency ftw
* Remove unused captcha_bypass_secret option (#7137)Aaron Raimist2020-03-251-5/+0
| | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Replace instance variations of homeserver with correct case/spacingAndrew Morgan2019-11-121-2/+2
|
* Refactor HomeserverConfig so it can be typechecked (#6137)Amber Brown2019-10-101-0/+2
|
* Don't load the generated config as the default.Richard van der Hoff2019-06-241-1/+1
| | | | It's too confusing.
* Pass config_dir_path and data_dir_path into Config.read_config. (#5522)Richard van der Hoff2019-06-241-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 Brown2019-06-201-1/+0
|
* Comment out most options in the generated config. (#4863)Richard van der Hoff2019-03-191-8/+15
| | | | | | | | | | | | | | | | | | | | Make it so that most options in the config are optional, and commented out in the generated config. The reasons this is a good thing are as follows: * If we decide that we should change the default for an option, we can do so, and only those admins that have deliberately chosen to override that option will be stuck on the old setting. * It moves us towards a point where we can get rid of the super-surprising feature of synapse where the default settings for the config come from the generated yaml. * It makes setting up a test config for unit testing an order of magnitude easier (see forthcoming PR). * It makes the generated config more consistent, and hopefully easier for users to understand.
* switch from google.com to recaptcha.net for reCAPTCHA (#4731)Matthew Hodgson2019-02-251-1/+1
| | | | | | | | * add trivial clarification about jemalloc * switch from google.com to recaptcha.net because https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
* Attempt to make default config more consistentRichard van der Hoff2019-02-191-0/+3
| | | | | | 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.
* point to the CAPTCHA docsMatthew Hodgson2016-06-121-0/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Config Comment mixup in captcha public/private keyRobin Lambertz2016-01-061-2/+2
|
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-1/+1
| | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set.
* Close, but no cigar.David Baker2015-07-141-2/+2
|
* Document listener config. Remove deprecated config optionsErik Johnston2015-06-151-8/+0
|
* Add config for setting the recaptcha verify api endpoint, so we can test it ↵Mark Haines2015-05-291-0/+4
| | | | in sytest
* Remove the ~, comment the lines insteadMark Haines2015-04-301-1/+1
|
* Merge branch 'develop' into markjh/config_cleanupMark Haines2015-04-301-0/+1
|\ | | | | | | | | Conflicts: synapse/config/captcha.py
| * Add an access_logDavid Baker2015-04-301-0/+2
| | | | | | | | SYN-161 #resolve
* | Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-301-35/+29
|/ | | | arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class
* New registration for C/S API v2. Only ReCAPTCHA working currently.David Baker2015-03-301-1/+6
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Allow a (hidden undocumented) key to m.login.recaptcha to specify a shared ↵Paul "LeoNerd" Evans2014-09-231-1/+6
| | | | secret to allow bots to bypass the ReCAPTCHA test (SYN-60)
* formattingKegan Dougal2014-09-191-5/+9
|
* Add config opion for XFF headers when performing ReCaptcha auth.Kegan Dougal2014-09-051-0/+6
|
* Added a captcha config to the HS, to enable registration captcha checking ↵Kegan Dougal2014-09-051-0/+36
and for the recaptcha private key.