synapse-product/synapse
Richard van der Hoff d6752ce5da
Clean up startup for the pusher (#6558)
* Remove redundant python2 support code

`str.decode()` doesn't exist on python3, so presumably this code was doing
nothing

* Filter out pushers with corrupt data

When we get a row with unparsable json, drop the row, rather than returning a
row with null `data`, which will then cause an explosion later on.

* Improve logging when we can't start a pusher

Log the ID to help us understand the problem

* Make email pusher setup more robust

We know we'll have a `data` member, since that comes from the database. What we
*don't* know is if that is a dict, and if that has a `brand` member, and if
that member is a string.
2019-12-18 14:26:58 +00:00
..
_scripts Replace instance variations of homeserver with correct case/spacing 2019-11-12 13:08:12 +00:00
api Add auth events as per spec. (#6556) 2019-12-16 17:05:01 +00:00
app Merge pull request #6511 from matrix-org/erikj/remove_db_config_from_apps 2019-12-12 10:37:56 +00:00
appservice Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
config Add database config class (#6513) 2019-12-18 10:45:12 +00:00
crypto Don't encode object as UTF-8 string if not needed. 2019-10-24 18:08:45 +01:00
events Merge branch 'develop' into babolivier/message_retention 2019-11-26 17:53:57 +00:00
federation Move get_state methods into FederationHandler (#6503) 2019-12-16 13:20:21 +00:00
groups Automatically delete empty groups/communities (#6453) 2019-12-16 12:12:40 +00:00
handlers Add database config class (#6513) 2019-12-18 10:45:12 +00:00
http Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
logging Bump version of mypy 2019-12-12 15:21:12 +00:00
metrics Fix up some typechecking (#6150) 2019-10-02 05:29:01 -07:00
module_api Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
push Clean up startup for the pusher (#6558) 2019-12-18 14:26:58 +00:00
replication Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
res/templates Allow HS to send emails when adding an email to the HS (#6042) 2019-09-20 15:21:30 +01:00
rest Clean up startup for the pusher (#6558) 2019-12-18 14:26:58 +00:00
server_notices Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
spam_checker_api Expose some homeserver functionality to spam checkers (#6259) 2019-10-31 09:16:14 -06:00
state sanity-checking for events used in state res (#6531) 2019-12-16 13:53:53 +00:00
static Fix SSO fallback login 2019-09-12 11:42:47 +01:00
storage Clean up startup for the pusher (#6558) 2019-12-18 14:26:58 +00:00
streams Bump version of mypy 2019-12-12 15:21:12 +00:00
util Persist auth/state events at backwards extremities when we fetch them (#6526) 2019-12-16 14:07:11 +00:00
__init__.py 1.7.1 2019-12-18 09:38:08 +00:00
event_auth.py Merge release-v1.7.1 into develop 2019-12-18 09:51:51 +00:00
notifier.py Port SyncHandler to async/await 2019-12-05 17:58:25 +00:00
python_dependencies.py Remove the psutil dependency (#6318) 2019-11-05 05:05:48 +11:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py Add database config class (#6513) 2019-12-18 10:45:12 +00:00
server.pyi Support for routing outbound HTTP requests via a proxy (#6239) 2019-11-01 14:07:44 +00:00
types.py Merge branch 'develop' into uhoreg/e2e_cross-signing_merged 2019-10-18 11:39:40 +01:00
visibility.py Update the documentation of the filtering function 2019-12-16 12:15:37 +00:00