1
0
Fork 0
forked from svrjs/svrjs
Commit graph

553 commits

Author SHA1 Message Date
12a4bcdc8a Remove unneeded global flag for /\.$/ regular expression 2024-08-27 21:49:06 +02:00
30498263fc Convert a "bytes */" + filelen string to a template string 2024-08-27 21:39:51 +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
3eb7f3d4d9 Remove unneeded code 2024-08-27 18:45:56 +02:00
bced5927fe Replace ES5-style function in request handler with ES6-style ones 2024-08-27 18:23:57 +02:00
0c286bda43 Convert "Host name rewritten" message to template string 2024-08-27 18:04:32 +02:00
8589f0a6e4 Changed URL parser from WHATWG to custom one and adapted code accordingly 2024-08-27 18:03:47 +02:00
f247e7a035 Use template strings for user agent information log messages 2024-08-27 17:43:31 +02:00
fc14cfcc1b Remove some empty lines 2024-08-27 16:20:42 +02:00
de08646bba Add unknown licenses, but display "Unknown" as a license type 2024-08-27 16:04:43 +02:00
2783516c86 Don't add unknown licenses to the license page. 2024-08-27 16:02:50 +02:00
f739f5dbbe Fix cluster shim for Bun 2024-08-27 13:57:58 +02:00
9b01d46907 Fix the code for "${name} is running without mods and server-side JavaScript enabled. Web applications may not work as expected" message 2024-08-27 12:16:21 +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
7a14e4508c Remove unused "name" constant in noproxyHandler.js 2024-08-27 10:56:49 +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
79f8f2ddf9 Make change log for specific SVR.JS version generated by the build script 2024-08-27 10:49:36 +02:00
1001d6ca41 Change the documentation URL to a tentative one 2024-08-27 10:42:22 +02:00
8de05d87b5 Make the build script not pack two "svr.js" files in the zip file. 2024-08-27 10:38:26 +02:00
6f6fb1f89f Fix 500 Internal Server Error related to URL rewriting 2024-08-27 09:42:06 +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
33fde81ba1 Fix problems with loading .tar.gz mods 2024-08-27 09:15:15 +02:00
9a5d43d129 Change the ASCII logo 2024-08-26 20:01:32 +02:00
4077e6da5e Update package-lock.json 2024-08-26 19:48:03 +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
d92fc14991 Remove listenerEmitted flag from HTTP authentication message callback 2024-08-26 17:13:48 +02:00
5672c4a3d5 Fix static file served with wrong MIME type 2024-08-26 13:48:58 +02:00
4299a09c86 Change SVR.JS logo 2024-08-26 13:46:57 +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
686ec4924e Replace ES5-style functions in code for sending data to a statistics server with ES6-style functions 2024-08-26 10:03:51 +02:00
f403053c44 Add README 2024-08-26 09:59:49 +02:00
9d31eac2f9 Lint out the build script 2024-08-26 09:33:02 +02:00
f074612dda Replace one more "SVR.JS" with reference to svrjs.json file 2024-08-26 09:31:50 +02:00
2e9b0ed1c5 Move default SVR.JS-generate page CSS to the separate file 2024-08-26 09:30:52 +02:00
771327cd8a Add the "folder" directory in "testdir" directory in "assets" directory with a .gitkeep file 2024-08-26 09:23:14 +02:00
5197058e32 Fix the build script and make the output zip file compatible with SVR.JS installer 2024-08-26 09:21:14 +02:00
c4c207cd98 Make the build script transpile the utilities 2024-08-26 08:24:29 +02:00
2a9b47a318 Add NOTES file 2024-08-26 08:06:58 +02:00
1108393b59 Add LICENSE file 2024-08-26 08:00:04 +02:00
25c784181d Don't assign variables to public IP requests 2024-08-26 07:58:37 +02:00
914b38e0b0 Fix 500 Internal Server Error related to HTTP authentication 2024-08-26 07:57:07 +02:00
60b0ea6933 Lint out svrpasswd.js script 2024-08-26 07:38:42 +02:00
34afacd0d2 Replace "config.json" and "./config.json" with __dirname + "/config.json" in svrpasswd.js 2024-08-26 07:38:14 +02:00