Commit Graph

41 Commits

Author SHA1 Message Date
Jannis Mattheis 7523ad0d2e Use response header if cors config is empty
The cors middleware of gin denies the request with 403 forbidden if
the origin differs.
2020-05-09 16:41:53 +02:00
Jannis Mattheis 7b90b8a8f5 Use v2 in package path 2020-05-08 10:43:17 +02:00
Stewart Thomson 3f04d50088
Allow multiple CORS origins 2020-04-26 11:27:24 +00:00
Jannis Mattheis 0a8fc47e50 Reduce ping interval
Some reverse proxies have default timeouts of 60 seconds after they
close the websocket connetion.

Fixes #245
2020-01-18 16:17:30 +01:00
Jannis Mattheis 81c4a73df3 Add health api 2019-08-16 09:28:57 +02:00
GianOrtiz e32359ed15 Add update client api and dialog (#164) 2019-03-16 11:18:51 +01:00
eternal-flame-AD ccbe64a117 use gzip middleware for WebUI 2019-02-09 13:24:44 +01:00
eternal-flame-AD e5b24f4c92 Add plugin feature
Fixed database migration
Added a plugin system based on the go plugin package
2019-02-09 12:52:01 +01:00
Jannis Mattheis 25576e2ed1 Remove packed swagger ui, use cdnjs instead 2019-01-21 19:28:07 +01:00
Jannis Mattheis 68b160997d Format all go files 2019-01-01 23:34:42 +01:00
Eugene Gavrilov b5b2f19dc2 [#23] Fix check same origin function 2018-12-12 21:30:59 +01:00
Eugene Gavrilov b42beb0371 [#23] add headers to configuration 2018-12-04 19:58:01 +01:00
Jannis Mattheis dfb71dabbc Make produce/consumes more compact 2018-11-24 11:31:32 +01:00
Jannis Mattheis c841e1cd24 Move swagger comments to api 2018-11-24 11:31:32 +01:00
Eugene Gavrilov 4a6863eda2 [#69] add end-point for update application name and description 2018-11-23 21:39:07 +01:00
Jannis Mattheis b58062f508 Fix swagger definition 2018-06-03 10:49:53 +02:00
Jannis Mattheis caef4ff74f [#34] Update update api documentation & Increase api version 2018-04-13 18:56:11 +02:00
Jannis Mattheis 1831b6078f [#34] Add db calls for paged message api 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 acc8c4d35f Serve images folder in router 2018-03-31 18:44:49 +02:00
Jannis Mattheis ab7cc7d1e0 Add UploadApplicationImage API to router 2018-03-31 18:44:49 +02:00
Jannis Mattheis 0f2e7cf5e2 Use gofmt -s 2018-03-25 19:33:29 +02:00
Jannis Mattheis 505bc405d8 Use database util inside router test 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 61cf795c47 Move uigo to ui 2018-03-25 19:33:29 +02:00
Jannis Mattheis ff73e0b5e9 Use uigo in router 2018-03-18 17:29:15 +01:00
Jannis Mattheis 2e29efe90b Add Dev router config 2018-03-18 17:29:15 +01:00
Jannis Mattheis 7e37c34d2f Adjust router documentation 2018-03-11 17:58:44 +01:00
Jannis Mattheis ece3e3ee4f Adjust router test for new app/client id 2018-03-11 17:58:44 +01:00
Jannis Mattheis db60d2f0e7 Use correct models in user apis 2018-02-28 20:22:25 +01:00
Jannis Mattheis 3a2da09186 Improve documentation 2018-02-28 20:22:25 +01:00
Jannis Mattheis 66a7c3ee47 Remove branch from version info
When travis builds a tag, no branch is set
2018-02-24 16:05:00 +01:00
Jannis Mattheis cda4127551 Make password strength configurable 2018-02-23 19:39:34 +01:00
Jannis Mattheis e458bb1328 Add version api & model 2018-02-21 19:27:31 +01:00
Jannis Mattheis e13aff389b Add swagger documentation 2018-02-18 12:56:42 +01:00
Jannis Mattheis a5acb20d0e Use custom header for authentication 2018-02-18 12:56:42 +01:00
Jannis Mattheis 1e7e1a71f7 Rename to gotify 2018-02-12 16:48:01 +01:00
Jannis Mattheis 4bb6950e34 Set content type of api requests to application/json 2018-02-12 16:33:03 +01:00
Jannis Mattheis c20e999b70 Add not found handler 2018-02-12 16:33:03 +01:00
Jannis Mattheis 3592ffd1b9 Add router 2018-02-11 14:33:59 +01:00