synapse-product/synapse
Erik Johnston 782e4e64df
Shuffle persist event data store functions. (#7440)
The aim here is to get to a stage where we have a `PersistEventStore` that holds all the write methods used during event persistence, so that we can take that class out of the `DataStore` mixin and instansiate it separately. This will allow us to instansiate it on processes other than master, while also ensuring it is only available on processes that are configured to write to events stream.

This is a bit of an architectural change, where we end up with multiple classes per data store (rather than one per data store we have now). We end up having:

1. Storage classes that provide high level APIs that can talk to multiple data stores.
2. Data store modules that consist of classes that must point at the same database instance.
3. Classes in a data store that can be instantiated on processes depending on config.
2020-05-13 13:38:22 +01:00
..
_scripts
api Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
app Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
appservice Clean up newline quote marks around the codebase (#6362) 2019-11-21 12:00:14 +00:00
config Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
crypto Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
events Extend spam checker to allow for multiple modules (#7435) 2020-05-08 19:25:48 +01:00
federation Fix typing annotations in synapse/federation (#7382) 2020-05-05 14:27:13 +01:00
groups Port group attestation renewal slow down from matrix-org-hotfixes (#7442) 2020-05-06 20:21:38 +01:00
handlers Convert federation handler to async/await. (#7459) 2020-05-11 15:12:46 -04:00
http Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
logging Improve per-block CPU and DB usage metrics (#7426) 2020-05-06 16:43:39 -04:00
metrics Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
module_api Convert auth handler to async/await (#7261) 2020-04-15 12:40:18 -04:00
push Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
replication Have all instances correctly respond to REPLICATE command. (#7475) 2020-05-13 10:27:02 +01:00
res/templates Implement OpenID Connect-based login (#7256) 2020-05-08 08:30:40 -04:00
rest Merge branch 'release-v1.13.0' into develop 2020-05-11 16:46:33 +01:00
server_notices Convert synapse.server_notices to async/await. (#7394) 2020-05-01 15:28:59 -04:00
spam_checker_api Add type hints to the spam check module (#6915) 2020-02-14 12:49:40 -05:00
state Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
static Make it clearer to the user that they haven't overridden onLogin/Register (#7237) 2020-04-09 12:38:38 +01:00
storage Shuffle persist event data store functions. (#7440) 2020-05-13 13:38:22 +01:00
streams Bump version of mypy 2019-12-12 15:21:12 +00:00
util Allow configuration of Synapse's cache without using synctl or environment variables (#6391) 2020-05-11 18:45:23 +01:00
__init__.py 1.13.0rc1 2020-05-11 14:54:38 +01:00
event_auth.py Remove special auth and redaction rules for aliases events in experimental room ver. (#7037) 2020-03-09 08:58:25 -04:00
notifier.py Fix new flake8 errors (#7470) 2020-05-12 11:20:48 +01:00
python_dependencies.py Implement OpenID Connect-based login (#7256) 2020-05-08 08:30:40 -04:00
secrets.py
server.py Implement OpenID Connect-based login (#7256) 2020-05-08 08:30:40 -04:00
server.pyi Implement OpenID Connect-based login (#7256) 2020-05-08 08:30:40 -04:00
types.py Validate the alt_aliases property of canonical alias events (#6971) 2020-03-03 07:12:45 -05:00
visibility.py Refactor a bit 2020-03-11 18:49:41 +00:00