186 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
e1975c2035
Be more consistent about whitespace 2020-10-24 00:44:01 +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
Timo Kösters
f85d98f557
client-api: Implement Default for incoming event filter types 2020-10-18 11:31:44 +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
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
Jonas Platte
406b8501ac
Fix building on Rust 1.43.0 2020-09-29 22:12: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
Jonas Platte
565e3a1ee7
Merge LICENSE files
The Copyright notice is taken out because no single person has a
copyright to the entire codebase.
2020-09-26 15:52:52 +02:00
Jonas Platte
fa44fd5c55
Remove outdated Travis badges 2020-09-26 15:37:08 +02:00
Jonas Platte
1aa8b7480c
client-api: Rewrap changelog 2020-09-25 14:04:09 +02:00
Jonas Platte
327900b411
client-api: Rename url filtering type & field 2020-09-25 14:03:57 +02:00
q-b
28f14712c1
client-api: Use a custom type for contains_url 2020-09-25 13:39:25 +02:00
Jonas Platte
f92428b2c2
client-api: Merge more imports 2020-09-22 23:13:04 +02:00
Jonas Platte
7b8754b2c9
client-api: Merge imports 2020-09-22 22:52:15 +02:00
Jonas Platte
9359a5b18e
client-api: Remove Option in favor of serde(default) for capabilities 2020-09-22 22:51:19 +02:00
Jonas Platte
fdd326edf7
Move Outgoing from ruma-api to ruma-common
The derive macro moves from ruma-api-macros to a new ruma-common-macros
crate likewise.
2020-09-22 21:35:10 +02:00
Jonas Platte
7b08dceb30
Fix formatting 2020-09-22 21:33:58 +02:00
Jonas Platte
e1bedc819c
Use ruma_identifiers::ServerName in more endpoints
Co-authored-by: Timo Kösters <timo@koesters.xyz>
2020-09-21 23:12:45 +02:00
Vincent Lee
d36d005b97
Change requires_authentication: bool to authentication: AuthScheme 2020-09-18 16:28:51 +02:00
Jonas Platte
219cea9c1e
client-api: Add some missing constructors / non-exhaustive attributes 2020-09-17 00:07:25 +02:00
Jonas Platte
8cd3df1465
Remove questionable use of Raw
The notifications field was never really meant to use it.
2020-09-15 11:28:44 +02:00
Jonas Platte
4a9b1aeb3c
Remove borrowing from types in ruma_common::encryption
Until a better solution can be found for types that appear both in
request & response types and would otherwise require incoming types to
appear as fields of outgoing types.
2020-09-12 02:50:57 +02:00
Jonas Platte
67d113ba57
api: Add non_exhaustive attribute to request and reponse types through the macro 2020-09-11 21:01:02 +02:00
Jonas Platte
bb9b2b4a06
client-api: Update state endpoints to the new API standards 2020-09-11 20:39:52 +02:00
Jonas Platte
de22a06976
client-api: Update push endpoints to the new API standards 2020-09-11 20:23:17 +02:00
Devin Ragotzy
bedffcd45a
Move PusherData to ruma-common 2020-09-11 19:18:52 +02:00
Devin Ragotzy
55a67fbcf4
Fix a typo 2020-09-11 19:17:19 +02:00
Jonas Platte
9f814a2415
client-api: Update room endpoints to the new API standards 2020-09-06 01:31:14 +02:00
Jonas Platte
a012ad3532
client-api: Update include_leave in RoomFilter from Option<bool> to bool 2020-09-03 21:23:06 +02:00
Jonas Platte
56d2623b7d
client-api: Improve docs for contains_url in RoomEventFilter 2020-09-03 21:22:47 +02:00
Jonas Platte
e7dde6850c
client-api: Update profile endpoints to the new API standards 2020-09-03 17:44:34 +02:00
Jonas Platte
d6d5ad84c1
client-api: Update presence endpoints to the new API standards 2020-09-03 17:38:22 +02:00
Jonas Platte
ce402604e9
client-api: Update membership endpoints to the new API standards 2020-09-03 17:34:39 +02:00
Jonas Platte
53162321c9
client-api: Update media endpoints to the new API standards 2020-09-03 17:31:50 +02:00
Nicholas Young
7ccdaa34d6 feature gate exhaustive types for all spec crates:
- ruma-appservice-api
- ruma-client-api
- ruma-events
- ruma-federation-api
2020-09-01 18:39:41 -06:00
Jonas Platte
38913946eb
client-api: Update a few more endpoints to the new API standards 2020-08-30 22:53:13 +02:00
Jonas Platte
e2406cc8f0
client-api: Update directory endpoints to the new API standards 2020-08-30 22:44:27 +02:00
Jonas Platte
76058b8170
client-api: Update thirdparty endpoints to the new API standards 2020-08-30 22:33:05 +02:00
Jonas Platte
5407a95a99
client-api: Update tag endpoints to the new API standards 2020-08-30 22:20:38 +02:00
Jonas Platte
961d45a581
client-api: Update device endpoints to the new API standards 2020-08-29 23:13:42 +02:00