Commit Graph

52 Commits

Author SHA1 Message Date
shiftinv a69a51edc6 deps: update std, redis 2022-10-21 18:07:46 +02:00
shiftinv b5dac6c415 feat: also handle `delete` events 2022-09-30 15:05:38 +02:00
shiftinv a852836a30 feat: handle branch/tag creation 2022-09-30 14:59:30 +02:00
shiftinv e73128ddf3 fix: scrub set-cookie, alt-svc headers
deno deploy doesn't like alt-svc or set-cookie with the wrong domain (in this case, discord.com), and emits a warning every time
2022-09-10 03:03:26 +02:00
shiftinv 7b3bf8567d docs: update readme 2022-09-10 02:53:21 +02:00
shiftinv 5adc6d8e3a fix: add lock around redis commands
not locking these seems to make the library run into state issues, and since the rtt is currently <50ms this shouldn't cause significant delays
2022-09-08 00:04:37 +02:00
shiftinv c95b6fd5a3 fix: manually connect instead of forcing connect through ping 2022-09-07 21:44:22 +02:00
shiftinv 0cc27e4bed feat: check redis net permissions
seems like the redis lib retries on deno permission errors, which will never succeed, so let's just check beforehand
2022-09-07 15:47:52 +02:00
shiftinv 75ba80e63c feat: make redis optional, fall back to less consistent local cache 2022-09-07 15:28:25 +02:00
shiftinv 6027c8271d feat: use redis to fix state sync issues 2022-09-06 21:21:40 +02:00
shiftinv 188aadf638 feat: set metadata headers on all responses 2022-09-06 04:16:06 +02:00
shiftinv b89fd630f1 chore: rename `resp` -> `res` 2022-09-06 04:00:52 +02:00
shiftinv f3bfaf54ec feat: add github event ID to log messages 2022-09-06 03:56:57 +02:00
shiftinv 323ff37a4b fix: replace default server log message 2022-09-06 03:02:28 +02:00
shiftinv e3882759c1 fix: await `setupLogs()`
oops
2022-09-06 02:59:11 +02:00
shiftinv 9cc31baa58 fix: add review comment debug logs again
need to debug this a bit more, seems to not work 100% of the time

This reverts commit cd2affbaaa.
2022-09-05 21:18:22 +02:00
shiftinv aecaf409e6 feat: add event action types to filter reasons 2022-09-05 00:18:12 +02:00
shiftinv 0b06645e1d docs(readme): move configuration to separate section 2022-09-04 17:20:26 +02:00
shiftinv 28dfe8c61a fix: cloudflare uses seconds for `retry-after` 2022-09-04 16:28:52 +02:00
shiftinv 0917fa7382 docs: update readme once more 2022-09-04 16:13:06 +02:00
shiftinv 4d2eeb52b3 feat: add metadata headers to response 2022-09-04 15:34:59 +02:00
shiftinv 61a49ceb32 fix: add () to reason 2022-09-04 15:34:59 +02:00
shiftinv 1ee1e857a3 feat: improve retry logging 2022-09-04 15:34:59 +02:00
shiftinv 51799813da fix: update retry logic to not wait after last retry 2022-09-04 15:34:59 +02:00
shiftinv cd2affbaaa chore: remove review comment debug logs 2022-09-04 15:34:59 +02:00
shiftinv 9b22ac70b7 feat: add redirect to root 2022-09-04 15:34:59 +02:00
shiftinv ff98d3c9a0 feat: make url signing optional 2022-09-04 15:34:58 +02:00
shiftinv 533ab24b2a feat: improve config.get typing 2022-09-04 14:35:05 +02:00
shiftinv 8b66aab94d chore: check if main module before running 2022-09-04 14:34:35 +02:00
shiftinv a37b15f55d docs: update readme 2022-09-03 23:18:23 +02:00
shiftinv 2021afd969 chore: change util import 2022-09-03 20:14:57 +02:00
shiftinv c60a5ad871 feat: log filter reason 2022-09-03 20:13:06 +02:00
shiftinv 31b66eb01a chore: move webhook function to new module 2022-09-03 20:11:04 +02:00
shiftinv f214d4af1c docs: update readme 2022-09-03 19:06:07 +02:00
shiftinv 37cc5f16de feat: handle ratelimits (kinda) 2022-09-03 18:03:51 +02:00
shiftinv 2c35c57c58 feat: filter burst PR review comments 2022-09-03 17:31:40 +02:00
shiftinv 28a478f12d fix: don't use global interface typedefs 2022-09-03 16:59:38 +02:00
shiftinv 32d7b66dad chore: add more comments 2022-09-03 16:48:28 +02:00
shiftinv 1dfa4a6306 fix: improve filter reason strings 2022-09-03 16:09:11 +02:00
shiftinv 15729dc61f fix: improve empty PR comment filter 2022-09-03 16:08:20 +02:00
shiftinv 5fb5a26209 feat: filter empty reviews 2022-09-03 03:31:48 +02:00
shiftinv b9ce7c7fd4 feat: filter more events 2022-09-03 02:49:51 +02:00
shiftinv 85288ae4aa fix: use correct offsets for branch filter 2022-09-03 02:30:04 +02:00
shiftinv e164172344 feat: add docker stuff 2022-09-03 02:19:54 +02:00
shiftinv 04a0ee32ae docs: add readme and license 2022-09-03 02:19:54 +02:00
shiftinv 032ab06e58 fix: update pre-commit hook file types 2022-09-03 02:19:54 +02:00
shiftinv 5d4732072a chore: reorder some functions 2022-09-03 02:19:54 +02:00
shiftinv 1738aa0f67 chore: move filter code into separate module 2022-09-03 02:19:54 +02:00
shiftinv e8a9272368 ci: add github workflow 2022-09-03 02:19:54 +02:00
shiftinv 0ee9b803e1 lint: add `deno check` to pre-commit 2022-09-03 02:19:54 +02:00