Commit Graph

  • cbc832411d read receipts: add an extra num_unread_notifications field Benjamin Bouvier 2023-12-19 18:29:10 +01:00
  • 843fcac3c1 read receipts: don't clone cached events for computing the read receipt state Benjamin Bouvier 2023-12-19 16:52:07 +01:00
  • b3a8f34655 read receipts: move the unread messages and mentions counts to separate fields of RoomInfo Benjamin Bouvier 2023-12-19 12:03:40 +01:00
  • 73af3d9cfa Make it clear that some functions are tests or test helpers only Benjamin Bouvier 2023-12-19 11:40:49 +01:00
  • 09e355a7bc read receipts: add integration tests for read receipts Benjamin Bouvier 2023-12-19 11:41:43 +01:00
  • 9ba09b2ae8 sync: process unread notification count client-side Benjamin Bouvier 2023-12-12 17:25:35 +01:00
  • c9b02ad068 doc: document SlidingSyncRoomInner::timeline_queue a bit better Benjamin Bouvier 2023-12-18 16:12:25 +01:00
  • 07c428ec56 sdk base: add latest_read_receipt_event_id field to RoomInfo Benjamin Bouvier 2023-12-18 15:31:17 +01:00
  • d4b8f88e10 Fix regenerate_olm_machine losing backup state (#2961) Valere 2023-12-21 09:43:55 +01:00
  • 28a58479e7 Bring back original (slower) build style under the sequentially fla… (#2960) Stefan Ceriu 2023-12-21 10:15:21 +02:00
  • 320b868694 style: remove spurious fully-qualified path Benjamin Bouvier 2023-12-18 15:32:17 +01:00
  • 8615b1283a sliding sync: don't cause a spurious RoomInfo update Benjamin Bouvier 2023-12-15 18:11:49 +01:00
  • 9a4d539428 sliding sync: optimize finding the room member state event Benjamin Bouvier 2023-12-12 17:49:21 +01:00
  • 4d3fc44425 Put imports behind feature Kévin Commaille 2023-12-18 14:07:01 +01:00
  • 8b878c6591 Fix test Kévin Commaille 2023-12-18 14:05:01 +01:00
  • 738f7f0336 client: Create DM as encrypted by default Kévin Commaille 2023-12-18 13:04:39 +01:00
  • f5fb44bd80 Maybe trigger backup at end of sync (#2939) Valere 2023-12-18 11:41:44 +01:00
  • e0ba9f5a22 xtask: Use Uniffi Library mode for Kotlin too. Doug 2023-12-13 17:46:52 +00:00
  • b5aeea0a3b xtask: Handle multiple headers/modulemaps. Doug 2023-12-13 12:38:43 +00:00
  • 19526cea6b Merge pull request #2928 from zecakeh/qrcode-changes Ivan Enderlin 2023-12-15 12:52:50 +01:00
  • 99d0b37914 Merge pull request #2951 from matrix-org/andybalaam/clarify-meaning-of-pendingbackup-sessions Ivan Enderlin 2023-12-15 12:45:29 +01:00
  • b21a438b7e Merge pull request #2934 from matrix-org/andybalaam/mark_sessions_as_backed_up Andy Balaam 2023-12-15 11:40:50 +00:00
  • f3101baa08 Merge branch 'main' into andybalaam/mark_sessions_as_backed_up Andy Balaam 2023-12-15 10:47:36 +00:00
  • 0cf99db001 Delete accidentally-copied repeat_vars function Andy Balaam 2023-12-15 10:47:11 +00:00
  • a032d33d21 Remove comments in favour of a separate PR with type aliases Andy Balaam 2023-12-15 10:40:36 +00:00
  • 92212cc328 Clarify the meaning of the sessions field in PendingBackup Andy Balaam 2023-12-15 10:38:56 +00:00
  • 6ffb0181e4 Make sure qrcode feature is additive Kévin Commaille 2023-12-15 11:01:03 +01:00
  • 614bf942c0 build(deps): bump zerocopy from 0.7.26 to 0.7.31 dependabot[bot] 2023-12-15 03:53:51 +00:00
  • 512509ce8b Switch to using chunk_large_query_over in mark_inbound_group_sessions_as_backed_up Andy Balaam 2023-12-14 16:56:13 +00:00
  • dfb33c9534 Move chunk_large_query_over into SqliteObjectExt so it can be reused Andy Balaam 2023-12-14 16:55:36 +00:00
  • 03aad4e965 Move repeat_vars into utils so it can be reused Andy Balaam 2023-12-14 16:20:12 +00:00
  • 9e67b6fcb1 Merge branch 'main' into andybalaam/mark_sessions_as_backed_up Andy Balaam 2023-12-14 15:25:43 +00:00
  • 9443f455a4 Test Media caching, and re-implement it inside MemoryStore Ivan Enderlin 2023-12-14 15:51:04 +01:00
  • 384deec1c8 chore(base): Simplify code. Ivan Enderlin 2023-12-14 15:35:38 +01:00
  • 5310f41cda integration-testing: Add test for QR verification Kévin Commaille 2023-12-14 15:23:16 +01:00
  • 95a1db8fc7 Merge pull request #2947 from matrix-org/andybalaam/use-correct-limit-in-chunk_large_query_over Ivan Enderlin 2023-12-14 14:31:40 +01:00
  • 3d9dffa3b7 chore(base): Remove unused imports. Ivan Enderlin 2023-12-14 14:18:56 +01:00
  • 3d7e1d5989 Merge branch 'main' into andybalaam/use-correct-limit-in-chunk_large_query_over Andy Balaam 2023-12-14 13:17:06 +00:00
  • a46bf76d74 test(base): Improve test_media_content. Ivan Enderlin 2023-12-14 14:15:01 +01:00
  • 326935db63 feat(base): Correct implementations for MemoryStore media removal. Ivan Enderlin 2023-12-14 13:54:12 +01:00
  • 416bc8b0e4 feat(base): Implement Media::uri. Ivan Enderlin 2023-12-14 13:53:23 +01:00
  • edd113a17c feat(common): Implement RingBuffer::remove. Ivan Enderlin 2023-12-14 13:28:17 +01:00
  • 66411d7b2e Merge pull request #2946 from matrix-org/andybalaam/tests-for-repeat_vars Ivan Enderlin 2023-12-14 13:10:12 +01:00
  • 4a53bf1f3d Merge pull request #2945 from matrix-org/andybalaam/limits-access-for-sqlite Ivan Enderlin 2023-12-14 13:10:02 +01:00
  • a3aa55ce91 Use the limit() method to find the variable limit Andy Balaam 2023-12-14 11:21:01 +00:00
  • 0066ae6614 Unit tests for the repeat_vars function Andy Balaam 2023-12-14 11:26:43 +00:00
  • 17ebc23719 Provide a limit() method in sqlite to find limit values Andy Balaam 2023-12-14 11:19:20 +00:00
  • cdb3449ce2 test(sdk): Test that Media::get_media_content with caching works. Ivan Enderlin 2023-12-14 12:11:24 +01:00
  • c5b11fc2f8 feat(sdk): Simplify code from Media::get_media_content. Ivan Enderlin 2023-12-14 12:10:08 +01:00
  • 2ad6acb930 doc(common): Add documentation for RingBuffer::drain. Ivan Enderlin 2023-12-14 12:07:08 +01:00
  • dac779f4fc test(base): Re-implement a super basic media cache for MemoryStore. Ivan Enderlin 2023-12-14 12:04:58 +01:00
  • e2ea19ee77 Add rule kind to error messages Kévin Commaille 2023-12-14 11:13:04 +01:00
  • cc38768bf4 notification settings: Don't error if poll start rules are not found Kévin Commaille 2023-12-11 04:05:36 +01:00
  • c87bd4d4ec notification settings: Log errors from requests Kévin Commaille 2023-12-11 04:14:11 +01:00
  • 5700c700f0 error: Use NotificationSettingsError::RuleNotFound's rule ID in display impl Kévin Commaille 2023-12-11 04:08:13 +01:00
  • fff9882792 notification settings: Rely more on Ruma methods Kévin Commaille 2023-12-11 03:48:39 +01:00
  • 45f8ff11c2 notification settings: Derive Copy for enum types Kévin Commaille 2023-12-11 03:31:17 +01:00
  • 7c9d842d05 notification settings: Use private method to get poll start rule ID Kévin Commaille 2023-12-11 03:24:14 +01:00
  • c3706d7ca0 notification settings: Allow to manage keywords (#2905) Kévin Commaille 2023-12-14 11:16:40 +01:00
  • b314da37b8 feat(ffi): Timeline::send_image and send_video takes an optional thumbnail_url Ivan Enderlin 2023-12-14 10:48:16 +01:00
  • 02ba6c0dbe feat(ffi): Client::*media* are now async Ivan Enderlin 2023-12-14 09:14:39 +01:00
  • 22d9c62262 feat(ffi): Timeline::send_image and send_video takes an optional thumbnail_url. Ivan Enderlin 2023-12-13 17:07:03 +01:00
  • 18b6387a7a Merge pull request #2935 from matrix-org/rav/fix_nonmonotonic_panic Ivan Enderlin 2023-12-13 15:57:32 +01:00
  • c5ddba2e13 feat(ffi): Client::*media* are now async. Ivan Enderlin 2023-12-13 15:33:01 +01:00
  • 9756ed28cf verification: Expose the room ID where the verification is happening Kévin Commaille 2023-12-13 15:22:13 +01:00
  • 5701cea51e Configure Instant wasm polyfill to use monotonic time Richard van der Hoff 2023-12-13 12:08:54 +00:00
  • 794b7ead7a Clippy fixes Andy Balaam 2023-12-13 08:43:59 +00:00
  • f879f3d866 Formatting Andy Balaam 2023-12-13 08:32:00 +00:00
  • 4ebb8e29b4 Provide CryptoStore::mark_sessions_as_backed_up on stores and use it in BackupMachine::mark_request_as_sent Andy Balaam 2023-12-12 15:46:31 +00:00
  • d764fca7da xtask: Move all the Swift files found Doug 2023-12-11 19:22:37 +00:00
  • 3b7f9f7361 Reapply "bindings: Use new uniffi-bindgen build mode" Jonas Platte 2023-12-08 11:26:35 +01:00
  • 73770b78bb room: Add test for unban_user. Doug 2023-12-07 14:36:53 +00:00
  • 7cffc34984 ffi: Support banning, unbanning and kicking users. Doug 2023-12-07 11:22:43 +00:00
  • c4ef967523 dx: tweak debugging of user/device pairs missing a session Benjamin Bouvier 2023-12-08 13:26:49 +01:00
  • f0b378179e matrix auth: Await save_session_callback Kévin Commaille 2023-12-11 16:38:39 +01:00
  • ee344112f3 verification: Expose the QrVerificationState and the stream for its changes Kévin Commaille 2023-12-11 16:13:51 +01:00
  • 1f52aca210 Fix typo in doc. Benoit Marty 2023-12-06 14:43:08 +01:00
  • 74091de8ef sdk: Make sure "testing" feature is enabled for integration tests Kévin Commaille 2023-12-11 11:36:30 +01:00
  • 0f6efc391a client: Allow to create encrypted DM Kévin Commaille 2023-12-11 11:14:19 +01:00
  • c707e1f17e feat(bindings): expose a function to send private read receipts (#2906) Mauro 2023-12-11 10:29:06 +01:00
  • 5ab69f7400 ffi: add emoji indices in the session verification data + use decimals as a fallback Benjamin Bouvier 2023-12-08 12:45:57 +01:00
  • e652069896 sdk: Use crates.io release of mas-oidc-client Jonas Platte 2023-12-07 17:14:20 +01:00
  • 5337c9d9ea refactoring: make it clear that notifications aren't stored in the state store Benjamin Bouvier 2023-12-05 16:26:04 +01:00
  • 9fd52e5df7 timeline: document event_filter better Benjamin Bouvier 2023-12-05 16:00:59 +01:00
  • 4ab79a4085 timeline: add the room version in the event_filter parameters Benjamin Bouvier 2023-12-05 12:07:31 +01:00
  • a132c0a885 read receipts: apply a default event filter only for events that get rendered Benjamin Bouvier 2023-12-01 10:40:28 +01:00
  • 5081802177 room: try restoring from a key backup during backpagination too Benjamin Bouvier 2023-12-05 15:35:41 +01:00
  • 736188811f ffi: expose the call member state event type for clients to check if users can join calls Stefan Ceriu 2023-12-04 17:39:35 +02:00
  • 1337fdf0b8 ffi: Expose is_invite_for_me_enabled and set_invite_for_me_enabled in notification settings Benoit Marty 2023-12-04 17:04:19 +01:00
  • 0573137835 Merge pull request #2902 from matrix-org/rav/outgoing_key_requests_switch Ivan Enderlin 2023-12-04 15:12:33 +01:00
  • 21ce2b07a7 Merge pull request #2904 from matrix-org/jme/add-typing-notice-bindings Ivan Enderlin 2023-12-04 15:09:46 +01:00
  • 6451a9dffe rename toggle -> set Richard van der Hoff 2023-12-04 12:53:02 +00:00
  • a6af31984a Assert that the stream is pending Kévin Commaille 2023-12-04 13:12:32 +01:00
  • 2de45bcb51 notification settings: Do not expose NotificationSettings::new in the public API Kévin Commaille 2023-12-04 13:01:30 +01:00
  • 7bdc1448bd notification settings: Drop event handler only when last instance is dropped Kévin Commaille 2023-12-04 10:25:47 +01:00
  • 511c44c588 Add test for NotificationSettings::subscribe_to_changes Kévin Commaille 2023-12-02 12:09:59 +01:00
  • a915900580 notification settings: Allow to subscribe to changes Kévin Commaille 2023-12-01 14:17:34 +01:00
  • e12f6fcbb7 notification settings: Accept any type that implements AsRef<str> as rule_id Kévin Commaille 2023-12-01 12:57:55 +01:00
  • 72dfd3d1fd Add FFI bindgings for Room.typing_notice() Jorge Martín 2023-12-01 16:19:32 +01:00
  • a6c206118d changelog Richard van der Hoff 2023-12-01 12:50:43 +00:00