1
0
Fork 0
forked from svrjs/svrjs
Commit graph

16 commits

Author SHA1 Message Date
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
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
9bb77f9d98 Add more tests for ipBlockList function. 2024-08-25 09:23:55 +02:00
89e9b35829 Add ipBlockList utility function, blocklist functionality, and read from config.json functionality. 2024-08-25 09:12:39 +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
c1900ee128 Add non-standard codes and HTTP authentication middleware, and SHA256 utility function. 2024-08-24 20:32:06 +02:00
f552b34878 Lint out the codebase. 2024-08-24 17:23:06 +02:00
f48125f4f2 Move matchHostname function to separate source file, and add unit tests for the function. 2024-08-24 17:21:09 +02:00
a49dba73fe Lint out the codebase. 2024-08-24 08:07:31 +02:00
1929641ba7 Add web root postfixes middleware 2024-08-24 08:02:11 +02:00
ee4c3dcda6 Add some core functionality to SVR.JS 2024-08-23 19:58:15 +02:00
fbdb3f93d4 Add URL sanitizer. Also add eslint-plugin-jest to ESLint configuration. 2024-08-23 17:43:37 +02:00
6564ccbe83 Rewritten SVR.JS from scratch - the build system for the new SVR.JS is set up, but the source is just placeholders. 2024-08-23 17:05:10 +02:00