Commit graph

98 commits

Author SHA1 Message Date
Andre Medeiros
ac72c979a6 Mark account as seen 2022-05-27 14:58:41 -04:00
Andre Medeiros
dc9f42de8b be less noisy again 2022-05-27 09:51:59 -04:00
Andre Medeiros
80438dc1e2 fix median calculation by forcing a limit 2022-05-27 09:37:25 -04:00
Andre Medeiros
f0353399e8 Revert "Don't log post titles anymore"
This reverts commit e9a2f5b745.
2022-05-27 09:22:04 -04:00
Andre Medeiros
2111cb4be6 Revert "Make median score log debug level"
This reverts commit c3f7982882.
2022-05-27 09:21:56 -04:00
Andre Medeiros
c3f7982882 Make median score log debug level 2022-05-26 18:58:53 -04:00
Andre Medeiros
e9a2f5b745 Don't log post titles anymore 2022-05-26 18:58:12 -04:00
Andre Medeiros
d8bd6dfb37 show all to avoid hidden posts 2022-05-26 18:56:53 -04:00
Andre Medeiros
be343deab8 try logging posts differently 2022-05-26 18:44:07 -04:00
Andre Medeiros
e7faf73834 sort scores 2022-05-26 18:17:49 -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
7da47176a2 Revert "token refresh mechanism"
This reverts commit df96aaa768.
2022-05-25 20:17:03 -04:00
Andre Medeiros
df96aaa768 token refresh mechanism 2022-05-25 20:12:54 -04:00
Andre Medeiros
47a0aa47dd add logging for things 2022-05-25 19:55:51 -04:00
Andre Medeiros
5ede5d6987 more breahing room with tokens 2022-05-25 19:49:14 -04:00
Andre Medeiros
4f34e3927b add a bit of breathing room for token refresh 2022-05-25 19:44:29 -04:00
André Medeiros
f018af7c73 Log post score 2022-05-25 16:05:49 -04:00
André Medeiros
3a5e504ba7 Update trending.go 2022-05-25 15:57:55 -04:00
Andre Medeiros
571c6d60eb don't change account next notification check at, the scheduler does this for us 2022-05-23 19:47:48 -04:00
Andre Medeiros
be926f9118 calculate next check properly 2022-05-23 16:50: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
6f8f93f3ab reduce account updates by half 2022-05-22 19:57:29 -04:00
Andre Medeiros
413b46631c chill with the poll 2022-05-21 13:17:04 -04:00
Andre Medeiros
09d5457436 fix migrations 2022-05-21 13:08:30 -04:00
Andre Medeiros
adbaeb9e54 Tweak stuck notifications a bit mroe 2022-05-19 13:02:16 -04:00
Andre Medeiros
8c5422af20 edge case for stuck notifications 2022-05-19 12:37:03 -04:00
Andre Medeiros
cc6e862ba6 be less noisy about rate limits 2022-05-19 11:51:56 -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
a94aa11845 Merge pull request #66 from christianselig/chore/schema-changes
Changes to schema
2022-05-07 11:52:52 -04:00
Andre Medeiros
93052d2770 log account ID 2022-05-07 11:42:20 -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
e48460572a include subreddit fields too 2022-05-01 13:24:10 -04:00
Andre Medeiros
c2a77e7c66 add comment_id on username mention 2022-05-01 13:22:18 -04:00
Andre Medeiros
91456dc9b9 include comment_id for private messages 2022-05-01 13:20:36 -04:00
Andre Medeiros
b886dd3fab Fix post reply notifications 2022-05-01 13:18:16 -04:00
Andre Medeiros
a429ee9987 change remaining notification titles 2022-05-01 13:09:08 -04:00
Andre Medeiros
8502a67352 Change trending notification 2022-05-01 13:04:05 -04:00
Andre Medeiros
2027760e1e Change Subreddit watcher notification 2022-05-01 13:00:34 -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
88a3e0a21f short circuit on notifications job 2022-03-26 12:52:10 -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
815b577bf5 enable/disable notifications per account/device pair 2021-10-17 12:41:12 -04:00
Andre Medeiros
7d41c4ae3a change info to debug on a chatty log line 2021-10-17 11:56:23 -04:00