Commit Graph

  • 05d46e6027 Rename JoinRequest in the SDK crates to KnockRequest, make Room::mark_knock_requests_as_seen thread safe and pass user_ids instead of event_ids: the user ids will be used to get the related member state events and they'll only be marked as seen if they're in a knock state. Jorge Martín 2024-12-13 12:22:02 +01:00
  • 338769508e feat(ffi): add bindings for subscribing to the join requests Jorge Martín 2024-12-10 17:50:48 +01:00
  • 93ebae6601 feat(room): allow subscribing to requests to join a room Jorge Martín 2024-12-10 17:50:14 +01:00
  • 780c264e59 feat(room): add JoinRequest abstraction Jorge Martín 2024-12-10 17:47:29 +01:00
  • 9a899c1cb1 feat(room): add 'seen request to join ids' to the stores Jorge Martín 2024-12-10 16:57:00 +01:00
  • 2703f7f7d4 crypto: extra logging in OtherUserIdentity Richard van der Hoff 2024-12-16 12:42:21 +00:00
  • 8d2e672996 feat!: Upgrade Ruma to 0.12.0 Kévin Commaille 2024-12-16 11:30:30 +01:00
  • 5a25e65da3 test(event cache): use the MatrixMockServer Benjamin Bouvier 2024-12-11 13:29:11 +01:00
  • c197808b42 task(event cache): get rid of one level of indent Benjamin Bouvier 2024-12-11 13:22:18 +01:00
  • ed34719295 task(event cache): simplify handling a back-pagination result Benjamin Bouvier 2024-12-11 13:20:16 +01:00
  • a052a79aaf fix(event cache): store the gap *before* events, after back-paginating Benjamin Bouvier 2024-12-11 13:09:51 +01:00
  • b6542477bb task(event cache): make the code more concise in back-pagination Benjamin Bouvier 2024-12-11 12:45:28 +01:00
  • a573b650c9 chore(sdk): Remove image-rayon cargo feature check from build.rs Kévin Commaille 2024-12-15 12:22:53 +01:00
  • 789bd317b3 Merge pull request #4383 from matrix-org/valere/cache_dehydration_pickle_key Valere 2024-12-13 14:42:44 +01:00
  • 2b39476d9b feat(crypto): Support storing the dehydrated device pickle key Valere 2024-12-13 13:03:43 +01:00
  • 6dcefe49c2 feat(utds): Provide the reason why an event was an expected UTD Andy Balaam 2024-12-06 15:27:15 +00:00
  • 150d9e4b05 fix(event cache store): always use immediate mode when handling linked chunk updates Benjamin Bouvier 2024-12-12 15:09:02 +01:00
  • 54bd1d7931 refactor(base): Move the joined member count logic into its respective sub-functions Damir Jelić 2024-12-12 13:56:15 +01:00
  • 7ae31d0cb1 fix(base): Subtract the number of service members from the number joined members Damir Jelić 2024-12-12 10:34:44 +01:00
  • f7f58dfd71 feat(ui): Add the MemberHints state event type to the required state Damir Jelić 2024-12-12 10:31:53 +01:00
  • 780a4630e4 chore(ffi): avoid hardcoding clang version Richard van der Hoff 2024-12-11 16:55:25 +00:00
  • 3356e0cc82 refactor(state store): use a single lock for all memory store accesses Benjamin Bouvier 2024-12-11 14:16:42 +01:00
  • fda374ee81 feat(ffi): Add new properties to UnableToDecryptInfo Richard van der Hoff 2024-12-11 16:52:23 +00:00
  • 0264e49968 task(event cache): rename a few things Benjamin Bouvier 2024-12-11 11:49:07 +01:00
  • d42c449612 refactor(event cache): only store a prev-batch token if the timeline was limited Benjamin Bouvier 2024-12-10 14:55:52 +01:00
  • 925d10f2ff task(event cache store): include the number of added items in one log Benjamin Bouvier 2024-12-10 14:44:42 +01:00
  • 4402f59e74 refactor(event cache): spawn a task to handle updates to the event cache store Benjamin Bouvier 2024-12-10 12:16:32 +01:00
  • 20184552a8 feat(event cache): start with an empty linked chunk if reloading failed Benjamin Bouvier 2024-12-09 17:22:39 +01:00
  • 832fedb05e feat(event cache): display raw linked chunks from storage when they fail to be rebuilt Benjamin Bouvier 2024-12-09 17:12:56 +01:00
  • eeb14f6cbe refactor!(event cache store): have the event cache store return raw linked chunks, not the full linked chunk Benjamin Bouvier 2024-12-09 16:40:08 +01:00
  • a562f73b1e doc(timeline): Document media caching of send_attachment Kévin Commaille 2024-12-10 13:05:17 +01:00
  • 7295f29055 doc(send_queue): Document media caching of send_attachment Kévin Commaille 2024-12-10 13:00:42 +01:00
  • 723d7973d5 fix(send_queue): Use MediaFormat::File when caching attachment thumbnail Kévin Commaille 2024-12-10 12:53:57 +01:00
  • d5e7a9c949 chore(ui): rename date divider is_same_date_as to is_same_date_divider_group_as Stefan Ceriu 2024-12-10 13:08:47 +02:00
  • 8f064581d6 chore(ui): rename the day_dividers module to date_dividers Stefan Ceriu 2024-12-09 17:59:48 +02:00
  • 634edf2b65 chore(ui): rename all timeline "day dividers" to "date deviders" following the introduction of montly divider mode Stefan Ceriu 2024-12-09 17:56:40 +02:00
  • 935e4df927 feat(ui): make the timeline date separators configurable; have them appear either when the day changes or when the month changes. Stefan Ceriu 2024-12-09 14:15:00 +02:00
  • 1d72d2774f feat(ui): Add more properties to UnableToDecryptInfo Richard van der Hoff 2024-12-01 22:38:27 +00:00
  • 1e72131e7f feat(ui) Add UnableToDecryptInfo::user_trusts_own_identity Richard van der Hoff 2024-12-01 22:19:52 +00:00
  • e8b3949db3 feat(ui): Add UnableToDecryptInfo::event_local_age_millis Richard van der Hoff 2024-12-01 21:18:24 +00:00
  • c501a39ad4 refactor(sdk): Add Encryption::device_creation_timestamp Richard van der Hoff 2024-12-01 20:41:02 +00:00
  • a04f9187f8 refactor(ui): store UTD info within PendingUtdReport Richard van der Hoff 2024-12-01 21:58:41 +00:00
  • 32e2070f56 refactor(ffi): use a bool instead of an option to make the API less awkward Benjamin Bouvier 2024-12-10 11:45:53 +01:00
  • 4ee96aaffc feat(event cache): add a way to clear a single room's persistent storage Benjamin Bouvier 2024-12-09 15:35:05 +01:00
  • 0783cf89ba feat(ffi): add a feature flag to enable persistent storage for the event cache Benjamin Bouvier 2024-12-09 15:10:08 +01:00
  • cf02e694f2 feat(event cache store): add a method to clear all rooms' linked chunks Benjamin Bouvier 2024-12-09 14:54:13 +01:00
  • cf178d603c doc(ui): Fix typos. Ivan Enderlin 2024-12-09 17:14:44 +01:00
  • ee94c86164 doc(ui): Fix a typo. Ivan Enderlin 2024-12-09 17:10:57 +01:00
  • 3526761580 doc(ui): Unfold a Self in the doc. Ivan Enderlin 2024-12-09 17:10:02 +01:00
  • 9a08975c8e doc(ui): Explain why ObservableItemsEntries does not implement Iterator. Ivan Enderlin 2024-12-09 16:50:25 +01:00
  • 6b56c9efd8 doc(ui): Explain why Deref is fine, but DerefMut is not. Ivan Enderlin 2024-12-09 16:39:40 +01:00
  • 0f2ada0958 refactor(ui): Rename ObservableItems::clone to clone_items. Ivan Enderlin 2024-12-09 16:37:07 +01:00
  • 0d17ea353f refactor(ui): Replace a panic by a sensible value + error!. Ivan Enderlin 2024-12-09 16:34:04 +01:00
  • 13e26b13e7 doc(ui): Rephrase the documentation of ObservableItems::all_remote_events. Ivan Enderlin 2024-12-09 16:11:16 +01:00
  • 72f1bd6180 doc(ui): Document ObservableItems::items more and TimelineItemKind. Ivan Enderlin 2024-12-09 16:04:31 +01:00
  • e32ea1627e doc(ui): Fix typos. Ivan Enderlin 2024-12-09 15:58:48 +01:00
  • ed1f2e29ed refactor(ui): ObservableItemsTransactionEntry::remove is no longer unsafe Ivan Enderlin 2024-12-09 15:28:11 +01:00
  • 92cb18207e test(ui): Write test suite for ObservableItems. Ivan Enderlin 2024-12-04 21:16:48 +01:00
  • 80f6b8d2cd test(ui): Write test suite for AllRemoteEvents. Ivan Enderlin 2024-12-04 20:51:50 +01:00
  • 05969fefde chore: Make Clippy happy. Ivan Enderlin 2024-12-04 19:43:54 +01:00
  • 81c962238a doc(ui): Add more documentation for AllRemoteEvents. Ivan Enderlin 2024-12-04 17:42:32 +01:00
  • 56218ee5d7 refactor(ui): Create ObservableItemsTransactionEntry. Ivan Enderlin 2024-12-04 17:39:38 +01:00
  • aa9138b281 doc(ui): Add more documentation for ObservableItemsTransaction. Ivan Enderlin 2024-12-04 17:20:32 +01:00
  • 6f231523b3 refactor(ui): Create ObservableItemsEntries and ObservableItemsEntry. Ivan Enderlin 2024-12-04 17:10:52 +01:00
  • 943b3fbd91 refactor(ui): Rename ObservableItems::set to replace. Ivan Enderlin 2024-12-04 16:56:35 +01:00
  • 40ff880597 doc(ui): Add more documentation. Ivan Enderlin 2024-12-04 16:54:53 +01:00
  • 0647be1bc3 refactor(ui): Move AllRemoteEvents inside observable_items. Ivan Enderlin 2024-12-04 16:46:14 +01:00
  • b069b20e18 refactor(ui): Create ObservableItems(Transaction). Ivan Enderlin 2024-12-04 15:01:44 +01:00
  • 91b73a2b16 refactor(ui): Maintain timeline_item_index when timeline items are inserted or removed. Ivan Enderlin 2024-12-04 11:17:07 +01:00
  • 14d0f6877a refactor(ui): Maintain timeline_item_index when remote events are manipulated. Ivan Enderlin 2024-12-04 10:53:20 +01:00
  • a2210bce48 refactor(ui): Add EventMeta::timeline_item_index. Ivan Enderlin 2024-12-04 10:45:48 +01:00
  • 68cb85a2b2 refactor(event cache store): use a single transaction to handle all linked chunk updates at once Benjamin Bouvier 2024-12-09 15:45:09 +01:00
  • 72fcc50f80 feat(ffi): Expose the method to send custom events with JSON content (#4390) Jonas Richard Richter 2024-12-10 11:03:31 +01:00
  • 5721c3622d refactor(key_backups): Rename fast_exists_on_server to exists_on_server Andy Balaam 2024-12-06 11:46:55 +00:00
  • 50eb46dc82 refactor(key_backups): Rename exists_on_server to fetch_exists_on_server Andy Balaam 2024-12-06 11:45:42 +00:00
  • 8aae16ffd7 feat(crypto) Provide a method to check whether server backup exists without hitting the server every time Andy Balaam 2024-11-29 14:46:05 +00:00
  • e402ed4ce8 refactor(event cache): get the *most recent* pagination token, not the *oldest* one Benjamin Bouvier 2024-12-03 17:11:23 +01:00
  • a1a04ee513 chore: Remove MSRV from READMEs Kévin Commaille 2024-12-09 15:03:28 +01:00
  • affdc25256 refactor(linked chunk): rename len() to num_items() Benjamin Bouvier 2024-12-09 14:27:30 +01:00
  • 8db78efbbc fix(event cache): use a correcter heuristic to decide whether to add initial events or not Benjamin Bouvier 2024-12-09 14:06:51 +01:00
  • d8184e72eb fix(media): Make sure that local MXC URIs only try to get media from the cache and ignore requested dimensions (#4387) Kévin Commaille 2024-12-09 13:43:49 +01:00
  • 3bd57d4307 feat(sdk): support for observing m.beacon events torrybr 2024-11-27 07:52:50 -05:00
  • 42193f1b06 chore(xtask): Remove unnecessary lifetime Kévin Commaille 2024-12-07 11:51:18 +01:00
  • a277e6d37f chore(xtask): Disable unexpected_cfgs lint Kévin Commaille 2024-12-07 11:50:29 +01:00
  • bf6fa4cd55 fix(event cache): don't fill initial items if the room already had events (#4381) Benjamin Bouvier 2024-12-06 12:37:34 +01:00
  • 6501a44e6a feat: Add support for MSC4171 Damir Jelić 2024-11-21 13:22:53 +01:00
  • ee30008f38 feat: Accept any string as a key for m.direct account data (#4228) Mathieu Velten 2024-12-05 12:37:16 +00:00
  • 22cb8a1878 chore: Bump the pprof version to fix a security issue Damir Jelić 2024-12-05 11:50:33 +01:00
  • 111f916a78 feat(WidgetDriver): Pass Matrix API errors to the widget (#4241) Timo 2024-12-04 17:52:02 +01:00
  • a6e1f05957 test(event cache): use the MatrixMockServer for integration testing Benjamin Bouvier 2024-12-04 13:07:26 +01:00
  • 0b64c68191 test(event cache): make use of macros to avoid manual timeouts Benjamin Bouvier 2024-12-04 12:47:03 +01:00
  • 713039279c Enable persistent storage in multiverse Benjamin Bouvier 2024-12-03 16:39:30 +01:00
  • d317e5d73c feat(event cache): don't react specifically to limited timelines, when storage's enabled Benjamin Bouvier 2024-12-03 16:05:05 +01:00
  • ee93c278df chore: Update the hashbrown version we're using matrix-sdk-ffi/20241204 Damir Jelić 2024-12-04 15:49:30 +01:00
  • 1009ea86ae Merge pull request #4305 from matrix-org/valere/support_for_withheld_reason Valere 2024-12-04 15:57:22 +01:00
  • 7d8e7af308 Revert "chore(ui): Unify the logic for timeline item insertions" Damir Jelić 2024-12-04 13:36:33 +01:00
  • 136522c694 Revert "doc(timeline): tweak comments when inserting a new item" Damir Jelić 2024-12-04 13:36:28 +01:00
  • 6801811226 feat(crypto): Supports new UtdCause variants for withheld keys Valere 2024-12-04 15:33:08 +01:00
  • a4434d79c9 feat(event cache): strip bundled relations before persisting events Benjamin Bouvier 2024-12-03 15:30:12 +01:00
  • e0b1b5dc05 test: don't use the event cache storage but regular syncs instead Benjamin Bouvier 2024-12-04 11:24:09 +01:00