conduit/src
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
..
database Implement devices API (#20) 2020-06-03 14:09:50 +02:00
client_server.rs Implement devices API (#20) 2020-06-03 13:41:30 +02:00
database.rs Implement devices API (#20) 2020-06-03 13:41:30 +02:00
error.rs feat: image thumbnails 2020-05-19 19:59:52 +02:00
main.rs Implement devices API (#20) 2020-06-03 13:41:30 +02:00
pdu.rs fix: make redactions permanent 2020-06-01 20:58:49 +02:00
ruma_wrapper.rs feat: proper room creation 2020-05-25 16:39:58 +02:00
server_server.rs feat: redaction 2020-05-31 08:01:10 +02:00
stateres.rs work 2020-04-29 10:27:31 +02:00
test.rs refactor: split database into multiple files, more error handling, cleaner code 2020-05-03 21:44:48 +02:00
utils.rs fix: one time keys are never removed 2020-05-23 19:17:55 +02:00