Commit Graph

675 Commits

Author SHA1 Message Date
Jannis Mattheis 33100ce868 Update react & react-dom 2018-09-08 11:45:36 +02:00
Jannis Mattheis c0ae3dce12 Apply material-ui changes 2018-09-08 11:45:36 +02:00
Jannis Mattheis 21da31ecab Update material-ui 2018-09-08 11:45:36 +02:00
Jannis Mattheis a3f081307b Format 2018-08-23 17:53:45 +02:00
Jannis Mattheis 1afa51959f Add prettier 2018-08-23 17:53:45 +02:00
Jannis Mattheis 5f21ad9377 Fix wrong link 2018-07-01 21:45:14 +02:00
Jannis Mattheis 41522615b0 Add app to README & Adjust stuff 2018-07-01 21:45:14 +02:00
Jannis Mattheis b58062f508 Fix swagger definition 2018-06-03 10:49:53 +02:00
Jannis Mattheis 16d16eb539 UI dev port is 3000 2018-05-10 12:34:35 +02:00
Jannis Mattheis 0eb4fe0bb0 Change default folder & db path to data/* 2018-05-10 12:34:35 +02:00
Jannis Mattheis ae89184d76 Create sqlite3 db directory 2018-05-10 12:34:35 +02:00
Jannis Mattheis 79fd6a2512 Refactor class components to SFC 2018-04-26 20:51:03 +02:00
Jannis Mattheis 72f9d435fb Remove no apps message 2018-04-26 20:51:03 +02:00
Jannis Mattheis a821a52a96 Typescriptify Users-Component 2018-04-26 20:51:03 +02:00
Jannis Mattheis c4ef531e80 Typescriptify Messages-Component 2018-04-26 20:51:03 +02:00
Jannis Mattheis 6152f74ab1 Typescriptify Login-Component 2018-04-26 20:51:03 +02:00
Jannis Mattheis 73ba29efe5 Typescriptify Clients-Component 2018-04-26 20:51:03 +02:00
Jannis Mattheis 3e5706486f Typescriptify Applications-Component 2018-04-26 20:51:03 +02:00
Jannis Mattheis f52ddd159c Add missing notifyjs declaration 2018-04-26 20:51:03 +02:00
Jannis Mattheis c404dee96d Typescriptify stores 2018-04-26 20:51:03 +02:00
Jannis Mattheis 915f40638b Add missing timeago declaration 2018-04-26 20:51:03 +02:00
Jannis Mattheis 51df6abd81 Typescriptify components 2018-04-26 20:51:03 +02:00
Jannis Mattheis 08ae6d42bc Typescriptify actions 2018-04-26 20:51:03 +02:00
Jannis Mattheis dbfa67469e Add api types 2018-04-26 20:51:03 +02:00
Jannis Mattheis d868a196b6 Typescriptify index, config and layout.jsx 2018-04-26 20:51:03 +02:00
Jannis Mattheis 75e3f88c9b Replace javascript config with typescript 2018-04-26 20:51:03 +02:00
Jannis Mattheis 3cfcbb1251 Remove react-global-configuration 2018-04-26 20:51:03 +02:00
Jannis Mattheis 26f36442fd Only shift message when messages were fetched at least one time 2018-04-18 18:09:10 +02:00
Jannis Mattheis eeadd0505c Also emit change on update apps
When messages are loaded before the apps then the messages doesn't have
an image.
2018-04-18 18:09:10 +02:00
Jannis Mattheis 74d7c7cc9e Fix wrong height calculation of react-list
react-list doesn't know the size of an item that just got rendered
(it only later caches this size), therefore it can't
correctly calculate the height of the list.
2018-04-18 18:09:10 +02:00
Jannis Mattheis 881e66ea29 [#46] Update messages on delete application 2018-04-18 18:09:10 +02:00
Jannis Mattheis 9f5ed344f4 [#34] Add key to react list
The list cached the height while switching between applications.
We fix this with the use of the key property, that means that react will
not reuse the component and make a new one.

see https://reactjs.org/docs/reconciliation.html
2018-04-13 18:56:11 +02:00
Jannis Mattheis e28a157122 [#34] Add delete messages action handling 2018-04-13 18:56:11 +02:00
Jannis Mattheis ca5a832baf [#34] Add react-list & lazy-loading to Messages & Adjust store to make requests 2018-04-13 18:56:11 +02:00
Jannis Mattheis 9ed6228013 [#34] Adjust action to adjusted api 2018-04-13 18:56:11 +02:00
Jannis Mattheis 9bcaf35e99 Fix login in edge
Using the button in edge resulted in a page reload and therefore you
couldn't login.
2018-04-13 18:56:11 +02:00
Jannis Mattheis bdfde6f25d [#34] Add react-list UI dependency 2018-04-13 18:56:11 +02:00
Jannis Mattheis caef4ff74f [#34] Update update api documentation & Increase api version 2018-04-13 18:56:11 +02:00
Jannis Mattheis 89f16412e8 [#34] Add error messages for min and max 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 39a3d46607 [#34] Adjust message api to be paged 2018-04-13 18:56:11 +02:00
Jannis Mattheis 53aec56ca5 Show tooltip when no password is present 2018-04-08 19:49:29 +02:00
Jannis Mattheis b5a224c9ae Show bad request message in ui
When a username already exists the api returns 400, this should be shown
to the user.
2018-04-08 19:49:29 +02:00
Jannis Mattheis c35df51634 Ensure only one web socket connection is enstablished 2018-04-08 19:49:29 +02:00
Jannis Mattheis de35294263 Show loading spinner while login & Fixup authentication failed messages 2018-04-08 19:49:29 +02:00
Jannis Mattheis 38fe1800e1 Close snacks faster if the queue is filled 2018-04-08 19:49:29 +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 c912bb8cba Delete Clients/Apps/Messages when deleting a user
sqlite3 doesn't support adding a foreign key via gorm.DB#AddForeignKey
this would mean, that we have some hacky solutions for having foreign
keys for sqlite and the other databases. Therefore manually deleting
the referencing models seems to be the best solution. We already have
interfaces for database capsuling, so no api must be adjusted.
2018-04-01 12:26:06 +02:00
Jannis Mattheis c1444da64f Remove login failed event
It got replaced by a snack.
2018-03-31 22:59:44 +02:00