Commit graph

68 commits

Author SHA1 Message Date
Andre Medeiros
624cebf8ef higher prefetch 2022-07-13 14:54:27 -04:00
Andre Medeiros
071b0db010 higher reporting rate for queue delay stat 2022-07-13 13:55:45 -04:00
Andre Medeiros
5e573c831a should run tests 2022-07-13 13:47:52 -04:00
Andre Medeiros
131205a0cb better latency measurements 2022-07-13 13:42:21 -04:00
Andre Medeiros
f785d1a3a4 log message acknowledgement 2022-07-13 13:24:32 -04:00
André Medeiros
e8a8e5a5b3 chore: use reddit ids when enqueueing accounts (#87) 2022-07-13 11:50:13 -04:00
Andre Medeiros
6b7abe4eb0 fix nil pointer dereferrence on notification errors 2022-06-13 16:01:36 -04:00
Andre Medeiros
f7516a06b3 Revert "Mark account as seen"
This reverts commit ac72c979a6.
2022-05-27 15:02:39 -04:00
Andre Medeiros
ac72c979a6 Mark account as seen 2022-05-27 14:58:41 -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
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
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
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
cc6e862ba6 be less noisy about rate limits 2022-05-19 11:51:56 -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
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
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
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
65792abd94 add subreddit trending posts watcher 2021-10-10 11:51:42 -04:00
Andre Medeiros
3361403379 subreddit notifications 2021-09-25 12:56:01 -04:00
Andre Medeiros
fc1065deb5 fix ci 2021-09-25 09:19:42 -04:00
Andre Medeiros
99f76c8cca fix queue delay reporting 2021-08-14 14:15:05 -04:00
Andre Medeiros
42a9fb415e report timeout errors separately 2021-08-14 14:07:19 -04:00
Andre Medeiros
c17a39b9eb remove redundant log field 2021-08-14 13:53:11 -04:00
Andre Medeiros
12b67879ee fix more logs 2021-08-14 13:51:18 -04:00
Andre Medeiros
4c5e47e749 don't delete after any error 2021-08-14 13:50:03 -04:00
Andre Medeiros
d17151a3b3 test reddit 2021-08-14 13:42:28 -04:00
Andre Medeiros
29c7caa591 set up auth key with path 2021-07-22 20:32:37 -04:00
Andre Medeiros
badda4f191 only set before if last message id has contents 2021-07-15 21:18:43 -04:00
Andre Medeiros
ff27f2323d add message count to notification sender 2021-07-15 21:02:52 -04:00
Andre Medeiros
b20fa0cac9 reformat event 2021-07-15 20:59:59 -04:00