1
0
Fork 0
forked from svrjs/svrjs
Commit graph

602 commits

Author SHA1 Message Date
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
486820e1da Converted one more string to template string 2024-08-28 07:35:27 +02:00
17614dc6c7 Clone parsed JSON into process.serverConfig using deepClone() function 2024-08-28 07:27:40 +02:00
5bd369e38d Make deepClone create a null prototype object, and make process.serverConfig a null prototype object. 2024-08-28 07:20:28 +02:00
4b37e08bb5 Optimize deepClone function 2024-08-28 07:14:13 +02:00
fb887e4122 Replace deep clone in getCustomHeaders() function with shallow clone 2024-08-27 23:13:02 +02:00
63633d1de1 Fix the deepClone function 2024-08-27 22:52:36 +02:00
67d9ae524c Optimize deepClone function even more 2024-08-27 22:51:41 +02:00
c73ce5d9f7 Optimize deepClone function and lint out the codebase 2024-08-27 22:49:05 +02:00
47ad7006e9 Replace the iteration with object spread operator 2024-08-27 22:44:21 +02:00
4506d38eac Replace some ES5-style functions with ES6-style ones 2024-08-27 21:53:37 +02:00
12a4bcdc8a Remove unneeded global flag for /\.$/ regular expression 2024-08-27 21:49:06 +02:00