Commit graph

643 commits

Author SHA1 Message Date
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
175bf77efe add timestamp index to accounts 2022-05-21 17:37:34 -04:00
Andre Medeiros
fc94bef379 optimize queries 2022-05-21 17:15:24 -04:00
Andre Medeiros
65f8402d88 more tweaks to infra 2022-05-21 13:21:24 -04:00
Andre Medeiros
08d0bc3b70 more infra tweaks 2022-05-21 13:19:27 -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
90f232a06d fix migrations 2022-05-21 12:44:21 -04:00
Andre Medeiros
e90f6ef834 fix statsd 2022-05-21 12:31:07 -04:00
Andre Medeiros
499a30b4f0 fat finger 2022-05-21 12:09:52 -04:00
Andre Medeiros
38437ae167 change types 2022-05-21 12:09:16 -04:00
Andre Medeiros
0e6365e819 add more env to blueprint 2022-05-21 12:07:21 -04:00
Andre Medeiros
6fcd957d22 Fix things 2022-05-21 11:55:59 -04:00
Andre Medeiros
7ffe9628ce fix database connection pool url missing by default 2022-05-21 11:53:50 -04:00
André Medeiros
d90fc98eb3 Infra blueprint (#75)
* add render.yaml

* fix yaml

* fix env

* fix capitalization

* fix envs

* more fixes

* fix more envs

* try fixing more

* ugh

* could this be it?
2022-05-21 11:41:17 -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
Andre Medeiros
f8b6c062e8 Revert "Don't lowcase subreddits"
This reverts commit b7e5d3860c.
2022-05-07 13:31:52 -04:00
Andre Medeiros
b7e5d3860c Don't lowcase subreddits 2022-05-07 13:30:05 -04:00
Andre Medeiros
fe8baf7989 make watcher keywords more flexible 2022-05-07 13:22:06 -04:00
Andre Medeiros
53a4bbee25 Avoid Sandbox things 2022-05-07 13:01:57 -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
Andre Medeiros
17019cecfb fix grace period expiry check 2022-05-07 12:05:47 -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
4fad10bade fix tests 2022-05-07 11:51:56 -04:00
Andre Medeiros
93052d2770 log account ID 2022-05-07 11:42:20 -04:00
André Medeiros
ec1b847ca4 Merge pull request #71 from christianselig/feat/validate-subreddit-format
Add subreddit validation and de-register from old API
2022-05-07 11:21:41 -04:00
Andre Medeiros
69ea7494f3 write tests 2022-05-07 11:21:01 -04:00