Commit Graph

107 Commits

Author SHA1 Message Date
Michael Lange
5735fca9cf Log class for interfacing with log APIs
Supports:
  - Reading the head of a log
  - Reading the tail of a log
  - Following a log in one of two ways:
    - Streaming the HTTP request (using fetch res.getReader)
    - Polling the log endpoint (using EC timeouts)
2017-11-21 11:22:41 -08:00
Michael Lange
0d299b60df Provides a slim TextDecoder polyfill for Edge 2017-11-21 11:22:41 -08:00
Michael Lange
89ef279ffb Prefer native fetch 2017-11-21 11:22:41 -08:00
Michael Lange
772ddf2fc0 Common code for handling 403s in routes 2017-10-24 16:40:27 -07:00
Michael Lange
1cfa5f5ecc Handle 403s gracefully
- When a list 403s, treat it as if it were empty
- When a single resource 403s, redirect to an application error page
  that has a backdoor link to the tokens page
2017-10-12 17:40:49 -07:00
Michael Lange
1e817cb35b Handle 404s on jobs 2017-10-05 14:39:37 -07:00
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00