2339 Commits

Author SHA1 Message Date
Jonas Platte
f2a78babbd
Avoid creating owned strings in deserialization where not necessary 2020-10-26 01:52:51 +01:00
Jonas Platte
62d5108633
client-api: Make the ErrorKind enum future-compatible 2020-10-26 00:56:25 +01:00
Jonas Platte
3b3ef1cb75
Remove test_ prefix from lots of test functions 2020-10-25 23:11:08 +01:00
Jonas Platte
64b9c646d1
identifiers: Revert serde rename from Cargo.toml 2020-10-24 19:27:50 +02:00
Jonas Platte
e1975c2035
Be more consistent about whitespace 2020-10-24 00:44:01 +02:00
Jonas Platte
8ceb57ed1d
Link to new #ruma-dev room in CONTRIBUTING.md 2020-10-22 19:17:21 +02:00
poljar
db2f580329
client-api: Make the CrossSigningKey serialization invertible 2020-10-22 16:21:27 +02:00
Jonas Platte
97f3e31ad8
Improve documentation for content_disposition fields 2020-10-21 14:38:36 +02:00
Jonas Platte
7d10df7177
Support &RawJsonValue in Outgoing derive 2020-10-20 02:22:12 +02:00
Jonas Platte
3853a36ff6
Support more unusual reference types in Outgoing derive 2020-10-20 02:20:29 +02:00
Jonas Platte
16dd20d64e
Improve docs for impl Display for CanonicalJsonValue
and extract the doctest into a regular test.
2020-10-19 17:56:30 +02:00
Timo Kösters
f85d98f557
client-api: Implement Default for incoming event filter types 2020-10-18 11:31:44 +02:00
Timo Kösters
6f821835f1
federation-api: Wrap events jn get_missing_events in Raw 2020-10-18 11:25:24 +02:00
Jonas Platte
50eb700571
client: Select hyper connector (TLS backend) at build time 2020-10-18 00:39:20 +02:00
Timo Kösters
90bd4874e3
Remove Option wrapper around directory filters 2020-10-17 23:06:52 +02:00
Jonas Platte
a67a396ee0
client-api: Use Option less for event filters 2020-10-17 22:34:25 +02:00
Jonas Platte
aa43d47343
client-api: Add a test for filter types' Default implementations 2020-10-17 20:29:45 +02:00
Jonas Platte
5576c2f0ed
client-api: Split up the filter module 2020-10-17 20:09:00 +02:00
skim
5b904ddbd7
Update links to main branch 2020-10-13 10:24:54 +02:00
Jonas Platte
4b81beaf05
Remove unnecessary lifetimes 2020-10-11 14:25:43 +02:00
Jonas Platte
3e5cea289c
Improve consistency in declared field order of media endpoints 2020-10-11 13:26:54 +02:00
Jonas Platte
f4fc20921a
Mark response headers optional in media GET endpoints 2020-10-11 13:26:54 +02:00
Amanda Graven
6a1c452ac9
Add generic query endpoint 2020-10-10 01:12:53 +02:00
q-b
524782e992
Add moderation policy events 2020-10-09 13:29:11 +02:00
Jonas Platte
87b0846201
signatures: Replace serde_json::Value with CanonicalJsonValue 2020-10-04 22:56:45 +02:00
Jonas Platte
5d03bd883a
signatures: Implement most function in terms of JSON objects
Instead of arbitrary JSON values, since they all error on non-object
values anyway.
2020-10-04 22:52:03 +02:00
Jonas Platte
9b52601808
signatures: Replace remaining uses of HashMap with BTreeMap 2020-10-04 22:46:48 +02:00
Jonas Platte
98982be7fb
Add Default implementation for CanonicalJsonValue 2020-10-04 22:46:48 +02:00
Jonas Platte
e795c7fcd6
Add free function to_canonical_json_string
and move the canonical JSON error type from the canonical_json::value
module to canonical_json.
2020-10-04 22:46:24 +02:00
iinuwa
9dc92c31cf
Add appservice room visibility management endpoint 2020-10-04 17:17:21 +02:00
Devin Ragotzy
b3196d7f64
Enforce public visibility of all fields of structs deriving Outgoing 2020-10-03 11:39:32 +02:00
Devin Ragotzy
8049631827 Make get_missing_events Request/Response fields pub 2020-10-02 18:05:49 -04:00
Jonas Platte
1282e1cfad
Do less work on CI
rustfmt and clippy are now basically guaranteed to be available on
Nightly, so run them unconditionally and only there.
2020-10-02 15:53:18 +02:00
Jonas Platte
6c8bac949e
signatures: Simplify sign_json 2020-09-29 23:23:47 +02:00
Jonas Platte
54ba6d10fe
signatures: Remove useless Value > Value conversion 2020-09-29 23:21:17 +02:00
Jonas Platte
5ab9c4dc19
signatures: Use BTreeMap instead of HashMap 2020-09-29 23:20:53 +02:00
Jonas Platte
406b8501ac
Fix building on Rust 1.43.0 2020-09-29 22:12:56 +02:00
Jonas Platte
e3498fd856
Add a CI job for our MSRV 2020-09-29 22:07:45 +02:00
Jonas Platte
dd59d97582
Fix ruma-client-api tests not being run on CI 2020-09-29 22:07:42 +02:00
Jonas Platte
006582e3f2
Various README updates 2020-09-29 20:30:33 +02:00
Jonas Platte
8b9e20b842
Fix outdated links 2020-09-29 20:10:54 +02:00
Amanda Graven
7412664c26
Correct metadata for bind_callback endpoint 2020-09-29 19:35:56 +02:00
Alejandro Domínguez
3869d75837
Support synapse quirk for thirdparty module 2020-09-29 16:42:11 +02:00
Alejandro Domínguez
d1f8a7404c
client-api: Make ErrorKind comparable 2020-09-29 16:17:21 +02:00
Devin Ragotzy
648c3f5732
Add remaining key backup endpoints
Co-authored-by: Timo Koesters <timo@koesters.xyz>
2020-09-29 13:35:42 +02:00
Devin Ragotzy
92f1fb463a
Create CanonicalJsonValue in ruma-serde 2020-09-28 11:17:46 +02:00
Devin Ragotzy
38daf33b47
Add Raw wrapper to get_room_state endpoint 2020-09-27 18:01:08 +02:00
Jonas Platte
61441cc00e
Add some links to the readme 2020-09-26 16:45:46 +02:00
Devin Ragotzy
ac3878cbe3
Use url safe no pad base64 encoding config options for reference_hash 2020-09-26 16:27:19 +02:00
Jonas Platte
e0e7f901d0
Merge license sections in README.md's 2020-09-26 16:26:32 +02:00