Commit graph

68 commits

Author SHA1 Message Date
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
f6f13bbd2f Allow editing watcher subreddits too 2022-05-21 10:26:23 -04:00
Andre Medeiros
0afa10d64d HTTP code updates 2022-05-21 10:00:21 -04:00
Andre Medeiros
17a37a3b01 Fix test notification 2022-05-21 09:46:12 -04:00
Andre Medeiros
af592c446f Fix watcher list endpoint 2022-05-19 12:43:37 -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
b001a51a30 return after error 2022-05-07 13:38:23 -04:00
Andre Medeiros
eaf6a707ca fix bugsnag exception 2022-05-07 13:38:04 -04:00
Andre Medeiros
5e2a846bc1 Fix header for old API 2022-05-07 13:36:23 -04:00
Andre Medeiros
596636ee60 formatting 2022-05-07 12:57:14 -04:00
Andre Medeiros
a42ddbeeb3 add notification test endpoints 2022-05-07 12:53:42 -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
André Medeiros
ead14c8bf0 Merge branch 'main' into chore/schema-changes 2022-05-01 14:07:34 -04:00
Andre Medeiros
41f504d10c add contact endpoint 2022-05-01 13:57:30 -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
451a1a96fb add bugsnag test endpoint 2022-03-28 13:39:19 -04:00
Andre Medeiros
493f449802 add bugsnag 2022-03-28 13:20:01 -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
a1a098b448 ch-ch-changes 2022-03-12 12:50:05 -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
077cf7cf09 set label so that trending goes through for now 2021-10-14 01:31:37 -04:00
Andre Medeiros
7714046de2 responses 2021-10-13 15:11:27 -04:00
Andre Medeiros
08fd2ef9a5 allow editing watchers too 2021-10-13 11:11:28 -04:00
Andre Medeiros
db3268b0d0 catch the subreddit criteria 2021-10-13 10:44:47 -04:00
Andre Medeiros
65792abd94 add subreddit trending posts watcher 2021-10-10 11:51:42 -04:00
Andre Medeiros
4955f74f52 user following 2021-10-09 10:59:20 -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
fc1065deb5 fix ci 2021-09-25 09:19:42 -04:00
Andre Medeiros
aa08278670 receipts and device active until 2021-09-11 10:53:19 -04:00
Andre Medeiros
d4fad82264 write header before body 2021-08-14 20:19:45 -04:00
Andre Medeiros
e746edfdb9 de-christian sanbox 2021-08-14 20:10:07 -04:00
Andre Medeiros
7f8d0c3375 write errors with proper go api 2021-08-14 13:57:26 -04:00
Andre Medeiros
282ff6ef3e remove the data package 2021-08-14 13:56:03 -04:00
Andre Medeiros
905235a8ff Set device pinged at 2021-08-14 11:51:27 -04:00
Andre Medeiros
50cdc3aafa skip logging for health check 2021-08-14 11:34:32 -04:00
Andre Medeiros
bcb53235f8 Add a few more fields to http logging 2021-08-14 11:30:43 -04:00