Commit graph

88 commits

Author SHA1 Message Date
Andre Medeiros
eb7ab043ed check err on subreddit watcher too 2023-03-24 12:48:47 -04:00
Andre Medeiros
fd648cad3a [render skip] notif tester 2022-11-11 12:03:39 -05:00
Andre Medeiros
fc449fd7cf [render skip] set last message id on api properly 2022-11-05 21:25:06 -04:00
André Medeiros
9341e08123 feat(ops): add distributed tracing (#109)
* tracing

* instrument redis

* add instrumentation around queue acks

* adjust backoff schedules for reddit

* set proper http client on reddit

* populate account last message ID on upsert

* pass last message id on upsert

* schedule accounts in a predictable order
2022-11-05 15:59:33 -04:00
Andre Medeiros
a441d2723e better use of context 2022-10-31 22:33:11 -04:00
Andre Medeiros
c9877879da same timezone everywhere 2022-10-27 15:47:26 -04:00
Andre Medeiros
ab93194e0d check for apns token before creating it 2022-10-26 22:45:05 -04:00
Andre Medeiros
696f932baa Live activities 2022-10-19 09:37:41 -04:00
Andre Medeiros
547ab64c20 add request ids to logs 2022-07-15 12:19:27 -04:00
Andre Medeiros
fdcb900297 be more forgiving with itunes receipt verification outages 2022-06-30 16:14:07 -04:00
Andre Medeiros
655300682f watchers check subreddit info with authentication 2022-06-30 15:24:58 -04:00
Andre Medeiros
d5affe36c1 more logging 2022-06-30 15:06:03 -04:00
Andre Medeiros
05cb97d412 be more specific about errors 2022-06-30 12:11:07 -04:00
Andre Medeiros
6edb220d84 update reporting rate for API calls 2022-06-28 13:13:42 -04:00
Andre Medeiros
8fc0603735 add tags to api call metrics 2022-06-28 10:55:52 -04:00
Andre Medeiros
7234628428 add statsd to API responses 2022-06-25 14:12:56 -04:00
Andre Medeiros
fb01cf91bc stop notifying old server 2022-06-04 10:58:53 -04:00
André Medeiros
8dc4ac350e omg fix watchers and subreddit things (#79)
* omg fix watchers and subreddit things

* don't send thumbnails for posts that are over 18
2022-05-26 17:54:02 -04:00
Andre Medeiros
bbb3001544 tweak on receipt check 2022-05-23 19:05:31 -04:00
Andre Medeiros
bb3b4807ff add a bit more messaging to errors in account upsert 2022-05-23 16:27:38 -04:00
Andre Medeiros
1fca733818 typos-- 2022-05-23 15:15:46 -04:00
André Medeiros
b1f266bf91 migrate out of logrus (#76) 2022-05-23 14:17:25 -04:00
Andre Medeiros
f6f13bbd2f Allow editing watcher subreddits too 2022-05-21 10:26:23 -04:00
Andre Medeiros
0afa10d64d HTTP code updates 2022-05-21 10:00:21 -04:00
Andre Medeiros
17a37a3b01 Fix test notification 2022-05-21 09:46:12 -04:00
Andre Medeiros
af592c446f Fix watcher list endpoint 2022-05-19 12:43:37 -04:00
Andre Medeiros
bc80526251 Send JSON body, not URL param 2022-05-07 19:30:07 -04:00
Andre Medeiros
b55b52bf2c tweak a bit more 2022-05-07 15:16:04 -04:00
Andre Medeiros
ebe7437bfa log errors on API 2022-05-07 15:10:57 -04:00
Andre Medeiros
10d2e77c4f use request context 2022-05-07 15:04:35 -04:00
Andre Medeiros
b001a51a30 return after error 2022-05-07 13:38:23 -04:00
Andre Medeiros
eaf6a707ca fix bugsnag exception 2022-05-07 13:38:04 -04:00
Andre Medeiros
5e2a846bc1 Fix header for old API 2022-05-07 13:36:23 -04:00
Andre Medeiros
596636ee60 formatting 2022-05-07 12:57:14 -04:00
Andre Medeiros
a42ddbeeb3 add notification test endpoints 2022-05-07 12:53:42 -04:00
André Medeiros
f9b9c595cf Better testing (#62)
* some tests

* more tests

* tidy up go.mod

* more tests

* add postgres

* beep

* again

* Set up schema

* fix device test
2022-05-07 12:37:21 -04:00
André Medeiros
a94aa11845 Merge pull request #66 from christianselig/chore/schema-changes
Changes to schema
2022-05-07 11:52:52 -04:00
Andre Medeiros
69ea7494f3 write tests 2022-05-07 11:21:01 -04:00
Andre Medeiros
8a8431fc0f Add subreddit validation and de-register from old API 2022-05-07 11:06:21 -04:00
André Medeiros
ead14c8bf0 Merge branch 'main' into chore/schema-changes 2022-05-01 14:07:34 -04:00
Andre Medeiros
41f504d10c add contact endpoint 2022-05-01 13:57:30 -04:00
Andre Medeiros
7c7e1e5e1c More proper types 2022-03-28 17:33:01 -04:00
Andre Medeiros
dbcda74ab8 Changes to schema 2022-03-28 17:05:01 -04:00
Andre Medeiros
451a1a96fb add bugsnag test endpoint 2022-03-28 13:39:19 -04:00
Andre Medeiros
493f449802 add bugsnag 2022-03-28 13:20:01 -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
a1a098b448 ch-ch-changes 2022-03-12 12:50:05 -05:00
Andre Medeiros
e5ea131145 include watcher original name in response 2022-03-01 17:20:36 -05:00
Andre Medeiros
e86dd3266a fixes 2021-10-17 12:45:12 -04:00