forked-synapse/synapse/config
Richard van der Hoff 7216c76654 Improve error handling for missing files (#2551)
`os.path.exists` doesn't allow us to distinguish between permissions errors and
the path actually not existing, which repeatedly confuses people. It also means
that we try to overwrite existing key files, which is super-confusing. (cf
issues #2455, #2379). Use os.stat instead.

Also, don't recomemnd the the use of --generate-config, which screws everything
up if you're using debian (cf #2455).
2017-10-17 14:46:17 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
__main__.py Use syntax that works on both py2.7 and py3 2016-03-07 20:13:10 +00:00
_base.py Improve error handling for missing files (#2551) 2017-10-17 14:46:17 +01:00
api.py config,handlers/_base: added homeserver config for what state is included in a room invite 2016-03-04 10:43:17 +01:00
appservice.py Allow Configurable Rate Limiting Per AS 2016-10-18 17:04:09 +01:00
captcha.py point to the CAPTCHA docs 2016-06-12 23:11:29 +01:00
cas.py copyrights 2016-01-07 04:26:29 +00:00
database.py copyrights 2016-01-07 04:26:29 +00:00
emailconfig.py Support authenticated SMTP 2017-04-05 21:01:08 -07:00
homeserver.py Make the spam checker a module 2017-09-26 19:20:23 +01:00
jwt.py Make pyjwt dependency optional 2016-04-25 14:30:15 +01:00
key.py Improve error handling for missing files (#2551) 2017-10-17 14:46:17 +01:00
logger.py Add helpful texts to logger config options 2017-03-13 12:33:35 +00:00
metrics.py copyrights 2016-01-07 04:26:29 +00:00
password_auth_providers.py Factor out module loading to a separate place 2017-09-26 17:51:26 +01:00
password.py Update password config comment 2016-07-06 12:18:19 +09:00
push.py Change the config file generator to more descriptive explanation of push.redact_content 2017-06-24 10:32:12 +02:00
ratelimiting.py copyrights 2016-01-07 04:26:29 +00:00
registration.py pep8 2017-10-17 10:13:13 +01:00
repository.py Copy everything to backup 2017-10-12 17:31:24 +01:00
saml2.py Add config option to disable password login 2015-10-22 10:37:04 +01:00
server.py Add a config option to block all room invites (#2457) 2017-09-19 16:08:14 +01:00
spam_checker.py Forgot the new file again :( 2017-09-27 10:22:54 +01:00
tls.py Improve error handling for missing files (#2551) 2017-10-17 14:46:17 +01:00
voip.py typo 2017-03-15 12:40:42 +00:00
workers.py Allow configuration of CPU affinity 2017-08-15 17:08:28 +01:00