1
0

Commit Graph

  • b071426a63 Plumb allow_no_prev_events through for MSC2716 Eric Eastwood 2021-12-15 23:12:37 -06:00
  • 1d0004312a Merge branch 'develop' into madlittlemods/return-historical-events-in-order-from-backfill Eric Eastwood 2021-12-15 22:38:29 -06:00
  • c7fe32edb4 Add type hints to synapse/storage/databases/main/room.py (#11575) Sean Quah 2021-12-15 18:00:48 +00:00
  • f901f8b70e Require Collections as the parameters for simple_* methods. (#11580) Patrick Cloke 2021-12-15 12:00:50 -05:00
  • 323151b787 Convert EventStreamResult to attrs. (#11574) Patrick Cloke 2021-12-15 11:10:02 -05:00
  • 59544678a1 Merge branch 'rav/no_bundle_aggregations_in_sync' into matrix-org-hotfixes Richard van der Hoff 2021-12-15 13:13:08 +00:00
  • a9c146ac53 Disable aggregation bundling on /sync responses Richard van der Hoff 2021-12-15 13:08:24 +00:00
  • 17886d2603 Add experimental support for MSC3202: allowing application services to masquerade as specific devices. (#11538) reivilibre 2021-12-15 10:40:52 +00:00
  • 5fdfbce195 Merge remote-tracking branch 'origin/rei/as_device_masquerading_msc3202' into anoa/e2e_as_internal_testing Travis Ralston 2021-12-14 12:53:16 -07:00
  • ecfcd9bbbe Add type hints to synapse/storage/databases/main/e2e_room_keys.py (#11549) Sean Quah 2021-12-14 17:46:47 +00:00
  • 0147b3de20 Add missing type hints to synapse.logging.context (#11556) Sean Quah 2021-12-14 17:35:28 +00:00
  • 2519beaad2 Add missing type hints to synapse.appservice (#11360) Patrick Cloke 2021-12-14 12:02:46 -05:00
  • 651c1f4bbb deploy: a91698df90 reivilibre 2021-12-14 14:23:10 +00:00
  • 70ca05373b Merge branch 'master' into develop Olivier Wilkinson (reivilibre) 2021-12-14 14:22:48 +00:00
  • a91698df90 Merge tag 'v1.49.0' Olivier Wilkinson (reivilibre) 2021-12-14 14:22:16 +00:00
  • 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" Olivier Wilkinson (reivilibre) 2021-12-14 14:22:01 +00:00
  • 92906e1b60 Restructure changelog v1.49.0 Olivier Wilkinson (reivilibre) 2021-12-14 13:00:46 +00:00
  • 9f3c7e85a4 1.49.0 Olivier Wilkinson (reivilibre) 2021-12-14 12:56:14 +00:00
  • a4dce5b53d Remove redundant COALESCE()s around COUNT()s in database queries (#11570) Sean Quah 2021-12-14 12:34:30 +00:00
  • 33abbc3278 Add missing type hints to synapse.http. (#11571) Patrick Cloke 2021-12-14 07:00:47 -05:00
  • ff6fd52160 checks for generators in database functions (#11564) Richard van der Hoff 2021-12-13 19:01:27 +00:00
  • eb39da6782 Move HTML parsing to a separate file for URL previews. (#11566) Patrick Cloke 2021-12-13 12:55:07 -05:00
  • d091b4de11 Get unused fallback key types in bulk and send them out Olivier Wilkinson (reivilibre) 2021-12-13 17:47:57 +00:00
  • b17f575d42 Count the OTKs in bulk Olivier Wilkinson (reivilibre) 2021-12-13 17:34:26 +00:00
  • 67e438af77 Fix up tests that weren't expecting extra call arguments Olivier Wilkinson (reivilibre) 2021-12-13 17:06:17 +00:00
  • 5305a5e881 Type hint the constructors of the data store classes (#11555) Sean Quah 2021-12-13 17:05:00 +00:00
  • 5d89494198 Fix two tests Olivier Wilkinson (reivilibre) 2021-12-13 16:54:54 +00:00
  • ec81f8d38f Find interesting users for the AS when sending OTKs and FBKs Olivier Wilkinson (reivilibre) 2021-12-13 16:39:40 +00:00
  • b99b311795 Add some method stubs and add the OTKs and FBKs to the response Olivier Wilkinson (reivilibre) 2021-12-13 16:09:09 +00:00
  • 36595a7cdc Pipe through the feature flag Olivier Wilkinson (reivilibre) 2021-12-10 14:48:14 +00:00
  • c5e072fad5 Add feature flag for experimental MSC3202 transaction extensions Olivier Wilkinson (reivilibre) 2021-12-10 14:47:54 +00:00
  • cab682fe89 Fix up some tests Olivier Wilkinson (reivilibre) 2021-12-10 14:47:35 +00:00
  • 06455cf91a Boring piping Olivier Wilkinson (reivilibre) 2021-12-10 14:47:25 +00:00
  • 37215edd81 Fix up type after rebase onto anoa's branch Olivier Wilkinson (reivilibre) 2021-12-10 14:46:27 +00:00
  • 2434034250 During AS catch-up, send empty OTK counts and fallback keys for now Olivier Wilkinson (reivilibre) 2021-12-01 15:08:02 +00:00
  • 473d1a399e Emit the one-time key counts and fallback keys over federation Olivier Wilkinson (reivilibre) 2021-12-01 15:04:00 +00:00
  • 9e171fd15e Feed one-time key counts and unused fallback keys through the transaction Olivier Wilkinson (reivilibre) 2021-12-01 15:00:53 +00:00
  • 1abfb15f07 Add type hints to synapse/storage/databases/main/end_to_end_keys.py (#11551) Sean Quah 2021-12-13 16:28:26 +00:00
  • 6da8591f2e Add type hints to synapse/storage/databases/main/account_data.py (#11546) Sean Quah 2021-12-13 16:28:10 +00:00
  • 15cb2f0678 Use get_device Olivier Wilkinson (reivilibre) 2021-12-13 14:35:34 +00:00
  • 075a2b7a5d Merge branch 'develop' into rei/as_device_masquerading_msc3202 Olivier Wilkinson (reivilibre) 2021-12-13 15:54:21 +00:00
  • e5cdb9e233 Make get_device return None if the device doesn't exist rather than raising an exception. (#11565) reivilibre 2021-12-13 15:39:43 +00:00
  • 405f3f9580 Fix comment Olivier Wilkinson (reivilibre) 2021-12-13 14:57:00 +00:00
  • 2becd5209d TEMPORARY Revert "Use get_device (fixing in upstream develop)" Olivier Wilkinson (reivilibre) 2021-12-13 14:47:57 +00:00
  • 63042ac190 Use get_device (fixing in upstream develop) Olivier Wilkinson (reivilibre) 2021-12-13 14:35:34 +00:00
  • aa8708ebed Allow events to be created with no prev_events (MSC2716) (#11243) Eric Eastwood 2021-12-10 23:08:51 -06:00
  • 8391bd6ab5 Test to ensure we share the same state_group across the whole historical batch (MSC2716) (#11487) Eric Eastwood 2021-12-10 20:59:20 -06:00
  • 30469893aa Merge branch 'rei/as_device_masquerading_msc3202' of github.com:matrix-org/synapse into anoa/e2e_as_internal_testing anoa/e2e_as_internal_testing Andrew Morgan 2021-12-10 20:08:38 +00:00
  • fd2dadb815 Adjust _get_rooms_changed comments (#11550) David Robertson 2021-12-10 19:19:48 +00:00
  • e580ca07b8 store argument is no longer optional in is_interested_in_room Andrew Morgan 2021-12-10 15:42:03 +00:00
  • e1bc41b5c3 Squash into and use everywhere Andrew Morgan 2021-12-10 15:39:40 +00:00
  • b541ec58f2 Update reset device list mock before starting tests Andrew Morgan 2021-12-10 15:39:12 +00:00
  • 137103a18a Squash into "and use everywhere" Andrew Morgan 2021-12-10 15:04:30 +00:00
  • f0562183e7 skip some dict munging in event persistence (#11560) Richard van der Hoff 2021-12-10 15:02:33 +00:00
  • 86e7a6d16e Stop populating state_events.prev_state (#11558) Richard van der Hoff 2021-12-10 14:13:23 +00:00
  • dcdfa6f46d Add type aliases for one-time key counts and unused fallback keys that will be sent Olivier Wilkinson (reivilibre) 2021-12-01 15:00:13 +00:00
  • 72d37f2d8f Support opting-in to MSC3202 transactional behaviour using the registration file Olivier Wilkinson (reivilibre) 2021-12-01 14:49:05 +00:00
  • 9562f0c2f1 Ensure emails are canonicalized before fetching associated user. (#11547) Patrick Cloke 2021-12-10 07:17:28 -05:00
  • b570af047b Squash into "and use everywhere" Andrew Morgan 2021-12-10 12:10:56 +00:00
  • 2a0eabbee3 squash into 'and use everywhere' Andrew Morgan 2021-12-09 18:41:19 +00:00
  • 34eacf7f2d squash into move DeviceLists commit Andrew Morgan 2021-12-09 18:39:02 +00:00
  • b4336fc9e0 squash into 'and use everywhere' Andrew Morgan 2021-12-09 18:37:50 +00:00
  • ba5f501b4b Support sending device lists everywhere; needs cleaning up Andrew Morgan 2021-12-09 18:36:55 +00:00
  • 8e8ba360c9 Squash into "and use everywhere" Andrew Morgan 2021-12-09 18:36:31 +00:00
  • 842c2994f5 fix tests for device lists Andrew Morgan 2021-12-09 18:31:10 +00:00
  • feeecea603 Create ApplicationService.is_interested_in_user, and use everywhere Andrew Morgan 2021-12-09 18:27:59 +00:00
  • 3b8872299a Do not allow cross-room relations, per MSC2674. (#11516) Patrick Cloke 2021-12-09 13:16:01 -05:00
  • 0f9a425797 Switch DeviceLists to containing Sets, as we'll need a type that we can delete items from Andrew Morgan 2021-12-08 19:02:13 +00:00
  • 0cc3bf97b4 Additional type hints for the config module, part 2. (#11480) Patrick Cloke 2021-12-09 11:15:46 -05:00
  • 11e2192b32 Update tests to enable experimental features Olivier Wilkinson (reivilibre) 2021-12-09 13:13:32 +00:00
  • ae968eaa93 Add an experimental flag to control device masquerading Olivier Wilkinson (reivilibre) 2021-12-09 13:10:18 +00:00
  • 7e398067f1 Add a pair of tests for the ?device_id parameter for AS device masquerading Olivier Wilkinson (reivilibre) 2021-12-09 12:48:36 +00:00
  • cc2bbcd4dc Switch to the 400 M_EXCLUSIVE error code for non-existent device IDs Olivier Wilkinson (reivilibre) 2021-12-09 12:29:08 +00:00
  • 941ebe49ff Use HTTPStatus constants in place of literals in synapse.http (#11543) Dirk Klimpel 2021-12-09 12:58:25 +01:00
  • b47d10dc46 Support unprefixed versions of fallback key property names. (#11541) Hubert Chathi 2021-12-09 06:41:27 -05:00
  • b3bcacf3c1 Add missing errcode to parse_string and parse_boolean (#11542) Dirk Klimpel 2021-12-09 12:23:34 +01:00
  • afa0a5e4fc Allow guests to send state events (#11378) Robert Long 2021-12-09 03:02:05 -08:00
  • 6b64184585 Merge branch 'develop' into madlittlemods/return-historical-events-in-order-from-backfill Eric Eastwood 2021-12-09 02:53:17 -06:00
  • f1f88172d8 Move DeviceLists type to synapse.types Andrew Morgan 2021-12-08 18:36:08 +00:00
  • c7ad734b56 Fix up database method to grab device list changes - bit dirty Andrew Morgan 2021-11-30 14:50:15 +00:00
  • b399104827 Add device_list as one of the supported streams set_type Andrew Morgan 2021-11-30 14:49:58 +00:00
  • cf7e65968f wip: get device lists working squashme Andrew Morgan 2021-11-30 14:49:31 +00:00
  • 3ba63398af migration delta to track device_list stream id per appservice Andrew Morgan 2021-11-30 14:48:35 +00:00
  • 967755d574 Fix calling is_interested_in_event with store. Andrew Morgan 2021-11-30 14:15:38 +00:00
  • a48f817642 wip: get device lists working Andrew Morgan 2021-11-30 11:40:52 +00:00
  • 6daab0f935 is_interested_in_room public Andrew Morgan 2021-11-29 18:56:08 +00:00
  • b80db21c19 Add some caching to interest methods Andrew Morgan 2021-11-29 18:32:05 +00:00
  • a58d3bdd5e Refactor appservice interest-checking methods Andrew Morgan 2021-11-29 17:53:45 +00:00
  • 6517bd15ac Clean up reference to homeserver store Andrew Morgan 2021-11-29 17:35:04 +00:00
  • be13f6d798 rename ApplicationService.is_interested_in_room_id -> is_room_id_in_namespace Andrew Morgan 2021-11-26 17:19:18 +00:00
  • 05d0ed8151 rename ApplicationService.is_interested_in_alias -> is_room_alias_in_namespace Andrew Morgan 2021-11-26 17:17:59 +00:00
  • a193804162 rename ApplicationService.is_interested_in_user -> is_user_in_namespace Andrew Morgan 2021-11-26 17:17:05 +00:00
  • d7dc699f0a rename ApplicationServices.is_interested -> is_interested_in_event Andrew Morgan 2021-11-26 17:13:48 +00:00
  • bf40bfe37f wip Andrew Morgan 2021-11-26 16:52:44 +00:00
  • 3edcf4430f Add docstring to add_device_change_to_streams and fix types. Andrew Morgan 2021-11-26 15:57:03 +00:00
  • 2d514a695e possible perf boost to calculating device list update recipients Andrew Morgan 2021-11-17 16:05:41 +00:00
  • 3090000857 Add an experimental config option for sending device lists to AS's Andrew Morgan 2021-11-15 08:50:27 +00:00
  • d93362d87f Add a constant for receipt types (m.read). (#11531) Patrick Cloke 2021-12-08 12:26:29 -05:00
  • 7ecaa3b976 Clean up synapse.rest.admin (#11535) Dirk Klimpel 2021-12-08 17:59:40 +01:00
  • 8a078ce372 Newsfile Olivier Wilkinson (reivilibre) 2021-12-08 15:59:53 +00:00