3289 Commits

Author SHA1 Message Date
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 EndpointErrors 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
Devin Ragotzy
509283d947 Remove so many allocations for auth chain, address review 2021-04-29 15:10:17 -04:00
Devin Ragotzy
41b8c14d6e Remove state_store module 2021-04-29 15:10:17 -04:00
Devin Ragotzy
f62df4d9ae Remove StateStore trait and clean up imports in event_auth 2021-04-29 15:10:17 -04:00
Devin Ragotzy
138ecd4f35 Use the RoomVersion struct in event_auth 2021-04-29 15:10:17 -04:00
Jonas Platte
c20893e536
Bump ruma 2021-04-29 20:51:38 +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
Devin Ragotzy
d359367c5d Remove room_version section 2021-04-28 06:38:18 -04:00
Devin Ragotzy
29fd085de7 Add more info to lib and state_event sections, fix english bugs 2021-04-28 06:38:18 -04:00
Devin Ragotzy
d533c96502 Add linebreaks at < 90, fix awkward phrasings 2021-04-28 06:38:18 -04:00
Devin Ragotzy
ca01f334d7 Create architecture document 2021-04-28 06:38:18 -04: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
3bffb8ad82
Title-case the README title 2021-04-26 18:59:38 +02:00
Jonas Platte
72930a6d88
Make README title bigger 2021-04-26 18:59:26 +02:00
Jonas Platte
d235957f94
ci: Replace travis with GitHub actions 2021-04-26 18:59:11 +02:00
Jonas Platte
ce665d213f
Bump ruma 2021-04-26 17:54:07 +02:00
Jonas Platte
a7205c6ae7
Clean up state_res_bench.rs 2021-04-26 17:44:03 +02: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
Devin Ragotzy
c2988d4b8d Remove StateResolution::apply_event, fix test serde make pdu struct 2021-04-26 09:41:46 -04:00
Jonas Platte
27dc07d538
client-api: Implement request traits for send_state_event manually 2021-04-26 12:33:26 +02:00
Devin Ragotzy
a9e248da34 Replace threads -> tasks in TODO comments 2021-04-24 16:24:38 -04:00