Jonas Platte
2bc0ac8fd7
refactor(sdk): Merge mutexes in TimelineInner into one
2022-11-18 13:39:51 +01:00
Damir Jelić
5a108f53cc
refactor(crypto): Only use the Mutable for the inner SAS object
...
This patch makes the SAS signalling more robust, it ensures that we
can't forget to signal changes to the state.
2022-11-18 09:26:20 +01:00
Damir Jelić
1f2cdfc601
chore(contrib): Mitmproxy 9 has removed the HTTP prefix from the Response type
2022-11-17 12:43:56 +01:00
Jonas Platte
02165f7a05
refactor(sdk)!: Move retrying out of HttpSend trait
2022-11-17 12:32:45 +01:00
Benjamin Kampmann
98600e4c1e
feat(jack-in): sending messages ( #1156 )
2022-11-17 11:18:27 +00:00
Jonas Platte
bb6145d581
refactor!: Move large parts of deserialized_responses to matrix-sdk-base
2022-11-17 11:33:37 +01:00
Jonas Platte
975626a4f8
refactor(common)!: Remove unused TimelineSlice type
2022-11-17 11:33:37 +01:00
Jonas Platte
c3aa03e486
chore: Add reldbg profile and use it for matrix-sdk-ffi iOS builds
2022-11-16 09:59:06 +01:00
Jonas Platte
51798e90bd
chore: Add dbg profile and improve profile comments
2022-11-16 09:59:06 +01:00
Jonas Platte
5fa6f34e41
refactor(sdk): Use ErrorKind for get_state_events_for_key response check
2022-11-15 16:06:21 +01:00
Jonas Platte
f9d2d32337
fix(xtask): Fix clippy warning
2022-11-15 16:06:21 +01:00
Jonas Platte
2dd2763d39
refactor(base): Unify identical branches and erase empty branches
2022-11-15 16:06:21 +01:00
Johannes Becker
bb6cf83a39
refactor(appservice)!: Rename virtual user to appservice user
2022-11-15 15:57:31 +01:00
Damir Jelić
a7dd690189
refactor(crypto): Split out the room key forwarding logic into a separate method
2022-11-15 14:57:46 +01:00
Jonas Platte
e060606331
refactor(crypto): Move some code into a new method
2022-11-15 14:57:46 +01:00
Jonas Platte
a30e40ed3a
refactor: Introduce more early returns to reduce rightwards drift
2022-11-15 14:57:46 +01:00
Jonas Platte
e59acfe28c
refactor: Use let-else to remove boilerplate code
2022-11-15 14:57:46 +01:00
Jonas Platte
d312aaecec
refactor(crypto): Replace ? on if-else by early return
2022-11-15 14:57:46 +01:00
Jonas Platte
2528a5501b
refactor(crypto): Remove unnecessary ref mut in patterns
2022-11-15 14:57:46 +01:00
Jonas Platte
cf241d8c32
refactor(crypto): Merge matches and reflow comments in accept_secret
2022-11-15 14:57:46 +01:00
Jonas Platte
db5d34e385
refactor(crypto): Reduce rightwards drift in test_device_signatures
2022-11-15 14:57:46 +01:00
Jonas Platte
7d2865f004
refactor(bindings): Shorten is_transaction_id_valid method
2022-11-15 14:57:46 +01:00
Jonas Platte
826705c174
chore: Bump MSRV to 1.65
2022-11-15 14:57:46 +01:00
Jonas Platte
5a1e347333
ci: Install stable toolchain for test-uniffi-codegen
...
The xtask is explicitly using the stable, and there is no reason to use
a less stable toolchain for this job.
2022-11-15 14:57:46 +01:00
Benjamin Kampmann
882b206144
feat(xtask): build xcframework
...
* Move swift build scripts into xtask (#1201 )
* fix(ffi): use target_path from `cargo metadata` rather than guessing
* ci(ffi): install necessary target arch for build-framework test
* feat(xtask): copy to target without rsync.
2022-11-15 13:06:33 +01:00
Flix
8d89037296
fix: Missing ServerError after ruma update
2022-11-15 12:32:20 +01:00
Flix
deb8ef801b
fix: Remove the condition to only set new members in get_members
2022-11-15 12:32:20 +01:00
Flix
0a45e401e3
test: Use MemoryStore to fix problems in coverage tests
2022-11-15 12:32:20 +01:00
Flix
456e00e953
fix: Add missing not_found errors
2022-11-15 12:32:20 +01:00
Flix
ab846f79f1
test: Add encryption state mock to tests where it is needed
2022-11-15 12:32:20 +01:00
Flix
b1c2da9a68
fix: Don't mark encryption state to be synced on sync
...
As it appears, the first sync for a room might not include the
encryption state, so we cannot set the encryption state to be synced on
incoming syncs. That way, we always fetch the encryption state manually.
2022-11-15 12:32:20 +01:00
Flix
1ab33a28c9
fix: Make sure room.sync_up works under all conditions
2022-11-15 12:32:20 +01:00
Flix
a3a9858bf4
refactor: Make if branches instead of early return
2022-11-15 12:32:20 +01:00
Flix
6951f7f5bf
fix: Review comments
2022-11-15 12:32:20 +01:00
Flix
fb8045b254
fix: Fix UDL or is_encrypted
2022-11-15 12:32:20 +01:00
Flix
be7c3239a8
refactor: Adjust create_dm_room to new room API
2022-11-15 12:32:20 +01:00
Flix
956e270941
feat: Implement room sync_up method
2022-11-15 12:32:20 +01:00
Flix
65721aafb9
fix: Lock syncing to the store to avoid races
2022-11-15 12:32:20 +01:00
Flix
9d150e5cc6
fix: Adjust repeated_join test to new changes
2022-11-15 12:32:20 +01:00
Flix
43dd4452cd
fix: Check encryption state in intermediate rooms
2022-11-15 12:32:20 +01:00
Flix
4abb08c4a1
feat!: Make intermediate rooms available right after joining/leaving
...
Co-Authored-By: Jonas Platte <jplatte@matrix.org >
Co-Authored-By: Benjamin Kampmann <ben@gnunicorn.org >
2022-11-15 12:32:20 +01:00
Jonas Platte
544da0d324
fix(sdk): Fix broken intra-doc link
2022-11-15 11:54:53 +01:00
ismailgulek
29aa9a78c3
feat(ffi): Expose file messages
...
Expose file messages (#1203 )
2022-11-14 15:56:38 +00:00
Jonas Platte
4dc0e0ef3c
chore: Upgrade Ruma
2022-11-14 15:01:53 +01:00
Gabriel Féron
680ef6b93a
feat(sdk): Allow using an existing sled::Db with SledStateStore
2022-11-12 13:04:34 +00:00
Benjamin Kampmann
078855b4c9
feat(ffi): logging support for android ( #1199 )
...
* split logger into platform specific implementations
* logging support for android
* use platform independent wrapper for uniffi:exports
* activate colors for ansi-terminals
2022-11-11 12:20:19 +00:00
Damir Jelić
0d80c0e3fe
chore(crypto): Improve the log for the one-time key signature error
2022-11-10 19:03:14 +01:00
Jonas Platte
45cf32dfab
test(sdk): Add a test for an undecryptable event
2022-11-10 13:43:46 +01:00
Jonas Platte
aa4dbe4bc6
test(sdk): Add a test for editing a redacted event
2022-11-10 13:43:46 +01:00
Jonas Platte
b550e9ba14
test(sdk): Add a test for an invalid edit
2022-11-10 13:43:46 +01:00