1
0
Fork 0
forked from svrjs/svrjs
Commit graph

580 commits

Author SHA1 Message Date
fe6853524e test: mock "path" module in forbidden path utility function unit tests 2024-09-02 13:08:05 +02:00
0fe9a505a6 chore: ignore more OS-specific files and temporary editor files 2024-09-02 08:00:50 +02:00
dad4496488 docs: update file structure in README.md 2024-09-02 07:42:28 +02:00
ea8f17eb7d build: configure lint-staged to only lint files from tests, src, and utils directory 2024-09-01 22:18:59 +02:00
7f1dd091c0 chore: remove .eslintcache 2024-09-01 22:07:56 +02:00
1309f91e90 chore: ignore .eslintcache 2024-09-01 22:03:32 +02:00
0dea0fa4b4 build: make the commit-msg Git hook executable 2024-09-01 22:02:31 +02:00
f287289af3 build: move lint-staged configuration from package.json to separate configuration file 2024-09-01 22:01:49 +02:00
72b803de4b build: add lint-staged and update Git hooks 2024-09-01 21:58:58 +02:00
c2eed2870d style: style the code according to new Prettier rules 2024-09-01 21:54:42 +02:00
48b112f98b build: add Prettier configuration 2024-09-01 21:53:53 +02:00
896d3ee1ff build: add commitizen and "cz" script 2024-09-01 21:43:19 +02:00
d555b2af80 build: add husky and commitlint for commit validation 2024-09-01 21:39:58 +02:00
ae04419988 chore: Update dependencies 2024-09-01 19:33:47 +02:00
5570042732 Remove unnecessary mock implementations and update web root prefixes middleware test description 2024-09-01 14:17:06 +02:00
087eff332f Change the link to GitHub repository in README.md to point to the "next" branch 2024-09-01 12:24:39 +02:00
5049d22153 Temporarily change the documentation URL in the "Documentation" badge in README.md to tentative documentation URL 2024-09-01 10:07:23 +02:00
519c80f397 Convert one more string to template string 2024-09-01 09:51:29 +02:00
39a96cb339 Add link to GitHub repository to GitHub badge in README.md 2024-09-01 09:45:18 +02:00
cfe77b090c Add badges to README.md 2024-09-01 09:42:55 +02:00
99a42cc119 Add dots in README.md 2024-09-01 09:22:15 +02:00
ead2156af0 Update .gitignore 2024-09-01 09:09:16 +02:00
de7d804ca0 Lint out the static file serving and directory listing middleware test script 2024-08-31 20:50:10 +02:00
53dac33694 Add static file serving test 2024-08-31 20:48:55 +02:00
ce9550cc39 Add ".js" extension to one of the requires to tests for blocklist middleware 2024-08-31 17:28:14 +02:00
b6f17d2af4 Change the level of headings in Features section in README.md 2024-08-31 15:31:30 +02:00
65a3f373f0 Format npm scripts section in README.md 2024-08-31 14:29:12 +02:00
8a890bf4ea Open SVR.JS website in a new tab, when SVR.JS logo is clicked in README.md 2024-08-31 14:27:05 +02:00
5c96f87e7c Adjust the width of the SVR.JS logo in README.md 2024-08-31 14:18:45 +02:00
c35d913410 Change logo.png to one with "SVR.JS" name, adjust index.ejs for the new logo file, and adjust README.md 2024-08-31 14:15:55 +02:00
a3f76c56c1 Replace the width attribute with height attribute on logo in README.md 2024-08-31 14:11:44 +02:00
bb274ed045 Make the logo even smaller and remove the <big> tag in README.md 2024-08-31 14:10:53 +02:00
ad0d8b6f3d Replace CSS rule that increases font size with <big> tag in README.md 2024-08-31 14:09:33 +02:00
914fd6612b Make the logo smaller and make the description text bigger in README 2024-08-31 14:08:08 +02:00
70670ee396 Replace external logo with one in the source code 2024-08-31 14:05:41 +02:00
05e3749d53 Replace README with README.md 2024-08-31 14:04:05 +02:00
66fdced1a5 Add thumbnail cache files to .gitignore 2024-08-31 12:08:22 +02:00
4cd5cb4429 Add a newline to .gitignore 2024-08-31 12:04:04 +02:00
bffce3b1db Update README 2024-08-31 11:48:14 +02:00
70bebc1d1e Update dependencies 2024-08-30 22:48:53 +02:00
db238d8b0d Remove lockfiles from .gitignore 2024-08-30 22:21:56 +02:00
fb0da78488 Add test coverage npm script and add "coverage" folder to .gitignore 2024-08-30 22:18:22 +02:00
fdb3e32091 Add package manager lock files to .gitignore 2024-08-30 22:16:57 +02:00
dc71c3a50f Reorganize .gitignore 2024-08-30 22:15:39 +02:00
0450094c68 Add tests for middleware, add ".js" file extensions inside the require functions in tests for utility functions, make error handling in URL rewriting middleware better, and lint out static file serving and directory listing middleware 2024-08-30 22:11:16 +02:00
57ce4018dc Make the build script also pack empty directories into zip file 2024-08-30 08:06:09 +02:00
1444660d19 Fix "NaN" file sizes in directory listings 2024-08-30 06:39:06 +02:00
e293c08592 Convert even more strings to template strings 2024-08-30 06:29:32 +02:00
41901d9a27 Fix the forbidden path checking function, and add test cases, where it would fail before the fix 2024-08-29 19:37:03 +02:00
9f51366515 Simplify ES6-style functions 2024-08-29 19:27:04 +02:00