synapse-old/synapse
Richard van der Hoff fec6f9ac17
Fix occasional "Re-starting finished log context" from keyring (#8398)
* Fix test_verify_json_objects_for_server_awaits_previous_requests

It turns out that this wasn't really testing what it thought it was testing
(in particular, `check_context` was turning failures into success, which was
making the tests pass even though it wasn't clear they should have been.

It was also somewhat overcomplex - we can test what it was trying to test
without mocking out perspectives servers.

* Fix warnings about finished logcontexts in the keyring

We need to make sure that we finish the key fetching magic before we run the
verifying code, to ensure that we don't mess up our logcontexts.
2020-09-25 12:29:54 +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 existing users to login via OpenID Connect. (#8345) 2020-09-25 07:01:45 -04:00
crypto Fix occasional "Re-starting finished log context" from keyring (#8398) 2020-09-25 12:29:54 +01:00
events Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
federation Synapse 1.20.0rc5 (2020-09-18) 2020-09-18 11:17:58 -04:00
groups Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
handlers Allow existing users to login via OpenID Connect. (#8345) 2020-09-25 07:01:45 -04:00
http Add type annotations to SimpleHttpClient (#8372) 2020-09-24 15:47:20 +01:00
logging Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
metrics Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04: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 Fix MultiWriteIdGenerator's handling of restarts. (#8374) 2020-09-24 16:53:51 +01:00
res/templates Improve SAML error messages (#8248) 2020-09-14 09:05:36 -04:00
rest Add type annotations to SimpleHttpClient (#8372) 2020-09-24 15:47:20 +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 Improve logging of state resolution (#8371) 2020-09-23 16:42:44 +01:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Allow existing users to login via OpenID Connect. (#8345) 2020-09-25 07:01:45 -04:00
streams Clean up types for PaginationConfig (#8250) 2020-09-08 15:00:17 +01:00
util Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04: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 Add EventStreamPosition type (#8388) 2020-09-24 13:24:17 +01:00
python_dependencies.py Do not check lint/test dependencies at runtime. (#8377) 2020-09-23 11:45:37 +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 Add EventStreamPosition type (#8388) 2020-09-24 13:24:17 +01:00
visibility.py Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00