Commit Graph

694 Commits

Author SHA1 Message Date
eternal-flame-AD 23442bfb68 fix configurer WebUI update bug 2019-02-09 12:52:01 +01:00
eternal-flame-AD 8b3faef422 change the distro in build to get ld.gold 2019-02-09 12:52:01 +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 06d13d2bee Set go version to 1.11.5 2019-02-02 21:25:29 +01:00
eternal-flame-AD de09aae987 add extras to message model 2019-02-02 13:06:30 +01:00
Jannis Mattheis 98710db507 Compile prod binaries with -w and -s 2019-01-21 19:28:07 +01:00
Jannis Mattheis 0927616f30 Execute e2e tests with compile flags -w -s 2019-01-21 19:28:07 +01:00
Jannis Mattheis ade175119a Remove typeface-roboto-mono 2019-01-21 19:28:07 +01:00
Jannis Mattheis e6c3a5938e Remove js source maps from build 2019-01-21 19:28:07 +01:00
Jannis Mattheis 25576e2ed1 Remove packed swagger ui, use cdnjs instead 2019-01-21 19:28:07 +01:00
ImgBotApp eafb5caed5 [ImgBot] Optimize images
*Total -- 790.57kb -> 743.57kb (5.95%)

/logo.png -- 97.08kb -> 78.71kb (18.92%)
/ui.png -- 36.75kb -> 31.98kb (12.97%)
/ui/public/static/mstile-310x150.png -- 106.20kb -> 99.79kb (6.04%)
/ui/public/static/mstile-310x310.png -- 180.26kb -> 171.75kb (4.72%)
/ui/public/static/mstile-150x150.png -- 83.33kb -> 80.76kb (3.08%)
/ui/public/static/defaultapp.png -- 50.55kb -> 49.02kb (3.03%)
/ui/public/static/favicon-196x196.png -- 50.55kb -> 49.02kb (3.03%)
/ui/public/static/apple-touch-icon-152x152.png -- 32.56kb -> 31.79kb (2.35%)
/ui/public/static/apple-touch-icon-144x144.png -- 29.16kb -> 28.52kb (2.18%)
/ui/public/static/mstile-144x144.png -- 29.16kb -> 28.52kb (2.18%)
/ui/public/static/apple-touch-icon-114x114.png -- 19.81kb -> 19.48kb (1.67%)
/ui/public/static/apple-touch-icon-120x120.png -- 19.98kb -> 19.67kb (1.53%)
/ui/public/static/favicon-128.png -- 20.51kb -> 20.21kb (1.45%)
/ui/public/static/mstile-70x70.png -- 20.51kb -> 20.21kb (1.45%)
/ui/public/static/favicon-96x96.png -- 14.19kb -> 14.12kb (0.48%)
2019-01-20 12:00:36 +01:00
Jannis Mattheis ff69a3927c Update swagger-ui dependency 2019-01-14 19:48:07 +01:00
eternal-flame-AD 1070c5b270 migrate to go.mod 2019-01-12 14:29:36 +01:00
Jannis Mattheis 19811dafb2 Correctly fill swagger host field 2019-01-03 16:13:32 +01:00
Jannis Mattheis 82cb2e384a Improve README & move setup stuff to website 2019-01-03 14:39:16 +01:00
Mathias 409c627e45 added line in readme letting the user know that an example config file is available 2019-01-03 12:38:48 +01:00
Mathias 1157bbd789 add example configuration file 2019-01-03 12:38:48 +01:00
Jannis Mattheis 68b160997d Format all go files 2019-01-01 23:34:42 +01:00
Jannis Mattheis 2a0e84cdcb Check formatting in check-go 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
Jannis Mattheis 193dd67f2c Hide 'failed to find config..' 2018-12-09 11:31:05 +01:00
Jannis Mattheis 0f85870d93 Add FOSSA badge 2018-12-04 20:30:36 +01:00
Jannis Mattheis b0df2ea7d8 Improve README 2018-12-04 20:30:27 +01:00
Eugene Gavrilov b42beb0371 [#23] add headers to configuration 2018-12-04 19:58:01 +01:00
Jannis Mattheis c77c1b18b8 Move react-script-ts to devDependencies 2018-11-30 18:29:37 +01:00
Jannis Mattheis ec2c3da9d4 Add summary for updateApp and uploadImg api 2018-11-24 11:31:32 +01:00
Jannis Mattheis 76ca344b77 Make security more compact 2018-11-24 11:31:32 +01:00
Jannis Mattheis 9e7859c36c Add missing bad request / not found definitions 2018-11-24 11:31:32 +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 ee723918f9 Add once test 2018-11-22 20:59:29 +01:00
Jannis Mattheis 79e1dc9c9a Prevent deadlock on stream.Close()
GR = goroutine
[GR#1] http server gets closed
[GR#2] client.NotifyClose() will be executed
[GR#2] client.once.Do will be executed (lock's client.once.m)
[GR#1] stream.Close will be executed (lock's stream.lock)
[GR#1] client.Close will be executed (waits for client.once.m)
[GR#2] stream.remove will be executed (waits for stream.lock)

GR#1 holds lock stream.lock and waits for client.once.m
GR#2 holds lock client.once.m and waits for stream.lock

We prevent the deadlock with releasing the client.once.m lock earlier.
2018-11-22 20:59:29 +01:00
Jannis Mattheis a992bc1506 Prevent possible race condition on SetPingHandler
conn.ReadMessage and conn.SetPingHandler are executed
in different goroutines.
2018-11-22 20:59:29 +01:00
Jannis Mattheis 60141d398f Update to go1.11 2018-11-22 20:59:29 +01:00
Jannis Mattheis 141193136d Show newlines in Web-UI 2018-11-14 21:06:00 +01:00
Eugene Gavrilov 0ca18b817c [#71] Make title in message not necessary field 2018-11-14 20:05:24 +01:00
Jannis Mattheis d1c035d43a Remove client on logout 2018-11-11 21:03:42 +01:00
Jannis Mattheis 887328ee65 Clear messages on application delete 2018-11-11 21:03:42 +01:00
Jannis Mattheis 985c7cf870 Fix not receiving messages after deleting all 2018-11-11 21:03:42 +01:00
Jannis Mattheis 81d00cbd57 Remove console.log 2018-11-11 21:03:42 +01:00
Jannis Mattheis 31dd466c6b Fix messages test 2018-11-11 21:03:42 +01:00
Jannis Mattheis ffbf7eee1f Remove react-infinite-any-height 2018-11-11 21:03:42 +01:00
Jannis Mattheis 1a9132e5a0 Remove usage of react-infinite-any-height
This module uses the index as key, this is bad, because we have a real
id for identifying messages.
see https://reactjs.org/docs/lists-and-keys.html
2018-11-11 21:03:42 +01:00
Jannis Mattheis 120e41ff91 Fix version display 2018-11-11 21:03:42 +01:00
Jannis Mattheis 42f1c34863 Show more info on web socket close 2018-11-11 21:03:42 +01:00
Jannis Mattheis b946ac2bc4 Clear all stores after logout 2018-11-11 21:03:42 +01:00
Jannis Mattheis 9d41520521 Clean up messages store 2018-11-11 21:03:42 +01:00
Jannis Mattheis ea546d96cc Move login to user 2018-11-11 21:03:42 +01:00
Jannis Mattheis c58188c60a Update golint path 2018-11-11 21:03:42 +01:00