MatrixSynapse/tests
Erik Johnston ac11fcbbb8
Add EventStreamPosition type (#8388)
The idea is to remove some of the places we pass around `int`, where it can represent one of two things:

1. the position of an event in the stream; or
2. a token that partitions the stream, used as part of the stream tokens.

The valid operations are then:

1. did a position happen before or after a token;
2. get all events that happened before or after a token; and
3. get all events between two tokens.

(Note that we don't want to allow other operations as we want to change the tokens to be vector clocks rather than simple ints)
2020-09-24 13:24:17 +01:00
..
api
app
appservice
config
crypto
events
federation Catch-up after Federation Outage (bonus): Catch-up on Synapse Startup (#8322) 2020-09-18 14:59:13 +01:00
handlers Create function to check for long names in devices (#8364) 2020-09-22 11:42:55 +01:00
http
logging
module_api
push
replication Add EventStreamPosition type (#8388) 2020-09-24 13:24:17 +01:00
rest Fixed a bug with reactivating users with the admin API (#8362) 2020-09-22 18:19:01 +01:00
scripts
server_notices
state
storage Use `async with` for ID gens (#8383) 2020-09-23 16:11:18 +01:00
test_utils Update test logging to be able to accept braces (#8335) 2020-09-18 07:56:40 -04:00
util
__init__.py
server.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
test_distributor.py
test_event_auth.py
test_federation.py
test_mau.py
test_metrics.py
test_phone_home.py
test_preview.py
test_server.py
test_state.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
utils.py