Jonas Platte
b5d7f10c6b
feature: Introduce a login builder API
...
This improves the readability of login calls.
The old login API is kept, but deprecated.
2022-06-22 17:17:52 +02:00
Jonas Platte
a4e4bfe833
refactor(sdk)!: Change store builder methods from Box<dyn Trait> to impl Trait
...
To migrate, don't box the store before passing it to `builder.state_store` or
`builder.crypto_store` (remove `Box::new`).
2022-06-17 14:59:22 +02:00
Benjamin Kampmann
b29a50bed5
moving make_store_config features back to sled, fxies #562
2022-04-20 14:36:11 +02:00
Jonas Platte
ad538f3f28
Upgrade Ruma
2022-04-12 14:39:30 +02:00
Damir Jelić
f5d2ea0efa
fix(sdk): Use a consistent naming scheme for our features
2022-03-30 10:26:38 +02:00
Jonas Platte
147e948fe6
Replace ClientConfig with ClientBuilder
...
This includes a few not-strictly-related changes that made sense to do at the
same time:
* Check for a functioning homeserver via get_supported_versions regardless of
whether a homeserver URL or user ID was supplied
* Rename use_discovery_response to respect_login_well_known
* Small appservice documentation improvement because those docs had to be
touched anyways
* Some test refactorings in tests that had to be touched anyways
2022-03-13 19:56:26 +01:00
Jonas Platte
e60b07336d
Rename Client::{new_with_config => with_config}
2022-03-11 12:36:08 +01:00
Kévin Commaille
ad31540b10
sdk: Don't enable store encryption by default
2022-03-10 17:28:34 +01:00
Kévin Commaille
0ea12b3b4a
base: Separate store config from the client config
2022-03-10 17:15:18 +01:00
Kévin Commaille
28a83da421
sdk: Remove default store constructors
2022-03-10 17:15:14 +01:00
Benjamin Kampmann
12cf187e51
indexeddb store and passphrase opening
2022-02-23 21:07:39 +01:00
Benjamin Kampmann
ed0974eba3
re-integrate sled and indexeddb stores into base
2022-02-23 19:38:35 +01:00
Benjamin Kampmann
e2c6dc33fb
Merge remote-tracking branch 'upstream/main' into ben-wasm-store
2022-02-02 12:16:49 +01:00
Jonas Platte
8dec390258
Upgrade Ruma
2022-02-01 15:08:01 +01:00
Benjamin Kampmann
10d4fe53f2
clarify API
2021-11-18 15:01:07 +01:00
Jonas Platte
b27795c0d1
Upgrade ruma
2021-11-05 16:05:25 +01:00
Jonas Platte
8455164a69
Simplify command_bot example
2021-10-05 18:20:07 +02:00
Jonas Platte
b959d4be29
Use new event type aliases
2021-10-05 18:20:07 +02:00
Jonas Platte
cb8a42a529
Upgrade to latest Ruma git main
2021-10-05 18:20:07 +02:00
Damir Jelić
af74988a83
chore: Rename the crate folders to use dashes instead of underscores
2021-09-14 16:38:33 +02:00