Timo Kösters
fd3fb3a7ed
Merge remote-tracking branch 'famedly/master' into appservices
4 years ago
Jonas Platte
6de5b3c2a0
Update repository link in crate metadata
4 years ago
Devin Ragotzy
73124629b7
Add general rules matching for pusher, calc unread msgs
4 years ago
Devin Ragotzy
cd0c5c0566
Append state event that pass resolution to DB, update to tokio 1.1
4 years ago
Devin Ragotzy
a897608025
Roll back tokio and rocket update since ruma's request is at 0.2 tokio
4 years ago
Devin Ragotzy
00436a32b0
Update ruma and rocket to latest git rev and tokio to 1.0
...
Ruma updated the event signing validation code and there was a dep
resolving failure with serde rocket and tokio so I updated rocket latest and
tokio 1.0 to fix.
4 years ago
Devin Ragotzy
8a035880f0
Remove StateStore trait from state-res collect events needed
4 years ago
Devin Ragotzy
9e83d2b2d5
Update state-res, use the new Event trait
...
This also bumps ruma to latest and removes js_int infavor of the ruma
re-export
4 years ago
Devin Ragotzy
690c066064
State resolution outline for /send
4 years ago
Timo Kösters
2cf6fd57b7
improvement: don't send pdus to appservices if it isn't interested
...
TODO: we need to send pdus if a user of the appservice is in the room
but not the appservice user itself
4 years ago
Timo Kösters
6e5b35ea92
feat: implement appservices
...
this also reverts some stateres changes
4 years ago
Timo Kösters
45086b54b3
improvement: upgrade dependencies, fix timeline reload bug
4 years ago
Devin Ragotzy
164b1633d8
Update ruma to latest, renamed server keys and removed PduStub
4 years ago
Devin Ragotzy
acd144e934
Fix get_closest_parent and cleanup federation/send/:txn
4 years ago
Devin Ragotzy
db8a0c5d69
Add closest_parent method to Rooms Db insert in order /send pdus
4 years ago
Devin Ragotzy
96dd3b2880
Update ruma to latest, fix unstable origin feature in ruma
4 years ago
Paul van Tilburg
1b4a79d47c
Add and install README.Debian
...
This file documents how the packaging is organized and how to
configure and use it. It also details what the default deployment
is like.
4 years ago
Paul van Tilburg
f72554de10
Split config into a Debian and local part
...
* The Debian part will be generated and managed by Debconf and configure
homeserver name, address and port
* The local part will just be a config file that shows the other
configuration options
Added the address configuration and moved the config generation
from the config to the postinst script.
4 years ago
Paul van Tilburg
79692db45d
First version of cargo-deb packaging setup
4 years ago
Timo Kösters
6b3934e31d
feat: configurable cache capacity
4 years ago
Timo
a2dbc6fe6d
Change license to Apache-2.0
4 years ago
Timo Kösters
151ef07fb3
docs: cross compile
4 years ago
Timo Kösters
e08dfd982b
improvement: look at SRV record when sending requests
4 years ago
Timo
d1099e9224
Update dependencies
4 years ago
Timo Kösters
12a8c9badd
fix: join rooms over federation
4 years ago
Timo Kösters
1e8fbd8d50
Update ruma version
4 years ago
Devin Ragotzy
f46c2d1eec
Fix review issues, move state-res to spec-comp branch
4 years ago
Devin Ragotzy
cb68bf9e0c
Use ring crate to generate StatHashes when saving stateid/statehash
4 years ago
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
4 years ago
Timo
f23fb32e95
fix: set limited to true when skipping messages in /sync
4 years ago
timokoesters
e457e19088
feat: search pdus
4 years ago
Timo
04eee089e0
feat: first steps towards joining rooms over federation
4 years ago
Faelar
0fef955b28
Fix license.
4 years ago
Jonas Platte
75ea0b3163
Update ruma
4 years ago
timokoesters
d891bbb5dc
improve: presence
4 years ago
timokoesters
21eb8d4fe3
fix: problems with pdu serialization
4 years ago
timokoesters
489cbc0a93
refactor: use <_> instead of <_parameter_name>
4 years ago
Devin Ragotzy
42e0102a2a
Conditionally emit rocket::http_verb attr macros if lib/bin
4 years ago
Jonas Platte
09561ccea3
Upgrade ruma
4 years ago
Devin Ragotzy
60381ddcf4
Update to latest ruma/master rev
4 years ago
Devin Ragotzy
61458536ab
Merge branch 'master' of https://git.koesters.xyz/timo/conduit into ruma-mono
4 years ago
timokoesters
d8e1248df6
improvement: switch to stable rust
4 years ago
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>.
4 years ago
Devin R
75959cdc10
Resolve stying review issues
4 years ago
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...
4 years ago
Devin R
84dcb885a7
Return correct Errors and replace panic, fix misc review issues
...
Remove EventJson todo comments, clean up Cargo.toml commented ruma deps.
4 years ago
Devin R
ddc7598870
Use ruma/ruma master
4 years ago
Devin R
7c38e53839
Move to depend on ruma monorepo and ruma-events0.22
4 years ago
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
4 years ago
timokoesters
05f1f73e10
improvement: upgrade to sled 0.32
...
BREAKING CHANGE: old databases are not compatible anymore
4 years ago
timokoesters
a49a572d76
feat: cross-signing
4 years ago
timokoesters
db685e0cf7
fix: update rocket version
4 years ago
timokoesters
13d474f6ee
fix: update ruma version
4 years ago
timokoesters
b4d65ab67d
improvement: optimize /sync response
4 years ago
Jonas Platte
7526fd8602
Switch to the ruma meta-crate
4 years ago
timokoesters
08d19c3e0b
fix: broken dependencies
4 years ago
timokoesters
a8df1acdfd
feat: load replies, forward pagination
4 years ago
timokoesters
b192fddf2f
fix: show device display names
4 years ago
timokoesters
4e507ef706
feat: room visibility and aliases
4 years ago
timokoesters
18bf67748c
feat: redaction
4 years ago
timokoesters
1014388a9c
fix: one time keys are never removed
4 years ago
timokoesters
d544d28b6e
feat: image thumbnails
4 years ago
timokoesters
56dd6cb16f
improvement: get state
4 years ago
timokoesters
4fb79ebb4c
chore: update dependencies
4 years ago
Rudi Floren
00a9424719
feat: sytests
4 years ago
timokoesters
551308e9a8
Update dependencies and send displayname updates again
4 years ago
timokoesters
8f67c01efd
refactor: split database into multiple files, more error handling, cleaner code
4 years ago
timokoesters
b02c568941
feat: notifications, simple permission systems
4 years ago
timokoesters
fd1aea7e36
Update dependencies
4 years ago
timokoesters
120b6f4b95
Bump dependencies and fixes
4 years ago
timokoesters
1af6dd984a
More work on federation
4 years ago
timokoesters
b0d9ccdb2d
Signing, basis for federation
4 years ago
timokoesters
80ddf80f17
work
4 years ago
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>
4 years ago
timokoesters
040296c711
Add test support and impl dummy /read_markers
4 years ago
timokoesters
93b1d97166
Update readme and cargo.toml
4 years ago
Jonas Platte
38ab7c843e
Update error type of /register route
4 years ago
timokoesters
ddcd423e6f
feat: random tokens, sessions, guest usernames and device ids
4 years ago
timokoesters
10bb96fcf7
feat: room joining, room based /sync responses
4 years ago
timokoesters
884dc2867d
Move to rocket's async branch
4 years ago
timokoesters
8b8381bcc0
New PduEvent struct
4 years ago
timokoesters
f9cfede2a8
fix: deserialize sync event body
4 years ago
timokoesters
fa3226898c
feat: save pdus
...
PDUs are saved in a pduid -> pdus map. roomid -> pduleaves keeps track
of the leaves of the event graph and eventid -> pduid maps event ids to
pdus.
4 years ago
timokoesters
22cca206ba
Todo: ruma signatures
...
This commit will get force pushed away later
4 years ago
timokoesters
533260edd8
Add auth
4 years ago
timokoesters
73e04e71d7
Start work on event creation
4 years ago
timokoesters
744e0adfcf
Try to impl auth in ruma_wrapper
4 years ago
timokoesters
34a53ce20a
Better database structure
4 years ago
timokoesters
6fffcecf8e
Updates
4 years ago
timokoesters
c2c18b4651
feat: database
5 years ago
timokoesters
cd777af41c
feat: simple endpoint handlers
5 years ago
timokoesters
6264628c11
Initial commit
5 years ago