Charlie Allom
1a26f18299
whitespace
2023-07-05 16:04:43 +01:00
Charlie Allom
eea4940d0e
moment.parseZone() keep the input zone passed in. Ambiguous input is assumed to be UTC.
...
from: https://momentjs.com/docs/#/parsing/string/
2023-07-05 16:04:37 +01:00
Charlie Allom
d570c3ecf2
UTC by default ( #59 )
2023-07-05 14:27:10 +01:00
Chris Gavin
f4e3c2413c
Get the newest incidents rather than the oldest. ( #58 )
2023-04-21 14:16:16 +01:00
Mary White
c2b8626f9f
Fix escalation policy length check in `.who is` command ( #57 )
...
Fix escalation policy length check
2023-01-19 11:43:41 -06:00
Roye Tadmor
dfdcf9cdc4
chore: don't error on 404 response from pagerduty ( #55 )
2023-01-11 13:11:38 +02:00
Mary White
af0ca1550b
Ensure user with lowest escalation is returned from whois ( #56 )
2023-01-10 16:33:14 -05:00
Roye Tadmor
7482b87c62
chore: Fix error report ( #54 )
2023-01-10 12:36:11 +02:00
Mary White
578527eafb
Update who's on call to query escalations when no users match a schedule ( #53 )
...
* Update who's on call to query escalations when no users match a schedule
* Reinstate oneScheduleMatching for exact matches
* Remove unused functions and minimize diff
* Prevent 'No Human On Call' text from displaying when matching escalation is found
* Add link text for escalation policy name
2023-01-09 13:21:11 -05:00
dependabot[bot]
f8c2e53923
Bump decode-uri-component from 0.2.0 to 0.2.2 ( #52 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-25 14:57:54 +02:00
Aleksey Levenstein
82221e395f
fix: response when no oncalls found ( #49 )
2022-11-20 16:06:08 +02:00
fredsh2k
3070f2e0d4
repalce error with log ( #48 )
...
Co-authored-by: Aleksey Levenstein <levenstein.aleksey@gmail.com>
2022-11-03 10:42:34 +02:00
fredsh2k
fb1dfa5e8f
fix sentry pagerduty schedule undefined exception ( #47 )
2022-11-02 17:41:12 +02:00
fredsh2k
288051f796
remove getUserBySlackUser ( #46 )
2022-11-02 09:33:55 +02:00
fredsh2k
c377f5b470
fix user.email.search undefined exception ( #45 )
...
* check for undefined
* remove hardcoded josh email
2022-10-23 12:40:10 +03:00
antn
4973c5b4fb
Allow paging incident commanders again ( #44 )
...
allow paging incident commanders again
2022-09-13 10:44:12 -07:00
Kamil Gwóźdź
e8fdad56b2
Remove grunt release ( #43 )
...
remove grunt-release
2022-09-07 15:33:29 +02:00
Kamil Gwóźdź
1084d4d963
update hubot ( #42 )
2022-09-07 15:21:11 +02:00
Kamil Gwóźdź
123a0942f8
update depencencies ( #41 )
...
run `npm audit fix --force`
2022-09-07 14:29:06 +02:00
Kamil Gwóźdź
b37ea4ee50
add package-lock.json ( #39 )
2022-09-07 14:03:54 +02:00
Roye Tadmor
40bfc0cfe9
Enforce reason when paging ( #38 )
2022-06-15 16:10:54 +03:00
Dhruv Saraiya
708a4cf7c4
update packages escalation policy name ( #37 )
2022-04-05 13:31:20 +03:00
Michael Baumgarten
c347d20584
Merge pull request #35 from github/mention-regex-fix
...
fix regex in trigger to accept '@' character
2022-02-21 15:46:50 +01:00
mbaum0
ada02c287f
fix regex in trigger to accept '@' character
2022-02-21 13:37:19 +01:00
Issy Long
65c0dde1c8
Merge pull request #33 from akennihan/master
...
Return Multiple On Calls
2021-10-21 15:56:36 +01:00
Andrew Kennihan
451a58770b
Update who is on call command to display all results for a given query (up to 25).
...
Co-authored-by: Dan Rigby <danrigby@github.com>
Co-authored-by: Andrew Kennihan <akennihan@github.com>
2021-10-18 16:07:36 -04:00
Jamie Hannaford
266ba14222
Merge pull request #30 from github/deprecate-incident-commanders
...
Don't page ICs, return deprecation text
2020-09-02 16:57:13 +02:00
Jamie Hannaford
913e92ca3f
Fix schedule name
2020-07-15 11:30:12 +02:00
Jamie Hannaford
a69397a5da
Don't page ICs, return deprecation text
2020-07-15 11:25:05 +02:00
Stephan Miehe
151f745a62
Merge pull request #28 from github/stephanmiehe-ratelimit
...
Reduce API load when showing list of schedules
2019-12-19 23:11:03 +00:00
stephanmiehe
35c593da8a
Updated messaging
2019-12-19 22:36:31 +00:00
stephanmiehe
3a834d51b2
Updated messaging
2019-12-19 12:59:34 +00:00
stephanmiehe
3e12e0dd40
Merge branch 'stephanmiehe-ratelimit' of https://github.com/github/hubot-pager-me into stephanmiehe-ratelimit
2019-12-19 10:12:23 +00:00
stephanmiehe
ccf565c4a6
Message fix
2019-12-19 10:12:15 +00:00
stephanmiehe
c2ae6c73bf
Message fix
2019-12-19 09:58:55 +00:00
Stephan Miehe
e9ea427f77
Reduce API load when showing list of schedules
2019-12-19 09:35:55 +00:00
Andrew Hayworth
febc4552bd
Merge pull request #23 from github/ahayworth-pager-trigger-syntax-improvements
...
Show non-api-related pagerduty schedule errors to the user
2019-08-15 10:24:01 -05:00
Dennis Kaarsemaker
6a57d5ca23
Merge pull request #24 from github/quiet-canary
...
Ignore prometheus canaries too by default
2019-06-19 19:41:51 +02:00
Dennis Kaarsemaker
143aeb7f98
Ignore prometheus canaries too by default
2019-06-13 17:16:35 +02:00
Andrew Hayworth
86cad94877
Show non-api-related pagerduty schedule errors to the user
...
If you try to page a non-existent schedule, or the schedule is marked
'#nopage', or something - the callback spaghetti actually generates a
decent error here. Rather than just spitting out to haystack, we could
send it to the user, and this PR does just that.
Other places in the script do not explicitly construct `new Error()`s,
so I didn't bother working on that. This script is difficult to follow
and I'm hesitant to make broader changes on a whim.
2019-05-02 09:21:39 -05:00
Andrew Hayworth
02fb52afbe
Merge pull request #22 from github/ahayworth-pager-trigger-syntax-improvements
...
Stop requiring users to say 'pager trigger team critical'
2019-04-11 18:54:17 -05:00
Andrew Hayworth
42f6e9d7c6
Stop requiring users to say 'pager trigger team critical'
...
People almost *always* mean 'critical'. We can leave it as optional
syntax for those who wish to specify an 'info' page.
2019-04-09 10:26:49 -05:00
Misty De Meo
ffcdf9dcdd
Merge pull request #21 from github/match_single_user
...
Filter users to match email precisely
2019-01-07 11:40:33 +08:00
Misty De Meo
042720cf2e
Ensure return happens consistently
2019-01-07 14:30:13 +11:00
Misty De Meo
95f14f3e0f
Filter users to match email precisely
...
Since user matching is done fuzzily, we might get multiple results for
certain emails. Instead of immediately bailing it, let's check for an
exact match before giving up.
2019-01-07 12:14:21 +11:00
Andrew Hayworth
54bec2642c
Merge pull request #20 from github/ahayworth-whos-on-call-improvements
...
Improvements to `who's on call`
2018-10-11 12:16:52 -05:00
Andrew Hayworth
f2f12baa19
Move angle bracket to the end
2018-10-11 11:54:19 -05:00
Andrew Hayworth
9d2364db48
Try harder not to @-mention
...
- Just remove the @
- Also add a "pls wait" message in a few places
2018-10-11 11:47:00 -05:00
Andrew Hayworth
50a4bb4daf
Don't accidentally at-mention people all the time
2018-10-11 11:29:00 -05:00
Andrew Hayworth
e36760e02b
Improve response to `hubot pager schedule(s)?`
...
We can give similar improvements here:
- bullet points
- linkify things
- guess a slack handle
2018-10-10 11:54:31 -05:00