Commit Graph

  • b6b9dc8c1a fix(test): make the test_monthly_divider_mode test pass all on timezones Benjamin Bouvier 2025-05-26 14:27:01 +02:00
  • 4a397f5ab4 refactor(ffi): pass the UTD hook when constructing a Room from the room list (again!) Benjamin Bouvier 2025-05-21 15:34:50 +02:00
  • be927730fa refactor(ffi): get rid of RoomListItem Benjamin Bouvier 2025-05-21 15:23:00 +02:00
  • 81036da44c refactor(ffi): rename the SDK Room import to SdkRoom Benjamin Bouvier 2025-05-21 15:19:05 +02:00
  • b016f60e46 refactor(ffi): move methods from RoomListItem to Room Benjamin Bouvier 2025-05-21 15:16:33 +02:00
  • cd76cec089 refactor(ffi): also pass the UTD hook to the notification client Benjamin Bouvier 2025-05-21 15:13:11 +02:00
  • 820c73dd2f refactor(ffi): get rid of the timeline stored in a Room Benjamin Bouvier 2025-05-21 15:11:30 +02:00
  • 42a4a6c1a8 refactor(ui): get rid of the RoomListService::Room wrapper Benjamin Bouvier 2025-05-21 14:40:25 +02:00
  • eec9a067be fix(sdk): Continue leaving a room if server replies with 403. Ivan Enderlin 2025-05-26 09:49:40 +02:00
  • e53eaf4213 refactor: Fetch the ignored user list account data from the store for Client::is_user_ignored Jorge Martín 2025-05-26 11:46:36 +02:00
  • a3725b6b24 fix: Do not retrieve notification events sent by ignored users Jorge Martín 2025-05-23 12:10:37 +02:00
  • f0c7370637 feat(ffi): expose the inviter directly on the room to avoid having to fetch the room preview Stefan Ceriu 2025-05-23 18:50:53 +03:00
  • f108840e28 test: put repeated event field values into variables Yousef Moazzam 2025-05-22 22:25:19 +01:00
  • f4f63a7e41 test: create plain text room event with EventFactory Yousef Moazzam 2025-05-22 22:24:51 +01:00
  • 26afd890ce test(base): Use EventFactory instead of JSON hardcoded value. Ivan Enderlin 2025-05-23 10:47:33 +02:00
  • bfac815a5e test: EventBuilder<RoomCreateEventContent> can set predecessor. Ivan Enderlin 2025-05-23 10:46:31 +02:00
  • 95e8d0589b test: Fix EventFactory::create. Ivan Enderlin 2025-05-23 10:45:22 +02:00
  • 16a923edda test: Simplify EventBuilder::into_raw_timeline. Ivan Enderlin 2025-05-23 10:42:11 +02:00
  • 9c227c2321 feat(base): Add Room::successor_room and Room::predecessor_room. Ivan Enderlin 2025-05-21 15:29:07 +02:00
  • 5d617da74c chore(base): Move the Room::*tombstone* methods in new tombstone module. Ivan Enderlin 2025-05-21 14:28:42 +02:00
  • 3aa356dcd6 chore: Use shorter syntax for workspace inheritance where possible Jonas Platte 2025-05-22 22:18:01 +02:00
  • 491f7cd529 chore: Clean up Cargo.toml formatting Jonas Platte 2025-05-22 22:17:38 +02:00
  • 6d5ad4eddc feat(widget-driver): Add to-device support Timo 2025-05-22 13:38:28 +02:00
  • ec638e017b test: remove import of unused sync_timeline_event! macro in shield test Yousef Moazzam 2025-05-20 22:39:01 +01:00
  • 8f693f4615 test: create plain text room event with EventFactory Yousef Moazzam 2025-05-20 22:37:17 +01:00
  • fe8f77ed93 refactor: when leaving an Invited room also forget it Jorge Martín 2025-05-22 09:51:49 +02:00
  • 5c6238f132 chore(deps): bump wasm-bindgen-test Benjamin Bouvier 2025-05-22 11:23:41 +02:00
  • a5b932d086 chore(base): rename config file to config.toml Benjamin Bouvier 2025-05-22 11:19:00 +02:00
  • b0e8b8a532 chore(deps): bump web-sys Benjamin Bouvier 2025-05-21 18:34:47 +02:00
  • 2984030f90 chore(ffi): configure the sentry dependency differently on android Benjamin Bouvier 2025-05-21 18:28:13 +02:00
  • a3c82e9087 chore(deps): bump reqwest to 0.12.15 Benjamin Bouvier 2025-05-21 18:18:42 +02:00
  • 56082f93d0 chore(sdk): forward "database is busy" errors to sentry Benjamin Bouvier 2025-05-20 17:51:28 +02:00
  • c8474511a7 feat(ffi): add support for sentry logging Benjamin Bouvier 2025-03-20 17:33:30 +01:00
  • 1348525447 test(base): Fix a test. Ivan Enderlin 2025-05-21 17:10:45 +02:00
  • 56f9b2d9f6 chore(base): Rename rooms to room. Ivan Enderlin 2025-05-21 13:33:59 +02:00
  • b18680b853 test(base): Use SystemTime from web_time for Wasm. Ivan Enderlin 2025-05-21 11:53:32 +02:00
  • 72b2763dad chore(base): Run rustfmt from nightly. Ivan Enderlin 2025-05-21 11:38:11 +02:00
  • 7278a36704 chore(base): Move Room::get_member_hints in the display_name module. Ivan Enderlin 2025-05-21 11:16:06 +02:00
  • bd9a895089 chore(base): Move Room::*room_call* methods in the new call module. Ivan Enderlin 2025-05-21 11:13:28 +02:00
  • a71e7923e0 chore(base): Move the Room::MAX_ENCRYPTED_EVENTS constant in latest_event. Ivan Enderlin 2025-05-21 11:07:57 +02:00
  • 2433e91a6c chore(base): Move the m.room.create wrapper types in the new create module. Ivan Enderlin 2025-05-21 11:04:51 +02:00
  • 48d2a1543c chore(base): Move code inside the same module. Ivan Enderlin 2025-05-21 10:54:46 +02:00
  • bcd75362f7 chore(base): Move Room::*knock* methods into the new knock module. Ivan Enderlin 2025-05-21 10:50:40 +02:00
  • f4488e42a2 chore(base): Move Room::state and sibling types into new state module. Ivan Enderlin 2025-05-21 10:40:28 +02:00
  • 3d13b60b68 chore(base): Merge rooms::normal into rooms. Ivan Enderlin 2025-05-21 10:27:23 +02:00
  • f1c54d1e27 chore(base): Move tests in the correct module. Ivan Enderlin 2025-05-21 10:19:42 +02:00
  • 27edb163e9 chore(base): Move tests in the correct module. Ivan Enderlin 2025-05-21 09:48:09 +02:00
  • 6d9d202701 chore(base): Move Room::*latest_event*() inside the new latest_event module. Ivan Enderlin 2025-05-20 10:09:24 +02:00
  • 61d99ef709 chore(base): Move everything related to Room members in members. Ivan Enderlin 2025-05-20 09:58:18 +02:00
  • 6f031261d5 chore(base): Move Room::is_favourite and ::is_low_priority into new tags module. Ivan Enderlin 2025-05-20 09:38:45 +02:00
  • 4a57044680 chore(base): Move Room::encryption_* mtehods into new encryption module. Ivan Enderlin 2025-05-20 09:28:14 +02:00
  • d5c0e209fc chore(base): Move Room::display_name() and siblings into new display_name module. Ivan Enderlin 2025-05-20 09:13:03 +02:00
  • 737654549b chore(base): Move the Room's room info related methods and tests in room_info. Ivan Enderlin 2025-05-20 08:34:23 +02:00
  • cc34603864 chore(base): Move RoomInfoNotableUpdate* inside room_info. Ivan Enderlin 2025-05-20 08:14:25 +02:00
  • bad82ccd42 doc(ui): Explain why m.room.create is necessary. Ivan Enderlin 2025-05-19 17:27:14 +02:00
  • d71cd68a90 refactor(base): Rename RoomInfo::version to data_format_version. Ivan Enderlin 2025-05-19 17:24:22 +02:00
  • 726111b073 refactor(timeline): group all the parameters for a remote echo in TimelineAction::from_content Benjamin Bouvier 2025-05-20 13:53:43 +02:00
  • 298fa7d5d2 feat(timeline): pass the encryption info for a bundled edit when constructing the edit aggregation Benjamin Bouvier 2025-05-20 13:33:02 +02:00
  • 4a627baae8 feat(timeline): indicate when the replied-to event is not a standalone item Benjamin Bouvier 2025-05-20 14:25:15 +02:00
  • 560e33c27b refactor(timeline): deduplicate parsing of events when making a RepliedToEvent Benjamin Bouvier 2025-05-13 09:49:19 +02:00
  • d84cf0614d change(ffi): return errors if the client or utd delegates were already set Stefan Ceriu 2025-05-21 14:11:46 +03:00
  • 3f1bc2591e chore(ffi): report an error if the timeline is set to report UTDs but the hook manager isn't configured Stefan Ceriu 2025-05-21 13:12:19 +03:00
  • 8e83b724da chore(ffi): rename the utd_hook to utd_hook_manager Stefan Ceriu 2025-05-21 12:56:51 +03:00
  • 767b10f5e2 change(ffi): remove now unused ClientDelegate did_refresh_tokens callback (dropped in favor of the ClientSessionDelegate) Stefan Ceriu 2025-05-20 17:14:54 +03:00
  • 4e2b5562f1 change(ffi): use a OnceLock to guard against multiple settings of the ClientDelegate Stefan Ceriu 2025-05-20 17:07:12 +03:00
  • 8ef471b492 chore(multiverse): simplify marking a room as read Stefan Ceriu 2025-05-19 18:37:57 +03:00
  • de6998dbe0 change(ffi): move the UTD delegate directly to the client for ease of use Stefan Ceriu 2025-05-19 16:03:24 +03:00
  • e48b1f6056 change(ffi): stop retrieving room list last messages from through the timeline Stefan Ceriu 2025-05-19 13:08:14 +03:00
  • 7074110780 change(ffi): remove the UTD manager from the sync service, room list service and room list items Stefan Ceriu 2025-05-19 10:49:08 +03:00
  • c90d272374 change(ffi): add timeline configuration option for reporting UTDs Stefan Ceriu 2025-05-19 10:28:43 +03:00
  • e6dc203c4d change(ffi): pass the client utd manager down into the timeline builder Stefan Ceriu 2025-05-19 10:22:46 +03:00
  • 195ee35eea change(ffi): move the utd hook from the sync service to the client Stefan Ceriu 2025-05-19 10:06:36 +03:00
  • 70122a4407 change(ui): stop relying on a room's stored timeline for marking it as read Stefan Ceriu 2025-05-19 09:05:51 +03:00
  • f2ca0697af chore(ui): remove the timeline's builder method and make the builder's constructor public Stefan Ceriu 2025-05-19 09:00:22 +03:00
  • 9f196be2f6 Fix doc link Kévin Commaille 2025-05-20 09:46:36 +02:00
  • 254d86bc45 refactor(ui): Set room as variable instead of calling self.room() every time Kévin Commaille 2025-05-20 09:33:28 +02:00
  • a8dcea6931 refactor(sdk): Make Room::set_unread_flag() a no-op if the unread flag already has the wanted value Kévin Commaille 2025-05-20 09:30:30 +02:00
  • eed04ecdb3 chore: Add changelog entries for #5055 Kévin Commaille 2025-05-19 12:13:15 +02:00
  • c131e0cfe5 test(ui): Add tests for unsetting the unread flag when sending receipts Kévin Commaille 2025-05-19 12:08:02 +02:00
  • 5f01c72a48 refactor(ui): Use the new mock endpoints in tests Kévin Commaille 2025-05-19 11:57:22 +02:00
  • bf7d5e7841 feat(ui): Unset the unread flag when sending unthreaded receipts in Timeline Kévin Commaille 2025-05-19 11:52:33 +02:00
  • dff1886015 test(sdk): Add tests for unsetting the unread flag when sending receipts Kévin Commaille 2025-05-19 11:49:58 +02:00
  • 14a73dc932 refactor(sdk): Use new mock endpoints for tests Kévin Commaille 2025-05-19 11:46:48 +02:00
  • 51be581d48 feat(test): Add RoomAccountDataTestEvent::MarkedUnread Kévin Commaille 2025-05-19 11:38:49 +02:00
  • 0a41febe15 test(sdk): Mock endpoints for sending receipts and room account data Kévin Commaille 2025-05-19 11:37:51 +02:00
  • 63eb429843 feat(sdk): Unset the unread flag when sending unthreaded receipts in Room Kévin Commaille 2025-05-19 11:33:37 +02:00
  • 91815ab678 feat(bindings): added APIs to get the media preview config from the store Mauro 2025-05-21 12:15:17 +02:00
  • a98f71ed0c feat(timeline): handle live aggregations on non-live timelines (#5060) Benjamin Bouvier 2025-05-20 18:03:57 +02:00
  • 6f8b744c24 refactor(timeline): address review comments Benjamin Bouvier 2025-05-20 13:02:43 +02:00
  • 5e9c76f476 refactor(timeline): avoid cloning of relates_to for room messages Benjamin Bouvier 2025-05-19 12:55:00 +02:00
  • 4fd0f2a32c refactor(timeline): slightly optimize flow for saving a bundled edit Benjamin Bouvier 2025-05-19 12:48:56 +02:00
  • 74d5d6e265 refactor(timeline): group extracting the reply and thread root Benjamin Bouvier 2025-05-19 12:44:20 +02:00
  • caa53be00e optimize(timeline): find the position of an event by starting from the end Benjamin Bouvier 2025-05-15 20:00:24 +02:00
  • b3086accd5 refactor(timeline): hey, i can actually remove this pending_edits field now Benjamin Bouvier 2025-05-15 19:55:25 +02:00
  • f010587201 chore: make clippy happy Benjamin Bouvier 2025-05-15 19:51:51 +02:00
  • 2af751d8c6 optimize(timeline): avoid one clone if a new item has pending aggregations Benjamin Bouvier 2025-05-15 19:47:25 +02:00
  • f36f9915d1 refactor(timeline): simplify a few functions as a result of not providing the edit json ahead of time Benjamin Bouvier 2025-05-15 19:45:19 +02:00
  • e8f8e7bfd6 fix(timeline): properly update encryption info upon edit Benjamin Bouvier 2025-05-15 19:12:26 +02:00
  • dbe23777a0 refactor(timeline): use the aggregations manager for handling edits Benjamin Bouvier 2025-05-15 18:56:25 +02:00
  • b7191e3dc2 refactor(timeline): have Aggregations::try_remove_aggregation also take care of updating the item Benjamin Bouvier 2025-05-15 17:26:53 +02:00