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
6cf7c54c86
upgrade rmq to v5
2022-11-01 19:02:25 -04:00
Andre Medeiros
fbd3ff617a
fix subreddit watcher
2022-10-31 15:12:27 -04:00
Andre Medeiros
1a861ea628
finalize context fixing
2022-10-26 20:46:17 -04:00
Andre Medeiros
ee29fccaf9
chill logging
2022-06-29 13:25:59 -04:00
Andre Medeiros
ad62000372
fix authenticated client call
2022-06-25 15:52:47 -04:00
Andre Medeiros
6b7abe4eb0
fix nil pointer dereferrence on notification errors
2022-06-13 16:01:36 -04:00
Andre Medeiros
b29f120eea
always show media for subreddit requests
2022-05-30 14:22:21 -04:00
Andre Medeiros
d8bd6dfb37
show all to avoid hidden posts
2022-05-26 18:56: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
47a0aa47dd
add logging for things
2022-05-25 19:55:51 -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
fe8baf7989
make watcher keywords more flexible
2022-05-07 13:22:06 -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
ead14c8bf0
Merge branch 'main' into chore/schema-changes
2022-05-01 14:07:34 -04:00
Andre Medeiros
49b1acc906
Add threadID
2022-05-01 13:36:35 -04:00
Andre Medeiros
9ba4498c08
Add post thumbnails too
2022-05-01 13:33:09 -04:00
Andre Medeiros
63344348df
Fix notification categories for watchers
2022-05-01 13:28:12 -04:00
Andre Medeiros
2027760e1e
Change Subreddit watcher notification
2022-05-01 13:00:34 -04:00
Andre Medeiros
dbcda74ab8
Changes to schema
2022-03-28 17:05:01 -04:00
Andre Medeiros
a1a098b448
ch-ch-changes
2022-03-12 12:50:05 -05:00
Andre Medeiros
dfae5d6c77
check if notification was sent too
2022-01-14 15:29:56 -05:00
Andre Medeiros
65792abd94
add subreddit trending posts watcher
2021-10-10 11:51:42 -04:00
Andre Medeiros
19ed17b086
honor user perference to not be followed and delete them
2021-10-09 11:44:19 -04:00
Andre Medeiros
4955f74f52
user following
2021-10-09 10:59:20 -04:00
Andre Medeiros
a63171f833
tweak notification
2021-09-27 15:23:56 -04:00
Andre Medeiros
537d1711fe
record watcher hits
2021-09-25 14:27:58 -04:00
Andre Medeiros
bc9456cba2
tweak notification content
2021-09-25 14:05:34 -04:00
Andre Medeiros
698c65b1f4
tweaks
2021-09-25 14:02:00 -04:00
Andre Medeiros
a5bd4c2ce4
check last 100 hot posts too
2021-09-25 13:05:05 -04:00
Andre Medeiros
3361403379
subreddit notifications
2021-09-25 12:56:01 -04:00