Commit Graph

  • ed6f658405 Fix spurious "unknown secret request" warning (#2755) Richard van der Hoff 2023-10-20 18:37:17 +01:00
  • 4ea8ecaac8 widget: Add missing unit tests for error cases Daniel Abramov 2023-10-20 16:06:57 +02:00
  • 71627a29a6 style: use not().then() in one place Benjamin Bouvier 2023-10-20 16:45:57 +02:00
  • 2f90f9d55d account: make it more obvious what Account::clone_internal is, so it can't be misused Benjamin Bouvier 2023-10-20 16:38:56 +02:00
  • eb5bf4d51f store cache: copy the account back into the cache if there were pending changes to it Benjamin Bouvier 2023-10-20 16:34:10 +02:00
  • fc35d86a69 test: use unwrap() instead of Result in a test Benjamin Bouvier 2023-10-20 16:17:18 +02:00
  • 08450da5e1 crypto: move Store::mark_tracked_users_as_up_to_date to the StoreCache Benjamin Bouvier 2023-10-16 18:50:38 +02:00
  • 9ecc6ddd1e crypto: move Store::tracked_users to StoreCache Benjamin Bouvier 2023-10-16 18:48:43 +02:00
  • 71229dd98b crypto: remove useless parameter in receive_device_changes Benjamin Bouvier 2023-10-16 18:39:38 +02:00
  • a2702e6d98 crypto: move Store::update_tracked_users to the StoreCache Benjamin Bouvier 2023-10-16 18:38:43 +02:00
  • 0feccc7fee crypto: remove useless call to self.cache in Store::users_for_key_query Benjamin Bouvier 2023-10-16 18:11:50 +02:00
  • f580966408 crypto: move Store::mark_user_as_changed to the StoreCache too Benjamin Bouvier 2023-10-16 17:56:54 +02:00
  • 537ac8a269 crypto: fix test failure Benjamin Bouvier 2023-10-13 14:59:08 +02:00
  • 65f4cc151c crypto: move Store::mark_tracked_users_as_changed to StoreCache Benjamin Bouvier 2023-10-13 11:55:06 +02:00
  • 7c51950167 crypto: move Store::ensure_sync_tracked_users to the StoreCache Benjamin Bouvier 2023-10-13 11:27:57 +02:00
  • 3030bcbf1e crypto: introduce a RwLock on the StoreCache Benjamin Bouvier 2023-10-12 17:31:40 +02:00
  • 3d7a56e468 crypto: remove inner mutable shared state from Account Benjamin Bouvier 2023-10-12 16:07:48 +02:00
  • 8bfcd20801 crypto: make Account not clonable and the Account in the cache optional Benjamin Bouvier 2023-10-10 14:02:33 +02:00
  • 3570519c0c crypto: make StoreCache::account fallible and async Benjamin Bouvier 2023-10-09 16:44:03 +02:00
  • a82964ac75 crypto: get rid of test-only OlmMachine::account Benjamin Bouvier 2023-10-09 16:33:49 +02:00
  • be96ddb24a crypto: introduce StoreCache::account() function Benjamin Bouvier 2023-10-09 16:24:38 +02:00
  • 6d0ed67679 widget: Rename remaining "permissions" to capabilities Jonas Platte 2023-10-20 13:15:07 +02:00
  • 3c74809374 widget: Attach room ID to events from sync Jonas Platte 2023-10-20 12:42:04 +02:00
  • fc6549213b widget: Filter incoming matrix events Jonas Platte 2023-10-20 12:39:41 +02:00
  • f937e7d14a widget: Fix ResponseData type for notify requests Jonas Platte 2023-10-20 12:29:33 +02:00
  • 9d8e5a0d08 widget: Add subscribe / unsubscribe event handling Daniel Abramov 2023-10-18 20:05:56 +02:00
  • 4900089669 widget: Remove obsolete allow(dead_code) Daniel Abramov 2023-10-18 19:45:07 +02:00
  • a4fd054705 widget: Properly handle matrix driver request errors Jonas Platte 2023-10-20 10:36:57 +02:00
  • 685c51b3af widget: Add OpenID request handling Daniel Abramov 2023-10-18 19:27:48 +02:00
  • 70b8ac425f widget: Fix name, response fields of capabilities request Jonas Platte 2023-10-19 18:11:14 +02:00
  • 7582b4fda9 widget: Fix field name in supported-versions response Jonas Platte 2023-10-19 18:10:48 +02:00
  • a2d05ed002 widget: Remove unnecessary type wrapping Jonas Platte 2023-10-19 17:04:46 +02:00
  • 489d699cc5 widget: Remove unused Serialize implementation Jonas Platte 2023-10-19 16:35:34 +02:00
  • 561db87b64 widget: Add integration tests for sending events Jonas Platte 2023-10-19 14:27:58 +02:00
  • 4982f87c59 widget: Add support for send-event fromWidget requests Jonas Platte 2023-10-19 13:44:24 +02:00
  • 14cf923361 widget: Add tests for event reading requests Jonas Platte 2023-10-19 12:38:42 +02:00
  • 3ce7126d58 widget: Add support for read-state-event fromWidget requests Jonas Platte 2023-10-19 11:32:39 +02:00
  • 946976a561 widget: Add EventFilter::matches_state_event_with_any_state_key Jonas Platte 2023-10-19 10:56:32 +02:00
  • e58ee3bcf1 widget: Fix copy-paste comment error Jonas Platte 2023-10-19 10:52:42 +02:00
  • c0985942dd widget: Actually add request ID to process_from_widget_request span Jonas Platte 2023-10-19 10:44:56 +02:00
  • 3b4108e519 widget: Add Deserialize impl for StateKeySelector Jonas Platte 2023-10-19 09:57:56 +02:00
  • 70524e2f5c build(deps): bump rustix from 0.37.24 to 0.37.25 dependabot[bot] 2023-10-18 18:46:44 +00:00
  • d5bda8147f ffi: Remove _blocking functions Jonas Platte 2023-10-13 10:26:51 +02:00
  • 02a0916bc2 widget: Rename "permissions" to "capabilities" Jonas Platte 2023-10-18 17:51:22 +02:00
  • 01ec91bda4 widget: Rename Capabilities to CapabilitiesState Jonas Platte 2023-10-18 17:44:53 +02:00
  • 12db7516ef widget: Add get_supported_api_versions support Jonas Platte 2023-10-18 17:52:00 +02:00
  • af71d831c6 Fix 'verifying' typos Jonas Platte 2023-10-18 17:05:13 +02:00
  • b623c7c357 widget: Complete ContentLoaded implementation Daniel Abramov 2023-10-18 16:08:58 +02:00
  • 5f0e5c7407 added the with_mentions method Mauro Romito 2023-10-17 16:11:14 +02:00
  • 2c80307e53 widget: Add content_loaded initialization Jonas Platte 2023-10-18 14:29:37 +02:00
  • 1aef675a97 widget: Fix a small error in test code Jonas Platte 2023-10-18 14:20:33 +02:00
  • ea36eaa09a widget: Implement fromWidget response sending Jonas Platte 2023-10-18 14:16:12 +02:00
  • 9c71c2b733 widget: Rename process_message_from_widget to process_widget_message Jonas Platte 2023-10-18 13:36:03 +02:00
  • 46a8f4e841 widget: Clean up json! indentation in test Jonas Platte 2023-10-18 13:12:11 +02:00
  • eb5f05d8c5 widget: Add missing driver requests Daniel Abramov 2023-10-18 14:24:36 +02:00
  • 29fc3d0289 widget: Shorten tracing instrument args Jonas Platte 2023-10-18 13:09:02 +02:00
  • 04fcc0bb87 widget: split parsing of common widget header Daniel Abramov 2023-10-18 12:56:32 +02:00
  • 77bae6f421 widget: add a note to the error handling Daniel Abramov 2023-10-18 12:35:19 +02:00
  • a99cb7c30f widget: move things around in function (chore) Daniel Abramov 2023-10-18 11:59:41 +02:00
  • 6363cd5902 widget: extract capability negotiation into fn Daniel Abramov 2023-10-18 11:57:49 +02:00
  • 541c0ef559 widget: Add an integration test for immediate capability negotiation Jonas Platte 2023-10-18 12:04:09 +02:00
  • 65cc926612 widget: Add more tracing events Jonas Platte 2023-10-18 12:03:51 +02:00
  • c550fa80a7 widget: Coalesce matrix driver response messages into an enum Jonas Platte 2023-10-18 10:58:29 +02:00
  • 5113d6e161 widget: Don't alias ruma request type Jonas Platte 2023-10-18 10:02:41 +02:00
  • f910d10f6b widget: Rename Event -> IncomingMessage Jonas Platte 2023-10-18 09:56:46 +02:00
  • 29620144fe widget: Split up Machine::process and add more sanity checks Jonas Platte 2023-10-18 09:54:49 +02:00
  • deff0a06f5 widget: Implement capability negotiation Daniel Abramov 2023-10-17 20:07:34 +02:00
  • e038ced2c6 widget: Add toWidget & MatrixDriver response handling skeleton Jonas Platte 2023-10-17 18:01:38 +02:00
  • f75b2cd1d0 Documentation on /keys/query parsing functions (#2674) Richard van der Hoff 2023-10-17 16:55:26 +01:00
  • 7c4046e463 widget: Implement requesting of capabilities w/o init_on_content_load Jonas Platte 2023-10-17 13:32:31 +02:00
  • a4cc28f94a widget: Rename client module to machine Jonas Platte 2023-10-17 13:05:22 +02:00
  • de0543c2e2 widget: Rename settings#id to widget_id Jonas Platte 2023-10-17 12:28:23 +02:00
  • 4a1e4cd279 widget: Rename ClientApi to WidgetMachine Jonas Platte 2023-10-17 12:01:50 +02:00
  • a812f17ec4 widget: Clarify MatrixDriver's purpose Jonas Platte 2023-10-17 12:01:05 +02:00
  • 7c958498bf ui: Raise log level for prev_batch wait timeout Jonas Platte 2023-10-17 10:44:52 +02:00
  • 06e3fc4235 widget: Add a failing (ignored) test for reading room messages Jonas Platte 2023-10-16 18:29:10 +02:00
  • 07951b88d3 widget: Separate reading of message and state events Jonas Platte 2023-10-16 18:28:41 +02:00
  • 5775a6e628 widget: Group trait impls in client::outgoing Jonas Platte 2023-10-17 10:13:10 +02:00
  • 20021abee3 widget: Fix clippy warning Jonas Platte 2023-10-17 10:21:21 +02:00
  • b3f37459b7 widget: Reduce visibility on widget::matrix types and their methods Jonas Platte 2023-10-16 15:45:26 +02:00
  • 8496673310 sdk: Move WidgetSettings constructor to top of impl block Jonas Platte 2023-10-16 14:02:38 +02:00
  • 3c9f48dcb5 common: Add a tracing MakeWriter for writing to a JS Logger Richard van der Hoff 2023-10-16 19:10:41 +01:00
  • 7f3fef5d8b ci: Run documentation CI workflow when un-drafting a PR Jonas Platte 2023-10-16 15:29:04 +02:00
  • 7ee872c4bd Fix avatar url and display name in element call link generation Timo 2023-10-16 11:00:32 +02:00
  • a433d51efc Add static lifetimes to some constants Richard van der Hoff 2023-10-13 12:43:59 +01:00
  • 41a26e30e9 oidc: use sha2 to hash everything oidc-related Benjamin Bouvier 2023-10-12 17:49:29 +02:00
  • efb16ed5b4 oidc: remove logging of hashed token Benjamin Bouvier 2023-10-12 17:47:45 +02:00
  • 735b0d2d24 ffi: Allow MessageType to contain arbitrary msgtype values, plus body Jonas Platte 2023-10-11 16:49:04 +02:00
  • 51ee8209bd sdk: Use BTreeSet instead of HashSet in widget tests Jonas Platte 2023-10-12 18:22:08 +02:00
  • bc0e3609d0 sdk: Rewrap strings in widget tests Jonas Platte 2023-10-12 17:39:08 +02:00
  • a6a4695dd4 ffi: Inline local variables in WidgetSettings conversion Jonas Platte 2023-10-12 17:16:15 +02:00
  • f826999773 feature: send voice message API (#2697) Alfonso Grillo 2023-10-12 18:34:09 +02:00
  • ba2a5137dc ui: Fix missing thread relation when sending reply to threaded message Jonas Platte 2023-10-12 15:37:17 +02:00
  • eadc7b9052 feat: enable push rules when changing actions (#2708) Alfonso Grillo 2023-10-12 14:41:12 +02:00
  • b98c4772e5 widget: Define outgoing request types Daniel Abramov 2023-10-12 12:20:13 +02:00
  • 10393eee8d ui: Require PaginationOptions strategy to be Sync Kévin Commaille 2023-10-12 11:44:40 +02:00
  • 4e86954008 Upgrade async-compat Jonas Platte 2023-10-11 09:43:44 +02:00
  • 4b98d24230 Upgrade UniFFI Jonas Platte 2023-10-04 10:42:03 +02:00
  • d54668305e ci: Run widget tests in coverage job Jonas Platte 2023-10-11 14:24:23 +02:00
  • 9cea46c459 widget: add unit tests for Permissions Daniel Abramov 2023-10-11 13:46:58 +02:00