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
fb01cf91bc
stop notifying old server
2022-06-04 10:58:53 -04:00
Andre Medeiros
bb3b4807ff
add a bit more messaging to errors in account upsert
2022-05-23 16:27:38 -04:00
André Medeiros
b1f266bf91
migrate out of logrus ( #76 )
2022-05-23 14:17:25 -04:00
Andre Medeiros
0afa10d64d
HTTP code updates
2022-05-21 10:00:21 -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
5e2a846bc1
Fix header for old API
2022-05-07 13:36:23 -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
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
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
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
fc1065deb5
fix ci
2021-09-25 09:19:42 -04:00
Andre Medeiros
282ff6ef3e
remove the data package
2021-08-14 13:56:03 -04:00
Andre Medeiros
002851efe7
Save account info
2021-08-14 11:21:17 -04:00
Andre Medeiros
993c07938c
ALL THE API
2021-08-08 14:19:47 -04:00
Andre Medeiros
22279185e1
things
2021-07-26 12:34:26 -04:00
Andre Medeiros
2b0078c8f2
I'm an idiot
2021-07-13 14:40:56 -04:00
Andre Medeiros
9fa0257d84
reorganize commands to keep things more consistent
2021-07-13 13:14:25 -04:00