Commit graph

508 commits

Author SHA1 Message Date
dependabot[bot]
7b1e37f6c3 Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#60) 2022-03-26 17:46:44 +00:00
dependabot[bot]
8ffbfee217 Bump github.com/DataDog/datadog-go (#33) 2022-03-26 17:46:13 +00:00
dependabot[bot]
4829b84ea3 Bump github.com/jackc/pgx/v4 from 4.13.0 to 4.15.0 (#46) 2022-03-26 17:45:35 +00:00
dependabot[bot]
b819f90550 Bump github.com/go-co-op/gocron from 1.9.0 to 1.13.0 (#50) 2022-03-26 17:45:04 +00:00
dependabot[bot]
1bb41ab3e9 Bump github.com/heroku/x from 0.0.32 to 0.0.50 (#51) 2022-03-26 17:43:14 +00:00
Andre Medeiros
a9be343ac7 update golang 2022-03-26 13:41:24 -04:00
Andre Medeiros
294243b02d fix ci 2022-03-26 13:40:51 -04:00
Andre Medeiros
fc617b535c fix tests 2022-03-26 13:29:58 -04:00
Andre Medeiros
188036a838 postgres is a stickler for types 2022-03-26 12:54:51 -04:00
Andre Medeiros
88a3e0a21f short circuit on notifications job 2022-03-26 12:52:10 -04:00
Andre Medeiros
e5670c9828 Add a device grace period so that it gets notified but not removed 2022-03-26 12:48:51 -04:00
Andre Medeiros
9cc60972dc Allow setting a global mute that does not overwrite the other settings 2022-03-26 12:39:28 -04:00
Andre Medeiros
84b5959aa2 an extra comma... 2022-03-26 10:49:18 -04:00
Andre Medeiros
a6abda91a7 add accept header to request json 2022-03-14 09:42:47 -04:00
Andre Medeiros
455788a9c4 strip .json from urls 2022-03-14 09:40:18 -04:00
Andre Medeiros
3bf38b0630 record timestamp and crazy ratelimit cases 2022-03-12 16:00:41 -05:00
Andre Medeiros
b9389511f6 log requests per account 2022-03-12 14:46:36 -05:00
Andre Medeiros
195bd55426 more info on ratelimit; change useragent 2022-03-12 14:22:00 -05:00
Andre Medeiros
7bff205523 report rate limit 100% 2022-03-12 14:07:15 -05:00
Andre Medeiros
907dc5510d i am idiot 2022-03-12 13:45:50 -05:00
Andre Medeiros
5ad98494ee fix rate limiter part 2 2022-03-12 13:25:34 -05:00
Andre Medeiros
77162dd513 fix rate limiting parsing 2022-03-12 13:15:59 -05:00
Andre Medeiros
7a6955212b fix rate limiting 2022-03-12 12:58:07 -05:00
Andre Medeiros
a1a098b448 ch-ch-changes 2022-03-12 12:50:05 -05:00
Andre Medeiros
c149606f24 fix more sql 2022-03-01 17:29:43 -05:00
Andre Medeiros
2c2ae76574 fix sql 2022-03-01 17:25:26 -05:00
Andre Medeiros
e5ea131145 include watcher original name in response 2022-03-01 17:20:36 -05:00
Andre Medeiros
dfae5d6c77 check if notification was sent too 2022-01-14 15:29:56 -05:00
Andre Medeiros
39ccc1972a keep devices around for a month 2021-10-29 11:03:58 -04:00
Andre Medeiros
ec12775621 retry logic 2021-10-28 10:57:09 -04:00
Andre Medeiros
e86dd3266a fixes 2021-10-17 12:45:12 -04:00
Andre Medeiros
815b577bf5 enable/disable notifications per account/device pair 2021-10-17 12:41:12 -04:00
Andre Medeiros
70d73eab4c defer func on stats for scheduler 2021-10-17 12:04:09 -04:00
Andre Medeiros
7d41c4ae3a change info to debug on a chatty log line 2021-10-17 11:56:23 -04:00
Andre Medeiros
6f2c956082 more tweaks 2021-10-17 11:48:41 -04:00
Andre Medeiros
b5bc51dfd7 fix edge cases 2021-10-17 11:27:52 -04:00
Andre Medeiros
b07bf599de only alert on non deleted messages 2021-10-17 11:05:40 -04:00
Andre Medeiros
78e48a8f3b check for last alerted thing that wasn't deleted 2021-10-17 11:02:31 -04:00
Andre Medeiros
ad982edcd7 oops 2021-10-17 10:53:14 -04:00
Andre Medeiros
42243def97 fix the things for messages 2021-10-17 10:47:43 -04:00
Andre Medeiros
62796df6de fix logging 2021-10-17 10:20:07 -04:00
Andre Medeiros
f5d2fe5e81 check for stuck accounts every 2 minutes 2021-10-17 10:18:13 -04:00
Andre Medeiros
c8bec95bed add stuck notifications worker 2021-10-17 10:17:41 -04:00
Andre Medeiros
077cf7cf09 set label so that trending goes through for now 2021-10-14 01:31:37 -04:00
Andre Medeiros
80256b0465 fix validation 2021-10-14 00:26:06 -04:00
Andre Medeiros
06b715fa6a don't let weird watchers through 2021-10-14 00:25:29 -04:00
Andre Medeiros
95b58b2c01 allow 4 chars too 2021-10-13 23:50:34 -04:00
Andre Medeiros
cb0e05ac62 allow more chars for ids 2021-10-13 23:47:50 -04:00
Andre Medeiros
7714046de2 responses 2021-10-13 15:11:27 -04:00
Andre Medeiros
08fd2ef9a5 allow editing watchers too 2021-10-13 11:11:28 -04:00