Jason Volk
3f06ade0fd
Revert "Revert "optimize for optional static response headers zero-copy zero-alloc""
...
This reverts commit 6bdc5ad326029e84fe05ed2591d9ba442bab8ff5.
Revert "Revert "Fix assumptions about header value types""
This reverts commit 03037f6c92ffb43388022d288e5a36f20a8559dd.
2024-08-15 05:20:21 +00:00
strawberry
69b2bc4b8c
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-08-14 01:47:43 -04:00
strawberry
6bdc5ad326
Revert "optimize for optional static response headers zero-copy zero-alloc"
...
This reverts commit fd11fee88d937d69f557fa3d6ef09639c7b2e2f7.
2024-08-14 01:46:35 -04:00
Jason Volk
fd11fee88d
optimize for optional static response headers zero-copy zero-alloc
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-08-12 22:59:57 +00:00
Kévin Commaille
14d7415f0d
client-api: Do not send request body for logout and logout_all
...
Due to a clarification in the spec.
2024-07-16 20:21:29 +02:00
strawberry
9e29e07ae1
Merge remote-tracking branch 'upstream/main' into conduwuit-changes
2024-05-09 11:29:29 -04:00
Kévin Commaille
fcaf4bd54a
client-api: Return proper status code for SSO login endpoints
2024-05-07 08:59:08 +02:00
Kévin Commaille
cae00cfff8
client-api: Return proper content type in login_fallback::Response
2024-05-07 08:49:16 +02:00
strawberry
cab4d5e18f
skip serialising identity_server
if None, and return empty string for base_url
identity server if null
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-28 22:29:19 -04:00
Matthias Ahouansou
4ffbed0e06
client-api: allow /login to support authentication from appservices
2024-03-13 22:06:58 +01:00
avdb13
abebde0cf1
client-api: Add optional cookie field to sso_login*::Response
2024-02-23 14:22:49 +00:00
strawberry
4d9f754657
client-api: add deprecated login fields to password and appservice login types
...
`user`, `medium`, and `address` for `m.login.password`
`user` for `m.login.appservice`
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-02-17 18:22:20 +01:00
Jonas Platte
3dac70ead9
Remove most unreachable visibility modifiers
2023-07-19 14:32:14 +02:00
Jonas Platte
ba5bf8cfce
Replace assert_matches by assert_matches2
2023-06-08 11:37:11 +02:00
Kévin Commaille
0b390cc3c9
client-api: Add support for using an existing session to log in another
...
According to MSC3882
2023-05-25 20:23:07 +02:00
Kévin Commaille
fc7cc74789
docs: Don't use since with the deprecated attribute
2023-02-14 22:50:20 +01:00
HKalbasi
ca99c97a0c
Use #[deprecated]
instead of doc comments
2023-02-12 19:18:06 +01:00
Kévin Commaille
f159776f52
chore: Make all applicable spec links use the latest spec instead of a specific version
2023-02-12 12:39:24 +01:00
digital
c79f9a97e1
client-api: add support for appservice login
2023-01-19 16:12:22 +01:00
digital
6c00e03c19
client-api: correct typos in comments
2023-01-19 16:12:22 +01:00
Jonas Platte
b859d9c8b0
common: Derive Debug via StringEnum derive
2023-01-13 13:49:59 +01:00
Jonas Platte
67cc8e9e9c
Box rarely-used variants to reduce enum stack size
2022-12-15 11:46:30 +01:00
Jonas Platte
3211fccab0
Remove borrowing in requests
2022-11-28 14:02:35 +01:00
Jonas Platte
ae3394a6df
api: Turn metadata name and description fields into docstrings
2022-11-12 10:17:24 +01:00
Jonas Platte
80c060cb69
Remove usage of ruma_api!
2022-11-12 10:17:24 +01:00
Jonas Platte
d3a8a8c2e0
client-api: Future-proof Debug implementations of login types
...
Make sure we don't forget to update them when there are new fields.
2022-11-01 11:13:36 +01:00
Jonas Platte
2b624c264e
client-api: Simplify Debug output for LoginInfo
2022-11-01 11:13:36 +01:00
Kévin Commaille
045861441a
doc: Update Matrix spec links to v1.4
2022-10-21 10:41:20 +02:00
Jonas Platte
bb9742e84c
client-api: Don't include extra field in Debug-format of login::CustomLoginInfo
2022-10-17 17:16:38 +02:00
Jonas Platte
fe2d0c93e2
client-api: Don't include token in Debug-format of login::Token
2022-10-17 17:16:38 +02:00
Jonas Platte
70b0d249a8
client-api: Don't include password in Debug-format of login::Password
2022-10-17 17:16:38 +02:00
Timo Kösters
00315d9c48
client-api: Remove serde aliases
2022-10-12 16:52:26 +02:00
Kévin Commaille
739c35aaca
api: Allow to use any HeaderName with the header keyword of ruma_api
2022-10-10 19:09:39 +02:00
Kévin Commaille
90f9463c1a
client-api: Use borrowed types in refresh_token::v3::Request
2022-07-30 17:03:02 +02:00
Kévin Commaille
64203a3cba
client: Remove leftover unstable prefixes
...
From v1.2 and v1.3
2022-07-28 18:27:14 +02:00
Kévin Commaille
0d71ce17da
client-api: Stabilize MSC2918
2022-06-20 17:16:12 +02:00
Kévin Commaille
cf3aee33f4
client-api: Split uiaa::UserIdentifier::ThirdParty
2022-06-11 22:41:52 +02:00
Kévin Commaille
90cef5a50b
client-api: Add support for refresh tokens
...
According to MSC2918
2022-06-11 19:31:09 +02:00
Kévin Commaille
c1d10b1061
client-api: Split some test assertions
2022-06-07 15:30:49 +02:00
Jonas Platte
8912182c56
Increase usage of implicit named arguments in format strings
2022-06-03 10:06:28 +02:00
Jonas Platte
b34bfaf1f6
Replace matches crate with assert_matches
2022-05-24 18:07:29 +02:00
Jonas Platte
4014e6959f
Replace Box<MxcUri> with OwnedMxcUri
2022-04-25 15:16:55 +02:00
Jonas Platte
efc869ce9d
client-api: Use new owned ID types
2022-04-20 10:39:36 +02:00
Kévin Commaille
688d5bf47a
docs: Improve string enums documentation
...
Mention the conversion from string.
2022-04-10 14:48:09 +02:00
Jonas Platte
a6a530dcc8
serde: Rename derive macro Outgoing to Incoming
...
All it does now is generate `Incoming{Self}` types.
2022-03-22 13:19:03 +01:00
Jonas Platte
5cf42f3a86
serde: Remove the Outgoing trait
2022-03-22 13:19:03 +01:00
Kévin Commaille
117880524f
client-api: Fix sso_login added version
2022-03-14 13:51:30 +01:00
Kévin Commaille
bdcf07be87
common: Merge ruma-serde into ruma-common
2022-03-10 12:11:00 +01:00
Kévin Commaille
088d1872b7
common: Merge ruma-identifiers into ruma-common
2022-03-09 17:46:51 +00:00
homersimpsons
2ec50bd03c
doc: migrate links from matrix-doc to matrix-spec(-proposals)
2022-03-08 10:24:26 +01:00