Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-05-24 | Node.js: renamed "require_shim" to "loader". | Oisin Canty | 1 | -3/+3 | |
2021-05-12 | Node.js: a shim for overriding "http" and "websocket" modules. | Oisin Canty | 1 | -3/+18 | |
Also added stubs for Server.address() This was done to prevent crashes in some popular frameworks like express Supports both CommonJS and the new ES Modules system syntax e.g: app.js: const http = require('http') app.mjs: import http from "http" Usage on Node 14.16.x and higher: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--loader", "unit-http/require_shim.mjs" "--require", "unit-http/require_shim", "app.js" ] } Usage on Node 14.15.x and lower: { "type": "external", "processes": {"spare": 0}, "working_directory": '/project', "executable": "/usr/bin/env", "arguments": [ "node", "--require", "unit-http/require_shim", "app.js" ] } | |||||
2020-12-08 | Tests: utils module introduced. | Andrei Zeliankou | 1 | -1/+1 | |
2020-12-06 | Tests: options moved to the separate class. | Andrei Zeliankou | 1 | -1/+1 | |
This change is necessary to separate the logic and prevent possible circular dependency. | |||||
2020-10-27 | Tests: fixed isolation detection. | Andrei Zeliankou | 1 | -1/+4 | |
2020-10-19 | Tests: fixed unit.log print. | Andrei Zeliankou | 1 | -4/+4 | |
2020-10-07 | Tests: minor fixes. | Andrei Zeliankou | 1 | -2/+2 | |
2020-10-01 | Tests: minor fixes. | Andrei Zeliankou | 1 | -12/+1 | |
Fixed temporary dir removing. Fixed printing path to log. Module checks moved to the separate file. | |||||
2020-09-16 | Tests: migrated to the pytest. | Andrei Zeliankou | 1 | -6/+7 | |
2020-05-15 | Tests: style. | Andrei Zeliankou | 1 | -0/+1 | |
2020-05-14 | Configuration: URI encoding in the "pass" option. | Valentin Bartenev | 1 | -1/+4 | |
This is useful to escape "/" in path fragments. For example, in order to reference the application named "foo/bar": { "pass": "applications/foo%2Fbar" } | |||||
2019-11-11 | Tests: added support for testing "user" and "group". | Tiago Natel | 1 | -2/+3 | |
2019-11-09 | Tests: fixed tests to run as root. | Tiago Natel | 1 | -2/+4 | |
- The mode of testdir was changed to allow reading from other users/groups. - The java multipart test now uploads the file into an app writable dir. - The build directory was made readable for other users. - The python environment test now uses the HOME env var instead of PWD because the latter is not set by the root shell (/bin/sh) by default. - The node `node_modules` directory now is copied into the `testdir` instead of using symlinks. | |||||
2019-09-14 | Tests: refactored prerequisites model. | Andrey Zelenkov | 1 | -0/+11 | |
2019-09-16 | Tests: style and minor fixes in java.py. | Andrey Zelenkov | 1 | -1/+0 | |
2019-04-26 | Tests: check application configuration loading. | Andrey Zelenkov | 1 | -1/+1 | |
2019-04-22 | Tests: using "pass" option instead of deprecated "application". | Valentin Bartenev | 1 | -1/+1 | |
2019-03-28 | Tests: unit module refactoring. | Andrey Zelenkov | 1 | -0/+34 | |