synapse-product/synapse
Andrew Morgan 5d6644efe0
Only import jinja2 when needed (#5514)
Fixes https://github.com/matrix-org/synapse/issues/5431

`jinja2` was being imported even when it wasn't strictly necessary. This made it required to run Synapse, even if the functionality that required it wasn't enabled. This was causing new Synapse installations to crash on startup.

Email modules are now required.
2019-06-21 16:52:09 +01:00
..
_scripts Run Black. (#5482) 2019-06-20 19:32:02 +10:00
api Run Black. (#5482) 2019-06-20 19:32:02 +10:00
app Fix /messages on worker when no token supplied 2019-06-21 14:15:59 +01:00
appservice Run Black. (#5482) 2019-06-20 19:32:02 +10:00
config Run Black. (#5482) 2019-06-20 19:32:02 +10:00
crypto Run Black. (#5482) 2019-06-20 19:32:02 +10:00
events Run Black. (#5482) 2019-06-20 19:32:02 +10:00
federation Fix logging error when a tampered event is detected. (#5500) 2019-06-21 15:11:42 +01:00
groups Run Black. (#5482) 2019-06-20 19:32:02 +10:00
handlers Run Black. (#5482) 2019-06-20 19:32:02 +10:00
http Run Black. (#5482) 2019-06-20 19:32:02 +10:00
metrics Run Black. (#5482) 2019-06-20 19:32:02 +10:00
module_api Run Black. (#5482) 2019-06-20 19:32:02 +10:00
push Improve email notification logging (#5502) 2019-06-20 15:14:26 +01:00
replication Run Black. (#5482) 2019-06-20 19:32:02 +10:00
res/templates Change password reset links to /_matrix. 2019-06-11 11:34:33 +01:00
rest Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server_notices Run Black. (#5482) 2019-06-20 19:32:02 +10:00
state Merge branch 'develop' of github.com:matrix-org/synapse into erikj/histogram_extremities 2019-06-20 11:59:14 +01:00
static Avoid redundant URL encoding (#4555) 2019-04-04 12:05:56 +01:00
storage Fix "Unexpected entry in 'full_schemas'" log warning (#5509) 2019-06-21 15:11:57 +01:00
streams Run Black. (#5482) 2019-06-20 19:32:02 +10:00
util Run Black. (#5482) 2019-06-20 19:32:02 +10:00
__init__.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
event_auth.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
notifier.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
python_dependencies.py Only import jinja2 when needed (#5514) 2019-06-21 16:52:09 +01:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.pyi Run Black. (#5482) 2019-06-20 19:32:02 +10:00
types.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
visibility.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00