Commit Graph

65 Commits (5a8041969dd50a205bb3634f8c5905d7c7717bf4)

Author SHA1 Message Date
Devin Ragotzy 851eb555b6 Abstract event validation/fetching, add outlier and signing key DB trees
Fixed the miss named commented out keys in conduit-example.toml.
4 years ago
Timo Kösters b4818716b8
improvement: better deploy guide 4 years ago
Timo Kösters 85364a9c27
improvement: change federation_enabled to federation_disabled
This enables federation by default
4 years ago
Timo Kösters edfd3c1f34
improvement: better config, better logs 4 years ago
Timo Kösters 6606e41dde
feat: improved state store 4 years ago
Timo Kösters 6e5b35ea92
feat: implement appservices
this also reverts some stateres changes
4 years ago
Timo Kösters d62f17a91a
improvement: cache actual destination 4 years ago
Timo Kösters 45086b54b3
improvement: upgrade dependencies, fix timeline reload bug 4 years ago
Timo Kösters 6e36081573
improvement: more logging 4 years ago
Timo Kösters 9439f2c183
feat: send logs into admin room
Log entries will automatically be deduplicated, so a message won't be
sent if the same line has already been sent in the last 30 mins
4 years ago
Timo Kösters 9f8cffcd22
Admin room improvements 4 years ago
Timo Kösters 2f5df4aac9
improvement: more reliable federation sending 4 years ago
Timo Kösters 6b3934e31d
feat: configurable cache capacity 4 years ago
Timo Kösters 6dbe195695
improvement: flush after every request that manipulates the db 4 years ago
Timo Kösters b7ab57897b
fix: sending slowness 4 years ago
Timo Kösters f7816b11de
feat: send messages over federation 4 years ago
Timo Kösters e6b1f54857
Merge remote-tracking branch 'origin/master' into federation 4 years ago
Timo Kösters 12a8c9badd
fix: join rooms over federation 4 years ago
Faelar df55e8ed0b
Add room upgrade. 4 years ago
Timo 4954df3cc3
feat: handle txn ids 4 years ago
Timo 33215d6099
fix: send notification count updates when private read receipts change 4 years ago
Devin Ragotzy d73c6aa8ad Add roomid_statehash tree, clean up review issues 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 804d097a18
fix: wake up /sync for typing events 4 years ago
timokoesters e457e19088
feat: search pdus 4 years ago
timokoesters ce460ea159
fix: send device list updates when user is in no rooms 4 years ago
timokoesters b67372b11b
refactor: make all mods in database pub
Now they can easily export their own structs
4 years ago
Devin Ragotzy d948f896c0
Turn append_pdu args into struct PduBuilder 4 years ago
Devin Ragotzy 1c6f211933
Create media::FileMeta to represent a file and meta data 4 years ago
timokoesters e0d0fb4703
fix: only send device_one_time_keys_count when there are updates 4 years ago
timokoesters d891bbb5dc
improve: presence 4 years ago
timokoesters 489cbc0a93
refactor: use <_> instead of <_parameter_name> 4 years ago
timokoesters a49a572d76
feat: cross-signing 4 years ago
timokoesters 2368a90584
refactor: better error handling 4 years ago
timokoesters 0067f49d52
feat: close registration with ROCKET_REGISTRATION_DISABLED=true 4 years ago
timokoesters c85d363d71
feat: user interactive authentication 4 years ago
timokoesters d404f902bf
fix: send presence too often 4 years ago
timokoesters 168f2281fd
improvement: bundle typing events and only send on changes
Fixes #67 and #49
4 years ago
gnieto ed9b544ace Implement devices API (#20)
small improvements

Cargo fmt

Simplify insert and update methods

Review feedback

Remove has_device method calls

Load all devices with a single db call

Remove device as in logout

Put all metadata on the same tree

Create userdevice key fucntion

Implement devices API

Implement all the devices endpoints. There's a couple of pending tasks:

- Integrate the "logout" logic once it lands to master (this should
  remove the given device from the database).
- Track and store last seen timestamp and IP.

Co-authored-by: timokoesters <timo@koesters.xyz>
Co-authored-by: Guillem Nieto <gnieto.talo@gmail.com>
4 years ago
timokoesters 4e507ef706
feat: room visibility and aliases 4 years ago
timokoesters 821c608c6a
feat: media 4 years ago
timokoesters 42ae433b25
fix: send devicekeyupdate users in /sync 4 years ago
timokoesters 7fc71b3968
feat: end to end encryption 4 years ago
Rudi Floren 00a9424719
feat: sytests 4 years ago
timokoesters 1dbde0e1c1
improvement: add option to get device id from token 4 years ago
timokoesters ee0d6940bd
feat: presence updates 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 169dbe6c37
fix: send full state after joining a room 4 years ago