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 |
|
Jonas Platte
|
c770627ce1
|
ci: Assing nice workflow and job names
|
2021-04-22 15:10:41 +02:00 |
|
Jonas Platte
|
8a1cc3d8f8
|
ci: Use distinct job names
|
2021-04-22 15:08:16 +02:00 |
|
Jonas Platte
|
4daa30f1bb
|
client-api: Fix clippy warning
|
2021-04-22 15:05:58 +02:00 |
|
Jonas Platte
|
0411574081
|
ci: Install necessary tools for nightly job
|
2021-04-22 14:59:29 +02:00 |
|
Jonas Platte
|
06623f9651
|
ci: Convert remaining jobs to GitHub actions
|
2021-04-22 14:57:10 +02:00 |
|
Jonas Platte
|
ffa801254e
|
common: Fix faulty test
I broke it when making the tests easier to read 🙈
|
2021-04-22 14:53:55 +02:00 |
|
Jonas Platte
|
49bd9d037c
|
ci: Convert stable job to GitHub actions workflow
|
2021-04-22 14:25:23 +02:00 |
|
Jonas Platte
|
dcf5081735
|
ci: Convert audit job to (scheduled) GitHub actions workflow
|
2021-04-22 14:21:55 +02:00 |
|
Jonas Platte
|
43905b731a
|
docs: Rename docs.yaml => docs.yml
|
2021-04-22 14:06:45 +02:00 |
|
Jonas Platte
|
b91078ac55
|
ci: Re-indent docs.yaml
|
2021-04-22 14:06:20 +02:00 |
|
Jonas Platte
|
dbb57f1dca
|
ci: Simplify docs job by using ruma's full feature
|
2021-04-22 14:05:09 +02:00 |
|