Jonas Platte
045f610e30
common: Add conversions between AnyPushRule
and AnyPushRuleRef
2021-04-17 17:12:32 +02:00
Jonas Platte
ab42d379b8
common: Add borrowing iteration of push rulesets
2021-04-17 16:57:47 +02:00
Jonas Platte
8171e34eac
common: Move AnyPushRule, RulesetIntoIter into separate module
2021-04-17 16:38:08 +02:00
Jonas Platte
f86fa08f13
common: Rename RulesetIter to RulesetIntoIter
2021-04-17 16:27:42 +02:00
Devin Ragotzy
992266b38e
federation-api: Create Edu enum
2021-04-17 00:28:49 +02:00
Devin Ragotzy
29b49d2edf
events: Add codegen for ephemeral event enum room_id accessor
2021-04-16 23:42:29 +02:00
Jonas Platte
d7af96747c
events: Fix a typo
2021-04-16 15:28:46 +02:00
Jonas Platte
24e2f3996a
client-api: Fix tests for unstable-pre-spec
2021-04-16 13:57:25 +02:00
Jonas Platte
aeb4a24492
ruma: Re-export all types from ruma-identifiers, except Error
2021-04-16 13:42:08 +02:00
Jonas Platte
47d6b45857
client-api: Remove PartialEq and Eq for most types in get_login_types
2021-04-16 12:18:49 +02:00
Abhik Jain
672422e742
serde-macros: Add m.snake_case and m.dotted.case rename rules
2021-04-15 14:10:33 +02:00
Abhik Jain
f16d7b67c3
serde-macros: Add M_MATRIX_ERROR_CASE casing rename rule
2021-04-15 13:45:05 +02:00
Jonas Platte
461f856b5a
ci: Disable irrelevant parts of xtask
2021-04-14 19:20:45 +02:00
Jonas Platte
4bc25f836a
xtask: Exit feedback loop on EOF
2021-04-14 19:09:57 +02:00
Kévin Commaille
bc62192e60
xtask: Add release commit creation to release
2021-04-14 18:53:56 +02:00
Abhik Jain
3c237652db
identity-service-api: Add lookup for hash_details and 3pid endpoints
2021-04-14 18:40:52 +02:00
Kévin Commaille
51951082d5
client-api: Implement MSC2858 - Multiple SSO Identity Providers
2021-04-14 17:17:55 +02:00
Jonas Platte
c1693569f1
api: Replace bytes::Buf by AsRef<u8> for reading
...
This allows us to switch back to serde_json::from_slice instead of
serde_json::from_reader, because the latter is significantly slower.
See https://github.com/serde-rs/json/issues/160
2021-04-13 22:12:16 +02:00
Jonas Platte
e4ae2a40ee
Qualify more paths in macro-generated code
2021-04-13 21:50:01 +02:00
Jonas Platte
f6371bb1f2
Release ruma-signatures 0.7.0
2021-04-13 21:34:53 +02:00
Jonas Platte
10fb4c9910
Release ruma-common 0.4.0
2021-04-13 21:29:26 +02:00
Jonas Platte
8a791dd530
ci: Fix msrv build script
2021-04-13 21:26:53 +02:00
Jonas Platte
96758df5dd
xtask: Skip 10sec delay after publishing macro crate was skipped
...
(because it already existed)
2021-04-13 21:25:52 +02:00
Jonas Platte
cae9a3e089
xtask: Fail early in release if config.toml does not exist
2021-04-13 21:21:28 +02:00
Jonas Platte
322edc551f
xtask: Add a delay after publishing a macro crate
2021-04-13 21:16:24 +02:00
Jonas Platte
2a8b4a0478
Release ruma-identifiers 0.19.0
2021-04-13 21:12:24 +02:00
Jonas Platte
398cf406d7
identifiers: Add compat features to allow more user IDs
2021-04-13 21:12:24 +02:00
Jonas Platte
d3ef7d63ce
ci: Use cargo xtask to run checks
2021-04-13 18:38:04 +02:00
Jonas Platte
cdcefa1e53
xtask: Don't short-circuit on ci failure
2021-04-13 18:33:24 +02:00
Jonas Platte
48c71dbe4d
xtask: Clean up
2021-04-13 18:14:39 +02:00
Jonas Platte
d6ff0e8e28
Replace /latest URLs
2021-04-13 18:03:07 +02:00
Timo Kösters
6394609feb
federation-api: Clean up create_leave_event and get_leave_event
2021-04-13 15:10:01 +02:00
Jonas Platte
96aa55e3b9
api-macros: Silence warning about unknown clippy lint for older clippy versions
2021-04-13 15:08:33 +02:00
Jonas Platte
12b2d65e45
client-api: Fix recently broken test
2021-04-13 15:07:26 +02:00
Jonas Platte
a774771fc9
Remove verbose error types from tests
2021-04-13 14:14:27 +02:00
Jonas Platte
19806cc9d1
client-api: Fix recently broken test
2021-04-13 13:57:28 +02:00
Jonas Platte
355b462431
events-macros: Make methods on Copy
type take self by value
2021-04-13 13:17:09 +02:00
Jonas Platte
6585aeb628
api: Make OutgoingResponse a supertrait of EndpointError
2021-04-13 13:15:57 +02:00
Jonas Platte
cc2f2a231b
events: Fix recently broken test
2021-04-13 13:13:02 +02:00
Jonas Platte
499c615f55
events: Clean up some comments
2021-04-13 12:35:25 +02:00
Jonas Platte
58b8797961
events: Remove custom event relations from public API
2021-04-13 12:35:13 +02:00
Devin Ragotzy
72394655fd
Fix test using try_into -> try_into_http_response
2021-04-13 01:17:46 +02:00
Devin Ragotzy
f2286f8ae5
Fix confusing variable naming in ruma-api-macros
2021-04-13 01:17:46 +02:00
Jonas Platte
4a150984b4
ci: Remove option from cargo fmt
...
It is not needed for the command to apply to all workspace members.
2021-04-12 20:39:30 +02:00
Jonas Platte
15d92728ca
api-macros: Silence clippy::inconsistent_struct_constructor in generated code
2021-04-12 20:38:23 +02:00
Jonas Platte
15433a9751
api-macros: Fix a typo
2021-04-12 20:38:23 +02:00
Jonas Platte
e7a31f1fd1
api-macros: Split response code generation into more files
2021-04-12 20:38:23 +02:00
Jonas Platte
59d47227a6
api-macros: Split request code generation into more files
2021-04-12 20:38:23 +02:00
Jonas Platte
0e197aae0b
api: Update try_from_http_request to be generic like try_from_http_response
2021-04-12 20:38:22 +02:00
Jonas Platte
23ba0bc164
api-macros: Refactor request code generation
2021-04-12 20:38:22 +02:00