Raphael
e56f7bc4c7
Add notification sound for incoming messages ( #267 )
2020-02-12 18:21:35 +01:00
Jannis Mattheis
3d52a117b1
Add button for requesting notification permission
2020-02-06 20:15:14 +01:00
PSSGCSim
6dc783d99d
Break long words in webui
2019-12-14 15:16:21 +00:00
Jannis Mattheis
c9c6246c4c
Properly close ui websocket connections on browser close
2019-11-28 21:39:47 +01:00
quthla
dc741493b4
Fix web socket reconnect on web socket close ( #242 )
2019-11-28 20:01:23 +01:00
quthla
9715ecaeb1
Show banner on server errors.
2019-10-24 21:35:36 +02:00
foxbit19
ed254547db
Set main page link and add GitHub icon ( #234 )
...
Fixes #159
2019-10-20 19:40:09 +02:00
Jannis Mattheis
6edfd8400e
Remove color styles from plugin detail view ( #232 )
2019-10-19 09:42:48 +02:00
foxbit19
bdb6372235
Add refresh button to messages list
...
Fixes #171
2019-10-19 09:15:10 +02:00
foxbit19
4938a4a0ac
Add auto reconnect on connection loss ( #228 )
2019-10-13 16:57:35 +02:00
Jannis Mattheis
3069867fcc
Fix flaky test
2019-09-28 21:09:47 +02:00
Jannis Mattheis
956c089abb
Update axios
2019-09-28 21:09:47 +02:00
Jannis Mattheis
2bbe0b6149
numeric -> align="right"
2019-09-28 21:09:47 +02:00
Jannis Mattheis
81ad026e9d
raised -> contained
2019-09-28 21:09:47 +02:00
Jannis Mattheis
afbbb82199
Update @material-ui
2019-09-28 21:09:47 +02:00
Jannis Mattheis
3c55a1d884
Suppress type error (for now)
...
From what I see it should be correct.
2019-09-28 21:09:47 +02:00
Jannis Mattheis
4b1996534c
Update typescript
2019-09-28 21:09:47 +02:00
Jannis Mattheis
b4395f02f1
Add tslint as implicit dependency
2019-09-28 21:09:47 +02:00
Jannis Mattheis
06f3cbad9a
Add missing env props
...
They are now required
2019-09-28 21:09:47 +02:00
Jannis Mattheis
f90318205e
Formatting and better type definitions
2019-09-28 21:09:47 +02:00
Jannis Mattheis
97d8837d0a
Fix await on string
2019-09-28 21:09:47 +02:00
Jannis Mattheis
70c68a4d6f
Fix warning
...
See https://mathiasbynens.github.io/rel-noopener/
2019-09-28 21:09:47 +02:00
Jannis Mattheis
147ff271f8
Use Record<string,*> instead of Record<number,*>
...
Objects in js are alwais indexed by strings.
2019-09-28 21:09:47 +02:00
Jannis Mattheis
d302940da6
Initialize with null
2019-09-28 21:09:47 +02:00
Jannis Mattheis
6138d7ad92
Implicit import interfaces
2019-09-28 21:09:47 +02:00
Jannis Mattheis
f92f5e6f4c
Move to yarn
2019-09-28 21:09:47 +02:00
Jannis Mattheis
15096a98bb
Move to react-scripts
...
react-scripts-ts is outdated.
2019-09-28 21:09:47 +02:00
Jannis Mattheis
05a1aa2651
Display 500 errors via a snack ( #193 )
2019-05-26 20:55:25 +02:00
Jannis Mattheis
2ad7409750
Use extra property to determine the content type
2019-04-13 10:14:35 +02:00
Jannis Mattheis
e9bbe17fa4
Allow markdown in messages ( #180 )
2019-03-30 11:08:51 +01:00
Jannis Mattheis
62854d8e11
Show banner on network lost
2019-03-27 21:13:53 +01:00
Jannis Mattheis
b66d58c372
Fix formatting with zsh
2019-03-27 21:13:53 +01:00
Jannis Mattheis
ba609d4e37
Do not logout clientside if a network error occurs
2019-03-27 21:13:53 +01:00
Jannis Mattheis
61578d4a9d
Remove unused interface
2019-03-16 22:59:46 +01:00
Jannis Mattheis
144f5fb8e4
Prevent 'still loading' image requests
2019-03-16 22:59:46 +01:00
GianOrtiz
e32359ed15
Add update client api and dialog ( #164 )
2019-03-16 11:18:51 +01:00
饺子w
79b3a0c3da
Run webui e2e test in prod mode ( #157 )
2019-03-15 19:24:24 +01:00
eternal-flame-AD
4f29464297
use js-base64 for password base64 encoding
2019-03-10 09:12:27 +01:00
饺子w
ec5b1f8c30
Support reverse proxy with path rewrite ( #127 )
2019-02-13 18:47:48 +01:00
Anton Harniakou
347f3ce39e
Save theme settings to localStorage
2019-02-13 17:53:11 +01:00
eternal-flame-AD
ccbe64a117
use gzip middleware for WebUI
2019-02-09 13:24:44 +01:00
eternal-flame-AD
23442bfb68
fix configurer WebUI update bug
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
eternal-flame-AD
de09aae987
add extras to message model
2019-02-02 13:06:30 +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
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
c77c1b18b8
Move react-script-ts to devDependencies
2018-11-30 18:29:37 +01:00
Jannis Mattheis
141193136d
Show newlines in Web-UI
2018-11-14 21:06:00 +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
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
Jannis Mattheis
892eb618d0
Migrate GlobalStore to mobx
2018-11-11 21:03:42 +01:00
Jannis Mattheis
3a29ee9305
Migrate ClientStore to mobx
2018-11-11 21:03:42 +01:00
Jannis Mattheis
2871e22a61
Migrate AppStore to mobx
2018-11-11 21:03:42 +01:00
Jannis Mattheis
667648b0c9
Migrate UserStore to mobx
2018-11-11 21:03:42 +01:00
Jannis Mattheis
4107455f89
Migrate UserStore to mobx
2018-11-11 21:03:42 +01:00
Jannis Mattheis
9fe00bf004
Migrate SnackStore to mobx
2018-11-11 21:03:42 +01:00
Jannis Mattheis
8947dbb9bd
Add BaseStore for handling client apps and users
2018-11-11 21:03:42 +01:00
Jannis Mattheis
82f5c393cb
Add mobx dependencies
2018-11-11 21:03:42 +01:00
Jannis Mattheis
0f9d3bde81
Only build gotify once in tests with make test-js
2018-09-17 17:51:31 +02:00
Jannis Mattheis
f7b593e7b1
Remove jsdom env from tests
2018-09-17 17:51:31 +02:00
Jannis Mattheis
ddcd131d92
Add message test
2018-09-17 17:51:31 +02:00
Jannis Mattheis
1b69bc9653
Add user test
2018-09-17 17:51:31 +02:00
Jannis Mattheis
40e45c1d3a
Add application test
2018-09-17 17:51:31 +02:00
Jannis Mattheis
c29b29a293
Add client test
2018-09-17 17:51:31 +02:00
Jannis Mattheis
32306867c2
Add test authentication (login & logout)
2018-09-17 17:51:31 +02:00
Jannis Mattheis
95340a9f01
Add puppeteer utils
2018-09-17 17:51:31 +02:00
Jannis Mattheis
0500223095
Add setup tests file for setting the jest timeout
2018-09-17 17:51:31 +02:00
Jannis Mattheis
0a311d103c
Add setup file for starting puppeteer & gotify
2018-09-17 17:51:31 +02:00
Jannis Mattheis
e0d8596e1c
Add selector utils
...
provides easy access to forms and tables
2018-09-17 17:51:31 +02:00
Jannis Mattheis
8165534bb6
Add css identifiers to all components for testing
2018-09-17 17:51:31 +02:00
Jannis Mattheis
7e7d13f3c1
Add wait-on dependency
...
Used for waiting till the gotify instance is started.
2018-09-17 17:51:31 +02:00
Jannis Mattheis
ccd1c84866
Add tree-kill dependency
...
Used for killing the running gotify instance.
2018-09-17 17:51:31 +02:00
Jannis Mattheis
0444304278
Add rimraf dependency
...
Used for deleting the created go executable.
2018-09-17 17:51:31 +02:00
Jannis Mattheis
cec842cf5e
Add puppeteer dependency
...
Used for end to end testing the ui
2018-09-17 17:51:31 +02:00
Jannis Mattheis
ac88f2beab
Add get-port dep
...
used for getting a free port in tests
2018-09-17 17:51:31 +02:00
Jannis Mattheis
ba4e74efff
Disable tslint no-duplicate-string
...
In tests it is not really useful.
2018-09-17 17:51:31 +02:00
Jannis Mattheis
abe6ea25b7
[ #56 ] Autofocus username input on login
...
Closes #56
2018-09-08 18:04:52 +02:00
Jannis Mattheis
a6b4414d64
[ #56 ] Autofocus "yes" on confirm dialogs
2018-09-08 18:04:52 +02:00
Jannis Mattheis
22fc8c8018
Fix tslint issues
2018-09-08 11:45:36 +02:00
Jannis Mattheis
f914f50c87
Update tslint rules
2018-09-08 11:45:36 +02:00
Jannis Mattheis
c43bfb0ce7
Add tslint-sonarts
2018-09-08 11:45:36 +02:00
Jannis Mattheis
8301317c5a
Update jest and node types
2018-09-08 11:45:36 +02:00
Jannis Mattheis
dc5c1ddc06
Update notifyjs
2018-09-08 11:45:36 +02:00
Jannis Mattheis
c2d6f7b585
Update typescript
2018-09-08 11:45:36 +02:00
Jannis Mattheis
2280aca447
Update react-scripts-ts
2018-09-08 11:45:36 +02:00
Jannis Mattheis
f2503936ae
Update react-timeago
2018-09-08 11:45:36 +02:00
Jannis Mattheis
e18c4c95e1
Update detect-browser
2018-09-08 11:45:36 +02:00
Jannis Mattheis
48f7663405
Update prop-types
2018-09-08 11:45:36 +02:00
Jannis Mattheis
d0a3c13ead
Update react-list
2018-09-08 11:45:36 +02:00
Jannis Mattheis
70c980fcd8
Update react-router
2018-09-08 11:45:36 +02:00
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
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