anonymousland-synapse/synapse
Erik Johnston 7941372ec8
Make token serializing/deserializing async (#8427)
The idea is that in future tokens will encode a mapping of instance to position. However, we don't want to include the full instance name in the string representation, so instead we'll have a mapping between instance name and an immutable integer ID in the DB that we can use instead. We'll then do the lookup when we serialize/deserialize the token (we could alternatively pass around an `Instance` type that includes both the name and ID, but that turns out to be a lot more invasive).
2020-09-30 20:29:19 +01:00
..
_scripts Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
api Don't push if an user account has expired (#8353) 2020-09-23 16:06:28 +01:00
app Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
appservice Add type annotations to SimpleHttpClient (#8372) 2020-09-24 15:47:20 +01:00
config Allow additional SSO properties to be passed to the client (#8413) 2020-09-30 13:02:43 -04:00
crypto Fix occasional "Re-starting finished log context" from keyring (#8398) 2020-09-25 12:29:54 +01:00
events Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
federation Mypy fixes for synapse.handlers.federation (#8422) 2020-09-29 15:57:36 +01:00
groups Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
handlers Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
http Fix handling of connection timeouts in outgoing http requests (#8400) 2020-09-29 10:29:21 +01:00
logging Create a mechanism for marking tests "logcontext clean" (#8399) 2020-09-28 17:58:33 +01:00
metrics Rewrite BucketCollector 2020-09-30 16:49:15 +01:00
module_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
push Don't push if an user account has expired (#8353) 2020-09-23 16:06:28 +01:00
replication Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
res/templates Escape the error description on the sso_error template. (#8405) 2020-09-25 11:05:54 -04:00
rest Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
server_notices Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
spam_checker_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
state Report state res metrics to Prometheus and log 2020-09-29 17:35:20 +01:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Expose a get_resource_usage method in Measure 2020-09-29 17:35:20 +01:00
__init__.py 1.20.1 2020-09-24 16:25:33 +01:00
event_auth.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
notifier.py Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
python_dependencies.py Drop support for ancient prometheus_client (#8426) 2020-09-30 16:42:05 +01:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Fix ratelimiting for federation /send requests. (#8342) 2020-09-18 10:49:29 +01:00
types.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
visibility.py Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00