forked-synapse/synapse/handlers
Erik Johnston 921a3f8a59
Fix not sending events over federation when using sharded event persisters (#8536)
* Fix outbound federaion with multiple event persisters.

We incorrectly notified federation senders that the minimum persisted
stream position had advanced when we got an `RDATA` from an event
persister.

Notifying of federation senders already correctly happens in the
notifier, so we just delete the offending line.

* Change some interfaces to use RoomStreamToken.

By enforcing use of `RoomStreamTokens` we make it less likely that
people pass in random ints that they got from somewhere random.
2020-10-14 13:27:51 +01:00
..
ui_auth Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
__init__.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
_base.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
account_data.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
account_validity.py Move additional tasks to the background worker, part 4 (#8513) 2020-10-13 08:20:32 -04:00
acme_issuing_service.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
acme.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
admin.py Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
appservice.py Fix not sending events over federation when using sharded event persisters (#8536) 2020-10-14 13:27:51 +01:00
auth.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
cas_handler.py Allow denying or shadow banning registrations via the spam checker (#8034) 2020-08-20 15:42:58 -04:00
deactivate_account.py Move additional tasks to the background worker, part 4 (#8513) 2020-10-13 08:20:32 -04:00
device.py Add typing information to the device handler. (#8407) 2020-10-07 08:58:21 -04:00
devicemessage.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
directory.py Allow ThirdPartyEventRules modules to manipulate public room state (#8292) 2020-10-05 14:57:46 +01:00
e2e_keys.py Add support for MSC2732: olm fallback keys (#8312) 2020-10-06 13:26:29 -04:00
e2e_room_keys.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
events.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
federation.py Fix message duplication if something goes wrong after persisting the event (#8476) 2020-10-13 12:07:56 +01:00
groups_local.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
identity.py Fix handling of connection timeouts in outgoing http requests (#8400) 2020-09-29 10:29:21 +01:00
initial_sync.py Add type hints to response cache. (#8507) 2020-10-09 11:35:11 -04:00
message.py Move additional tasks to the background worker, part 4 (#8513) 2020-10-13 08:20:32 -04:00
oidc_handler.py Add config option for always using "userinfo endpoint" for OIDC (#7658) 2020-10-01 13:54:35 -04:00
pagination.py Move additional tasks to the background worker, part 4 (#8513) 2020-10-13 08:20:32 -04:00
password_policy.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
presence.py Clean up types for PaginationConfig (#8250) 2020-09-08 15:00:17 +01:00
profile.py Move additional tasks to the background worker, part 4 (#8513) 2020-10-13 08:20:32 -04:00
read_marker.py Add type hints to some handlers (#8505) 2020-10-09 07:20:51 -04:00
receipts.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
register.py Remove the deprecated Handlers object (#8494) 2020-10-09 07:24:34 -04:00
room_list.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_member_worker.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_member.py Fix message duplication if something goes wrong after persisting the event (#8476) 2020-10-13 12:07:56 +01:00
room.py Add type hints to response cache. (#8507) 2020-10-09 11:35:11 -04:00
saml_handler.py Use slots in attrs classes where possible (#8296) 2020-09-14 12:50:06 -04:00
search.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
set_password.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
state_deltas.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
stats.py Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
sync.py Add type hints to response cache. (#8507) 2020-10-09 11:35:11 -04:00
typing.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
user_directory.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00