|
6302bb0044
|
Fix problem with hexstrbase64
|
2024-08-25 15:50:56 +02:00 |
|
|
8d825403b9
|
Add default server-side JavaScript from SVR.JS 3.15.6 to assets directory.
|
2024-08-25 15:48:12 +02:00 |
|
|
f05fb50625
|
Add support for SVR.JS 2.x and 3.x server-side JavaScript.
|
2024-08-25 15:47:12 +02:00 |
|
|
23508a5292
|
Added support for SVR.JS 2.x and 3.x mods.
|
2024-08-25 15:40:53 +02:00 |
|
|
85e15e0517
|
Change ESLint configuration to use CommonJS modules instead of ES modules.
|
2024-08-25 14:27:22 +02:00 |
|
|
eebada191b
|
Lint out the codebase
|
2024-08-25 14:24:18 +02:00 |
|
|
6461728eee
|
Fix the description for URL parser test suite
|
2024-08-25 14:14:22 +02:00 |
|
|
88554a05d2
|
Modify the description for URL parser test suite
|
2024-08-25 14:13:27 +02:00 |
|
|
2884c33c8c
|
Rename urlParser files to urlParserLegacy
|
2024-08-25 14:12:13 +02:00 |
|
|
aa4e4d0c15
|
Add "Load SVR.JS mods as middleware" comment.
|
2024-08-25 14:05:19 +02:00 |
|
|
9d0a156c46
|
Add mod loader
|
2024-08-25 14:02:45 +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 |
|
|
7decde6b58
|
Lint out the codebase
|
2024-08-25 13:10:28 +02:00 |
|
|
fcec27fee1
|
Replace "SVR.JS" with references to svrjs.json file
|
2024-08-25 13:09:58 +02:00 |
|
|
04ab80cc95
|
Lint out the codebase
|
2024-08-25 12:56:36 +02:00 |
|
|
b79e165bed
|
Change proxy handler to end the socket with 500 Internal Server Error only when it is not destroyed.
|
2024-08-25 12:55:34 +02:00 |
|
|
5b91c21973
|
Add CONNECT request (proxy request) handler.
|
2024-08-25 12:54:36 +02:00 |
|
|
ddae2e468e
|
Fix Cannot assign to "currentMiddleware" because it is a constant error.
|
2024-08-25 12:38:15 +02:00 |
|
|
4b02efdeba
|
Add proxySafe flag to middleware.
|
2024-08-25 12:37:14 +02:00 |
|
|
fb7c5ed854
|
Move core middleware to the request handler.
|
2024-08-25 12:33:11 +02:00 |
|
|
988ff7c29c
|
Lint out the codebase
|
2024-08-25 11:57:45 +02:00 |
|
|
314cf247d4
|
Fix server string not displaying in the bad request response.
|
2024-08-25 11:55:42 +02:00 |
|
|
60615cdb5a
|
Move handlers to JavaScript files in handler directory.
|
2024-08-25 11:47:43 +02:00 |
|
|
e9e3bf5377
|
Fix eslint script to also lint index.js file.
|
2024-08-25 11:38:11 +02:00 |
|
|
726d161a64
|
Add client error handler, and lint out index.js
|
2024-08-25 11:32:03 +02:00 |
|
|
0085ff740d
|
Change reqerrhandler placeholder to emitting clientError event on the server.
|
2024-08-25 10:57:37 +02:00 |
|
|
478c3002f0
|
Remove "TODO: default handler" comment
|
2024-08-25 10:33:29 +02:00 |
|
|
bdd3e56bb1
|
Make the build script also copy hidden directories in assets directory.
|
2024-08-25 10:32:08 +02:00 |
|
|
0ceded2256
|
Add static file serving and directory listing functionality.
|
2024-08-25 10:23:37 +02:00 |
|
|
b5ad179097
|
Replace "SVR.JS" in status page with reference to svrjs.json
|
2024-08-25 09:47:36 +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 |
|
|
8a54834276
|
Lint out the codebase.
|
2024-08-25 09:25:06 +02:00 |
|
|
9bb77f9d98
|
Add more tests for ipBlockList function.
|
2024-08-25 09:23:55 +02:00 |
|
|
5d463c9f11
|
Fix a 500 HTTP error code related to URL rewriting functionality.
|
2024-08-25 09:14:38 +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 |
|
|
41bea903bb
|
Remove node_modules (they are ignored in .gitignore)
|
2024-08-25 07:23:45 +02:00 |
|
|
bafc08d965
|
Lint out the codebase.
|
2024-08-25 07:17:34 +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 |
|
|
983133017f
|
Add some TODO comments for middleware.
|
2024-08-24 20:47:23 +02:00 |
|
|
e94391f197
|
Lint out the codebase.
|
2024-08-24 20:45:17 +02:00 |
|
|
2075d41ab3
|
Fix URL sanitiation and rewriting-related functions removing query strings and hashes.
|
2024-08-24 20:44:43 +02:00 |
|
|
3613aa92d2
|
Add trailing slash redirection middleware.
|
2024-08-24 20:40:28 +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 |
|
|
8be7735e71
|
Refactor code for --reset parameter again.
|
2024-08-24 19:49:36 +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 |
|
|
918c0d3646
|
Added missing "testdir" directory to assets folder.
|
2024-08-24 19:43:40 +02:00 |
|