|
c2eed2870d
|
style: style the code according to new Prettier rules
|
2024-09-01 21:54:42 +02:00 |
|
|
1444660d19
|
Fix "NaN" file sizes in directory listings
|
2024-08-30 06:39:06 +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 |
|
|
979a30e938
|
Replace var's with let's and const's
|
2024-08-29 19:15:07 +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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
189fbdc617
|
Replace Object.assign for arrays with spread operator.
|
2024-08-27 21:14:58 +02:00 |
|
|
b3cd8d699d
|
Replace shallow cloning with deep cloning when needed. Also create deep cloning JavaScript file and corresponding tests
|
2024-08-27 21:09:43 +02:00 |
|
|
8589f0a6e4
|
Changed URL parser from WHATWG to custom one and adapted code accordingly
|
2024-08-27 18:03:47 +02:00 |
|
|
f739f5dbbe
|
Fix cluster shim for Bun
|
2024-08-27 13:57:58 +02:00 |
|
|
ff66e26af0
|
Change regular expression for createRegex() function
|
2024-08-27 12:06:23 +02:00 |
|
|
fae1b661ed
|
Fix or ignore all ESLint errors
|
2024-08-27 11:28:24 +02:00 |
|
|
2872be5b5b
|
Lint out the codebase
|
2024-08-27 11:03:51 +02:00 |
|
|
fd5e8ba70e
|
Lint out the codebase
|
2024-08-27 10:55:24 +02:00 |
|
|
5a3e6765f1
|
Replace ES5-style functions with ES6-style ones
|
2024-08-27 10:54:08 +02:00 |
|
|
1c94a990fa
|
Use spread operator and change ES5-style functions to ES6-style ones in cluster shim for Bun
|
2024-08-27 09:31:23 +02:00 |
|
|
4eb2987f01
|
Fix HTML MIME type in cached requests, regardless of the extension
|
2024-08-27 09:27:35 +02:00 |
|
|
2f783ce1a2
|
Lint out the codebase
|
2024-08-26 19:23:52 +02:00 |
|
|
488bee1a95
|
Replace some strings with template strings
|
2024-08-26 19:21:52 +02:00 |
|
|
d1523cea3c
|
Fix the sendStatistics.js file
|
2024-08-26 13:32:21 +02:00 |
|
|
460829e0be
|
Move code for sending the data to the statistics server to separate utility function
|
2024-08-26 10:14:21 +02:00 |
|
|
85debce9c9
|
Lint out the codebase
|
2024-08-25 19:17:54 +02:00 |
|
|
0ea53fdf96
|
Lint out the codebase, add SVRJSFork() function, networking-related code, and ipSubnetUtils.js utility functions file and corresponding unit tests
|
2024-08-25 19:17:19 +02:00 |
|
|
44e4c15b30
|
Fix parsePostData function in legacy mod wrapper.
|
2024-08-25 16:24:34 +02:00 |
|
|
7d4dcdd2a6
|
Fix problems executing SVR.JS 2.x and 3.x mods, and server-side JavaScript
|
2024-08-25 15:53:45 +02:00 |
|
|
23508a5292
|
Added support for SVR.JS 2.x and 3.x mods.
|
2024-08-25 15:40:53 +02:00 |
|
|
2884c33c8c
|
Rename urlParser files to urlParserLegacy
|
2024-08-25 14:12:13 +02:00 |
|
|
ed71618856
|
Lint out SHA256 function
|
2024-08-25 13:18:19 +02:00 |
|
|
b5de4b79c5
|
Make generateServerString() function replace spaces in name property of svrjs.json with dashes.
|
2024-08-25 13:13:16 +02:00 |
|
|
695816b9d0
|
Lint out the codebase.
|
2024-08-25 09:45:42 +02:00 |
|
|
55d5efe54f
|
Add default handler checks, server status page, sizify() utility function, and move counters from core.js middleware to index.js.
|
2024-08-25 09:44:53 +02:00 |
|
|
89e9b35829
|
Add ipBlockList utility function, blocklist functionality, and read from config.json functionality.
|
2024-08-25 09:12:39 +02:00 |
|
|
2f836231f4
|
Do some config.json TODO's
|
2024-08-25 08:32:49 +02:00 |
|
|
5fab894caf
|
Move parts of middleware that checks for forbidden paths to separate utils file, and add tests for them.
|
2024-08-25 07:13:41 +02:00 |
|
|
c1900ee128
|
Add non-standard codes and HTTP authentication middleware, and SHA256 utility function.
|
2024-08-24 20:32:06 +02:00 |
|
|
eb0d30f307
|
Lint out the codebase.
|
2024-08-24 19:50:01 +02:00 |
|
|
2e8a4fb042
|
Refactor command line argument parsing code, and split deleteFolderRecursive function into one JavaScript file.
|
2024-08-24 19:47:48 +02:00 |
|
|
11e7247869
|
Replace __dirname with process.dirname (declared as __dirname in index.js)
|
2024-08-24 19:29:12 +02:00 |
|