38 Commits

Author SHA1 Message Date
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
c5156be276 Server timeout is 10s 2018-07-15 21:13:56 -07:00
Michael Jackson
d1a6db5747 Force shutdown of workers after 5s 2018-07-15 09:17:46 -07:00
Michael Jackson
700bb109a1 Add release info to Raven config 2018-07-14 10:46:18 -07:00
Michael Jackson
139207ec86 Add Sentry 2018-07-14 10:33:36 -07:00
Michael Jackson
ffde00c444 Move stats.json into the root 2018-07-05 17:08:56 -07:00
Michael Jackson
da06a5b97f Add server config, move plugin file 2018-05-17 10:10:33 -07:00
MICHAEL JACKSON
d6f2bc089a Better dev server integration 2018-02-16 16:00:06 -08:00
MICHAEL JACKSON
b06de06d89 Style tweaks 2017-11-25 20:28:55 -08:00
MICHAEL JACKSON
293786d182 Move some files around 2017-09-13 08:24:49 -07:00
MICHAEL JACKSON
17f6a6bbe9 Use startServer function 2017-08-18 23:10:04 -07:00
MICHAEL JACKSON
19d060f753 Add some server tests 2017-08-18 17:33:27 -07:00
MICHAEL JACKSON
d63288fb27 Increase grace period for server shutdown 2017-08-17 11:56:57 -07:00
MICHAEL JACKSON
db69375e9c Add Cache-Tag headers 2017-08-12 17:23:40 -07:00
MICHAEL JACKSON
3e10fabe43 Remove Trace, add Sentry 2017-04-24 14:39:53 -07:00
MICHAEL JACKSON
1ca8318654 Add Trace 2017-04-21 08:47:19 -07:00
MICHAEL JACKSON
0f5c584104 Rewrite frontend using create-react-app 2017-03-25 23:57:22 -07:00
Michael Jackson
5f2615f2ed Do not use Babel's register hook in production 2016-05-16 15:12:49 -07:00
Michael Jackson
a14c6cd90b Use separate modules, get config from env 2016-04-30 16:52:43 -07:00
Michael Jackson
81fe71c369 Fix package name matching 2016-04-12 11:24:37 -07:00
Michael Jackson
06f6a74de7 Tweak function name 2016-04-12 05:28:33 -07:00
Michael Jackson
0886f7ac6a Use arrow functions 2016-04-12 05:27:05 -07:00
Michael Jackson
2f5f4169a5 Change key name 2016-04-12 05:22:00 -07:00
Michael Jackson
dd04ece3d0 Log reqs based on package as well 2016-04-12 05:20:22 -07:00
Michael Jackson
5435b3c788 Try different syntax 2016-04-12 05:10:31 -07:00
Michael Jackson
f3c5dcee2b Store request stats in a sorted set 2016-04-12 05:04:55 -07:00
Michael Jackson
277e938884 Only log request paths, not search strings 2016-04-12 04:50:26 -07:00
Michael Jackson
8e1b8edca7 Log successful requests to redis instance if available 2016-04-12 04:46:23 -07:00
Michael Jackson
3180839192 Add URL logging option 2016-04-12 04:35:01 -07:00
Michael Jackson
396906dde1 Update npm-http-server dep 2016-03-26 00:09:07 -07:00
Michael Jackson
d452d57d86 Cache redirects for 5 mins 2016-03-18 12:45:49 -07:00
Jason Miller
babea5e02c Fix options not being passed to npm-http-server
`npm-http-server` expects options as a hash, but they were being passed as arguments. This did not affect npmcdn.com because the defaults were being used anyway, but I ran into it when setting it up internally at my company. #TrolledByMJ again
2016-03-15 13:40:32 -04:00
Michael Jackson
fe116a5cae Tweak log message 2016-03-06 19:29:49 -08:00
Michael Jackson
187ee39b1c Add more npm config vars 2016-03-05 21:59:53 -08:00
Michael Jackson
c18640f421 Use const instead of var 2016-02-21 22:05:44 -08:00
Michael Jackson
dc1a5d1f7d Add port npm config var 2016-02-21 19:00:11 -08:00
Michael Jackson
eeb7b62dce Initial commit 2016-02-21 18:52:19 -08:00