1
0
Fork 0
forked from svrjs/svrjs
Commit graph

613 commits

Author SHA1 Message Date
519c80f397 Convert one more string to template string 2024-09-01 09:51:29 +02:00
39a96cb339 Add link to GitHub repository to GitHub badge in README.md 2024-09-01 09:45:18 +02:00
cfe77b090c Add badges to README.md 2024-09-01 09:42:55 +02:00
99a42cc119 Add dots in README.md 2024-09-01 09:22:15 +02:00
ead2156af0 Update .gitignore 2024-09-01 09:09:16 +02:00
de7d804ca0 Lint out the static file serving and directory listing middleware test script 2024-08-31 20:50:10 +02:00
53dac33694 Add static file serving test 2024-08-31 20:48:55 +02:00
ce9550cc39 Add ".js" extension to one of the requires to tests for blocklist middleware 2024-08-31 17:28:14 +02:00
b6f17d2af4 Change the level of headings in Features section in README.md 2024-08-31 15:31:30 +02:00
65a3f373f0 Format npm scripts section in README.md 2024-08-31 14:29:12 +02:00
8a890bf4ea Open SVR.JS website in a new tab, when SVR.JS logo is clicked in README.md 2024-08-31 14:27:05 +02:00
5c96f87e7c Adjust the width of the SVR.JS logo in README.md 2024-08-31 14:18:45 +02:00
c35d913410 Change logo.png to one with "SVR.JS" name, adjust index.ejs for the new logo file, and adjust README.md 2024-08-31 14:15:55 +02:00
a3f76c56c1 Replace the width attribute with height attribute on logo in README.md 2024-08-31 14:11:44 +02:00
bb274ed045 Make the logo even smaller and remove the <big> tag in README.md 2024-08-31 14:10:53 +02:00
ad0d8b6f3d Replace CSS rule that increases font size with <big> tag in README.md 2024-08-31 14:09:33 +02:00
914fd6612b Make the logo smaller and make the description text bigger in README 2024-08-31 14:08:08 +02:00
70670ee396 Replace external logo with one in the source code 2024-08-31 14:05:41 +02:00
05e3749d53 Replace README with README.md 2024-08-31 14:04:05 +02:00
66fdced1a5 Add thumbnail cache files to .gitignore 2024-08-31 12:08:22 +02:00
4cd5cb4429 Add a newline to .gitignore 2024-08-31 12:04:04 +02:00
bffce3b1db Update README 2024-08-31 11:48:14 +02:00
70bebc1d1e Update dependencies 2024-08-30 22:48:53 +02:00
db238d8b0d Remove lockfiles from .gitignore 2024-08-30 22:21:56 +02:00
fb0da78488 Add test coverage npm script and add "coverage" folder to .gitignore 2024-08-30 22:18:22 +02:00
fdb3e32091 Add package manager lock files to .gitignore 2024-08-30 22:16:57 +02:00
dc71c3a50f Reorganize .gitignore 2024-08-30 22:15:39 +02:00
0450094c68 Add tests for middleware, add ".js" file extensions inside the require functions in tests for utility functions, make error handling in URL rewriting middleware better, and lint out static file serving and directory listing middleware 2024-08-30 22:11:16 +02:00
57ce4018dc Make the build script also pack empty directories into zip file 2024-08-30 08:06:09 +02:00
1444660d19 Fix "NaN" file sizes in directory listings 2024-08-30 06:39:06 +02:00
e293c08592 Convert even more strings to template strings 2024-08-30 06:29:32 +02:00
41901d9a27 Fix the forbidden path checking function, and add test cases, where it would fail before the fix 2024-08-29 19:37:03 +02:00
9f51366515 Simplify ES6-style functions 2024-08-29 19:27:04 +02:00
57d988831f Replace ES6-style functions in server-side JavaScript header with ES5-style functions 2024-08-29 19:19:11 +02:00
0aa4f9df2b Replace ES5-style functions with ES6-style ones 2024-08-29 19:17:28 +02:00
09e33a2265 Lint out the codebase 2024-08-29 19:15:49 +02:00
058c39ab0d Replace __dirname with process.dirname 2024-08-29 19:15:37 +02:00
979a30e938 Replace var's with let's and const's 2024-08-29 19:15:07 +02:00
3b4fd9641c Change blocklist-related commands to use .forEach() function instead of a for loop 2024-08-29 19:05:02 +02:00
7680bb8c27 Improved the test coverage for the URL sanitizer 2024-08-29 13:39:55 +02:00
ce2a73dbd3 Lint out the codebase 2024-08-28 21:46:20 +02:00
9fa194b33d Fix the regular expression in the URL parser 2024-08-28 21:45:36 +02:00
a33a86ee62 Fix bug with "ext" variable passed to .tar.gz mod handler 2024-08-28 18:28:07 +02:00
82b0510774 Optimize URL sanitizer 2024-08-28 16:17:06 +02:00
7fe503c07d Modify package.json - change the lint script (again) 2024-08-28 14:08:38 +02:00
1309e36151 Modify package.json - change the lint script 2024-08-28 14:03:31 +02:00
64b4e056cb Make sizify() function more concise and readable 2024-08-28 13:24:15 +02:00
0318047078 Optimize function related to forbidden path checking and hostname matching 2024-08-28 11:29:54 +02:00
32d29be09f Change the comment above the URL parser function 2024-08-28 11:09:26 +02:00
a4ca117020 Optimize fixNodeMojibakeURL function 2024-08-28 10:52:39 +02:00