Benjamin Kampmann
e3c62825b6
test and impl for outbound
2021-11-30 14:49:00 +01:00
Benjamin Kampmann
1e654acc29
backup and reset for inbound_groups
2021-11-30 13:20:49 +01:00
Benjamin Kampmann
59e3baf819
cover more inbound_group_session functions
2021-11-30 13:01:49 +01:00
Benjamin Kampmann
d509eaa959
implement tracked user
2021-11-29 21:23:01 +01:00
Benjamin Kampmann
85dde94dd5
implement sessions
2021-11-29 20:57:30 +01:00
Benjamin Kampmann
c9a10353f2
implement olm_hashes
2021-11-29 20:47:18 +01:00
Benjamin Kampmann
41faa59121
implement keyrequests
2021-11-29 19:43:20 +01:00
Benjamin Kampmann
833802677b
implement devices saving and deleting
2021-11-29 15:04:20 +01:00
Benjamin Kampmann
fe257effce
properly open encrypted state db
2021-11-29 14:05:48 +01:00
Benjamin Kampmann
47168ca3da
implement saving user
2021-11-29 14:05:22 +01:00
Benjamin Kampmann
b42b04e887
account loading and saving
2021-11-26 14:36:14 +01:00
Benjamin Kampmann
229a81bfd6
Implement saving
2021-11-26 12:37:57 +01:00
Benjamin Kampmann
6d9920c239
various minor cleanups of unused imports
2021-11-25 16:44:20 +01:00
Benjamin Kampmann
47dff21eda
update trait impl of indexeddb
2021-11-25 15:52:57 +01:00
Benjamin Kampmann
32a8ec7782
minor wasm32 fixes
2021-11-25 15:52:27 +01:00
Benjamin Kampmann
4c60db94a2
Implement helper for wasm32 MilliSecondsSinceUnixEpoch
2021-11-25 15:52:03 +01:00
Benjamin Kampmann
42680164ea
fix up CI test
2021-11-25 15:49:20 +01:00
Benjamin Kampmann
5cf56adce7
Adding result-signature support for wasm32 async-test-macro
2021-11-25 15:46:17 +01:00
Benjamin Kampmann
4c0bbebb07
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
2021-11-24 11:48:45 +01:00
Damir Jelić
a49a7fe1f9
fix(crypto): Clear the master key signatures when we verify our own user
2021-11-22 18:00:52 +01:00
Damir Jelić
fa42373cf8
Merge branch 'client-arc'
2021-11-22 16:27:27 +01:00
Damir Jelić
a8c36b4041
Merge branch 'fix-session-doc-example'
2021-11-22 16:24:31 +01:00
Damir Jelić
b91773a276
Merge branch 'store-upgrade-fix'
2021-11-22 16:23:53 +01:00
Damir Jelić
fbc01f015d
fix(sdk): Use the correct restore method in an example
2021-11-22 15:44:35 +01:00
Damir Jelić
5d26e36e1f
fix(crypto): Make sure we store the store version using the right key
2021-11-22 15:28:21 +01:00
Damir Jelić
c4f60dd163
fix(crypto): Only upload our own signature when verifying user identities
2021-11-22 12:33:18 +01:00
Jonas Platte
b4220bd824
Reduce the size of Client
...
… by moving all of its fields into an inner reference-counted type
rather than using reference counting for all fields individually.
Some fields are still refcounted individually and thus go through an
extra layer of indirection, but the size and clone simplification should
still make this change worthwhile.
2021-11-20 02:01:07 +01:00
Jonas Platte
73c5bfed28
Switch from futures-locks to async-lock
2021-11-20 02:01:07 +01:00
Jonas Platte
2456beaf88
Make Result alias more flexible
2021-11-20 00:00:08 +01:00
Jonas Platte
cc6f97bee9
Fix missing word
2021-11-20 00:00:08 +01:00
Jonas Platte
8f47e6ffe9
Remove copy-pasted module documentation
...
It doesn't seem right that both room and room_member have the same
description. Also room_member is private and doesn't usually show up in
docs.
2021-11-20 00:00:08 +01:00
Jonas Platte
544b24b0ef
Move some code out of client.rs
...
It is by far the biggest module of the matrix-sdk crate.
2021-11-20 00:00:08 +01:00
Benjamin Kampmann
94d3ffa18d
infrastructure for indexeddb cryptostore
2021-11-19 21:26:33 +01:00
Jonas Platte
1e13e06e34
Make event-handling related Client fields private
2021-11-19 20:48:27 +01:00
Benjamin Kampmann
9e83bcb6ce
fixing browser test
2021-11-19 14:52:11 +01:00
Benjamin Kampmann
917e9016cd
clean up API and corresponding docs
2021-11-19 13:52:03 +01:00
Damir Jelić
5a4aa71f6a
feat(base): Add a From login response implementation for the Session
2021-11-19 09:41:48 +01:00
Damir Jelić
6606703001
docs(base): Remove anyhow from an example since it isn't used
2021-11-19 09:12:51 +01:00
Andy Balaam
0c35d8890d
Improve Session docs example
2021-11-18 17:14:34 +00:00
Benjamin Kampmann
76454e6b8b
style fix
2021-11-18 17:40:56 +01:00
Andy Balaam
7d7bd97812
Document how to create a Session
2021-11-18 14:18:16 +00:00
Benjamin Kampmann
10d4fe53f2
clarify API
2021-11-18 15:01:07 +01:00
Benjamin Kampmann
3fcfe98de2
minor clippy fixes
2021-11-18 13:54:24 +01:00
Benjamin Kampmann
b16c660258
fixing typo
2021-11-18 13:48:56 +01:00
Benjamin Kampmann
7df36e3d49
first attempt at creating a CI job for wasm tests
2021-11-18 13:37:11 +01:00
Benjamin Kampmann
3e11e0dbb4
fixing style
2021-11-18 13:36:45 +01:00
Benjamin Kampmann
a2b80f03d3
move and unify usage of store_key
2021-11-18 12:58:17 +01:00
Benjamin Kampmann
e60349604d
implement custom value
2021-11-18 12:40:45 +01:00
Andy Balaam
f5ba9a5eea
Update BackupMachine documentaton to refer to enable_backup_v1
2021-11-18 10:28:03 +00:00
Benjamin Kampmann
e7ec86140b
generic tests passing'
2021-11-17 21:30:12 +01:00