Jorge Martín
1667db12ec
refactor(ui): Make MAX_SLIDING_SYNC_ATTEMPTS a const
2026-02-23 12:41:57 +01:00
Jorge Martín
8c114ad57e
fix(ui): Unexpected invites are ignored for non-subscribed rooms in NotificationClient::try_sliding_sync
2026-02-23 12:41:57 +01:00
OneProg
862126800d
fix: Fix a small typo in ClientBuildError::MissingHomeserver error message
2026-02-23 12:13:44 +02:00
Kévin Commaille
b1e4e16f8e
Add PR number to changelog
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2026-02-23 10:10:14 +00:00
Kévin Commaille
f283126e6e
base: Remove once_cell dependency
...
Use the types that were stabilized in the standard library instead.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2026-02-23 10:10:14 +00:00
Kévin Commaille
fc70a7da2c
sdk: Remove once_cell dependency
...
Use the types that were stabilized in the standard library instead.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2026-02-23 10:10:14 +00:00
Kévin Commaille
aff26b1ed9
ffi: Remove once_cell dependency
...
Use the types that were stabilized in the standard library instead.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2026-02-23 10:10:14 +00:00
Kévin Commaille
fd5c1d847e
Remove once_cell dependency
...
Use the types that were stabilized in the standard library instead.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2026-02-23 10:10:14 +00:00
Kévin Commaille
956a5d46f1
ui: Remove once_cell dependency
...
Use the types that were stabilized in the standard library instead.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2026-02-23 10:10:14 +00:00
Kévin Commaille
1dbd2caeb2
testing: Remove once_cell dependency
...
Use the types that were stabilized in the standard library instead.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2026-02-23 10:10:14 +00:00
Jorge Martín
4257649933
refactor(sdk): Put use behind e2e-encryption feature to appease the linter
2026-02-19 17:04:57 +01:00
Jorge Martín
c996307265
doc: Add changelog entries
2026-02-19 17:04:57 +01:00
Jorge Martín
fc97b04ec8
refactor(ffi): Fixed some more missing renames and added a changelog entry
2026-02-19 17:04:57 +01:00
Jorge Martín
e1abe99ad0
refactor: Several renames and fixes to comments
2026-02-19 17:04:57 +01:00
Jorge Martín
07f894c2a5
refactor: Remove unrelated code added for testing
2026-02-19 17:04:57 +01:00
Jorge Martín
11f2bf0ad6
refactor: Minor improvements, some extra comments
2026-02-19 17:04:57 +01:00
Jorge Martín
54e4cb2d10
refactor: Rename CrossProcessStoreConfig into CrossProcessLockConfig, move it into matrix_sdk_common::cross_process_lock and use it inside CrossProcessLock instead of the previous lock_holder: Option<String>
2026-02-19 17:04:57 +01:00
Jorge Martín
855bdadbad
doc: Fix example in docs
2026-02-19 17:04:57 +01:00
Jorge Martín
287049c719
refactor: Rename CrossProcessStoreMode to CrossProcessStoreConfig
2026-02-19 17:04:57 +01:00
Jorge Martín
12e377d296
refactor: Make CrossProcessLock act as a no-op implementation when no lock_holder is present
2026-02-19 17:04:57 +01:00
Jorge Martín
4f7f4a054f
doc: More doc fixes
2026-02-19 17:04:57 +01:00
Jorge Martín
c18b1cfab9
fix: Fix weird rebase issue
2026-02-19 17:04:57 +01:00
Jorge Martín
d6b6eb9e31
doc: Fix documentation mentioning the removed cross process lock holder name
2026-02-19 17:04:57 +01:00
Jorge Martín
52981a839a
refactor(sdk): Try making IndexedDB use CrossProcessStoreMode
2026-02-19 17:04:57 +01:00
Jorge Martín
50b1e3baf2
refactor: Use the new APIs everywhere
2026-02-19 17:04:57 +01:00
Jorge Martín
3169c65bf2
refactor(ui): Make NotificationClient use the new CrossProcessStoreMode internally
2026-02-19 17:04:57 +01:00
Jorge Martín
1b724f288f
refactor(ffi): Allow creating Client instances with cross-process store mode
2026-02-19 17:04:57 +01:00
Jorge Martín
def89d2661
refactor(sdk): Allow creating Client instances with cross-process store mode
2026-02-19 17:04:57 +01:00
Jorge Martín
d0cce0eafe
refactor(sdk-base): Allow passing a cross-process store mode for BaseClient::clone_with_in_memory_state_store
2026-02-19 17:04:57 +01:00
Jorge Martín
901e280d5c
refactor(sdk-common): Allow creating dummy CrossProcessLockGuard for the CrossProcessStoreMode::SingleProcess case
2026-02-19 17:04:57 +01:00
Jorge Martín
a44dc4b70c
refactor(ui): Simplify EncryptionSyncService by getting rid of WithLocking, we can use CrossProcessStoreMode instead
2026-02-19 17:04:57 +01:00
Jorge Martín
7d474c1415
refactor(sdk-base): Make cross_process_lock optional for MediaStoreLock
2026-02-19 17:04:57 +01:00
Jorge Martín
f95d174d9a
refactor(sdk-base): Make cross_process_lock optional for EventCacheStoreLock
2026-02-19 17:04:57 +01:00
Jorge Martín
4fe4e9cb7c
refactor(sdk-base): Add CrossProcessStoreMode to make cross-process lock optional
2026-02-19 17:04:57 +01:00
Ivan Enderlin
209595e66e
doc: Add another checkbox about AI policy in pull_request_template.md
...
This patch adds a new checkbox to ensure the user has read the `CONTRIBUTING.md` file, notably the Pull requests, Commit message format, and AI policy Sections.
Signed-off-by: Ivan Enderlin <ivan@mnt.io >
2026-02-19 16:29:17 +01:00
Benjamin Bouvier
7e69880148
test: make the introduced test more resilient to races
...
This avoids the sleep statement by only listening to the room's event
cache, instead of listening to the background send task and then wait
for it to save the sent event in the room cache. The test is more
resilient this way.
2026-02-19 14:56:31 +01:00
Benjamin Bouvier
ad1e93473d
fix(event cache): don't include our own events when computing non_empty_all_duplicates
...
See the new paragraph in the code comment around
`non_empty_all_duplicates`.
2026-02-19 14:56:31 +01:00
Benjamin Bouvier
449fbd3ad4
test(send queue): don't ditch gaps if the sync response included only our own events
2026-02-19 14:56:31 +01:00
Benjamin Bouvier
a6663718d0
refactor(event factory): simplify tag() helper
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
72c6dc8e08
refactor(test): get rid of RoomAccountDataTestEvent
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
961edaf4b9
test(spaces): add an EventFactory method to create an m.space_order event
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
ea0a81989a
refactor(test): replace usage of custom JSON with EventFactory::tag()
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
b68c22bd56
refactor(test): replace usage of MarkedUnread with EventFactory::marked_unread() in tests
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
130e3ad04b
refactor(test): replace RoomAccountDataTestEvent in read_receipts.rs
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
9252c72dea
test(timeline): replace FullyRead with EventFactory
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
6d2f787623
test(sync_builder): make add_account_data accept impl Into<Raw<...>>
...
Change JoinedRoomBuilder::add_account_data() to accept any type that
implements Into<Raw<AnyRoomAccountDataEvent>>, preparing for migration
away from RoomAccountDataTestEvent enum.
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
e3042e664b
test: delete sync_events.rs
...
Remove the sync_events module entirely now that all usages have been
migrated to EventFactory.
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
e401ece78f
test(room): use the EventFactory::member function instea of the fixture MEMBER event
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
e79654c80b
test(client): replace POWER_LEVELS, NAME, TAG with EventFactory
2026-02-18 10:57:04 +01:00
Benjamin Bouvier
0777425a73
test(notification): replace POWER_LEVELS with EventFactory
2026-02-18 10:57:04 +01:00