Files
conduit/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
..
2020-05-09 21:47:09 +02:00
2020-05-17 19:56:40 +02:00
2020-05-11 14:44:23 +02:00
2020-05-19 23:51:37 +02:00
2020-06-01 20:58:49 +02:00
2020-06-03 14:09:50 +02:00