Commit Graph

12 Commits

Author SHA1 Message Date
Ben Visness 6f7237f656 Log errors if ErrorResponse panics
We have to do this because otherwise the errors never actually end up in
the ResponseData.
2021-09-05 19:00:25 -05:00
Ben Visness bc39b4c0b7 Clean up TODOs 2021-08-28 12:07:45 -05:00
Ben Visness 38a1188be7 Add Discord integration
Clean up several TODOs

Implement the full disconnect / resume flow

Detect zombied connections and restart

Implement the random delay on reconnect

Implement message sending!!

(with a goofy feedback loop on the echo bot)

Fix the feedback loop in the echo bot

Clean up the Discord gateway code

Many things are methods now to reduce the amount of explicit plumbing.
Connection handling should be a little more robust, and we have an
actual error handling strategy now.

Allow sending multiple Discord messages at once

Delete irrelevant tests

uhh, start rate limiting

Add per-route rate limiting

Add global rate limit handling

Handle context cancellation in Discord REST code

Allow changing buckets per route

Add the showcase rejection bot

Add library bot
2021-08-15 20:21:04 -05:00
Asaf Gartner 48dfb61997 Prevent URL construction from crashing in prod 2021-05-25 16:48:57 +03:00
Asaf Gartner d62f4ceeb6 Added log level to config 2021-05-06 12:12:18 +03:00
Asaf Gartner 490c82940a Removed dashed line between single-line log outputs 2021-04-06 09:06:33 +03:00
Ben Visness acca4fe232 Initial implementation of password-checking 2021-03-21 22:07:18 -05:00
Ben Visness 4fb161b3c6 Rework DB query stuff, use for projects 2021-03-21 15:38:37 -05:00
Ben Visness 465c877241 Add custom request context thing 2021-03-17 21:14:06 -05:00
Ben Visness a4e2d625a3 Start migrating templates 2021-03-14 15:49:58 -05:00
Ben Visness b92adff355 Add first attempt at a middleware 2021-03-10 23:02:43 -06:00
Ben Visness 45763de9e6 Put Go stuff in the /src folder 2021-03-10 21:39:24 -06:00