Commit graph

258 commits

Author SHA1 Message Date
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
ca8fc6e991 tighten authenticated client params 2022-05-25 19:28:41 -04:00
Andre Medeiros
dc54bb76df try referencing client instead of embedding 2022-05-25 19:22:05 -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
Christian Selig
ea9af069e8 Fix issue with not allow non-autorenewing subs 2022-05-24 21:58:28 -03: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
bbb3001544 tweak on receipt check 2022-05-23 19:05:31 -04:00
Andre Medeiros
079cc9a5c5 better variable name 2022-05-23 18:54:38 -04:00
Andre Medeiros
34e050daad tweak scheduler 2022-05-23 18:51:30 -04:00
Andre Medeiros
b1ed5fb71a Revert "optimize scheduler to reduce memory allocations"
This reverts commit f41dd925e4.
2022-05-23 18:46:39 -04:00
Andre Medeiros
f41dd925e4 optimize scheduler to reduce memory allocations 2022-05-23 18:43:53 -04:00
Andre Medeiros
b6c7c58062 revert client change 2022-05-23 17:41:19 -04:00
Andre Medeiros
17c503e0e3 don't retry on 403 2022-05-23 17:37:51 -04:00
Andre Medeiros
5fa9bfaa45 distinguish between 401 and 403 2022-05-23 17:26:40 -04:00
Andre Medeiros
be926f9118 calculate next check properly 2022-05-23 16:50:51 -04:00
Andre Medeiros
bb3b4807ff add a bit more messaging to errors in account upsert 2022-05-23 16:27:38 -04:00
Andre Medeiros
1fca733818 typos-- 2022-05-23 15:15:46 -04:00
Andre Medeiros
bcce102388 more logging things 2022-05-23 14:29:15 -04:00
Andre Medeiros
ff9e32ef20 tweak logger verbosity 2022-05-23 14:20:45 -04:00
André Medeiros
b1f266bf91 migrate out of logrus (#76) 2022-05-23 14:17:25 -04:00
Andre Medeiros
ccba530255 fix tests 2022-05-23 11:51:22 -04:00
Andre Medeiros
ef3f3ff18b fix error handling on postgres repositories 2022-05-23 11:49:48 -04:00
Andre Medeiros
c35ec006f1 simplify reddit error handling 2022-05-23 11:33:15 -04:00
Andre Medeiros
6f8f93f3ab reduce account updates by half 2022-05-22 19:57:29 -04:00
Andre Medeiros
b92e3fc374 tweak scheduler 2022-05-22 19:35:03 -04:00
Andre Medeiros
fc94bef379 optimize queries 2022-05-21 17:15:24 -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
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
adbaeb9e54 Tweak stuck notifications a bit mroe 2022-05-19 13:02:16 -04:00
Andre Medeiros
af592c446f Fix watcher list endpoint 2022-05-19 12:43:37 -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
527552eb6d Use raw_json on all reddit calls 2022-05-17 17:36:59 -04:00
Andre Medeiros
6cfdc1ba74 Tweak username length 2022-05-13 10:29:09 -04:00
Andre Medeiros
69a9101499 Fix Subreddit length 2022-05-13 10:27:56 -04:00
Andre Medeiros
1919b36f57 fix subreddit watchers for 2 letter subreddits 2022-05-12 16:23:16 -04:00
Andre Medeiros
132374fb6b freaking sql types 2022-05-08 21:02:59 -04:00
Andre Medeiros
3803fea055 fix watcher creation 2022-05-08 20:56:04 -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