1
0
Fork 0
forked from svrjs/svrjs
Commit graph

613 commits

Author SHA1 Message Date
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
7133e750cc Rename utilities directory to utils. 2024-08-26 07:35:01 +02:00
343dce37ec Add utilities to ESLint check list, and lint out the utilities. 2024-08-26 07:34:07 +02:00
26fc7f3b08 Refactor the index.js file 2024-08-26 07:08:31 +02:00
39712a17f4 Lint out the codebase 2024-08-26 07:06:02 +02:00
1fbede69e5 Replace __dirname with process.dirname 2024-08-26 07:05:04 +02:00
9b8ccd31fc Remove commented out required modules 2024-08-26 07:04:47 +02:00
cbf11e7ed6 Replace "SVR.JS" with references to svrjs.json 2024-08-26 07:04:21 +02:00
43235f867a Discard unrecognized control messages (worker side) 2024-08-26 07:02:26 +02:00
233af94d28 Implement sending data to the statistics server 2024-08-26 07:01:52 +02:00
ef78a88a39 Implement listeningMessage() function, around with public IP obtaining 2024-08-26 07:00:08 +02:00
57f9c2ac99 Remove "TODO: configuration from config.json" comment 2024-08-26 06:37:38 +02:00
1403a37dea Remove notifications about broken mods and server-side JavaScript outside the start function 2024-08-26 06:36:57 +02:00
1f043d774a Replace code invoke the start() function with one with error handler 2024-08-26 06:35:25 +02:00
83418dbb10 Remove "TODO: after implementing clustering in new SVR.JS" comment 2024-08-26 06:34:06 +02:00
57bb2293b9 Fix "block" and "unblock" commands 2024-08-26 06:32:54 +02:00
a02e976dfe Added configuration file saving. 2024-08-26 06:26:22 +02:00
87cecd6cf3 Remove more TODO comments 2024-08-26 06:23:24 +02:00
9d1e6e82ba Remove some TODO comments 2024-08-26 06:21:50 +02:00
cc859e0319 Enable saving the configuration file when process is exiting 2024-08-26 06:20:23 +02:00
601eed5f62 Lint out the codebase 2024-08-26 06:19:53 +02:00
a82f5ac010 Discard unrecognized control messages (main-side) 2024-08-26 06:19:27 +02:00
96dfe853d4 Implement configuration file saving interval 2024-08-26 06:17:51 +02:00
ab98415030 Remove commented code snippet that's already in src/handlers/serverErrorHander.js file 2024-08-26 06:12:45 +02:00
662528847a Add termination of unused workers. 2024-08-26 06:11:19 +02:00
083b2794df Uncomment the code related to sending the "stop" command to workers when Ctrl+C is pressed 2024-08-25 20:45:40 +02:00
0eb6cf8c07 Fix --single-threaded flag 2024-08-25 20:38:35 +02:00
fca7fb78d6 Add "restart" command placeholder. 2024-08-25 20:37:25 +02:00
4a528120be Fix 3eacbdb397 commit 2024-08-25 20:21:48 +02:00
3eacbdb397 Add handler for "\x12CLOSE" messages 2024-08-25 20:20:15 +02:00
3de85443d5 Add server console, and fixed listening error message handler 2024-08-25 20:18:35 +02:00
a55b123926 Lint out the codebase 2024-08-25 19:46:17 +02:00
adfd3ff809 Enable hangup check and restart 2024-08-25 19:45:02 +02:00
e85f53197c Add "let" before "i=0" for logo iterative loop 2024-08-25 19:40:27 +02:00
9db7ffdaec Add reqcounterKillReq variable 2024-08-25 19:39:49 +02:00
99583731d9 Move getWorkerCountToFork and forkWorkers functions to global scope 2024-08-25 19:37:22 +02:00
4f565d1550 Add addListenersToWorker() function 2024-08-25 19:35:58 +02:00
a92616b0a4 Partially implemented clustering. 2024-08-25 19:28:20 +02:00
1f5602626a Add stop command 2024-08-25 19:23:01 +02:00
b36a301e03 Add close and open commands. 2024-08-25 19:20:15 +02:00
85debce9c9 Lint out the codebase 2024-08-25 19:17:54 +02:00