Jonas Platte
|
3989e52844
|
Upgrade js_int to 0.2.0
|
2020-12-24 01:53:30 +01:00 |
|
Jonas Platte
|
5cde37aa9d
|
Update nightly CI
|
2020-12-24 01:53:17 +01:00 |
|
Jonas Platte
|
527cc4b91c
|
Update .editorconfig
|
2020-12-24 01:51:48 +01:00 |
|
Jonas Platte
|
8ea4cf4862
|
client: Add support for rustls as the TLS backend
|
2020-12-24 01:43:14 +01:00 |
|
Jonas Platte
|
1129520290
|
client: Rename tls feature to tls-native
|
2020-12-24 01:29:19 +01:00 |
|
Fredrik Lanker
|
325b3eea34
|
Require user credentials for client example
|
2020-12-23 17:08:01 +01:00 |
|
Devin Ragotzy
|
45d0101155
|
Export the Verified enum in ruma-signatures
|
2020-12-21 10:39:17 +01:00 |
|
Jonas Platte
|
1f8384722f
|
client-api: Rewrap comments in uiaa
|
2020-12-15 18:24:14 +01:00 |
|
Jonas Platte
|
87e821094c
|
federation-api: Move Visitor declaration into deserialize function
|
2020-12-15 14:35:46 +01:00 |
|
Devin Ragotzy
|
dca71f76ee
|
Update readme example Option<String> -> String
|
2020-12-13 09:12:14 -05:00 |
|
Jonas Platte
|
212153ea5f
|
Mark macro-generated trait implementations as #[automatically_derived]
|
2020-12-13 13:29:03 +01:00 |
|
Jonas Platte
|
95d21552e0
|
Use a dedicated method for conversion from http::Request to Ruma request types
|
2020-12-13 12:59:21 +01:00 |
|
Jonas Platte
|
ac4446ab5b
|
api-macros: Improve readability of expand_all
|
2020-12-13 12:28:48 +01:00 |
|
Jonas Platte
|
b38ae1bb76
|
api: Improve docs for AuthScheme variants
|
2020-12-13 12:21:19 +01:00 |
|
Jonas Platte
|
e1d621ebd0
|
Re-apply "federation-api: Make pdus of transactions optional under unstable-pre-spec "
This reverts commit cf7718107267eb65cc2b87a60dd343ce46fd70c1.
|
2020-12-13 11:55:06 +01:00 |
|
Jonas Platte
|
ae6595339c
|
Stop stripping serde attributes
To still prevent 'unknown attribute' errors, the attribute is registered
using a dummy derive macro where needed.
|
2020-12-13 11:54:39 +01:00 |
|
Jonas Platte
|
e8b1e35714
|
serde: Optimize btreemap_int_or_string_to_int_values
Don't allocate a temporary `BTreeMap<T, IntWrap>`.
|
2020-12-12 17:57:51 +01:00 |
|
Jonas Platte
|
22ab60128a
|
serde: Fix int_or_string_to_int deserialization helper
It's unclear why the previous method didn't work, but this one definitely does.
|
2020-12-12 17:45:16 +01:00 |
|
Devin Ragotzy
|
c6a108631d
|
Add apply_event function testing if a given event will pass auth
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
ea7dc52daf
|
Bump ruma to be even with conduit
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
6c26da97a6
|
Bump deps and remove js_int now imported from ruma
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
89cfb1967a
|
Update ruma to latest, StateEvent is still enum without Stub
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
0e9332c04f
|
Add text file to keep track of benches from time to time
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
db3f68626d
|
Add constructor from CanonicalJsonObject to StateEvent
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
b04c74ce88
|
Add more comments and cleanup out of date comments
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
f45cb2963a
|
Fix formatting and grouping of state_event items
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
471ae2cbb4
|
Make from_id_value take 2 args not tuple
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
d5870c6cc0
|
Fix serialization test adding event_id field to the JSON string output
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
d0d2f77998
|
Add from_id_value associated method to create a StateEvent from id+json
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
5e7f60e5d9
|
Add gen-eventid feature to generate EventId every deserialize
So we do not rely on any found EventId, this makes all the tests break.
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
ac4ab7ac06
|
Update tests to new StateEvent using Pdu::RoomV3Pdu
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
6661771b31
|
StateEvent now holds EventId in variant + custom ser/de
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
420b7c00e8
|
Fix travis CI test by turning on features
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
ac9282add6
|
Allow get_power_level_for_sender to soft fail when eventId not found
Hardcode RoomVersion6 into the eventId hashing
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
c3ba1e33eb
|
Use unstable-join branch of ruma from my fork
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
26b0f738a5
|
Fix unstable-pre-spec for federation membership join
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
11e8856a91
|
Fix tests after state_key = String from Option<String>
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
d19c0d4129
|
Rebase with timos changes and update/pin ruma
|
2020-12-11 18:04:41 -08:00 |
|
Devin Ragotzy
|
ee6aa35612
|
StateEvent's event_id method must return owned EventId
|
2020-12-11 18:04:41 -08:00 |
|
Timo Kösters
|
369703a6fa
|
Expect all state events to have a state key
|
2020-12-11 18:04:41 -08:00 |
|
Timo Kösters
|
776c476f3c
|
Skip events that fail auth
|
2020-12-11 18:04:41 -08:00 |
|
Timo Kösters
|
33232f0a63
|
Disable buggy auth_events check
|
2020-12-11 18:04:41 -08:00 |
|
Timo Kösters
|
ad4fb6420a
|
Various improvements
|
2020-12-11 18:04:41 -08:00 |
|
Timo Kösters
|
f587b88a60
|
Fixes
|
2020-12-11 18:04:41 -08:00 |
|
Jonas Platte
|
d220ab0fbe
|
Outgoing derive: Copy cfg and cfg_attr attributes to Incoming type
|
2020-12-10 16:40:57 +01:00 |
|
Jonas Platte
|
cf77181072
|
Revert "federation-api: Make pdus of transactions optional under unstable-pre-spec "
This reverts commit 5a65634a28cd007416fa2d4b665ab60e5d46d920.
|
2020-12-10 16:40:33 +01:00 |
|
Timo Kösters
|
5a65634a28
|
federation-api: Make pdus of transactions optional under unstable-pre-spec
|
2020-12-10 15:42:14 +01:00 |
|
Devin Ragotzy
|
724a48d616
|
Add examples to the docs of Raw and the ruma-events module
|
2020-12-07 17:57:23 +01:00 |
|
Jonas Platte
|
ee814aa849
|
client-api: Fix issue ID for lazy load deserialization bug
|
2020-12-07 13:25:10 +01:00 |
|
Jonas Platte
|
c274431949
|
client-api: Fix deserialization of LazyLoadOptions when serde(flatten)ed
|
2020-12-07 13:24:03 +01:00 |
|