Commit Graph

12 Commits

Author SHA1 Message Date
Fabian Reinartz a2b8d35733 Validate API input 2015-12-09 18:21:06 +01:00
beorn7 93ffa534a5 PR with changes after code review
Now to be reverse-reveiewed.
2015-11-23 18:24:57 +01:00
Brian Brazil faa88831f4 First-pass at improving template system.
- Cut back to bare minimum to make the rest simpler
- Consistency in config naming
- Have one data strucutre that's the same for all templates
- Pass in common labels to templates
- Support templates almost everywhere
- Support multiple SMTP recipients
- Support non-ASCII SMTP headers
- Handle colour logic via templates
- Make $subjects have consistent output, go maps aren't sorted.
- Make tests pass when v6 is disabled
2015-11-18 14:59:05 +00:00
Fabian Reinartz 2d3f0ecd84 Add test for silence deletion 2015-10-12 07:40:55 +02:00
Fabian Reinartz aca2089216 Add injection function to webhook 2015-10-12 07:28:25 +02:00
Fabian Reinartz 5dc2f6e9b1 Add license headers 2015-10-11 17:24:49 +02:00
Fabian Reinartz 5ba2d4abc1 Assign webhook addresses automatically, per AM configs 2015-10-02 14:10:04 +02:00
Fabian Reinartz 38b324eab2 Implement silencing for acceptance tests, use api package 2015-10-01 20:58:46 +02:00
Fabian Reinartz ba4f5684bb Remove all internal types from acceptance test framework 2015-10-01 15:46:39 +02:00
Fabian Reinartz 0b4d58fbdb Switch to model.Alert 2015-10-01 14:53:49 +02:00
Fabian Reinartz 4401bb1b82 Split acceptance testing into multiple files 2015-09-30 16:13:00 +02:00
Fabian Reinartz d4ec632d06 Improve e2e test framework 2015-09-29 22:40:44 +02:00