1
0

Commit Graph

  • 2905fcfad2 Fix the get_bulk_e2e_unused_fallback_keys query to return devices with only used keys Olivier Wilkinson (reivilibre) 2021-12-17 18:08:49 +00:00
  • 16803645c8 Break up get_app_service_users_in_room to make it easier to debug Olivier Wilkinson (reivilibre) 2021-12-17 18:08:16 +00:00
  • fe185a11b8 Get unused fallback key types in bulk and send them out Olivier Wilkinson (reivilibre) 2021-12-13 17:47:57 +00:00
  • 3ca3f34b74 Count the OTKs in bulk Olivier Wilkinson (reivilibre) 2021-12-13 17:34:26 +00:00
  • 9661526a30 Fix up tests that weren't expecting extra call arguments Olivier Wilkinson (reivilibre) 2021-12-13 17:06:17 +00:00
  • 1bac476ba4 Fix two tests Olivier Wilkinson (reivilibre) 2021-12-13 16:54:54 +00:00
  • dc7e6c1cfc Find interesting users for the AS when sending OTKs and FBKs Olivier Wilkinson (reivilibre) 2021-12-13 16:39:40 +00:00
  • 71dc5e94b0 Add some method stubs and add the OTKs and FBKs to the response Olivier Wilkinson (reivilibre) 2021-12-13 16:09:09 +00:00
  • 4cba87c025 Pipe through the feature flag Olivier Wilkinson (reivilibre) 2021-12-10 14:48:14 +00:00
  • c5d7988ad0 Add feature flag for experimental MSC3202 transaction extensions Olivier Wilkinson (reivilibre) 2021-12-10 14:47:54 +00:00
  • a10a41f639 Fix up some tests Olivier Wilkinson (reivilibre) 2021-12-10 14:47:35 +00:00
  • 3e0a9f4f11 Boring piping Olivier Wilkinson (reivilibre) 2021-12-10 14:47:25 +00:00
  • d368d37061 Fix up type after rebase onto anoa's branch Olivier Wilkinson (reivilibre) 2021-12-10 14:46:27 +00:00
  • 474ff3b9fa During AS catch-up, send empty OTK counts and fallback keys for now Olivier Wilkinson (reivilibre) 2021-12-01 15:08:02 +00:00
  • 307afbcf57 Emit the one-time key counts and fallback keys over federation Olivier Wilkinson (reivilibre) 2021-12-01 15:04:00 +00:00
  • bd3dfafa3d Feed one-time key counts and unused fallback keys through the transaction Olivier Wilkinson (reivilibre) 2021-12-01 15:00:53 +00:00
  • 20076d93a6 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
  • bf4488336f Support opting-in to MSC3202 transactional behaviour using the registration file Olivier Wilkinson (reivilibre) 2021-12-01 14:49:05 +00:00
  • 2856d73830 Fix calls to create_appservice_txn in tests Andrew Morgan 2021-12-07 10:45:30 +00:00
  • c16ddc1df9 Modify tests to handle new location of to-device messages in AS txns Andrew Morgan 2021-12-03 19:39:23 +00:00
  • 74d29c1fd7 Insert to-device messages into the new to-device part of AS txns Andrew Morgan 2021-12-03 19:22:22 +00:00
  • 1447897ac8 Add to-device messages as their own special section in AS txns Andrew Morgan 2021-12-03 19:17:32 +00:00
  • 6cc14262b4 Fix tests to mock _TransactionController.send of ApplicationServiceScheduler.enqueue* Andrew Morgan 2021-12-03 20:01:10 +00:00
  • 8375272fa3 Refactor and generalise the sending of arbitrary fields over AS transactions Andrew Morgan 2021-12-03 20:00:30 +00:00
  • 49bbf65796 Add comment on why we don't NOT NULL to_device_stream_id Andrew Morgan 2021-11-24 16:20:41 +00:00
  • 6f7792a6ee Add some FIXME comments Andrew Morgan 2021-11-24 16:08:49 +00:00
  • 50b3cf7755 rename set_type_stream_id_for_appservice -> set_appservice_stream_type_pos Andrew Morgan 2021-11-24 15:19:57 +00:00
  • 124bb71442 Fix existing unit tests Andrew Morgan 2021-11-22 16:50:50 +00:00
  • 75b8bd3951 Simplify registration of appservices in tests Andrew Morgan 2021-11-19 20:25:37 +00:00
  • a38cb2faf7 Rename user1, user2 in tests to something more useful Andrew Morgan 2021-11-19 19:51:11 +00:00
  • d5d4d7832d Rename ApplicationServiceEphemeralEventsTestCase Andrew Morgan 2021-11-19 19:44:13 +00:00
  • cc30393cee _handle_to_device -> _get_to_device_messages Andrew Morgan 2021-11-19 18:37:02 +00:00
  • d4a93df981 Deduplicate ephemeral events to send conditional Andrew Morgan 2021-11-19 18:26:51 +00:00
  • edfb4f5e9f Broaden type hints; update comment Andrew Morgan 2021-11-19 18:17:14 +00:00
  • 0fe753cc7f Move stream filter back into AppserviceHandler Andrew Morgan 2021-11-19 15:21:49 +00:00
  • b9b4b55092 Make msc2409_to_device_messages_enabled private; remove unnecessary check Andrew Morgan 2021-11-19 15:09:46 +00:00
  • 076f959a2d Changelog Andrew Morgan 2021-11-05 16:07:44 +00:00
  • 94a2389a97 Add tests Andrew Morgan 2021-11-12 18:49:49 +00:00
  • 662756aa7f Add a to_device_stream_id column to the application_services_state table Andrew Morgan 2021-11-05 16:00:35 +00:00
  • d6288fff7e Add database method to fetch to-device messages by user_ids from db Andrew Morgan 2021-11-05 15:59:08 +00:00
  • 668ac822de Allow setting/getting stream id per appservice for to-device messages Andrew Morgan 2021-11-05 15:52:39 +00:00
  • a1ac23a2b6 Add a new ephemeral AS handler for to_device message edus Andrew Morgan 2021-11-05 15:47:33 +00:00
  • 31078e10a1 Add experimental config option to send to-device messages to AS's Andrew Morgan 2021-11-04 17:55:12 +00:00
  • 73d91b5d34 Merge remote-tracking branch 'origin/rei/msc3202_otks_fbks' into anoa/e2e_as_internal_testing travis/alt-todev-masq-otk-fbkey Travis Ralston 2021-12-28 20:31:10 -07:00
  • fcfe67578f Update to the current version of Black and run it on Synapse codebase (#11596) Shay 2021-12-23 20:22:15 -08:00
  • 66d7aa783a Fix mypy error with opentracing.tags. (#11622) Patrick Cloke 2021-12-23 06:47:24 -05:00
  • 4143350ca2 deploy: c500bf37d6 richvdh 2021-12-23 10:43:18 +00:00
  • c500bf37d6 Add details for how to set up TURN behind NAT (#11553) AndrewFerr 2021-12-23 05:42:50 -05:00
  • 87da37374a Drop EOL python 3.6 from CI (#11595) Shay 2021-12-21 11:37:04 -08:00
  • 1180ab8db4 deploy: 144b9ede89 richvdh 2021-12-21 18:13:56 +00:00
  • 144b9ede89 Merge branch 'master' into develop Richard van der Hoff 2021-12-21 18:13:05 +00:00
  • 48a1322964 deploy: 9ec46d6231 richvdh 2021-12-21 18:12:53 +00:00
  • 9ec46d6231 Merge branch 'release-v1.49' Richard van der Hoff 2021-12-21 18:12:18 +00:00
  • 6b6dcdc338 update changelog v1.49.2 Richard van der Hoff 2021-12-21 17:41:34 +00:00
  • aa874a1390 1.49.2 Richard van der Hoff 2021-12-21 17:32:16 +00:00
  • 2bf31f7807 Pin to frozendict<2.1.2 (#11625) Richard van der Hoff 2021-12-21 17:26:04 +00:00
  • e6897e7383 Refactor tests.util.setup_test_homeserver and tests.server.setup_test_homeserver. (#11503) reivilibre 2021-12-21 16:12:05 +00:00
  • b6102230a7 Add type hints to event_push_actions. (#11594) Patrick Cloke 2021-12-21 08:25:34 -05:00
  • 012b23eb75 deploy: 57ca8ab10f richvdh 2021-12-21 12:08:17 +00:00
  • 57ca8ab10f Add notes about dropping support for Python 3.6 and Postgres 9.6. v1.49.1 Richard van der Hoff 2021-12-21 12:06:31 +00:00
  • aa58e8a28a typopo Richard van der Hoff 2021-12-21 11:24:24 +00:00
  • b9f2f6d3c4 more words Richard van der Hoff 2021-12-21 11:23:35 +00:00
  • 2215954147 Various opentracing enhancements (#11619) Richard van der Hoff 2021-12-21 11:10:36 +00:00
  • 8c36d332d5 1.49.1 Richard van der Hoff 2021-12-21 11:07:41 +00:00
  • dd47788752 Do not bundle aggregations for APIs which shouldn't include them. (#11592) Patrick Cloke 2021-12-20 14:14:38 -05:00
  • b06f415943 merge conflict H. Shay 2021-12-20 10:20:18 -08:00
  • c3e38b88f2 Improve opentracing support for ResponseCache (#11607) Richard van der Hoff 2021-12-20 18:12:08 +00:00
  • 60fa4935b5 Improve opentracing for incoming HTTP requests (#11618) Richard van der Hoff 2021-12-20 17:45:03 +00:00
  • 3bf7d6457c Add logging to diagnose a suspicion rei/librepush.net-stcache Olivier Wilkinson (reivilibre) 2021-12-20 17:01:31 +00:00
  • ecd5a03e46 Bypass caching from the old system Olivier Wilkinson (reivilibre) 2021-12-20 16:44:59 +00:00
  • c26843c3bb Bleh logbugfix Olivier Wilkinson (reivilibre) 2021-12-20 16:39:08 +00:00
  • 8e4083e2f6 Merge remote-tracking branch 'origin/release-v1.49' into develop Richard van der Hoff 2021-12-20 16:34:01 +00:00
  • 76aa5537ad Disable aggregation bundling on /sync responses (#11583) Richard van der Hoff 2021-12-20 16:33:35 +00:00
  • 4da1fdfd28 Change things around Olivier Wilkinson (reivilibre) 2021-12-20 16:31:06 +00:00
  • 7abb4bbe73 Log a little bit more Olivier Wilkinson (reivilibre) 2021-12-20 16:21:33 +00:00
  • 537adac389 Newsfile Olivier Wilkinson (reivilibre) 2021-12-20 16:14:25 +00:00
  • 3e0cfd447e Return JSON errors for unknown resources under /matrix/client. (#11602) Patrick Cloke 2021-12-20 11:00:13 -05:00
  • 7a7ca8f226 Use mock from standard library (#11588) V02460 2021-12-20 16:34:46 +01:00
  • 9858a2ca68 Add some logging and validation to help determine whether this all works or not :) Olivier Wilkinson (reivilibre) 2021-12-20 13:21:30 +00:00
  • 10bdbf1f5b Newsfile rei/p/stcache Olivier Wilkinson (reivilibre) 2021-12-20 13:05:45 +00:00
  • 3ae955ea0b Iterate over in-flight requests in descending order Olivier Wilkinson (reivilibre) 2021-12-20 12:57:47 +00:00
  • d9800c3f6f Use sorted dicts Olivier Wilkinson (reivilibre) 2021-12-20 12:55:44 +00:00
  • efe0059b98 Define a comparator for StateFilters Olivier Wilkinson (reivilibre) 2021-12-20 12:54:25 +00:00
  • 0142367bf2 Newsfile Olivier Wilkinson (reivilibre) 2021-12-20 12:26:34 +00:00
  • 13a16f5d03 Shunt out with StateFilter.all() if many requests are made to the same group Olivier Wilkinson (reivilibre) 2021-12-20 12:23:40 +00:00
  • 8ad39438fa Add opentracing types (#11603) Shay 2021-12-20 04:18:09 -08:00
  • 232be1d25d Fix up misunderstanding (fixes tests) Olivier Wilkinson (reivilibre) 2021-12-20 11:52:11 +00:00
  • 8325ddd0bc Merge branch 'develop' into rei/gsfg_1 Olivier Wilkinson (reivilibre) 2021-12-20 11:42:10 +00:00
  • db7bd678f0 Add a test for sending OTKs and UFBKs to ASes upon receiving PDUs Olivier Wilkinson (reivilibre) 2021-12-17 18:19:55 +00:00
  • ff8555efc2 Allow passing an appservice_user_id to the join helper Olivier Wilkinson (reivilibre) 2021-12-17 18:19:27 +00:00
  • 7392d2f02f Return the device ID when registering an appservice user in test helpers Olivier Wilkinson (reivilibre) 2021-12-17 18:18:48 +00:00
  • b50b46034d Fix the get_bulk_e2e_unused_fallback_keys query to return devices with only used keys Olivier Wilkinson (reivilibre) 2021-12-17 18:08:49 +00:00
  • 7486fdb463 Break up get_app_service_users_in_room to make it easier to debug Olivier Wilkinson (reivilibre) 2021-12-17 18:08:16 +00:00
  • df2a1523fc Fix NPE when trying to grab event from wrong roomId (fix sytest) Eric Eastwood 2021-12-16 17:52:13 -06:00
  • 3810ae10aa Clarify comments Eric Eastwood 2021-12-16 15:51:27 -06:00
  • b99efa8026 Plumb allow_no_prev_events through create_and_send_nonmember_event Eric Eastwood 2021-12-16 15:31:12 -06:00
  • 8428ef66c7 Add type hints to synapse/tests/rest/admin (#11590) Dirk Klimpel 2021-12-16 20:59:56 +01:00
  • 1847d027e6 Add type hints to synapse/storage/databases/main/transactions.py (#11589) Dirk Klimpel 2021-12-16 20:59:35 +01:00
  • 43f5cc7adc Add MSC2716 and MSC3030 to /versions -> unstable_features (#11582) Eric Eastwood 2021-12-16 11:25:37 -06:00
  • ec33a40201 Make the historical events float separately from the state chain Eric Eastwood 2021-12-15 23:20:53 -06:00