Dorian Niemiec DorianNiemiecSVRJS
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 12:37:18 +02:00
4b02efdeba Add proxySafe flag to middleware.
fb7c5ed854 Move core middleware to the request handler.
Compare 2 commits »
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 11:57:46 +02:00
988ff7c29c Lint out the codebase
314cf247d4 Fix server string not displaying in the bad request response.
Compare 2 commits »
DorianNiemiecSVRJS pushed to main at svrjs/svrjs 2024-08-25 11:57:01 +02:00
f58233a014 Fix bug with config.json read errors being undefined.
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 11:47:52 +02:00
60615cdb5a Move handlers to JavaScript files in handler directory.
e9e3bf5377 Fix eslint script to also lint index.js file.
726d161a64 Add client error handler, and lint out index.js
0085ff740d Change reqerrhandler placeholder to emitting clientError event on the server.
Compare 4 commits »
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 10:33:35 +02:00
478c3002f0 Remove "TODO: default handler" comment
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 10:32:16 +02:00
bdd3e56bb1 Make the build script also copy hidden directories in assets directory.
0ceded2256 Add static file serving and directory listing functionality.
Compare 2 commits »
DorianNiemiecSVRJS pushed to main at svrjs/svrjs 2024-08-25 10:02:12 +02:00
1a5aa2f79d Fix even more bugs in partial content serving functionality
DorianNiemiecSVRJS pushed to main at svrjs/svrjs 2024-08-25 10:00:23 +02:00
7fa6a3dfb3 Fix bug in partial content serving functionality
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 09:47:40 +02:00
b5ad179097 Replace "SVR.JS" in status page with reference to svrjs.json
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 09:45:46 +02:00
695816b9d0 Lint out the codebase.
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 09:44:55 +02:00
55d5efe54f Add default handler checks, server status page, sizify() utility function, and move counters from core.js middleware to index.js.
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 09:25:10 +02:00
8a54834276 Lint out the codebase.
9bb77f9d98 Add more tests for ipBlockList function.
Compare 2 commits »
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 09:14:42 +02:00
5d463c9f11 Fix a 500 HTTP error code related to URL rewriting functionality.
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 09:12:43 +02:00
89e9b35829 Add ipBlockList utility function, blocklist functionality, and read from config.json functionality.
2f836231f4 Do some config.json TODO's
Compare 2 commits »
DorianNiemiecSVRJS pushed to main at svrjs/svrjs 2024-08-25 08:57:04 +02:00
036091a0c6 Fix bugs in the block list.
DorianNiemiecSVRJS pushed to main at svrjs/svrjs-blog 2024-08-25 08:04:23 +02:00
f682a5ad88 Add several new blog posts.
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 07:24:11 +02:00
41bea903bb Remove node_modules (they are ignored in .gitignore)
bafc08d965 Lint out the codebase.
Compare 2 commits »
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-25 07:13:48 +02:00
5fab894caf Move parts of middleware that checks for forbidden paths to separate utils file, and add tests for them.
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-24 20:47:34 +02:00
983133017f Add some TODO comments for middleware.
DorianNiemiecSVRJS pushed to next at svrjs/svrjs 2024-08-24 20:45:25 +02:00
e94391f197 Lint out the codebase.
2075d41ab3 Fix URL sanitiation and rewriting-related functions removing query strings and hashes.
3613aa92d2 Add trailing slash redirection middleware.
Compare 3 commits »