Josh Nichols
bd553ceb1f
move pagerDutyIncident(s) to lib, and rename to getIncident(s)
2015-09-30 16:39:43 -04:00
Josh Nichols
1a0b4ff08a
Use scoped-http-client directly, and re-use logic
2015-09-30 16:28:24 -04:00
Josh Nichols
04141d4b5b
Rename pagerDutyDelete to pagerduty.delete
2015-09-30 16:19:01 -04:00
Josh Nichols
378f1ce3be
Rename pagerDutyPost to pagerduty.post
2015-09-30 15:45:23 -04:00
Josh Nichols
26199b50da
Rename pagerduty.put to pagerDutyPut
2015-09-30 15:42:32 -04:00
Josh Nichols
a65b29b0c4
Rename pagerDutyGet to pagerduty.get
2015-09-30 15:41:09 -04:00
Josh Nichols
d7ff892a58
Move pagerDutyDelete to the lib
2015-09-30 15:36:03 -04:00
Josh Nichols
0599309d6a
move pagerDutyPost to the lib
2015-09-30 15:33:10 -04:00
Josh Nichols
eb1a2276d5
Move pagerDutyPut to the lib
2015-09-30 15:27:03 -04:00
Josh Nichols
078286af49
Start a pagerduty lib, move get to there
2015-09-30 15:13:26 -04:00
Stephen Yeargin
89de8a0fd1
Prepared to release 2.1.6.
2015-09-18 10:51:00 -05:00
Stephen Yeargin
83b141e6bb
Merge pull request #48 from Onefootball/feature/add-own-schedule-oncall
...
Add 2 commands to figure out when/if I'm on call
2015-09-18 10:49:44 -05:00
Dirk Pahl
a900da4f57
Add 2 commands to figure out when/if I'm on call
2015-09-17 17:52:04 +02:00
Stephen Yeargin
4a1e5e76e1
Prepared to release 2.1.5.
2015-09-01 17:56:00 -05:00
Stephen Yeargin
3b930bfd0b
Merge pull request #45 from kashizui/allow-smart-quotes
...
Allow smart quotes in who's on call command
2015-09-01 17:55:38 -05:00
Stephen Koo
5bc9a418b6
Allow smart quotes in who's on call command
2015-09-01 15:39:15 -04:00
Stephen Yeargin
1750c43411
Prepared to release 2.1.4.
2015-08-10 22:10:22 -05:00
Stephen Yeargin
cdd6c95c5b
Merge pull request #44 from stevemostovoy/master
...
Fix command documentation to be in the proper format.
2015-08-10 22:09:18 -05:00
Steve Mostovoy
00cb2bd237
Fix command documentation to be in the proper format.
...
The current implementation causes the help message to be near unreadable.
2015-07-30 15:53:03 -07:00
Stephen Yeargin
04a031523e
Prepared to release 2.1.3.
2015-06-06 22:02:25 -05:00
Stephen Yeargin
a124e7ce76
Prepared to release 2.1.2.
2015-06-06 22:00:33 -05:00
Stephen Yeargin
5606738d02
Merge pull request #42 from hubot-scripts/fix-moment-whining
...
Fix deprecation warning from Moment.js
2015-06-06 21:59:07 -05:00
Stephen Yeargin
b0cb124219
Merge pull request #41 from hubot-scripts/40-case-insensitive-schedules
...
Allows on-call queries to be case-insensitive
2015-06-06 21:58:56 -05:00
Stephen Yeargin
3fcf6e9311
Use latest set of dev dependencies for mocha/chai/etc.
2015-06-06 21:57:24 -05:00
Stephen Yeargin
9b7e02f84c
Allows on-call queries to be case-insensitive
...
Fixes #40
Prior to this PR, asking an on-call question, such as `hubot who is on call for devops` would only produce a result if the name of the PagerDuty schedule was exactly "devops", but not if it were "DevOps". This PR converts the query text and result set item to lowercase, allowing a more permissive match.
2015-06-06 12:53:10 -05:00
Stephen Yeargin
5c5a607760
Fix deprecation warning from Moment.js
...
>Deprecation warning: moment().add(period, number) is deprecated. Please use moment().add(number, period).
- Registers tests, fixes testing harness to reslove an issue with Sinon/Chai
- Fixes deprecation notice that has crept in with updates
- Bumps moment-timezone version to latest release
2015-06-06 12:40:47 -05:00
Josh Nichols
a22c3c6b26
Merge pull request #38 from hubot-scripts/release-2.1.1
...
Release 2.1.1
2015-03-20 18:11:21 -04:00
Josh Nichols
c3b04a02de
Prepared to release 2.1.1.
2015-03-20 18:11:02 -04:00
Josh Nichols
39bd352ae8
Update ChangeLog to 2.1.1
2015-03-20 18:10:23 -04:00
Josh Nichols
7c9a52d0aa
Merge pull request #37 from hubot-scripts/error-handling
...
Check for errors during pagerDuty{Get,Post,Put,Delete}, and emit them
2015-03-20 18:09:41 -04:00
Josh Nichols
68d5286ef7
Add ChangeLog entry
2015-03-20 18:09:30 -04:00
Josh Nichols
346cb042f5
Check for errors during pagerDuty{Get,Post,Put,Delete}, and emit them
2015-03-20 18:04:11 -04:00
Josh Nichols
aeb685392c
Prepared to release 2.1.0.
2015-03-20 14:56:17 -04:00
Josh Nichols
4805e530cf
Merge pull request #36 from hubot-scripts/release-2.1.0
...
Prepare for 2.1.0 release
2015-03-20 14:56:06 -04:00
Josh Nichols
05293e0b19
Prepare for 2.1.0 release
2015-03-20 14:54:48 -04:00
Josh Nichols
dbd69d55b5
Merge pull request #26 from waveaccounting/pd-services
...
Add `list services` / `create maintenance window` functionality
2015-03-20 14:51:03 -04:00
Josh Nichols
74f67ab407
Prepared to release 2.0.4.
2015-03-20 14:38:36 -04:00
Josh Nichols
22990caacd
Merge pull request #35 from antonio/fix-pager-sup-format
...
Restore the original 'pager sup' format for nagios alerts
2015-03-20 14:31:05 -04:00
Antonio Santos
95de6ca829
Restore the original 'pager sup' format for nagios alerts
2015-03-20 16:41:39 +01:00
Josh Nichols
6317f072b8
Prepared to release 2.0.3.
2015-03-17 11:37:05 -04:00
Josh Nichols
f0a07af8bd
Merge pull request #34 from appneta/pager-me-incident-case-insensitive
...
Allow case-insensitive matches for "pager me incident NNN"
2015-03-17 11:36:54 -04:00
chris erway
b3fd4444a2
Allow case-insensitive matches for "pager me incident NNN"
2015-03-10 15:12:00 -04:00
Josh Nichols
060b3ab9e2
Merge pull request #33 from hubot-scripts/release-2.0.3
...
Prepare for 2.0.3
2015-03-06 18:58:10 -05:00
Josh Nichols
35b2e26ed7
Add 2.0.3 NOTES
2015-03-06 18:56:39 -05:00
Josh Nichols
2c5cbffec1
Merge pull request #32 from raventools/feature/31-add-services-filter
...
Restrict queries to a particular service
2015-03-06 18:54:15 -05:00
Stephen Yeargin
fa10773410
Restrict queries to a particular service
...
Fixes #31
Our PagerDuty instance has numerous services that receive alerts, but we only want our Hubot to query against a subset of those. This adds a `HUBOT_PAGERDUTY_SERVICES` environment variable that accepts a comma separated list of service identifiers. This list is then added as a `service` key on all of the `pagerDutyGet` method calls to apply that filter.
2015-03-02 00:22:25 -06:00
Josh Nichols
8c2ae433f5
Merge pull request #30 from raventools/bug/less-noise-on-non-match
...
Less noise on a non-match
2015-02-20 13:43:22 -05:00
Stephen Yeargin
64da2b9718
Less noise on a non-match
...
**Example of Noisy Inspect Behavior**
![](http://cl.ly/image/320e2O1o1A2s/Image%202015-02-19%20at%2010.27.15%20PM.png )
2015-02-19 22:28:44 -06:00
Michael Warkentin
340ef6867c
Add `list services` / `create maintenance window` functionality
...
* List services: `hubot pager me services`
* Create maintenance window: `hubot page me maintenance 90 PLDEL7S`
2014-12-18 18:53:33 -05:00
Josh Nichols
37df4d7c8b
Merge pull request #23 from hubot-scripts/release-2.0.2
...
Version bump to 2.0.2
2014-12-16 12:49:48 -05:00