continuwuity/src/database
gnieto 0883c44659
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>
2020-06-03 14:09:50 +02:00
..
rooms feat: presence updates 2020-05-09 21:47:09 +02:00
account_data.rs fix: riot sometimes freaks out when refreshing 2020-05-19 22:56:28 +02:00
global_edus.rs feat: end to end encryption 2020-05-17 19:56:40 +02:00
globals.rs feat: sytests 2020-05-11 14:44:23 +02:00
media.rs fix: use png for thumbnails 2020-05-19 23:51:37 +02:00
rooms.rs fix: make redactions permanent 2020-06-01 20:58:49 +02:00
users.rs Implement devices API (#20) 2020-06-03 14:09:50 +02:00