Commit Graph

470 Commits

Author SHA1 Message Date
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
Jannis Mattheis 160ff561df Move and rename axios 2018-11-11 21:03:42 +01:00
Jannis Mattheis 66ccb94dc7 Remove flux dependency 2018-11-11 21:03:42 +01:00
Jannis Mattheis 027639fca0 Remove dispatcher from flux 2018-11-11 21:03:42 +01:00
Jannis Mattheis 7370539fb4 Migrate browser notifications to new structure 2018-11-11 21:03:42 +01:00
Jannis Mattheis 6e629a9fc4 Move base store to common 2018-11-11 21:03:42 +01:00
Jannis Mattheis 98f6d59c9b Move current user to root folder 2018-11-11 21:03:42 +01:00
Jannis Mattheis d4d7dfefa4 Rename component to common 2018-11-11 21:03:42 +01:00
Jannis Mattheis 2ec7f1b98f Move layout stuff into own folder 2018-11-11 21:03:42 +01:00
Jannis Mattheis ad873585fa Move user stuff into own folder 2018-11-11 21:03:42 +01:00
Jannis Mattheis b8c6fb6380 Move message stuff into own folder 2018-11-11 21:03:42 +01:00
Jannis Mattheis 7878545ee7 Move client stuff into own folder 2018-11-11 21:03:42 +01:00
Jannis Mattheis 140578b7ab Move application stuff into own folder 2018-11-11 21:03:42 +01:00
Jannis Mattheis 7f50928833 Move snackbar stuff into own folder 2018-11-11 21:03:42 +01:00
Jannis Mattheis d8c413df03 Use inject everywhere 2018-11-11 21:03:42 +01:00
Jannis Mattheis bbb344be72 Add inject utils 2018-11-11 21:03:42 +01:00
Jannis Mattheis 95846da7b7 Remove static instance from stores 2018-11-11 21:03:42 +01:00
Jannis Mattheis 865aaa3f85 Make messages test less flaky 2018-11-11 21:03:42 +01:00
Jannis Mattheis c08a9f3814 Migrate Layout to mobx 2018-11-11 21:03:42 +01:00
Jannis Mattheis c24cf66c3e Enable decorator support tsconfig 2018-11-11 21:03:42 +01:00
Jannis Mattheis 35171e0cad Add new infinite list dependency 2018-11-11 21:03:42 +01:00
Jannis Mattheis 9c232780c5 Migrate MessagesStore to mobx
And use new infinite list implementation
2018-11-11 21:03:42 +01:00
Jannis Mattheis 4af9b9686f Remove GlobalAction 2018-11-11 21:03:42 +01:00
Jannis Mattheis dcd8469f4d Add WebSocketStore for handling the web socket 2018-11-11 21:03:42 +01:00
Jannis Mattheis f0f3c53563 Remove react-list
just to buggy :(
2018-11-11 21:03:42 +01:00