Łukasz Mierzwa
797495e63a
Merge pull request #43 from cloudflare/version-ui
...
Show version string instead of 'Settings' label
2017-04-06 12:45:59 -07:00
Łukasz Mierzwa
50670d8058
Show version string instead of 'Settings' label
...
We already have 'Settings' label in the tooltip and it's obvious those are settings, replace it with the version string
2017-04-06 10:23:12 -07:00
Matt Bostock
50d158a7ac
Merge pull request #41 from cloudflare/ghi-39
...
Add Known issues section
2017-04-06 18:17:43 +01:00
Matt Bostock
1e608816d4
Merge branch 'master' into ghi-39
2017-04-06 18:15:49 +01:00
Łukasz Mierzwa
728e27a60b
Merge pull request #40 from cloudflare/group-link
...
Group links
2017-04-05 22:36:55 -07:00
Łukasz Mierzwa
d6d0dd5240
Add Known issues section
...
Fixes #39
2017-04-05 14:49:52 -07:00
Łukasz Mierzwa
1f37ab3fbe
Add a clickable link to every alert group
...
This links to a filter generated from alert group labels, so one can easily share it
2017-04-04 16:37:05 -07:00
Łukasz Mierzwa
e65c296ed7
Fix mock alert data
...
Group and alert level labels didn't match, this fixes it
2017-04-04 16:36:06 -07:00
Łukasz Mierzwa
54ed5c3585
Merge pull request #38 from cloudflare/link-label
...
Add tooltips to external links
2017-04-04 07:44:15 -07:00
Łukasz Mierzwa
1226b32603
Add tooltips to external links
...
This adds a tooptip for alert source url and all links detected in labels
2017-04-03 17:27:53 -07:00
Łukasz Mierzwa
613c0cd927
Merge pull request #35 from cloudflare/store-refactor
...
Refactor store code to be a little less ugly
2017-04-03 11:55:02 -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
James O'Gorman
430b933729
Merge pull request #33 from cloudflare/js-bugfix
...
Fix missing closing bracket
v0.2.0
2017-04-01 20:50:48 +01:00
Łukasz Mierzwa
0c3ce4d8f8
Fix missing closing bracket
...
I somehow broken this in watchdog commit without noticing
2017-04-01 12:06:15 -07:00
Łukasz Mierzwa
dac1059f58
Merge pull request #32 from cloudflare/mock-fix
...
Mock fix
2017-04-01 11:56:01 -07:00
Łukasz Mierzwa
58ba0cdaa9
Prettify json mock data for easier editing in the future
2017-04-01 10:49:07 -07:00
Łukasz Mierzwa
a79f30195c
Fix syntax error in silence mock data
2017-04-01 10:47:50 -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
118af00557
Merge pull request #29 from cloudflare/git-docs
...
Document releases and tags
v0.1.0
2017-04-01 10:31:38 -07:00
Łukasz Mierzwa
bdca59f18e
Merge pull request #30 from cloudflare/watchdog-fixes
...
Watchdog fixes
2017-04-01 10:31:26 -07:00
Łukasz Mierzwa
efd16d398d
Merge pull request #31 from cloudflare/more-tests
...
More tests
2017-04-01 10:31:15 -07:00
Łukasz Mierzwa
c3df4d5d37
Update binary assets to contain all watchdog updates
2017-04-01 08:35:07 -07:00
Łukasz Mierzwa
94a48c7e3a
Ensure that errors div is visible when rendering new error
2017-04-01 08:35:07 -07:00
Łukasz Mierzwa
6302af62ea
Don't clear alert grid and top tag popover data if watchdog shows an alert
...
This prevents grid flaps, watchdog error will be shown above all alerts, not instead of
2017-04-01 08:35:07 -07:00
Łukasz Mierzwa
582c3344f6
Don't clear errors div content on updates if watchdog is showing an error
2017-04-01 08:35:07 -07:00
Łukasz Mierzwa
4b4c3971b8
Always use UTC for watchdog timestamps
...
Forcing UTC will ensure that offset calculation is always correct
2017-04-01 08:35:07 -07:00
Łukasz Mierzwa
7e8dc0c0ff
Remove dynamic watchdog
...
JS code have a watchdog timer that will check if last data from unsee isn't too old, if that happens it will print an error in the UI and reload the page. This is a fail safe for weird bugs and cases where unsee is running unattended. Currently timeout for this watchdog is configured dynamically based on refresh rate, but if the backend is configured to pull data from Alertmanager less often than watchdog tolerance, then watchdog will trigger false positive. This commit changes watchdog tolerance to 15 minutes (it seems reasonable to assume people won't use Alertmanager pull interval longer than 1-5 minutes) and adds a note to the readme.
2017-04-01 08:35:07 -07:00
Łukasz Mierzwa
28204582aa
Use example.com domain in mock data
2017-03-31 23:58:23 -07:00
Łukasz Mierzwa
06c7c03aa0
Style fixes
...
goimports fixed a few lines
2017-03-31 23:30:13 -07:00
Łukasz Mierzwa
83496297d6
Add tests for package currently not covered by testing
2017-03-31 23:30:13 -07:00
Łukasz Mierzwa
2c003b8a87
Document releases and tags
...
Fixes #27
2017-03-31 09:25:03 -07:00
Łukasz Mierzwa
1fa511f352
Merge pull request #28 from cloudflare/fix-make-vendor-update
...
Fix 'make vendor-update' to work as documented
2017-03-30 13:54:55 -07:00
Łukasz Mierzwa
a0375a243d
Fix 'make vendor-update' to work as documented
...
make vendor-update should update everything inside the vendor dir, to do this 'govendor fetch' needs to be used, current command ('govendor update') is used to copy packages from /home/lukasz/work/go to vendor dir
2017-03-30 13:21:24 -07:00
Łukasz Mierzwa
c5398ab43d
Merge pull request #20 from cloudflare/govendor
...
Switch from manul to govendor for maintaining vendor directory
2017-03-30 13:13:38 -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
Łukasz Mierzwa
039240bd73
Merge pull request #19 from cloudflare/stable-sort
...
Store alert sha1 internally and use it as a secondary key when sorting
2017-03-29 19:51:13 -07:00
Łukasz Mierzwa
b754155266
Store alert sha1 internally and use it as a secondary key when sorting
...
We already compute alert sha1, it's a unique string so it's a good match for secondary sort key, used when two alerts have the exact same
timestamp. This helps to ensure that we always have a stable sort order and don't flash the UI if we have a group with alerts created at the exact same time
2017-03-29 19:48:02 -07:00
Łukasz Mierzwa
337b399317
Merge pull request #21 from davidkarlsen/master
...
add EXPOSE to Dockerfile
2017-03-29 09:01:29 -07:00
Matt Bostock
df3536db5a
Merge pull request #18 from cloudflare/query-arg-fixes
...
Use the correct value when setting options via query string
2017-03-29 12:36:35 +01:00
Tristan Colgate
b7dd9d088e
Fixes for 0.5.1
2017-03-29 08:40:14 +01:00
David J. M. Karlsen
4e2a9f1df2
add EXPOSE
2017-03-29 08:30:52 +02:00
Łukasz Mierzwa
b458f63713
Switch from manul to govendor for maintaining vendor directory
...
Manul works great, but using git submodules creates some problems (like https://github.com/travis-ci/travis-ci/issues/5806 ), switch to govendor to have reproducible builds
2017-03-28 20:09:26 -07:00
Łukasz Mierzwa
d2a9923dca
Use the correct value when setting options via query string
...
Copy & paste bug, value from previous check is used instead of the correct one
2017-03-28 15:37:44 -07:00
Łukasz Mierzwa
c633a2fafc
Merge pull request #17 from cloudflare/travis
...
Add a config file for travis-ci.org
2017-03-28 13:03:25 -07:00
Łukasz Mierzwa
118f3784bf
Add a config file for travis-ci.org
...
This enables travis-ci.org integration, travis will run 'make test' for new PRs
2017-03-28 12:51:32 -07:00
Łukasz Mierzwa
9f309cf5d2
Merge pull request #12 from cloudflare/tests
...
Collection of a small fixes to improve testing
2017-03-28 12:38:59 -07:00
Łukasz Mierzwa
e0279ebe5e
Add more details about make variable 'DEBUG'
...
Make 'make DEBUG=true ...' work with run-docker target and provide more details of what it will do
2017-03-28 11:25:27 -07:00
Łukasz Mierzwa
66710c6020
Sanitize URLs to hide all passwords when logging runtime config
...
When unsee starts it will print runtime config, but this can contain password for URL keys, replace passwords with 'xxx' string
2017-03-28 11:00:16 -07:00
Łukasz Mierzwa
54d67cbbaa
Add more tests for views
...
We moved static file handling to binary assets, add some tests so we can spot issues with this code
2017-03-28 10:26:13 -07: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