Commit Graph

65 Commits

Author SHA1 Message Date
Devin Ragotzy
cb68bf9e0c Use ring crate to generate StatHashes when saving stateid/statehash 2020-08-23 16:43:21 -04:00
Devin Ragotzy
c4f5a0a631 Keep track of State at event for state resolution
feat: first steps towards joining rooms over federation
Add state-res as a dependency of conduit
Add reverse_topological_power_sort before append_pdu
Implement statehashstatid_pduid tree for keeping track of state
Clean up implementation of state_hash as key for tracking state
2020-08-23 16:43:21 -04:00
Timo
f23fb32e95 fix: set limited to true when skipping messages in /sync 2020-08-23 16:14:09 +02:00
timokoesters
e457e19088 feat: search pdus 2020-08-23 16:14:08 +02:00
Timo
04eee089e0 feat: first steps towards joining rooms over federation 2020-08-23 16:14:06 +02:00
Faelar
0fef955b28 Fix license. 2020-08-17 13:59:35 +02:00
Jonas Platte
75ea0b3163 Update ruma 2020-08-12 23:42:17 +02:00
timokoesters
d891bbb5dc improve: presence 2020-07-29 13:05:38 +02:00
timokoesters
21eb8d4fe3 fix: problems with pdu serialization 2020-07-29 12:59:40 +02:00
timokoesters
489cbc0a93 refactor: use <_> instead of <_parameter_name> 2020-07-29 12:59:36 +02:00
Devin Ragotzy
42e0102a2a Conditionally emit rocket::http_verb attr macros if lib/bin 2020-07-27 18:54:43 +02:00
Jonas Platte
09561ccea3 Upgrade ruma 2020-07-26 16:52:43 +02:00
Devin Ragotzy
60381ddcf4 Update to latest ruma/master rev 2020-07-25 14:25:24 -04:00
Devin Ragotzy
61458536ab Merge branch 'master' of https://git.koesters.xyz/timo/conduit into ruma-mono 2020-07-25 13:46:28 -04:00
timokoesters
d8e1248df6 improvement: switch to stable rust 2020-07-22 22:42:01 +02:00
Devin R
33bc666859 Use sync ephemeral events in sync Resposne (remove room_id)
Bump ruma to latest master which also fixes some server name as String
to now being of type Box<ServerName>.
2020-07-21 14:04:39 -04:00
Devin R
75959cdc10 Resolve stying review issues 2020-07-18 08:21:25 -04:00
Devin R
d02685a4fd Update to latest ruma/ruma commit
This will most likely be the API that is released to crates.io so it
should be fairly stable...
2020-07-17 16:04:05 -04:00
Devin R
84dcb885a7 Return correct Errors and replace panic, fix misc review issues
Remove EventJson todo comments, clean up Cargo.toml commented ruma deps.
2020-07-17 16:03:36 -04:00
Devin R
ddc7598870 Use ruma/ruma master 2020-07-17 16:03:36 -04:00
Devin R
7c38e53839 Move to depend on ruma monorepo and ruma-events0.22 2020-07-17 16:03:02 -04:00
Timo Kösters
b9de21949d Update to rocket master (#147)
Merge branch 'master' into rocket

Update to rocket master

Co-authored-by: timokoesters <timo@koesters.xyz>
Reviewed-on: https://git.koesters.xyz/timo/conduit/pulls/147
2020-07-14 18:23:26 +02:00
timokoesters
05f1f73e10 improvement: upgrade to sled 0.32
BREAKING CHANGE: old databases are not compatible anymore
2020-06-26 16:26:28 +02:00
timokoesters
a49a572d76 feat: cross-signing 2020-06-26 15:16:15 +02:00
timokoesters
db685e0cf7 fix: update rocket version 2020-06-16 13:53:15 +02:00
timokoesters
13d474f6ee fix: update ruma version 2020-06-16 12:19:58 +02:00
timokoesters
b4d65ab67d improvement: optimize /sync response 2020-06-08 11:39:32 +02:00
Jonas Platte
7526fd8602 Switch to the ruma meta-crate 2020-06-05 18:42:45 +02:00
timokoesters
08d19c3e0b fix: broken dependencies 2020-06-05 09:04:51 +02:00
timokoesters
a8df1acdfd feat: load replies, forward pagination 2020-06-04 13:58:55 +02:00
timokoesters
b192fddf2f fix: show device display names 2020-06-04 09:48:32 +02:00
timokoesters
4e507ef706 feat: room visibility and aliases 2020-05-31 09:46:11 +02:00
timokoesters
18bf67748c feat: redaction 2020-05-31 08:01:10 +02:00
timokoesters
1014388a9c fix: one time keys are never removed 2020-05-23 19:17:55 +02:00
timokoesters
d544d28b6e feat: image thumbnails 2020-05-19 19:59:52 +02:00
timokoesters
56dd6cb16f improvement: get state 2020-05-18 09:22:58 +02:00
timokoesters
4fb79ebb4c chore: update dependencies 2020-05-14 13:56:29 +02:00
Rudi Floren
00a9424719 feat: sytests 2020-05-11 14:44:23 +02:00
timokoesters
551308e9a8 Update dependencies and send displayname updates again 2020-05-08 21:13:52 +02:00
timokoesters
8f67c01efd refactor: split database into multiple files, more error handling, cleaner code 2020-05-03 21:44:48 +02:00
timokoesters
b02c568941 feat: notifications, simple permission systems 2020-05-01 20:28:13 +02:00
timokoesters
fd1aea7e36 Update dependencies 2020-04-29 10:27:41 +02:00
timokoesters
120b6f4b95 Bump dependencies and fixes 2020-04-29 10:27:39 +02:00
timokoesters
1af6dd984a More work on federation 2020-04-29 10:27:38 +02:00
timokoesters
b0d9ccdb2d Signing, basis for federation 2020-04-29 10:27:38 +02:00
timokoesters
80ddf80f17 work 2020-04-29 10:27:31 +02:00
gnieto
fa9e127a1e Store hashed passwords (#7)
Use if let instead of unwrap

Default to invalid password if could not calculate

Move hash password methdo and return Result

Rename get_password method

Default to empty password when no pwd is received

Store hashed passwords

Store passwords hashed with Argon2 and verify password with that stored
hash.

Co-authored-by: Guillem Nieto <gnieto.talo@gmail.com>
2020-04-14 22:25:44 +02:00
timokoesters
040296c711 Add test support and impl dummy /read_markers 2020-04-10 13:36:57 +02:00
timokoesters
93b1d97166 Update readme and cargo.toml 2020-04-10 10:25:33 +02:00
Jonas Platte
38ab7c843e Update error type of /register route 2020-04-08 23:25:19 +02:00