Commit Graph

36 Commits

Author SHA1 Message Date
Jannis Mattheis 39a3d46607 [#34] Adjust message api to be paged 2018-04-13 18:56:11 +02:00
Jannis Mattheis 1262f43846 Close web socket connection on delete user 2018-04-02 12:35:16 +02:00
Jannis Mattheis 6954fb5adf Close web socket connection on delete client 2018-04-02 12:35:16 +02:00
Jannis Mattheis 13d9350f6d Delete image on update and delete application & check for existing name 2018-03-31 18:44:49 +02:00
Jannis Mattheis 61d5fc59a7 Add UploadApplicationImage API 2018-03-31 18:44:49 +02:00
Jannis Mattheis a6ff23944d Remove unused method 2018-03-25 19:33:29 +02:00
Jannis Mattheis 0f2e7cf5e2 Use gofmt -s 2018-03-25 19:33:29 +02:00
Jannis Mattheis 317bb1cb3e Remove mock & Use database util in user api 2018-03-25 19:33:29 +02:00
Jannis Mattheis b9b98f0ce9 Remove mock & Use database util in token api 2018-03-25 19:33:29 +02:00
Jannis Mattheis 785aa7e5b3 Remove mock & Use database util in message api 2018-03-25 19:33:29 +02:00
Jannis Mattheis 203791c63b Move password into own package to prevent package cycle 2018-03-25 19:33:29 +02:00
Jannis Mattheis 01c6800ae8 Move stream to api 2018-03-25 19:33:29 +02:00
Jannis Mattheis 9e49849039 Use mode in all tests 2018-03-18 17:29:15 +01:00
Jannis Mattheis fb972ec9a6 Fix not working Get/DeleteMessagesWithApplication apis 2018-03-11 17:58:44 +01:00
Jannis Mattheis 4078358aaa Check ownership of app on GetMessagesWithToken 2018-03-11 17:58:44 +01:00
Jannis Mattheis 98df7501f6 Add failing test for getmessages with not owned app 2018-03-11 17:58:44 +01:00
Jannis Mattheis 2d1d68f5ae Also use helper method in user api 2018-03-11 17:58:44 +01:00
Jannis Mattheis ec1eb50d0e Adjust token api to use new app/client id 2018-03-11 17:58:44 +01:00
Jannis Mattheis 6dda2606d4 Adjust message api to use new app/client id 2018-03-11 17:58:44 +01:00
Jannis Mattheis cb8fb2dfc2 Remove unnecessary code 2018-02-28 20:22:25 +01:00
Jannis Mattheis db60d2f0e7 Use correct models in user apis 2018-02-28 20:22:25 +01:00
Jannis Mattheis cda4127551 Make password strength configurable 2018-02-23 19:39:34 +01:00
Jannis Mattheis 9d635b15a6 Add json mapping for ID in client & app 2018-02-18 12:56:42 +01:00
Jannis Mattheis 9c47b73b1d Move models and add docu to models 2018-02-18 12:56:42 +01:00
Jannis Mattheis 1e7e1a71f7 Rename to gotify 2018-02-12 16:48:01 +01:00
Jannis Mattheis 8ad22b1280 Return user on create user 2018-02-11 14:33:59 +01:00
Jannis Mattheis 28584184b1 Formatting 2018-02-11 14:33:59 +01:00
Jannis Mattheis e44970e684 Rename DeleteClientID to DeleteClientByID 2018-02-11 08:54:20 +01:00
Jannis Mattheis b8b15040f9 Adjust GetMessagesByUserAndApplication to GetMessagesByApplication 2018-02-11 08:54:20 +01:00
Jannis Mattheis bbb82bd2b0 Add user api 2018-02-10 23:11:24 +01:00
Jannis Mattheis 98b7bcc2d6 Add notify to message api 2018-02-08 19:52:58 +01:00
Jannis Mattheis 4e3d00ea98 Reorder imports 2018-02-08 19:52:58 +01:00
Jannis Mattheis 7eed1703c5 Add unpatching the monkey (: 2018-02-08 19:52:58 +01:00
Jannis Mattheis ecdd7c51cd Rename model.Message#TokenID to ApplicationID 2018-02-01 18:49:12 +01:00
Jannis Mattheis 9178d2d08b Add message api 2018-02-01 18:49:12 +01:00
Jannis Mattheis 8dfb5c7a69 Add token api (app and client) 2018-01-30 18:59:42 +01:00