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>
6 years ago
timokoesters
5a47c75427
fix: make redactions permanent
6 years ago
timokoesters
4e507ef706
feat: room visibility and aliases
6 years ago
timokoesters
9c26e22ad7
improvement: load aliases from database
6 years ago
timokoesters
18bf67748c
feat: redaction
6 years ago
timokoesters
b6c0e9bfb2
feat: access control
6 years ago
josias
b106d1393b
Add logout route and database methods ( #21 )
...
Condense keys
Move remove methods to remove_device
Code cleanup
Add method for removing todevice events
Remove unnecessary existence checks
Add logout route and database methods
Co-authored-by: Josias <justjosias@tutanota.com>
6 years ago
timokoesters
1014388a9c
fix: one time keys are never removed
6 years ago
timokoesters
43478a5870
fix: send correct membership events when joining / creating rooms
6 years ago
timokoesters
ada260bf42
fix: use png for thumbnails
6 years ago
timokoesters
eb4af85765
fix: riot sometimes freaks out when refreshing
6 years ago
timokoesters
d544d28b6e
feat: image thumbnails
6 years ago
timokoesters
821c608c6a
feat: media
6 years ago
timokoesters
42ae433b25
fix: send devicekeyupdate users in /sync
6 years ago
timokoesters
f0aed35ecf
improvement: user dir search also searches in displaynames
6 years ago
timokoesters
6215218c3c
fix: account data json
6 years ago
timokoesters
7fc71b3968
feat: end to end encryption
6 years ago
Rudi Floren
00a9424719
feat: sytests
6 years ago
timokoesters
8e041f90dd
refactor: make cargo clippy happier
6 years ago
timokoesters
1dbde0e1c1
improvement: add option to get device id from token
6 years ago
timokoesters
ee0d6940bd
feat: presence updates
6 years ago
timokoesters
551308e9a8
Update dependencies and send displayname updates again
6 years ago
timokoesters
8f67c01efd
refactor: split database into multiple files, more error handling, cleaner code
6 years ago