1
0
Fork 0
forked from svrjs/svrjs
Commit graph

356 commits

Author SHA1 Message Date
9b3cb3100d Replaced deprecated "substr" function with "substring" 2024-04-10 09:15:23 +02:00
31c2a060ce GitHub test successful! 2024-04-08 18:32:25 +02:00
01e2ad023a Test GitHub mirror 2024-04-08 18:31:38 +02:00
Dorian Niemiec
6dc340e8bc
Update main.yml - change Git user name to "github" 2024-04-08 17:19:04 +02:00
Dorian Niemiec
c9cf370e0c
Update main.yml 2024-04-08 17:14:44 +02:00
Dorian Niemiec
4661cb9145
Create main.yml 2024-04-08 17:12:32 +02:00
8f67b72bc5 Make configJSON.enableCompression conditions consistent 2024-04-07 15:52:51 +02:00
98ed9d9242 Fix "enableCompression not found" error 2024-04-07 15:52:07 +02:00
9576dc6406 Fix problems with Brotli compression on Bun 2024-04-07 15:31:27 +02:00
8978515e49 Change the order of static file serving. 2024-04-07 09:27:02 +02:00
86234d4795 Optimize check for compressible data 2024-04-07 09:25:14 +02:00
80943bf695 Remove redundant fs.stat in static file serving function 2024-04-07 09:19:45 +02:00
e584cce286 Added CVE-2024-27982 notice 2024-04-03 18:56:01 +02:00
9bd64cc65a Disabled trailing slash redirection for proxy requests 2024-04-02 17:33:21 +02:00
ee568d252e Fix "Can't read property 1 of undefined" error. Also unify crash handlers. 2024-04-02 11:21:04 +02:00
1ef32bfe1d Change default configuration file 2024-04-02 11:01:13 +02:00
ccb90d07e5 Remove .kate-swp files 2024-04-02 11:00:47 +02:00
2cb4f8f491 Change default dontCompress regular expressions 2024-04-02 11:00:25 +02:00
6dd689e7d5 Update conditions for directory listing icons 2024-04-02 10:53:02 +02:00
0fc76179f3 Add .mov, .wma and .wmv files 2024-04-02 10:37:55 +02:00
b236064a9b Add default file formats not compressed list to SVR.JS itself. Also compressed audio/video file formats to one regular expression 2024-04-02 10:35:44 +02:00
b027443c47 Added more file formats to be excluded from compression 2024-04-02 10:30:26 +02:00
e3c1dcea0e Bun's crypto.scrypt doesn't block the event loop that much compared to crypto.pbkdf2 2024-04-01 21:48:19 +02:00
bac0e61487 Remove unneeded "listeningMessage.js" files 2024-03-31 19:30:13 +02:00
9eff118962 Change all of the internal calls to "callServerError" 2024-03-31 19:15:10 +02:00
51544f5732 Sort out the server error description list 2024-03-31 19:02:43 +02:00
36e57cfbef Collapse even more errno exit code 2024-03-31 18:58:19 +02:00
5638a45e6e Change code for Node.JS builds without crypto library 2024-03-31 18:55:27 +02:00
3b7271386c Make server listening error description list an object in the global scope 2024-03-31 18:51:39 +02:00
36b989f2ba Optimize server error handlers 2024-03-31 18:44:00 +02:00
428444a3a6 Fix bug with res.writeHead method 2024-03-29 10:58:50 +01:00
03a485c04a Fix bug with request domain names not showing in server logs 2024-03-19 17:12:28 +01:00
30367a1338 Fix the "SERVER MESSAGE" in SVR.JS log viewer and log highlighter 2024-03-17 21:39:21 +01:00
096121695c Update SVR.JS log viewer and log highlighter to reflect the changes in SVR.JS itself 2024-03-17 21:38:24 +01:00
be8cfe942e Make server message types bold 2024-03-17 21:32:39 +01:00
98de0a31dc Make "SVR.JS - a web server running on Node.JS" bold 2024-03-17 21:23:25 +01:00
155b808dbc Remove not applicable tests from test page 2024-03-17 15:20:44 +01:00
9a8f83bad9 Fix language error in the comment 2024-03-17 15:17:41 +01:00
cb81658318 Add "localhost" entry to the block list, when "block localhost" is typed into SVR.JS rather than "::ffff:localhost". 2024-03-17 15:13:07 +01:00
c85df7cd26 Make the improvement consistent with password verification function 2024-03-17 10:20:00 +01:00
32a92804fa Improve protection against user enumeration 2024-03-17 10:17:53 +01:00
184060fb79 Modified HTTP authentication functionality 2024-03-17 10:00:01 +01:00
7857e0e2fa Optimize non-standard code functionality 2024-03-17 09:30:26 +01:00
3493aa4d2d Remove <nocode> (non-standard) tags for bad (broken) directory listing entries 2024-03-17 00:59:53 +01:00
f1c74cb036 Optimized bad (broken) entry generation in directory listing 2024-03-17 00:57:47 +01:00
c44c796253 Optimized some request parameter logging 2024-03-17 00:54:47 +01:00
db621d9a88 Add more use of status code names in http.STATUS_CODES 2024-03-17 00:51:34 +01:00
4a09b14ff2 Change log message for client being in block list 2024-03-17 00:48:21 +01:00
ba21f655a4 Replaced client in the block list error message with generic 403 Forbidden error message 2024-03-17 00:46:32 +01:00
28244bf2c5 Replace some instances of "blacklist" (racist?) with "block list" 2024-03-17 00:39:21 +01:00