MICHAEL JACKSON
|
0137a9df92
|
Move protocols to bottom of the stats page
|
2017-08-22 10:14:21 -07:00 |
MICHAEL JACKSON
|
c1c2d1445f
|
Add "module" Cache-Tag to js modules served with ?module
|
2017-08-22 09:59:19 -07:00 |
MICHAEL JACKSON
|
37640b2c8b
|
Cache stats for 1 minute
|
2017-08-22 09:45:41 -07:00 |
MICHAEL JACKSON
|
c74fc8b577
|
Fix option value
|
2017-08-22 09:30:57 -07:00 |
MICHAEL JACKSON
|
52367d97a3
|
Add more spam to the blacklist
|
2017-08-22 09:22:31 -07:00 |
MICHAEL JACKSON
|
47d42addd2
|
Filter blacklisted packages from stats
Also added better descriptions to stats page.
|
2017-08-22 09:12:57 -07:00 |
MICHAEL JACKSON
|
2a0d32f214
|
Add /_stats endpoint
Also, remove ingest_stats worker and use the cache instead.
|
2017-08-22 08:52:30 -07:00 |
MICHAEL JACKSON
|
c4f3d5bbbc
|
Store error/unique counts per hour/minute
|
2017-08-21 10:18:10 -07:00 |
MICHAEL JACKSON
|
be14167718
|
Use dependencies for unpkg URLs in module mode
|
2017-08-21 10:17:40 -07:00 |
MICHAEL JACKSON
|
066729f17c
|
Re-organize package URL parsing
|
2017-08-19 11:44:01 -07:00 |
MICHAEL JACKSON
|
17f6a6bbe9
|
Use startServer function
|
2017-08-18 23:10:04 -07:00 |
MICHAEL JACKSON
|
22c5c550be
|
Move some utils into middleware/utils
|
2017-08-18 23:09:29 -07:00 |
MICHAEL JACKSON
|
bc9731abf1
|
Add experimental ?expand flag
See #24
|
2017-08-18 17:55:13 -07:00 |
MICHAEL JACKSON
|
19d060f753
|
Add some server tests
|
2017-08-18 17:33:27 -07:00 |
MICHAEL JACKSON
|
f87f0962f4
|
Use text/plain for PATENTS file
|
2017-08-18 16:47:52 -07:00 |
MICHAEL JACKSON
|
6b482f1099
|
Redirect ?json and /_meta to ?meta
|
2017-08-18 15:49:12 -07:00 |
MICHAEL JACKSON
|
e86421240d
|
Redirect requests with invalid query params to cache
|
2017-08-18 14:50:42 -07:00 |
MICHAEL JACKSON
|
ff75d8b7d6
|
Fix lint warning
|
2017-08-18 13:45:23 -07:00 |
MICHAEL JACKSON
|
ce39e551c6
|
Deploy using Travis
|
2017-08-18 13:43:18 -07:00 |
MICHAEL JACKSON
|
7408b24adf
|
Move utilities into middleware/utils
|
2017-08-18 12:58:48 -07:00 |
MICHAEL JACKSON
|
2d03ed9be6
|
Remove min-download checking
|
2017-08-18 12:35:45 -07:00 |
MICHAEL JACKSON
|
180e942aa9
|
Update Abuse policy
|
2017-08-17 13:28:15 -07:00 |
MICHAEL JACKSON
|
6c6f8814a3
|
Temporarily disable daily downloads check
|
2017-08-17 12:23:56 -07:00 |
MICHAEL JACKSON
|
d63288fb27
|
Increase grace period for server shutdown
|
2017-08-17 11:56:57 -07:00 |
MICHAEL JACKSON
|
504c55a636
|
Lower minimum daily downloads to 50
|
2017-08-17 11:55:09 -07:00 |
MICHAEL JACKSON
|
8fb2c7810e
|
Improve stats workers
- More accurate expiration times for stats
- Reduce duplication between stats and logs worker
- Expire hostname stats after one week
|
2017-08-17 11:24:40 -07:00 |
MICHAEL JACKSON
|
b9c6c0fc61
|
Add back checkBlacklist middleware
|
2017-08-16 23:04:59 -07:00 |
MICHAEL JACKSON
|
1173f91091
|
Require packages to be downloaded >= 100x/day
This should make it more difficult for people who are publishing
malicious packages to npm to get them on the CDN.
|
2017-08-16 23:04:59 -07:00 |
MICHAEL JACKSON
|
666d8afc95
|
Add /_meta endpoint for metadata
Also, add integrity values to metadata.
|
2017-08-16 17:30:12 -07:00 |
MICHAEL JACKSON
|
bc609ca825
|
Combine fetchPackage and findFile into same middleware
|
2017-08-16 15:58:14 -07:00 |
MICHAEL JACKSON
|
b6b477e096
|
Combine parse + blacklist middleware
|
2017-08-16 15:58:14 -07:00 |
MICHAEL JACKSON
|
ce493823d3
|
Serve static assets out of /_static
|
2017-08-16 14:49:36 -07:00 |
MICHAEL JACKSON
|
65c2aa7357
|
Use function instead of =>
|
2017-08-16 11:58:01 -07:00 |
MICHAEL JACKSON
|
f542cdafcd
|
Consolidate db connection logic
|
2017-08-16 10:47:29 -07:00 |
MICHAEL JACKSON
|
16cef63d2b
|
Remove query validation
This is now done at the CDN level.
|
2017-08-16 10:21:05 -07:00 |
MICHAEL JACKSON
|
297db18c02
|
Remove support for v query param
|
2017-08-15 15:17:48 -07:00 |
MICHAEL JACKSON
|
08292b7c87
|
Cache redirects for 1 minute
|
2017-08-15 15:17:34 -07:00 |
MICHAEL JACKSON
|
f5be48f2f4
|
Add v query param
Fixes #52
|
2017-08-15 12:37:33 -07:00 |
MICHAEL JACKSON
|
9d15462006
|
Validate NPM package names in URLs
|
2017-08-15 11:56:08 -07:00 |
MICHAEL JACKSON
|
db53a296aa
|
Serve .flow files as text/plain
|
2017-08-12 20:37:29 -07:00 |
MICHAEL JACKSON
|
e4f5bfe4c0
|
Ignore symlinks when decompressing packages
|
2017-08-12 20:31:24 -07:00 |
MICHAEL JACKSON
|
b64f8e65f9
|
Try different method for making all files readable
|
2017-08-12 17:37:54 -07:00 |
MICHAEL JACKSON
|
db69375e9c
|
Add Cache-Tag headers
|
2017-08-12 17:23:40 -07:00 |
MICHAEL JACKSON
|
5f2805c2e9
|
Simplify server config
|
2017-08-12 10:38:50 -07:00 |
MICHAEL JACKSON
|
4653ee9e42
|
Fix failing test
|
2017-08-12 09:40:53 -07:00 |
MICHAEL JACKSON
|
99c1f7098a
|
Better error message for invalid queries
|
2017-08-12 09:26:06 -07:00 |
MICHAEL JACKSON
|
c5340f4c53
|
Use regular functions instead of arrows
|
2017-08-12 09:18:54 -07:00 |
MICHAEL JACKSON
|
ac26872341
|
More consistent log messages
|
2017-08-12 09:17:35 -07:00 |
MICHAEL JACKSON
|
cc737f6a9d
|
Consolidate Cloudflare API in single module
|
2017-08-12 09:14:46 -07:00 |
MICHAEL JACKSON
|
be4171ffff
|
Tweak import style
|
2017-08-11 20:27:37 -07:00 |