Jonas Platte
|
faa6faee9e
|
Use sub-.gitignore for xtask
|
2021-05-03 14:58:50 +02:00 |
|
Jonas Platte
|
944e03f33a
|
Update README.md
|
2021-05-03 14:54:51 +02:00 |
|
Jonas Platte
|
f5955cee9e
|
xtask: Simplify code for ci task
|
2021-05-02 14:02:54 +02:00 |
|
Abhik Jain
|
d53f2ba71b
|
identity-service-api: Add msisdn validation endpoints
|
2021-05-02 13:37:04 +02:00 |
|
gnieto
|
325f2f918c
|
Properly deserialize well-known response
According to the spec
(https://matrix.org/docs/spec/server_server/r0.1.4#get-well-known-matrix-server),
the expected field to receive the delegated name is `m.server` instead
of `m.homeserver`.
|
2021-05-02 13:36:55 +02:00 |
|
Jonas Platte
|
f940ff5d11
|
client-api: Make a few more types non-exhaustive
|
2021-05-01 21:56:07 +02:00 |
|
Jonas Platte
|
3342deed55
|
client-api: Change str to UserId in ThirdPartySigned
|
2021-05-01 21:55:42 +02:00 |
|
Jonas Platte
|
196da5b01d
|
client-api: Fix missing backticks in doc comment
|
2021-05-01 21:55:11 +02:00 |
|
Jonas Platte
|
92826df304
|
client: Add support for isahc as an HTTP client
|
2021-05-01 21:20:11 +02:00 |
|
Jonas Platte
|
7eb5f1e775
|
ruma: Expose ruma-client cargo features
|
2021-05-01 21:20:11 +02:00 |
|
Jonas Platte
|
23799cb702
|
client: Rename HttpClientExt methods to be much less likely to conflict with inherent methods
|
2021-05-01 21:20:11 +02:00 |
|
Jonas Platte
|
e3beb208e5
|
client: Use http_client::Dummy for doctests
|
2021-05-01 21:20:10 +02:00 |
|
Jonas Platte
|
a2b64df5d3
|
api: Require all EndpointError s to be Send
|
2021-05-01 21:20:10 +02:00 |
|
Jonas Platte
|
cee6e2e365
|
client: Add send_request_as for application services
|
2021-05-01 21:20:10 +02:00 |
|
Jonas Platte
|
20dfd7c328
|
client: Allow request customization to be fallible
|
2021-05-01 21:20:10 +02:00 |
|
Jonas Platte
|
9bbad70592
|
client: Use ResponseResult type alias in more places
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
71b4463306
|
client: Small refactoring
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
ac78c855a8
|
client: Replace send_request_with_url_params with send_customized_request
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
0fa686ac1d
|
client: Add a dummy http client
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
16f3e4911b
|
ruma: Re-export ruma-client
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
db9262fa43
|
client: Add support for reqwest as an HTTP client
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
c7742085a8
|
client: Add HttpClientExt
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
e94e2e7b2b
|
client: Fix doctests by not compiling them
… and move the sync example to sync's docs.
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
c692d18797
|
client: Add an HttpClient abstraction and implement it for hyper::Client
|
2021-05-01 21:20:07 +02:00 |
|
Jonas Platte
|
89b191c143
|
client: Make Client generic over the underlying HTTP client
… and allow construction of a Client with a custom HTTP client, but
nothing more yet.
|
2021-05-01 21:20:06 +02:00 |
|
Jonas Platte
|
b956178c53
|
client: Fix crate docs
|
2021-05-01 21:20:06 +02:00 |
|
Jonas Platte
|
15c9e470c8
|
client: Remove session data other than the access token
|
2021-05-01 21:20:06 +02:00 |
|
Jonas Platte
|
e2be614552
|
client: Put client-api specific functionality behind a feature flag
|
2021-05-01 21:20:06 +02:00 |
|
Jonas Platte
|
2b04cacc82
|
client-api: Don't serialize well_known if it's None in login response
|
2021-04-30 14:39:39 +02:00 |
|
Jonas Platte
|
8c286e78d4
|
client-api: Fix unused import warnings with no active features
|
2021-04-29 17:47:49 +02:00 |
|
Jonas Platte
|
0df3a68f30
|
Fix type of account_data in get_{global,room}_account_data
|
2021-04-29 17:45:55 +02:00 |
|
132ikl
|
21f46520d9
|
events: Move m.relates_to to EncryptedEventContent
|
2021-04-27 08:07:28 +02:00 |
|
Abhik Jain
|
481531a161
|
identity-service-api: Add endpoints for email validation
|
2021-04-26 19:00:54 +00:00 |
|
Jonas Platte
|
d27584ae3b
|
serde: Add missing docs
|
2021-04-26 16:40:06 +02:00 |
|
Jonas Platte
|
d2eb399bf6
|
serde: Add &self accessor methods to CanonicalJsonValue
|
2021-04-26 16:23:10 +02:00 |
|
Jonas Platte
|
28a9083a26
|
serde: Implement conversion of CanonicalJsonValue to JsonValue
|
2021-04-26 15:53:54 +02:00 |
|
Jonas Platte
|
27dc07d538
|
client-api: Implement request traits for send_state_event manually
|
2021-04-26 12:33:26 +02:00 |
|
132ikl
|
190376bf0d
|
client-api: Fix unsetting avatar url when compat is enabled
|
2021-04-24 19:47:17 +00:00 |
|
132ikl
|
ba642674af
|
xtask: Fix release creating an empty commit on existing release
|
2021-04-24 09:23:09 +00:00 |
|
Jonas Platte
|
12ec0fb168
|
api: Rename SendAccessToken methods to be clearer
Co-authored-by: Johannes Becker <j.becker@famedly.com>
|
2021-04-23 15:01:57 +02:00 |
|
Jonas Platte
|
1e005f576e
|
api: Slightly optimize OutgoingRequest implementations
|
2021-04-23 13:37:13 +02:00 |
|
Jonas Platte
|
f818b53ca1
|
Make conversions from Ruma types to http types generic
So users can select the Body type that makes the most sense for them.
|
2021-04-23 13:26:10 +02:00 |
|
Jonas Platte
|
ae26be88c5
|
api-macros: Refactor access token sending logic
|
2021-04-23 13:22:20 +02:00 |
|
Jonas Platte
|
527007b957
|
Add new suggested rust-analyzer settings
|
2021-04-23 12:54:42 +02:00 |
|
Jonas Platte
|
c5adfd48be
|
client-api: Stop using Foo name in tests
|
2021-04-23 12:51:05 +02:00 |
|
Johannes Becker
|
37462b9ae1
|
client-api: Remove unstable-synapse-quirks feature
Only worked around `authentication` sometimes being required,
which now can be achieved with `SendAccessToken`
|
2021-04-23 10:56:04 +02:00 |
|
Johannes Becker
|
0ca5785ead
|
api: Replace access_token Option with SendAccessToken enum
|
2021-04-23 10:56:04 +02:00 |
|
Johannes Becker
|
a3a756c339
|
client-api: Support appservice login type on /register
|
2021-04-23 10:56:04 +02:00 |
|
Timo Kösters
|
4f16b9357c
|
fix: verify_json algorithm
|
2021-04-22 18:23:45 +02:00 |
|
Jonas Platte
|
27e47eaddc
|
ci: Title-case workflow names
|
2021-04-22 15:23:16 +02:00 |
|