Łukasz Mierzwa
d5916c81cf
Add support for creating silences directly from unsee UI
...
It adds a button next to the @silenced filter that shows a modal window with a silence form. API request is send via AJAX call from user browser.
2017-04-20 17:01:52 -07:00
Łukasz Mierzwa
5fe3f706af
If we only have silenced or inhibited alerts make the whole alert group green
...
This will make the UI present inhibited alerts same way as silenced. It also drops unused fields in the model, replacing SilencedCount & UnsilencedCount with only ActiveCount
2017-04-19 15:43:13 -07:00
Łukasz Mierzwa
10ef33afdf
Expose number of inhibited alerts in the /alerts.json response
...
This is so that the UI can take use of it
2017-04-17 14:06:30 -07:00
Łukasz Mierzwa
f0579b087b
Rename models, strip Unsee prefix
...
Now that models package contains only unsee specific models rename everything stripping Unsee prefix from names
2017-04-06 19:24:48 -07:00
Łukasz Mierzwa
0a0e3b0d16
Refactor store code to be a little less ugly
...
This makes the code a little bit cleaner and safer, as it moves lots of locks into the store package, but it could still use some work.
2017-04-01 16:26:39 -07:00
Łukasz Mierzwa
4bb629455b
Merge pull request #23 from tcolgate/am051
...
Fixes for 0.5.1
2017-04-01 10:41:16 -07:00
Łukasz Mierzwa
0d82cffd79
Add -web.prefix / WEB_PREFIX option
...
This allows people to use unsee with a sub uri setup, which is pretty common usa case, fixes #22
2017-03-30 19:35:52 +01:00
Tristan Colgate
b7dd9d088e
Fixes for 0.5.1
2017-03-29 08:40:14 +01:00
Łukasz Mierzwa
d99f7e60d8
Don't create http.FileServer on every favicon request
...
Setup it once and use for all requests
2017-03-28 10:26:13 -07:00
Łukasz Mierzwa
f8420d4632
Use go-bindata-assetfs for static files
...
This allows unsee to be compiled into a single self-contained binary, without any need to external static files or templates
2017-03-26 17:41:17 -07:00
Łukasz Mierzwa
3de3a9c481
Generate flag for each environment key
...
This allows to set config keys via flags, in additions to current env variable only configuration. Flags are autogenerated from supported env keys.
2017-03-26 13:38:37 -07:00
Łukasz Mierzwa
e239fd05fd
Import code from internal repository ( #1 )
...
Import code from internal repository
2017-03-23 16:58:04 -07:00