Commit graph

37 commits

Author SHA1 Message Date
Andre Medeiros
3803fea055 fix watcher creation 2022-05-08 20:56:04 -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
Andre Medeiros
17019cecfb fix grace period expiry check 2022-05-07 12:05:47 -04:00
Andre Medeiros
69675d4d5c add schema 2022-03-28 17:27:07 -04:00
Andre Medeiros
dbcda74ab8 Changes to schema 2022-03-28 17:05:01 -04:00
Andre Medeiros
294243b02d fix ci 2022-03-26 13:40:51 -04:00
Andre Medeiros
188036a838 postgres is a stickler for types 2022-03-26 12:54:51 -04:00
Andre Medeiros
88a3e0a21f short circuit on notifications job 2022-03-26 12:52:10 -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
84b5959aa2 an extra comma... 2022-03-26 10:49:18 -04:00
Andre Medeiros
a1a098b448 ch-ch-changes 2022-03-12 12:50:05 -05:00
Andre Medeiros
c149606f24 fix more sql 2022-03-01 17:29:43 -05:00
Andre Medeiros
2c2ae76574 fix sql 2022-03-01 17:25:26 -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
Andre Medeiros
815b577bf5 enable/disable notifications per account/device pair 2021-10-17 12:41:12 -04:00
Andre Medeiros
c8bec95bed add stuck notifications worker 2021-10-17 10:17:41 -04:00
Andre Medeiros
06b715fa6a don't let weird watchers through 2021-10-14 00:25:29 -04:00
Andre Medeiros
0674ddf730 allow user notifications to be filtered by subreddit 2021-10-13 10:43:05 -04:00
Andre Medeiros
553dc53eed Add validations 2021-10-12 10:18:40 -04: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
a26b1f6a32 delete devices heuristic fix 2021-09-25 14:56:14 -04:00
Andre Medeiros
537d1711fe record watcher hits 2021-09-25 14:27:58 -04:00
Andre Medeiros
24ef6cce6b list watchers endpoint 2021-09-25 14:17:23 -04:00
Andre Medeiros
698c65b1f4 tweaks 2021-09-25 14:02:00 -04:00
Andre Medeiros
3361403379 subreddit notifications 2021-09-25 12:56:01 -04:00
Andre Medeiros
aa08278670 receipts and device active until 2021-09-11 10:53:19 -04:00
Andre Medeiros
d17151a3b3 test reddit 2021-08-14 13:42:28 -04:00
Andre Medeiros
9a5d699f66 Remove stale devices 2021-08-14 12:08:17 -04:00
Andre Medeiros
84e499a7af schedule stale and orphaned accounts 2021-08-14 11:59:13 -04:00
Andre Medeiros
905235a8ff Set device pinged at 2021-08-14 11:51:27 -04:00
Andre Medeiros
993c07938c ALL THE API 2021-08-08 14:19:47 -04:00
Andre Medeiros
f06f1ce550 stub for association 2021-07-27 10:05:50 -04:00
Andre Medeiros
22279185e1 things 2021-07-26 12:34:26 -04:00