Damir Jelić
fa9c91fb0e
fix(crypto-ffi): Add support to encrypt custom events
2022-05-23 19:37:04 +02:00
Johannes Becker
24b71bf869
feat(appservice): Improve autojoin example
2022-05-23 14:14:05 +02:00
Benjamin Kampmann
dd83cdd74b
Merge pull request #704 from matrix-org/poljar/eq-store-encryption
...
feat(store-encryption): Derive Eq for some structs
2022-05-23 13:07:29 +02:00
Jonas Platte
453cae641b
fix(docs): Remove history gh-pages branch
...
This should drastically reduce the repository size.
2022-05-23 12:57:45 +02:00
Damir Jelić
f838b5fae8
fix(base): Fix a clippy warning about temporary variables
2022-05-23 11:35:23 +02:00
Damir Jelić
1f722f224f
feat(crypto): Add a bunch of Eq implementations
2022-05-23 11:35:07 +02:00
Damir Jelić
a992a4e831
feat(store-encryption): Derive Eq for some structs
2022-05-23 11:14:09 +02:00
Benjamin Kampmann
017359b081
Merge pull request #700 from gnunicorn/b-improve-coverage-reporting
...
Improve CI coverage reporting
2022-05-20 12:33:05 +02:00
Benjamin Kampmann
08718acd57
Merge pull request #698 from matrix-org/poljar/rename-encrypt-method
...
refactor(crypto): Make it clear that the encrypt method is for room events
2022-05-20 10:35:03 +02:00
Benjamin Kampmann
dd1f817701
ci(CodeCoverage): exclude ffi & wasm from default project
2022-05-20 10:26:31 +02:00
Benjamin Kampmann
81db9ef4ca
ci(CodeCoverage): Remove patch-level coverage reporting
2022-05-20 08:34:56 +02:00
Benjamin Kampmann
e927834108
ci(CodeCoverage): split code coverage reporting in mandatory and optional areas
2022-05-20 08:34:39 +02:00
Damir Jelić
f3045dbf99
fixup! refactor(crypto): Make it clear that the encrypt method is for room events
2022-05-20 08:32:50 +02:00
Jonas Platte
d6c6211c00
chore: Use matrix_sdk::Result alias more
2022-05-20 07:52:39 +02:00
Jonas Platte
85949081ce
chore: Consistently use anyhow for Result-returning doctests
...
Cuts down on syntactic noise.
2022-05-20 07:52:39 +02:00
Jonas Platte
cbcc5feef2
fix(sled): Fix unused import when experimental-timeline isn't enabled
2022-05-20 07:52:39 +02:00
Jonas Platte
1b569a8fd4
chore: Consistently use anyhow::Result for example main fn's
...
When an `Err` is propagated out of `main`, it will be printed using
`Debug`, which is much easier to read in anyhow::Error's case. See also
https://docs.rs/anyhow/latest/anyhow/struct.Error.html#display-representations
2022-05-20 07:52:39 +02:00
Damir Jelić
813f388812
refactor(crypto): Make it clear that the encrypt method is for room events
2022-05-20 07:47:47 +02:00
Damir Jelić
552de33dbc
Merge branch 'dkasak/docs-improvements'
2022-05-20 07:26:00 +02:00
Denis Kasak
c3f2003eb7
docs: Slightly reword CryptoStore doc for consistency.
2022-05-19 16:22:09 +02:00
Denis Kasak
3b70d7f9ba
docs: Improve wording of store module-level comment
...
Includes a fix to refer to the `e2e-encryption` feature instead of
`encryption` (which doesn't exist).
2022-05-19 16:22:09 +02:00
Denis Kasak
c00c9d7b81
docs: Reword feature table so the wording is more uniform
2022-05-19 16:22:09 +02:00
Denis Kasak
126e8f1bd9
docs: Unify references to "cryptostore" as "crypto store"
2022-05-19 16:22:09 +02:00
Denis Kasak
9e6e76e5ed
docs: Fix reference to ClientConfig in doc comment
2022-05-19 15:38:13 +02:00
Damir Jelić
d1410fcded
ci: Run cargo audit every day
2022-05-19 10:03:46 +02:00
Jonas Platte
b955e7aad9
Use anyhow::Ok instead of turbofish on Result
2022-05-18 22:04:44 +02:00
Jonas Platte
a364018c0e
chore: Use serde::de::DeserializeOwned convenience trait
2022-05-18 22:04:44 +02:00
Jonas Platte
0f910b6229
fix(base): Make max_power_level reflect the current maximum only
...
… instead of taking into account an older maximum as well.
2022-05-18 14:03:12 +02:00
Benjamin Kampmann
736f0e7687
feat: Initial apple platforms support
...
Merge pull request #571 from matrix-org/jplatte/matrix-sdk-ffi
2022-05-18 13:14:29 +02:00
Stefan Ceriu
6a1b85c560
Fix xcframework debug build script
2022-05-18 13:43:29 +03:00
Benjamin Kampmann
e3503fe102
ci: one more move
2022-05-18 11:56:38 +02:00
Benjamin Kampmann
4522b4e8f5
ci: move rust cache to include uniffi bindgen install
2022-05-18 11:32:03 +02:00
Benjamin Kampmann
886809b579
chore(Apple): Move apple into subfolder
2022-05-18 11:24:30 +02:00
Benjamin Kampmann
97b91a47f1
ci: Setup CI test runs FFI crate (Apple platforms support)
...
Merge pull request #679 from matrix-org/stefan/matrix-sdk-ffi
2022-05-18 10:52:39 +02:00
Stefan Ceriu
4b8b9db075
Have FII action only run on PRs targetting main, similar to the CI one.
2022-05-18 11:49:29 +03:00
Jonas Platte
bc207f1e5c
chore(sdk): Upgrade async-once-cell to 0.3.1
2022-05-18 10:31:52 +02:00
Stefan Ceriu
d863b4eb75
Bump uniffi to version 0.18.0
2022-05-18 11:13:15 +03:00
Stefan Ceriu
45cb162e5a
Fix sample project, cleanup tests and add github action
2022-05-18 11:08:51 +03:00
Stefan Ceriu
ba2cef62b0
Move apple scripts; tweak the debug one to allow for CI builds
2022-05-18 11:08:51 +03:00
Jonas Platte
2d7fb1b61c
fix(matrix-sdk): room::Common:messages() don't return decryption error
...
If decryption fails we want that the user still has access to
the events.
This was broken in a previous commit.
2022-05-17 18:09:09 +02:00
Julian Sparber
d6f9e5f6b6
Remove extra controll flow
2022-05-17 17:52:12 +02:00
Julian Sparber
9c07ff1166
matrix-sdk: room::Common:messages() don't return decryption error
...
If decryption fails we want that the user still has access to
the events.
This was broken in a previous commit.
2022-05-17 17:23:32 +02:00
Julian Sparber
5bd7d17234
fix(matrix-sdk): room::Common:event() don't return decryption error
2022-05-17 17:03:28 +02:00
Benjamin Kampmann
7d439b1697
Merge pull request #680 from gnunicorn/ben-fix-docs
...
Fixing docs
2022-05-17 15:45:39 +02:00
Benjamin Kampmann
39f1b9d464
docs: fix link
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de >
2022-05-17 13:54:37 +02:00
Benjamin Kampmann
8a86369e68
Merge branch 'ben-fix-docs' into jplatte/matrix-sdk-ffi
2022-05-17 13:39:46 +02:00
Benjamin Kampmann
a19999b240
docs: fixing broken inner link
2022-05-17 13:38:07 +02:00
Benjamin Kampmann
a72a05edc3
Merge remote-tracking branch 'origin/main' into jplatte/matrix-sdk-ffi
2022-05-17 13:05:24 +02:00
Benjamin Kampmann
2862934b87
style: fix clippy lints for ffi
2022-05-17 12:51:47 +02:00
Amanda Graven
248fff370a
test(base): Remove invalid sync event from json
...
The test json used for mocking a sync response contained an ill-formed
event with a room_id key present in the event. Since the deserialization
ignores the room_id key, this resulted in the client's membership state
evaluating to left going by the contents of the state events, despite
the room being in the "joined" section of the sync response. This is a
violation of the spec.
2022-05-17 11:31:36 +02:00