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 |
|
Devin Ragotzy
|
8103bbcf6a
|
Clean up unused bits add TODOs
|
2021-04-24 16:24:38 -04: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
|
1dd252d1c9
|
Bump ruma dependency
|
2021-04-23 18:04:51 +02: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 |
|