Johannes Becker
5f7e91c2e7
refactor(appservice)!: Cleanup
2022-07-21 09:01:53 +02:00
Jonas Platte
45829efa7e
feat(bindings): Tracing configuration through FFI
2022-07-20 16:38:51 +02:00
Kévin Commaille
a6bd7fc82f
chore: Update Ruma
2022-07-20 12:18:06 +00:00
Stefan Ceriu
5c53a5f699
chore(bindings/apple): Remove unnecessary +nightly flag from debug builds
2022-07-20 14:53:00 +03:00
Stefan Ceriu
021bf55074
feat(bindings/sdk-ffi): Expose full tracing configuration string through ffi.
2022-07-20 13:39:15 +03:00
Stefan Ceriu
0043de4028
Update bindings/matrix-sdk-ffi/Cargo.toml
...
Co-authored-by: Jonas Platte <jplatte@matrix.org >
2022-07-20 13:28:58 +03:00
Stefan Ceriu
f9bb86c52f
feat(bindings/sdk-ffi): Allow ffi users to configure tracing and log levels
2022-07-20 12:56:42 +03:00
Stefan Ceriu
1cd18f49aa
chore(bindings/apple): Remove now unnecessary debug script module import following module map rename
2022-07-20 12:29:36 +03:00
Benjamin Kampmann
8b160dfd38
Merge pull request #857 from matrix-org/doug/homeserver-details
...
Add a `HomeserverLoginDetails` to the FFI's auth service.
2022-07-20 10:27:09 +02:00
Doug
77f7dbbbc8
Support server URLs. Join homeserver details futures.
2022-07-19 16:16:03 +01:00
Ivan Enderlin
fe590735c1
fix(bindings/crypto-nodejs): Fix CI typo
...
fix(bindings/crypto-nodejs): Rrrrr
2022-07-19 16:43:40 +02:00
Ivan Enderlin
0360b13cdb
fix(bindings/crypto-nodejs): Rrrrr
2022-07-19 16:12:43 +02:00
Jonas Platte
f30419446f
refactor(sdk)!: Make from in MessageOptions optional
2022-07-19 15:25:16 +02:00
Doug
93d879f356
Add homeserver_details property.
2022-07-19 12:48:00 +01:00
Benjamin Kampmann
c20c23bc19
Merge pull request #856 from matrix-org/fixing-clippy-lint
...
style(crypto): use matches for legibility
2022-07-19 12:54:44 +02:00
Johannes Becker
a174d0f669
sdk: Make from in MessageOptions optional
2022-07-19 12:46:48 +02:00
Doug
a10a26a68d
Tidy up authentication service.
...
Add HomeserverLoginDetails
2022-07-19 11:36:34 +01:00
Benjamin Kampmann
1940ebefcb
style(crypto): use matches for legibility
2022-07-19 12:22:53 +02:00
Benjamin Kampmann
2d03cb5c79
Merge pull request #852 from zecakeh/test-bulk-member
...
test(sdk): Split tests for permalinks
2022-07-19 11:34:48 +02:00
Johannes Becker
aa8206d6c8
chore: Bump ruma
2022-07-18 19:32:16 +02:00
Johannes Becker
f937d82336
chore: Bump ruma
2022-07-18 16:46:34 +00:00
Ivan Enderlin
fdef2dd86d
feat(bindings/crypto-js): Redirect panics and logs into JavaScript console
...
feat(bindings/crypto-js): Redirect panics and logs into JavaScript console
2022-07-18 14:59:50 +02:00
Ivan Enderlin
c72ec36b3a
chore(style) Make cargo fmt happy.
2022-07-18 14:39:39 +02:00
Kévin Commaille
b98e3d80a0
test(sdk): Split tests for permalinks
2022-07-18 13:39:37 +02:00
Kévin Commaille
c0a7b17324
test: Add method to create room member events in bulk
2022-07-18 13:39:37 +02:00
Kévin Commaille
66c5d5311e
test: Add methods to add events in bulk
2022-07-18 13:39:36 +02:00
Stefan Ceriu
f215c92d0b
fix(bindings/apple): Remove briding header as no longer needed after corectly naming the module map
2022-07-18 13:09:39 +02:00
Stefan Ceriu
d571ca718d
fix(bindings/apple): Allow any platform OS simulator to run the Apple specific unit tests.
2022-07-18 13:09:39 +02:00
Kévin Commaille
37eb058dac
test: Reorganize JSON responses and events
2022-07-18 10:46:45 +02:00
Kévin Commaille
45ecd89387
test: Build sync response per room and event type
...
Allow to have more customizable and complete responses
2022-07-18 10:46:45 +02:00
Kévin Commaille
5d916e4a67
test: Expose default room ID used in sync JSON responses
2022-07-18 10:46:45 +02:00
Ivan Enderlin
daa0fc0206
doc(bindings/crypto-js): Fix typos.
2022-07-18 10:05:05 +02:00
Ivan Enderlin
3d1c96fbec
feat(bindings/crypto-js): Redirect errors to console.error.
2022-07-18 09:51:44 +02:00
Ivan Enderlin
decd3fcb43
feat(bindings/crypto-js) Simplify code for feature = "tracing".
...
This patch creates one `inner` module for when `feature = "tracing"`,
and one for when `no(feature = "tracing")`. Then, let's expose
everything from `inner::*`.
This patch also replaces `Tracing.install` by `new Tracing`. In case
of `not(feature = "tracing")`, `new Tracing` raises an error.
The goal is to remove all the `#[cfg(…)]` annotations everywhere. Now
there is only 2 of them.
2022-07-18 09:44:42 +02:00
Ivan Enderlin
c763ce3f41
feat(bindings/crypto-js): Tracing can be installed more than once.
2022-07-18 09:23:37 +02:00
Johannes Becker
09c56ea057
feat(appservice)!: Allow specifying device id for registration
2022-07-14 15:23:21 +02:00
Benjamin Kampmann
41de3e0af8
Merge pull request #844 from Hywan/fix-issue-842
...
fix(bindings/crypto-nodejs): Fix pre-built download link
2022-07-14 11:36:15 +02:00
Benjamin Kampmann
81bf300000
Merge pull request #839 from johannescpk/appservice/virtual-users
...
feat(appservice): Add method to get virtual user map
2022-07-14 11:31:02 +02:00
Benjamin Kampmann
594e8c04cd
Merge pull request #840 from matrix-org/jplatte/optional-dep-features
...
Remove implicit features for optional dependencies
2022-07-14 11:30:03 +02:00
Benjamin Kampmann
b6d94ab7c6
Merge pull request #845 from Hywan/fix-issue-843
...
fix(bindings/crypto-js): Use `cross-env` to pass envvar on Windows
2022-07-14 11:28:57 +02:00
Ivan Enderlin
283c5ff51e
fix(bindings/crypto-js): Let's not deal with Console.group.
...
Events and spans from `tracing` can happen asynchronously, and could
mess the `Console.group` structure.
2022-07-14 09:04:44 +02:00
Ivan Enderlin
bb631f2f79
feat(bindings/crypto-js): Add ability to turn Tracing on and off, and change logger min level.
...
The patch updates the code to use `tracing_subscriber::reload`, so
that we get a `Handle` that can be used to modify the tracing at
runtime.
This patch also adds a new `tracing` feature.
This patch finally adds a test suite for the `Tracing` API.
2022-07-14 09:04:13 +02:00
Ivan Enderlin
d39baf1295
test(bindings/crypto-js): Encrypt and decrypt a valid message.
2022-07-14 09:04:13 +02:00
Ivan Enderlin
f5016dbb97
feat(bindings/crypto-js): Define Layer.max_level_hint.
2022-07-14 09:04:13 +02:00
Ivan Enderlin
e7d0ee4379
!fixup
2022-07-14 09:04:13 +02:00
Ivan Enderlin
70561f9649
feat(bindings/crypto-js): Add the userLogger function to enable logging into Console.
2022-07-14 09:04:13 +02:00
Ivan Enderlin
8f8bd40e8d
feat(bindings/crypto-js): Redirect Rust panics to JavaScript console.
2022-07-14 09:04:13 +02:00
Ivan Enderlin
04d326eec1
doc(bindings/crypto-nodejs): Fix package name in the README.md
...
Fix package name in readme for nodejs bindings
2022-07-14 08:39:53 +02:00
Ivan Enderlin
3567d19359
fix(bindings/crypto-js): Use cross-env to pass envvar on Windows.
2022-07-14 08:26:57 +02:00
Ivan Enderlin
65b1dfef6f
fix(bindings/crypto-nodejs): Fix pre-built download link.
2022-07-14 08:14:45 +02:00