Commit Graph

12 Commits

Author SHA1 Message Date
viktorstrate
b022a13e55 Batch exiftool runs + scanner package restructuring 2021-05-06 22:01:48 +02:00
viktorstrate
8d2654997d Add test for routes authenticateMedia 2021-04-26 22:35:10 +02:00
viktorstrate
8539d48944 Add test for TokenFromBearer 2021-04-26 21:39:20 +02:00
Viktor Strate Kløvedal
ce3090394b Add dataloaders to combine database queries (#190)
See also https://gqlgen.com/reference/dataloaders/
2021-02-07 22:17:33 +01:00
viktorstrate
907894dda3 Merge branch 'master' into v2.0.0 2020-12-17 23:18:00 +01:00
viktorstrate
4cd822f068 Update gomod to reflect repo transfer 2020-12-17 22:51:43 +01:00
viktorstrate
27b2f95a7b Start on migrating database integration to gorm 2020-11-23 19:39:44 +01:00
viktorstrate
82b18f0e9b Cleanup + add video format 2020-07-13 18:01:31 +02:00
viktorstrate
f669812efb Use cookies for authentication instead of header
This replaces the current implementation
where a bearer header holds the auth-token.
Now the same token is being sent using a cookie instead.
This greatly simplifies fetching resources (images and video),
since the header is sent along implicitly with each request.
2020-07-12 18:52:48 +02:00
viktorstrate
2d15e7c41f Add authentication for websockets 2020-02-21 17:53:04 +01:00
viktorstrate
9892366143 Refactor gqlgen 2020-02-01 00:08:23 +01:00
viktorstrate
51fbe8a2d5 Implement authorization 2020-01-31 23:30:34 +01:00