Commit Graph

628 Commits

Author SHA1 Message Date
Michael Jackson 59a5acbe08 Switch back to in-memory cache 2018-12-17 15:57:44 -08:00
Michael Jackson aa99d11068 Limit package info we keep in cache 2018-12-17 14:02:59 -08:00
Michael Jackson 995a977e59 Re-use route function 2018-12-17 13:59:04 -08:00
Michael Jackson 19b2e5574b Use single quotes :P 2018-12-17 09:38:05 -08:00
Michael Jackson ada37035cd Add webpack-cli 2018-12-06 07:21:38 -05:00
Michael Jackson ecdb9df7b2 Run linting on CI 2018-12-06 07:18:35 -05:00
Michael Jackson 4fd697aec1 Upgrade to Babel 7
Also, update to webpack 4 and add support for dynamic import() and
import.meta in ?module mode.

Fixes #108
Fixes #151
2018-12-06 07:13:33 -05:00
Michael Jackson fde375782c Fix ESLint warnings 2018-12-04 16:41:37 -08:00
Michael Jackson 41806b2117 Use npm instead of yarn 2018-11-27 21:35:05 -08:00
Brian Ambielli 7075ebdbb9 update(fix-cache-control-documentation): fixing about.md which incorrectly noted how long cache-control headers were set for 2018-11-27 21:25:28 -08:00
Michael Jackson 0bc640962c Close database connections after running tests 2018-10-30 20:30:13 -07:00
Vamshi Palreddy c130e652b7
Merge pull request #1 from vamshi29292/multiple-slash-bug
Ignore multiple slashes in file path.
2018-10-29 03:34:27 +05:30
Vamshi Palreddy 2592c5eca6 Ignore multiple slashes in file path. 2018-10-29 03:25:52 +05:30
Michael Jackson 9b9ded57e7 Fix caching issue
Fixes #138
2018-10-19 07:32:08 -07:00
Michael Jackson 9dbe412783 Do not serve index.html files at / URLs
This actually broke some old behavior in packages that publish
index.html files but aren't counting on unpkg to serve them.

Closes #130
2018-09-24 10:37:02 -07:00
Michael Jackson 5fac968215 Better variable name 2018-09-05 07:32:02 -07:00
Michael Jackson 21ed6ee42e Add ?module support for HTML files
Closes #113
2018-09-04 15:58:52 -07:00
Michael Jackson 311a1ffa7e Use 0 instead of a string for missing packages 2018-09-04 07:39:45 -07:00
Michael Jackson 29b7725597 Continue when blacklist is unavailable 2018-09-03 11:30:55 -07:00
Michael Jackson f138748d1a Add script for clearing the cache 2018-09-03 10:54:17 -07:00
Michael Jackson f0d05ea756 Fighting spam :/ 2018-09-03 09:26:43 -07:00
Michael Jackson c37101a5d2 Update API docs 2018-09-01 12:22:53 -07:00
Michael Jackson 2fc84dfe45 Use "immutable" Cache-Control extension
See http://bitsup.blogspot.com/2016/05/cache-control-immutable.html for
more info.

Fixes #103
Closes #119
2018-09-01 11:37:42 -07:00
Michael Jackson fe485060ff Remove "only" 2018-09-01 11:29:32 -07:00
Michael Jackson e04db2c49c Fix auth using header 2018-09-01 09:36:48 -07:00
Michael Jackson 41c3b1fa5f Run the build as part of the script in CI 2018-09-01 06:44:29 -07:00
Michael Jackson 185a956fb9 Move API endpoints to /api 2018-09-01 06:37:48 -07:00
Michael Jackson 2c97136279 Fix lint script 2018-09-01 06:37:20 -07:00
Michael Jackson f86b294e16 Remove language about not being ready for production 2018-08-30 16:15:12 -07:00
Michael Jackson 82d404a973 Introduce different log levels 2018-08-25 23:49:44 -07:00
Michael Jackson fe4ccec4e2 Simplify log ingestion timer 2018-08-25 20:14:49 -07:00
Michael Jackson 995780bcbb Timeout after 25s 2018-08-25 18:19:50 -07:00
Michael Jackson 30cd271339 Do not timeout after 10s 2018-08-25 17:35:52 -07:00
Michael Jackson 741530ac92 Fix path to ingestLogs script 2018-08-25 16:55:37 -07:00
Michael Jackson a3d97a45c6 Use Sentry error reporting 2018-08-25 16:50:43 -07:00
Michael Jackson 6d57d95b7f Increase max-age on some redirects 2018-08-07 18:59:45 -07:00
Michael Jackson a5db17cd6a Fix dev setup 2018-08-06 11:10:21 -07:00
Michael Jackson 7e85e1de5b Use special type for HTML 2018-07-31 15:34:34 -07:00
Michael Jackson 4605425fd8 Better title + description for auto-index pages 2018-07-31 14:29:48 -07:00
Michael Jackson 3508656831 Do not load React Router on auto-index pages 2018-07-31 14:07:35 -07:00
Michael Jackson eb51b9df26 Fix Jest setup 2018-07-31 11:03:02 -07:00
Michael Jackson 9d85359690 Do not auto-format package.json with Prettier 2018-07-31 10:53:05 -07:00
Michael Jackson 88f8b1683b Tolerate missing X-Forwarded-For header in production 2018-07-31 10:23:12 -07:00
Michael Jackson bef8b2ebee Rename server => modules 2018-07-31 10:20:24 -07:00
Michael Jackson 135da0fdc5 Server render auto-index pages
Also, load the autoIndex bundle on the client so we can use React
instead of using an inline script.
2018-07-31 10:07:27 -07:00
Michael Jackson 168ccf5aac Use secretKey module directly 2018-07-27 05:39:57 -07:00
Michael Jackson ab72779cfb Small tweaks 2018-07-27 05:08:07 -07:00
Michael Jackson ab3e5f4dfc Style tweak 2018-07-19 21:49:39 -04:00
Michael Jackson b69fd550a2 Fix 404 regression with CommonJS module paths 2018-07-19 21:03:40 -04:00
Michael Jackson a254a7a2f2 Move main files into client/main 2018-07-18 00:29:49 -07:00