30 Commits

Author SHA1 Message Date
Douglas Christopher Wilson 4e7785c620 Fix icons for MIME types with "+"
fixes #99
2021-04-01 16:40:42 -04:00
Douglas Christopher Wilson 2802ec6f2f build: supertest@3.4.2 2019-08-06 01:22:44 -04:00
Douglas Christopher Wilson 12a56a6f2e build: eslint@4.19.1 2019-07-04 19:43:32 -04:00
Douglas Christopher Wilson 9569cb6852 tests: move asserts so supertest can catch 2019-06-17 20:43:06 -04:00
Douglas Christopher Wilson 002a251122 Fix text and json responses to match html sorting 2019-05-02 23:35:13 -04:00
Joonas Rouhiainen d3ee7d8f55 Use 400 error on URI decode failure instead of 500
closes #85
closes #88
2019-04-27 23:18:36 -04:00
Douglas Christopher Wilson 92d67676ff build: support Node.js 10.x 2018-06-09 19:26:38 -04:00
Douglas Christopher Wilson 9ecc9a68f9 Set X-Content-Type-Options: nosniff header 2017-05-25 01:11:36 -04:00
Douglas Christopher Wilson d680e6302d Accept function value for template option
closes #20
closes #30
2015-06-14 23:07:52 -04:00
Douglas Christopher Wilson 420d159be7 Stat parent directory when necessary 2015-06-14 22:29:58 -04:00
Douglas Christopher Wilson 7381a1d145 Properly escape file names in HTML
fixes #28
2015-03-13 22:34:00 -04:00
Douglas Christopher Wilson d5a4b93449 Add link to root directory
closes #23
2014-12-10 23:40:44 -05:00
Douglas Christopher Wilson 856450da8f tests: use assert instead of should 2014-11-22 23:01:45 -05:00
Evgenus cececc8c2e Add dir argument to filter function
fixes #11
closes #18
2014-10-03 11:45:59 -04:00
Evgenus 5e050a7d23 Support using tokens multiple times
closes #19
2014-10-03 11:17:30 -04:00
Douglas Christopher Wilson 8880a8b80a Lookup icon by mime type for greater icon support 2014-09-21 00:10:45 -04:00
Douglas Christopher Wilson 83de752968 Resolve relative paths at middleware setup
fixes #15
2014-08-25 18:51:14 -04:00
Yad Smood db905a6d8a Fix Content-Length calculation for multi-byte file names
closes #12
2014-07-27 17:42:18 -04:00
Douglas Christopher Wilson f75c172d72 deps: should@~4.0.0 2014-05-29 15:03:58 -04:00
Douglas Christopher Wilson cb38e459ca tests: add more tests 2014-05-29 10:55:48 -04:00
Douglas Christopher Wilson 2edcc09345 Treat ENAMETOOLONG as code 414 2014-05-29 09:05:25 -04:00
Douglas Christopher Wilson 711194e063 Fix content negotiation when no Accept header 2014-05-29 08:35:04 -04:00
Douglas Christopher Wilson 4d19115d6b tests: add more basic tests 2014-05-28 17:22:13 -04:00
Douglas Christopher Wilson c00618fa62 Properly support all HTTP methods 2014-05-28 17:13:22 -04:00
Douglas Christopher Wilson db91ccac66 Throw TypeError for missing root argument 2014-05-28 17:01:53 -04:00
Douglas Christopher Wilson 6277105d11 build: add test coverage 2014-05-28 16:36:56 -04:00
Douglas Christopher Wilson 199f5d0205 tests: remove use of connect 2014-05-28 16:31:41 -04:00
Douglas Christopher Wilson 6e3f352894 tests: add custom handler tests 2014-05-24 23:15:03 -04:00
Chris O'Connor e40300aa86 Add stylesheet option
closes #2
2014-04-28 14:31:00 -04:00
Douglas Christopher Wilson c4213dc3e5 init from connect 2014-03-05 18:40:54 -05:00