2880 Commits

Author SHA1 Message Date
Jonas Platte
97c3b5cf47
client-api: Add link to spec for r0::uiaa 2021-05-06 17:22:16 +02:00
Jonas Platte
1bf84ab9fb
Remove unused dev-dependencies 2021-05-06 14:45:13 +02:00
Jonas Platte
db327e7d9c
ci: Clean up 2021-05-06 14:31:52 +02:00
Jonas Platte
729fb51d77
Remove allow(clippy::lint) attributes that are no longer necessary 2021-05-06 14:31:52 +02:00
Jonas Platte
1dc72de70e
Remove allow(clippy::inconsistent_struct_constructor)
The lint was buggy, but that has now been fixed.
2021-05-06 14:31:52 +02:00
Jonas Platte
325c0adf69
Remove --quiet flags
They were useful on builds.sr.ht but for local running of CI commands
it's nice to have some progress indication.
2021-05-06 14:31:51 +02:00
Jonas Platte
997e0b302a
Make nightly the default toolchain
… because it's required for some clippy lints.
2021-05-06 14:31:37 +02:00
Jonas Platte
b759955a52
events: Add missing Default implementation 2021-05-06 14:07:38 +02:00
Devin Ragotzy
5090c11843
Enable non-default clippy lints 2021-05-06 11:07:31 +00:00
Devin Ragotzy
c6aa2e0428 Fix clippy warnings across workspace 2021-05-06 06:16:28 -04:00
Jonas Platte
8310e10ca1
Fix formatting 2021-05-05 23:53:17 +02:00
Jonas Platte
cf291bd5ba
Clean up lint attributes 2021-05-05 23:39:52 +02:00
Jonas Platte
6ea55459eb
Move general Ruma room link to the others in CONTRIBUTING.md 2021-05-05 17:30:17 +02:00
Jonas Platte
3c4e0c50db
Update .github/CODEOWNERS after repo restructure 2021-05-05 17:26:50 +02:00
Jonas Platte
07f4212094
serde: Fix new doctest 2021-05-05 16:29:17 +02:00
Jonas Platte
cc455057f7
serde: Add Raw::get_field 2021-05-05 11:22:01 +02:00
Kévin Commaille
448e29ce24
events: Add tag::TagName type 2021-05-03 17:33:12 +02:00
Jonas Platte
7cf9fab6af
ci: Fix msrv check 2021-05-03 16:05:35 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory 2021-05-03 15:50:27 +02:00
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 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
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