Commit Graph

876 Commits

Author SHA1 Message Date
Björn Rabenstein 86e33ed8c7 Merge pull request #606 from prometheus/add-delete-to-cors
Add DELETE to acceptable cors methods
2017-01-17 11:27:18 +01:00
stuart nelson 83e496f040 Add DELETE to acceptable cors methods 2017-01-17 10:42:29 +01:00
Björn Rabenstein 67fc563fe2 Merge pull request #568 from prometheus/cors
allow CORS for api GET and OPTIONS
2016-11-24 12:34:49 +01:00
Vanesa 65903bcd2a allow CORS for api GET and OPTIONS 2016-11-03 19:12:30 +01:00
Björn Rabenstein 64e664ad9f Merge pull request #537 from prometheus/show-continue-routing
Correctly render continue routing
2016-10-27 13:30:06 +02:00
stuart nelson b1a07d1fcb Missing semi-colon 2016-10-22 19:50:35 +02:00
stuart nelson 631af4a35a Regenerate static assets 2016-10-22 19:40:01 +02:00
stuart nelson fe46544783 Correctly render continue routing
Nodes with `continue: true` were being ignored,
and only the first match in the routing tree was
being highlighted.

Additionally, each node was incorrectly being set
to continue=true if nothing is received from the
API. The API sends nothing if continue=false.
2016-10-22 19:38:07 +02:00
stuart nelson 80c85d8dd4 Fix routing tree 0.4 (#532)
* Marshal regexp into string for routing tree

* Add /lib to dev/static mode switch

* Regenerate assets

* Remove comment and format anon struct

* Simplify configJSON marshaling

Make config.Regexp json-Marshalable.

* Correctly escape json string

* Use value pointer for configJSON
2016-10-17 15:07:25 +02:00
Fabian Reinartz bbd9d2377e Merge pull request #521 from kirk-enterprise/release-0.4-hidesilenced
Persist user hideSilenced option in localStorage.
2016-10-03 18:17:28 +02:00
Yecheng Fu f37099a2c0 Persist user hideSilenced option in localStorage. 2016-10-01 00:04:13 +08:00
Steve Durrheimer 7da097afc3 Merge pull request #500 from prometheus/sdurrheimer-circle-use-base-image-for-tests
Use golang-builder base image for tests in CircleCI
2016-09-09 14:07:18 +02:00
Steve Durrheimer 193738c5d8
Use golang-builder base image for tests in CircleCI 2016-09-09 13:50:44 +02:00
Fabian Reinartz 1d62c0e54c provider: remove sqlite provider + deps 2016-09-09 13:46:44 +02:00
Tobias Schmidt 9a5ab2fa63 Release v0.4.2 2016-09-02 11:29:00 -04:00
Tobias Schmidt 697c704076 Fix missing button on embedded silence form 2016-09-01 17:12:24 -04:00
Steve Durrheimer 16c6d120d6 Use promu default go version + use 1.6 tag for cicleci tests 2016-09-01 16:30:41 -04:00
Tobias Schmidt 7385ac95fa Simplify inconsistent silence update behavior
The old silence update behavior resulted in duplicated silences after
e.g. updating a typo in a silence comment. I have to admit that I don't
understand the idea behind the old logic, but I couldn't see a use case
for creating a second silence when clicking on "Edit". The new behavior
is very simple and will simply always delete an existing silence and
replace it with the updated behavior.

Fixes #188.
2016-09-01 16:15:38 -04:00
Tobias Schmidt 9729d2db16 Fix broken regex checkbox in silence form
The introduction of the silence pagination included a bug which rendered
the regex checkbox broken.

Fixes #482 and #436.
2016-09-01 15:27:08 -04:00
Tobias Schmidt ccc0b6557e Update CHANGELOG 2016-08-31 19:40:58 -04:00
Tobias Schmidt 230a80a089 Release v0.4.1 2016-08-31 18:25:02 -04:00
Tobias Schmidt 94c8320ba5 Reset and hide form after silence creation 2016-08-31 18:14:22 -04:00
Tobias Schmidt 4e8bcfb858 Merge pull request #475 from prometheus/return-silences-by-bucket
Return silences by bucket
2016-08-29 12:12:11 +02:00
stuart nelson 3c8e9be489 Remove All() interface method
It's being removed in a future release and wasn't
being used here anyway.
2016-08-25 11:26:15 +02:00
stuart nelson ec3bb1e8bb Use uint in Query() interface method
Forces positive values
2016-08-24 22:47:13 +02:00
stuart nelson f7e3cef5da Update Query() signature 2016-08-24 21:02:36 +02:00
stuart nelson c31febbfeb Update toBuckets signature 2016-08-24 21:00:06 +02:00
stuart nelson 3fffc9f80e Regenerate assets 2016-08-24 17:49:12 +02:00
stuart nelson ff78fbe424 Sort responses by active/pending/elapsed
Within each status, sort by EndsAt
2016-08-24 17:47:02 +02:00
stuart nelson 85f96e3449 Add comments to exported in types 2016-08-24 17:46:46 +02:00
stuart nelson 9cf1d2554d Remove endsAt from ui (wasn't working anyway) 2016-08-24 17:46:02 +02:00
stuart nelson fe9be48f24 Set default sort to EndsAt 2016-08-24 17:45:44 +02:00
stuart nelson 566046df66 Add silence sorting on server 2016-08-24 16:49:31 +02:00
stuart nelson d8a8b8c009 Update silences page (#471) 2016-08-24 14:52:38 +02:00
stuart nelson f0924627f2 Correctly resolve silences query from server (#470) 2016-08-24 10:35:35 +02:00
stuart nelson 7f6bc0b6e3 Bump version to 0.4 (#469) 2016-08-23 14:50:24 +02:00
stuart nelson c1477c4589 Add pagination for silences (#468)
* Add pagination for silences

* Exit del loop after ID is deleted

* Use limit instead of n in API call

* Hide limit choice in client frontend

* Remove unnecessary append

* Clarify doc string for Query
2016-08-23 14:42:59 +02:00
Fabian Reinartz 43083dda80 main: error on nonflag arguments 2016-08-23 14:27:44 +02:00
Fabian Reinartz 862cf71637 Merge pull request #423 from TheTincho/Remove_yaml-js_dependency
Remove yaml js dependency
2016-07-13 17:05:36 +02:00
Martín Ferrari 7095c69952 Export parsed configuration as JSON and drop js-yaml dependency.
* Export parsed configuration as JSON in /api/v1/status.
* Avoid exporting the XXX fields.
* Drop js-yaml library and use already parsed configuration.
* Go fmt + go-bindata
2016-07-13 11:53:35 +00:00
Fabian Reinartz 42c193b136 Merge pull request #424 from prometheus/sdurrheimer/fix-circleci-regex
circleci : fix missing regex update for v-prefiexed tags
2016-07-09 19:19:34 +02:00
Steve Durrheimer 647ab1ce1b
circleci : fix missing regex update for v-prefiexed tags 2016-07-09 15:41:41 +02:00
Fabian Reinartz 97eca6d604 Merge pull request #422 from prometheus/fabxc-0.3.0
Release AM 0.3.0
2016-07-08 11:47:32 +02:00
Fabian Reinartz ec2932a733 circleci: detect v-prefixed tags 2016-07-08 11:22:10 +02:00
Fabian Reinartz a8033e7d80 *: cut 0.3.0 2016-07-07 11:53:47 +02:00
Fabian Reinartz e922acd088 Merge pull request #420 from prometheus/fabxc-memalerts
provider/boltmem: make alerts purely in-memory.
2016-07-07 11:16:33 +02:00
Fabian Reinartz d6e64dccc5 provider/boltmem: make alerts purely in-memory.
Initial testing has shown BoltDB in plain usage to be a bottleneck
at a few thousand alerts or more (especially JSON decoding.
This commit actually makes them purely memory as a temporary solution.
2016-07-07 09:45:12 +02:00
Brian Brazil ec708124be Merge pull request #418 from tbouvet/master
Add support for smtp AUTH LOGIN
2016-07-05 15:24:32 +01:00
Thierry BOUVET 936f7e6362 Add smtp AUTH LOGIN 2016-07-05 15:10:42 +02:00
Fabian Reinartz dd3e9b62c4 Merge pull request #414 from diogogmt/master
Updated webhook notifier config name in UnmarshalYAML.
2016-06-29 00:23:49 +02:00