gina 0.7.10 → 0.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -1
- package/README.md +59 -27
- package/ROADMAP.md +2 -0
- package/framework/v0.7.11/VERSION +1 -0
- package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.js +533 -34
- package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js +768 -0
- package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.7.10 → v0.7.11}/core/config.js +51 -11
- package/framework/v0.7.11/core/config.param-bindings.js +159 -0
- package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.js +341 -31
- package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-swig.js +187 -46
- package/framework/v0.7.11/core/controller/layout-source.js +158 -0
- package/framework/{v0.7.10 → v0.7.11}/core/gna.js +18 -0
- package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/src/main.js +319 -4
- package/framework/{v0.7.10 → v0.7.11}/core/router.js +50 -3
- package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.js +9 -0
- package/framework/{v0.7.10 → v0.7.11}/core/server.js +23 -0
- package/framework/{v0.7.10 → v0.7.11}/lib/i18n/src/main.js +22 -4
- package/framework/{v0.7.10 → v0.7.11}/lib/index.js +6 -0
- package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/main.js +25 -1
- package/framework/{v0.7.10 → v0.7.11}/lib/metrics/src/main.js +81 -2
- package/framework/{v0.7.10 → v0.7.11}/lib/routing/src/main.js +14 -4
- package/framework/v0.7.11/lib/stall-watchdog/package.json +20 -0
- package/framework/v0.7.11/lib/stall-watchdog/src/detector.js +76 -0
- package/framework/v0.7.11/lib/stall-watchdog/src/frames.js +197 -0
- package/framework/v0.7.11/lib/stall-watchdog/src/main.js +743 -0
- package/framework/v0.7.11/lib/stall-watchdog/src/worker.js +788 -0
- package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/s3.js +65 -10
- package/framework/{v0.7.10 → v0.7.11}/package.json +1 -1
- package/gna.js +4 -4
- package/llms.txt +20 -18
- package/package.json +6 -6
- package/schema/settings.json +36 -0
- package/types/index.d.ts +31 -0
- package/framework/v0.7.10/VERSION +0 -1
- package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -758
- package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/AUTHORS +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/html/static.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/config.requirements-anchor.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/storage-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/duckdb/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/duckdb/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/job-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/param-redact.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/job-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/kv-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/settle-once.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/job-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/kv-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/content.encoding +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-nunjucks-async.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-nunjucks.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-swig-async.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-xml.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/inline-script.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/preload-hints.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/release-banner.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/render-data.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/render-session.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/dev/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/currency.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/mime.types +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/model/entity.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/model/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/model/template/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/server.express.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.early-answer.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.rapid-reset.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/server.route-candidates.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/status.codes +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/_gitignore +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/env.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/console.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/context.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/data/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/data/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/json/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/json/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/path.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/prototypes.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/task.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/text.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/admin/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/admin/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/async/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/async/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/audit/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/audit/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/audit-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authn/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/lockout.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/totp.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authz-gate/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authz-gate/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cache/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cache/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cache/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/verify.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/boot-lines.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/name.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/start-status.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/types.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/clear.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/infer.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/models.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/test.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/ps.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/stop.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/args.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/namespace.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/reference-scan.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/scaffold.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/rename.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/inc/name.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/child-failure.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/listen-error.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/ps-titles.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/reset.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/_host.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/build.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/run.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/man-render.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/kill.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/backup.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/inc/name.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/restore.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/inc/name.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/gc.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/stats.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/verify.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd-status-format/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd-status-format/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/collection/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/collection/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/collection/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/collection/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/conf-view/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/conf-view/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/config.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-config/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-config/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-error/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-error/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cron/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cron/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/domain/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/domain/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto-pipe/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto-pipe/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto-types/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto-types/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/duration/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/duration/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/error-ref/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/error-ref/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/generator/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/i18n/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/idempotency/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/idempotency/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/image-build/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/image-build/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-events/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-events/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/instrument/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/job/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/job/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/job-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/json-config-header/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/json-config-header/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/kv/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/kv/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/kv-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/lane/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/lane/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/loading-state/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/loading-state/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/redact.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/maintenance/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/maintenance/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/math/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/merge/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/merge/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/message-validator/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/message-validator/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/metrics/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/model.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/money/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/money/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/multipart/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/multipart/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/net-locality/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/net-locality/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/priority/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/priority/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/proc.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/push/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/push/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/rate-limit/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/rate-limit/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/release-watch/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/release-watch/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/exec.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/file.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/declaration.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/env-file.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/sources.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/security-headers-emitter/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/security-headers-emitter/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/session-lifetime/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/session-lifetime/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/shell.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/sqlite-driver.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/sri/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/sri/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/state.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local-cas.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local-stream.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/meta-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/util.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/loaders/http.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/loaders/memory.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/url/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/url/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/url/routing.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/uuid/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/validator.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/watcher/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/watcher/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-framing/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-framing/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-query/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-query/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-session/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-session/src/main.js +0 -0
|
@@ -2096,7 +2096,18 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
2096
2096
|
transportError : 'Transport failure: the request did not complete',
|
|
2097
2097
|
// #B726 (gh#83 part 3) — spoken once when a submit waits for one of its form's staged
|
|
2098
2098
|
// uploads to finish; the submit is sent when the last of them settles.
|
|
2099
|
-
uploadPending : 'Waiting for the upload to finish…'
|
|
2099
|
+
uploadPending : 'Waiting for the upload to finish…',
|
|
2100
|
+
// #B1094 — a selection that a staged input refuses before any request (see
|
|
2101
|
+
// refuseStagedSelection): written into the input's error slot and announced. A refusal has
|
|
2102
|
+
// no server message to announce, so unlike a staging error it needs a string of its own.
|
|
2103
|
+
// `%s` is the names of the refused files.
|
|
2104
|
+
uploadNotSent : '%s was not uploaded',
|
|
2105
|
+
// The client checks (refuseStagedSelection): files refused before staging because the
|
|
2106
|
+
// input's `accept` excludes their type, or because they are over its
|
|
2107
|
+
// `data-gina-form-upload-max-size`. Written and announced as `uploadNotSent` is, one line
|
|
2108
|
+
// per reason; `%s` is the names of the files refused for that reason.
|
|
2109
|
+
uploadTypeRefused : '%s was not uploaded: this type of file is not accepted',
|
|
2110
|
+
uploadSizeRefused : '%s was not uploaded: the file is too large'
|
|
2100
2111
|
};
|
|
2101
2112
|
|
|
2102
2113
|
/**
|
|
@@ -5906,7 +5917,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5906
5917
|
* resyncStagedUploadGate — #B1058: re-derives the gate of a staged file input's form (see
|
|
5907
5918
|
* revalidateSilently) when the files the input holds change: a selection, a staging settle, a
|
|
5908
5919
|
* reset or a delete. The live check does it for a field the user edits; a file input has none.
|
|
5909
|
-
* Only for an input that has a rule,
|
|
5920
|
+
* Only for an input that has a rule, or a form whose rules hold a `_case_` key (a condition's rule can
|
|
5921
|
+
* judge the input, #B1095): the cases where the gate can depend on it. Without it a
|
|
5910
5922
|
* required staged input kept the submit trigger marked not ready after its staging, so a click
|
|
5911
5923
|
* only re-synced the trigger and sent nothing, and a click made while the file uploaded was lost.
|
|
5912
5924
|
*
|
|
@@ -5922,6 +5934,16 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5922
5934
|
var $form = ( $input && $input.form ) ? $input.form : null;
|
|
5923
5935
|
var formId = ( $form && typeof($form.getAttribute) == 'function' ) ? $form.getAttribute('id') : null;
|
|
5924
5936
|
var $formRecord = ( formId && typeof(instance.$forms[formId]) != 'undefined' ) ? instance.$forms[formId] : null;
|
|
5937
|
+
// #B1095 — a `_case_` condition's rule can judge the input too: a form whose rules hold one is
|
|
5938
|
+
// re-validated, whatever the input's own rules
|
|
5939
|
+
if ( $formRecord && $formRecord.rules ) {
|
|
5940
|
+
for (var ruleKey in $formRecord.rules) {
|
|
5941
|
+
if ( /^_case_/.test(ruleKey) ) {
|
|
5942
|
+
revalidateSilently($formRecord);
|
|
5943
|
+
return;
|
|
5944
|
+
}
|
|
5945
|
+
}
|
|
5946
|
+
}
|
|
5925
5947
|
if ( !$formRecord || !$formRecord.rules || typeof($formRecord.rules[$input.name]) == 'undefined' ) {
|
|
5926
5948
|
return;
|
|
5927
5949
|
}
|
|
@@ -8591,6 +8613,220 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
8591
8613
|
checkAction($el, 'data-gina-form-upload-delete-action', $errorContainer);
|
|
8592
8614
|
}
|
|
8593
8615
|
|
|
8616
|
+
/**
|
|
8617
|
+
* refuseStagedSelection — refuses, at its `change`, a selection that a staged file input cannot
|
|
8618
|
+
* send or does not accept, before it counts as held (`pendingFiles`, the submit gate) and before
|
|
8619
|
+
* any request. Two checks, in this order:
|
|
8620
|
+
* - #B1094: the input has no `data-gina-form-upload-action`, which the bind fills in from the
|
|
8621
|
+
* `upload-to-tmp-xml` route when there is one (checkUploadUrlActions). Without it, the staging
|
|
8622
|
+
* used to go ahead: the virtual form posted the file to `/null`, and the 404 failed the staging
|
|
8623
|
+
* as if the server had refused it, while the selection counted as held until that answer. Every
|
|
8624
|
+
* file is refused: `reason: 'action'`, the message `uploadNotSent`.
|
|
8625
|
+
* - The client checks: a file whose type the input's `accept` excludes, or whose size is over its
|
|
8626
|
+
* `data-gina-form-upload-max-size`, refuses the whole selection. `accept` is split on commas and
|
|
8627
|
+
* each token trimmed and lowercased; a `.ext` token matches the end of the lowercased name, a
|
|
8628
|
+
* `type/*` token the start of the lowercased type (a `*` type matches any file, one with no type
|
|
8629
|
+
* included), any other `type/subtype` token the type exactly, so a file with no type matches an
|
|
8630
|
+
* extension token or a `*` type only; a token of another shape (`jpg`, a token with parameters)
|
|
8631
|
+
* is ignored with a dev warning, and an `accept` holding no valid token checks no type. The size
|
|
8632
|
+
* attribute reads as the server reads `upload.maxFieldsSize`: a number with an optional `b`,
|
|
8633
|
+
* `kb`/`k`, `mb`/`m` or `gb`/`g` (1024-based), a bare number meaning megabytes; `0` and an empty
|
|
8634
|
+
* value set no limit, and a value that does not parse checks no size, with a dev warning. The
|
|
8635
|
+
* type is checked first: a file refused for its type is not checked for its size. The message
|
|
8636
|
+
* names the files of each reason,
|
|
8637
|
+
* `uploadTypeRefused` then `uploadSizeRefused`; the result's `reason` is `'type'` when a file was
|
|
8638
|
+
* refused for its type, else `'size'`, and `files` names every refused file. The server stays the
|
|
8639
|
+
* authority: these checks only spare a request.
|
|
8640
|
+
*
|
|
8641
|
+
* A refusal sends nothing, and leaves as they were the files the input already holds (their
|
|
8642
|
+
* previews, their reset and delete links, their hidden fields) and a staging of its earlier
|
|
8643
|
+
* selection still in flight, which takes the input over if it succeeds. The message, one line per
|
|
8644
|
+
* reason (`%s` = the names, joined with `, `; each line translatable through `gina.config.a11y`),
|
|
8645
|
+
* is written as text into the input's error slot (`data-gina-form-upload-error`, default
|
|
8646
|
+
* `<id>-error`), one paragraph a line, and announced through the form's live region, its lines
|
|
8647
|
+
* joined with `. `; without a slot it is announced, and in dev mode a warning names the missing
|
|
8648
|
+
* element. The input's dropzone, when it has one, goes back to `idle`. In dev mode a console error
|
|
8649
|
+
* names the reason. The input is emptied once the current `change` dispatch is over, so the
|
|
8650
|
+
* listeners that run after this one still read the selection, and only while it still holds that
|
|
8651
|
+
* selection. Last, the input's `data-gina-form-upload-on-error` callback (by default
|
|
8652
|
+
* `onGenericXhrResponse`, the name the virtual form would register) runs as an
|
|
8653
|
+
* `.on('error.hform', …)` handler does, with `(event, result)`: `event` is a non-bubbling
|
|
8654
|
+
* `error.hform` event dispatched on the input, whose `detail` is `result`, `{ refused: true,
|
|
8655
|
+
* reason, files: [names], error: message, transportError: false }`. Called from a listener of that
|
|
8656
|
+
* event, a callback that throws is reported as any listener's error is, and the refusal is
|
|
8657
|
+
* complete by then. A refusal dispatches no `error.<id>` event: no virtual form carries the
|
|
8658
|
+
* selection it refuses.
|
|
8659
|
+
*
|
|
8660
|
+
* @inner
|
|
8661
|
+
* @private
|
|
8662
|
+
* @param {HTMLInputElement} $el - the staged file input whose `change` is being handled
|
|
8663
|
+
* @param {FileList} files - the selection the `change` carries, not empty
|
|
8664
|
+
* @returns {boolean} true when the selection is refused
|
|
8665
|
+
*
|
|
8666
|
+
* @example
|
|
8667
|
+
* // in the change listener, after its empty-selection return:
|
|
8668
|
+
* // if ( refuseStagedSelection($el, files) ) return;
|
|
8669
|
+
*/
|
|
8670
|
+
var refuseStagedSelection = function($el, files) {
|
|
8671
|
+
var names = [];
|
|
8672
|
+
for (var n = 0, nLen = files.length; n < nLen; ++n) {
|
|
8673
|
+
names.push(files[n].name);
|
|
8674
|
+
}
|
|
8675
|
+
|
|
8676
|
+
/**
|
|
8677
|
+
* Writes a refusal and delivers it, as refuseStagedSelection describes.
|
|
8678
|
+
*
|
|
8679
|
+
* @inner
|
|
8680
|
+
* @param {object} result - `{ refused, reason, files, error, transportError }`
|
|
8681
|
+
* @param {Array<string>} lines - the message, one line per reason
|
|
8682
|
+
* @param {string} why - the reason, for the dev console error
|
|
8683
|
+
* @returns {boolean} true
|
|
8684
|
+
*/
|
|
8685
|
+
var decline = function(result, lines, why) {
|
|
8686
|
+
var errorId = $el.getAttribute('data-gina-form-upload-error') || ( ($el.id) ? $el.id + '-error' : null )
|
|
8687
|
+
, $error = ( errorId ) ? document.getElementById(errorId) : null
|
|
8688
|
+
, cbName = $el.getAttribute('data-gina-form-upload-on-error') || 'onGenericXhrResponse'
|
|
8689
|
+
;
|
|
8690
|
+
// as onUpload writes a staging error (#B727): text, never markup
|
|
8691
|
+
if ( $error ) {
|
|
8692
|
+
$error.textContent = '';
|
|
8693
|
+
for (var l = 0, lLen = lines.length; l < lLen; ++l) {
|
|
8694
|
+
var _refusalP = document.createElement('p');
|
|
8695
|
+
_refusalP.textContent = lines[l];
|
|
8696
|
+
$error.appendChild(_refusalP);
|
|
8697
|
+
}
|
|
8698
|
+
fadeIn($error);
|
|
8699
|
+
} else if (envIsDev) {
|
|
8700
|
+
try { console.warn('[FormValidator] upload `#'+ $el.id +'`: no error element `#'+ errorId +'`; the refusal is announced, not shown'); } catch (warnErr) {}
|
|
8701
|
+
}
|
|
8702
|
+
if ( $el.form ) {
|
|
8703
|
+
announceA11yError($el.form, result.error);
|
|
8704
|
+
}
|
|
8705
|
+
updateUploadDropzoneState($el.getAttribute('data-gina-form-upload-dropzone') || null, 'idle');
|
|
8706
|
+
if (envIsDev) {
|
|
8707
|
+
try { console.error('[FormValidator] upload `#'+ $el.id +'`: '+ why); } catch (errLogErr) {}
|
|
8708
|
+
}
|
|
8709
|
+
// after this `change` dispatch, and only while the input still holds the refused selection
|
|
8710
|
+
setTimeout(function () {
|
|
8711
|
+
if ( $el.files === files ) {
|
|
8712
|
+
$el.value = '';
|
|
8713
|
+
}
|
|
8714
|
+
}, 0);
|
|
8715
|
+
|
|
8716
|
+
if ( /\((.*)\)/.test(cbName) ) {
|
|
8717
|
+
// #M21a — the function-call shape is not supported, as on the virtual form
|
|
8718
|
+
if (envIsDev) {
|
|
8719
|
+
try { console.warn('[gina-form-event] function-call shape not supported on data-gina-form-upload-on-error: use a bare identifier and register the handler on window: '+ cbName); } catch (shapeErr) {}
|
|
8720
|
+
}
|
|
8721
|
+
} else if ( typeof(window[cbName]) == 'function' ) {
|
|
8722
|
+
var deliverRefusal = function(event) {
|
|
8723
|
+
$el.removeEventListener('error.hform', deliverRefusal);
|
|
8724
|
+
window[cbName](event, event.detail);
|
|
8725
|
+
};
|
|
8726
|
+
$el.addEventListener('error.hform', deliverRefusal);
|
|
8727
|
+
$el.dispatchEvent(new CustomEvent('error.hform', { detail: result, bubbles: false, cancelable: true }));
|
|
8728
|
+
}
|
|
8729
|
+
return true;
|
|
8730
|
+
};
|
|
8731
|
+
|
|
8732
|
+
// #B1094 — nothing can be sent: every file is refused
|
|
8733
|
+
if ( !$el.getAttribute('data-gina-form-upload-action') ) {
|
|
8734
|
+
// a function replacer: a file name holding `$&` or `$1` is written as it is
|
|
8735
|
+
var notSent = a11yLabel('uploadNotSent').replace('%s', function () { return names.join(', '); });
|
|
8736
|
+
return decline({
|
|
8737
|
+
refused : true,
|
|
8738
|
+
reason : 'action',
|
|
8739
|
+
files : names,
|
|
8740
|
+
error : notSent,
|
|
8741
|
+
transportError : false
|
|
8742
|
+
}, [notSent], 'no `data-gina-form-upload-action`, and no `upload-to-tmp-xml` route to fall back on: the selection was not sent');
|
|
8743
|
+
}
|
|
8744
|
+
|
|
8745
|
+
// the client checks: the input's `accept`, then its `data-gina-form-upload-max-size`
|
|
8746
|
+
var tokens = [], badTokens = [], acceptParts = ( $el.getAttribute('accept') || '' ).split(',');
|
|
8747
|
+
for (var a = 0, aLen = acceptParts.length; a < aLen; ++a) {
|
|
8748
|
+
var _token = acceptParts[a].trim().toLowerCase();
|
|
8749
|
+
if ( _token == '' ) {
|
|
8750
|
+
continue;
|
|
8751
|
+
}
|
|
8752
|
+
if ( _token.charAt(0) == '.' || /^[^\/\s;,]+\/[^\/\s;,]+$/.test(_token) ) {
|
|
8753
|
+
tokens.push(_token);
|
|
8754
|
+
} else {
|
|
8755
|
+
badTokens.push(_token);
|
|
8756
|
+
}
|
|
8757
|
+
}
|
|
8758
|
+
if ( badTokens.length && envIsDev ) {
|
|
8759
|
+
try { console.warn('[FormValidator] upload `#'+ $el.id +'`: `accept` token(s) ignored, neither `.ext` nor `type/subtype`: '+ badTokens.join(', ')); } catch (tokenErr) {}
|
|
8760
|
+
}
|
|
8761
|
+
var maxBytes = null, maxRaw = $el.getAttribute('data-gina-form-upload-max-size');
|
|
8762
|
+
if ( maxRaw != null && maxRaw.trim() != '' ) {
|
|
8763
|
+
// the server's grammar for `upload.maxFieldsSize` (core/server.js, parseSize)
|
|
8764
|
+
var _max = maxRaw.trim().match(/^([0-9]*\.?[0-9]+)\s*(b|kb|k|mb|m|gb|g)?$/i);
|
|
8765
|
+
if ( _max ) {
|
|
8766
|
+
var _unit = ( _max[2] || 'mb' ).toLowerCase();
|
|
8767
|
+
maxBytes = parseFloat(_max[1]) * (
|
|
8768
|
+
( _unit == 'b' ) ? 1
|
|
8769
|
+
: ( _unit == 'k' || _unit == 'kb' ) ? 1024
|
|
8770
|
+
: ( _unit == 'g' || _unit == 'gb' ) ? 1024 * 1024 * 1024
|
|
8771
|
+
: 1024 * 1024
|
|
8772
|
+
);
|
|
8773
|
+
// `0` sets no limit, as on the server
|
|
8774
|
+
if ( !(maxBytes > 0) ) {
|
|
8775
|
+
maxBytes = null;
|
|
8776
|
+
}
|
|
8777
|
+
} else if (envIsDev) {
|
|
8778
|
+
try { console.warn('[FormValidator] upload `#'+ $el.id +'`: `data-gina-form-upload-max-size` value `'+ maxRaw +'` does not parse: no size is checked'); } catch (sizeErr) {}
|
|
8779
|
+
}
|
|
8780
|
+
}
|
|
8781
|
+
if ( !tokens.length && maxBytes === null ) {
|
|
8782
|
+
return false;
|
|
8783
|
+
}
|
|
8784
|
+
|
|
8785
|
+
var typeRefused = [], sizeRefused = [];
|
|
8786
|
+
for (var f = 0, fLen = files.length; f < fLen; ++f) {
|
|
8787
|
+
var _name = ( files[f].name || '' ).toLowerCase()
|
|
8788
|
+
, _type = ( files[f].type || '' ).toLowerCase()
|
|
8789
|
+
, _accepted = ( tokens.length == 0 )
|
|
8790
|
+
;
|
|
8791
|
+
for (var t = 0, tLen = tokens.length; t < tLen && !_accepted; ++t) {
|
|
8792
|
+
var _tok = tokens[t];
|
|
8793
|
+
if ( _tok.charAt(0) == '.' ) {
|
|
8794
|
+
_accepted = ( _name.slice(-_tok.length) == _tok );
|
|
8795
|
+
} else if ( _tok.slice(-2) == '/*' ) {
|
|
8796
|
+
// a `*` type reads « any file », a file with no type included: an author who writes it
|
|
8797
|
+
// declares no restriction, and the HTML standard gives that token no meaning of its own
|
|
8798
|
+
// was: _accepted = ( _tok == '*' + '/*' ) ? ( _type != '' ) : ( _type.indexOf(_tok.slice(0, -1)) == 0 );
|
|
8799
|
+
_accepted = ( _tok == '*' + '/*' ) || ( _type.indexOf(_tok.slice(0, -1)) == 0 );
|
|
8800
|
+
} else {
|
|
8801
|
+
_accepted = ( _type == _tok );
|
|
8802
|
+
}
|
|
8803
|
+
}
|
|
8804
|
+
if ( !_accepted ) {
|
|
8805
|
+
typeRefused.push(files[f].name);
|
|
8806
|
+
} else if ( maxBytes !== null && files[f].size > maxBytes ) {
|
|
8807
|
+
sizeRefused.push(files[f].name);
|
|
8808
|
+
}
|
|
8809
|
+
}
|
|
8810
|
+
if ( !typeRefused.length && !sizeRefused.length ) {
|
|
8811
|
+
return false;
|
|
8812
|
+
}
|
|
8813
|
+
|
|
8814
|
+
var lines = [];
|
|
8815
|
+
if ( typeRefused.length ) {
|
|
8816
|
+
lines.push( a11yLabel('uploadTypeRefused').replace('%s', function () { return typeRefused.join(', '); }) );
|
|
8817
|
+
}
|
|
8818
|
+
if ( sizeRefused.length ) {
|
|
8819
|
+
lines.push( a11yLabel('uploadSizeRefused').replace('%s', function () { return sizeRefused.join(', '); }) );
|
|
8820
|
+
}
|
|
8821
|
+
return decline({
|
|
8822
|
+
refused : true,
|
|
8823
|
+
reason : ( typeRefused.length ) ? 'type' : 'size',
|
|
8824
|
+
files : typeRefused.concat(sizeRefused),
|
|
8825
|
+
error : lines.join('. '),
|
|
8826
|
+
transportError : false
|
|
8827
|
+
}, lines, 'refused before staging, by '+ ( ( typeRefused.length ) ? '`accept`' + ( ( sizeRefused.length ) ? ' and ' : '' ) : '' ) + ( ( sizeRefused.length ) ? '`data-gina-form-upload-max-size`' : '' ) +': '+ typeRefused.concat(sizeRefused).join(', '));
|
|
8828
|
+
}
|
|
8829
|
+
|
|
8594
8830
|
/**
|
|
8595
8831
|
* reBindForm
|
|
8596
8832
|
* Allows form rebinding: it is like reseting validation
|
|
@@ -9580,6 +9816,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
9580
9816
|
// files' previews and hidden fields stayed in the form.
|
|
9581
9817
|
// was: the return stood after the two assignments that #B960 removed from here
|
|
9582
9818
|
if (!files.length ) return false;
|
|
9819
|
+
// #B1094 — a selection the input cannot send (it has no `data-gina-form-upload-action`)
|
|
9820
|
+
// is refused here, before it counts as held and before any request: its staging used
|
|
9821
|
+
// to be posted to `/null` (see refuseStagedSelection). A bare `return`: nothing reads
|
|
9822
|
+
// this listener's value (addEventListener), and two returns of the same value are
|
|
9823
|
+
// minified into one test, which the #B959 dist pin on the return above reads.
|
|
9824
|
+
if ( refuseStagedSelection($el, files) ) return;
|
|
9583
9825
|
// #B960 — the selection waits on the input until its staging settles: a success takes
|
|
9584
9826
|
// the input over (its entries, the replaced entries' delete links and the form's
|
|
9585
9827
|
// hidden fields, see onUpload), a failure drops it. They were written here, before
|
|
@@ -13533,6 +13775,59 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
13533
13775
|
return added;
|
|
13534
13776
|
};
|
|
13535
13777
|
|
|
13778
|
+
/**
|
|
13779
|
+
* isStagedUploadControl
|
|
13780
|
+
* #B1095 — whether a control is a staged file input: a file input that names its staging
|
|
13781
|
+
* action (`data-gina-form-upload-action`), as the collectors and the terminal exclusion test
|
|
13782
|
+
* it. Declared here, inside forEachField, so the function stays self-contained.
|
|
13783
|
+
*
|
|
13784
|
+
* @inner
|
|
13785
|
+
* @param {object} $control - a control of the form, or undefined
|
|
13786
|
+
* @returns {boolean} true for a staged file input
|
|
13787
|
+
*
|
|
13788
|
+
* @example
|
|
13789
|
+
* isStagedUploadControl($fields['avatar']); // true for <input type="file" data-gina-form-upload-action="/media/stage">
|
|
13790
|
+
*/
|
|
13791
|
+
var isStagedUploadControl = function($control) {
|
|
13792
|
+
return !!(
|
|
13793
|
+
$control
|
|
13794
|
+
&& $control.type == 'file'
|
|
13795
|
+
&& typeof($control.getAttribute) == 'function'
|
|
13796
|
+
&& $control.getAttribute('data-gina-form-upload-action')
|
|
13797
|
+
);
|
|
13798
|
+
};
|
|
13799
|
+
|
|
13800
|
+
/**
|
|
13801
|
+
* stagedUploadValueOf
|
|
13802
|
+
* #B1095 — the value a rule of a staged file input judges, as the collectors give it
|
|
13803
|
+
* (getStagedUploadValue, which forEachField cannot call: the suites that lift forEachField
|
|
13804
|
+
* pass it only the names it uses): the names of the files the input holds, its entries
|
|
13805
|
+
* (`customFiles`) then a selection still staging (`pendingFiles`), joined with ', ', or ''
|
|
13806
|
+
* when it holds none. Declared here, inside forEachField, so the function stays self-contained.
|
|
13807
|
+
*
|
|
13808
|
+
* @inner
|
|
13809
|
+
* @param {object} $control - the staged file input
|
|
13810
|
+
* @returns {string} the names of the files it holds, or ''
|
|
13811
|
+
*
|
|
13812
|
+
* @example
|
|
13813
|
+
* stagedUploadValueOf($fields['avatar']); // 'me.png' once a file is staged, '' after its reset
|
|
13814
|
+
*/
|
|
13815
|
+
var stagedUploadValueOf = function($control) {
|
|
13816
|
+
var names = [], list = null;
|
|
13817
|
+
for (var l = 0; l < 2; ++l) {
|
|
13818
|
+
list = ( l == 0 ) ? $control.customFiles : $control.pendingFiles;
|
|
13819
|
+
if ( !list ) {
|
|
13820
|
+
continue;
|
|
13821
|
+
}
|
|
13822
|
+
for (var e = 0, eLen = list.length; e < eLen; ++e) {
|
|
13823
|
+
if ( list[e] && list[e].name ) {
|
|
13824
|
+
names.push(list[e].name);
|
|
13825
|
+
}
|
|
13826
|
+
}
|
|
13827
|
+
}
|
|
13828
|
+
return names.join(', ');
|
|
13829
|
+
};
|
|
13830
|
+
|
|
13536
13831
|
/**
|
|
13537
13832
|
* getCaseRegExp
|
|
13538
13833
|
* #B918 — reads a condition's `case` written `/pattern/flags` (e.g. `"/^individual$/"`)
|
|
@@ -14003,6 +14298,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
14003
14298
|
d.addField(_r, fields[_r]);
|
|
14004
14299
|
}
|
|
14005
14300
|
|
|
14301
|
+
// #B1095 — a staged file input this matching condition names, which the pass
|
|
14302
|
+
// never collected (the collectors give a staged input the names of its files
|
|
14303
|
+
// only under a rule of its own, #B1058): enter those names, as they do, so the
|
|
14304
|
+
// condition's rule judges the files it holds, once per pass (`d[_r]` marks it
|
|
14305
|
+
// entered). Its value never reaches the data: the terminal block leaves every
|
|
14306
|
+
// staged control out (#B1099). The guard's first line holds both reads, so
|
|
14307
|
+
// #B914's `d[_r]` line above stays the only one of its kind.
|
|
14308
|
+
if (
|
|
14309
|
+
typeof(fields[_r]) == 'undefined' && typeof(d[_r]) == 'undefined'
|
|
14310
|
+
&& isStagedUploadControl($fields[_r])
|
|
14311
|
+
&& localRuleObj
|
|
14312
|
+
) {
|
|
14313
|
+
fields[_r] = stagedUploadValueOf($fields[_r]);
|
|
14314
|
+
d.addField(_r, fields[_r]);
|
|
14315
|
+
}
|
|
14316
|
+
|
|
14006
14317
|
// check each field against rule only if rule exists 2/3
|
|
14007
14318
|
//if ( caseName != _r && typeof(rules[_r]) != 'undefined' ) {
|
|
14008
14319
|
if ( caseName != _r && typeof(rules[_r]) != 'undefined' && typeof(fields[_r]) != 'undefined' ) {
|
|
@@ -14171,7 +14482,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
14171
14482
|
&& typeof($fields[localField]) != 'undefined'
|
|
14172
14483
|
&& typeof($fields[localField].value) != 'undefined'
|
|
14173
14484
|
) {
|
|
14174
|
-
|
|
14485
|
+
// #B1095 — a staged file input is judged on the files it holds, as below
|
|
14486
|
+
fields[localField] = ( isStagedUploadControl($fields[localField]) ) ? stagedUploadValueOf($fields[localField]) : $fields[localField].value;//caseValue is not goo here
|
|
14175
14487
|
if (isGFFCtx && /(true|false)/i.test(fields[localField] ) ) {
|
|
14176
14488
|
if (fields[localField] == "true")
|
|
14177
14489
|
fields[localField] = true;
|
|
@@ -14212,7 +14524,10 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
14212
14524
|
&& typeof($fields[f]) != 'undefined'
|
|
14213
14525
|
&& typeof($fields[f].value) != 'undefined'
|
|
14214
14526
|
) {
|
|
14215
|
-
|
|
14527
|
+
// #B1095 — a staged file input is judged on the files it holds, as the collectors
|
|
14528
|
+
// judge it, never on its own value ('' for an edit form's saved file, the
|
|
14529
|
+
// browser's placeholder after a staging)
|
|
14530
|
+
fields[f] = ( isStagedUploadControl($fields[f]) ) ? stagedUploadValueOf($fields[f]) : $fields[f].value;
|
|
14216
14531
|
if (isGFFCtx && /(true|false)/i.test(fields[f] ) ) {
|
|
14217
14532
|
if (fields[f] == "true")
|
|
14218
14533
|
fields[f] = true;
|
|
@@ -225,6 +225,7 @@ function Router(env, scope) {
|
|
|
225
225
|
* dedupes on cache hits), so without pruning this long-lived router module
|
|
226
226
|
* accumulates one dead controller `Module` per request, each pinning its
|
|
227
227
|
* whole evaluated exports graph — the dev-mode per-request memory leak.
|
|
228
|
+
* `requireController()` calls it too, in dev, after its own re-require (#B1126).
|
|
228
229
|
*
|
|
229
230
|
* Local copy of the sweep in `core/server.isaac.js` — the engine-agnostic
|
|
230
231
|
* router cannot depend on an engine module, and the `lib` registry is
|
|
@@ -968,17 +969,50 @@ function Router(env, scope) {
|
|
|
968
969
|
});
|
|
969
970
|
}
|
|
970
971
|
|
|
972
|
+
// #B1031 — the options of the request being served, which `requireController()` uses
|
|
973
|
+
// when a call passes none: a middleware and `setup.js` have no `_options` to pass.
|
|
974
|
+
var requestOptions = options;
|
|
975
|
+
|
|
971
976
|
/**
|
|
972
977
|
* requireController
|
|
973
978
|
* Allowing another controller (public methods) to be required inside the current controller
|
|
974
979
|
*
|
|
980
|
+
* Outside development the required controller and the super controller load once per
|
|
981
|
+
* process, as a routed controller does: later calls reuse the cached modules, so the
|
|
982
|
+
* required controller's module-level code runs once (#B1126). In development
|
|
983
|
+
* (`isCacheless`) both modules are evicted and required again on every call, so an edit
|
|
984
|
+
* shows on the next call, and `pruneDeadModuleChildren()` then drops the evicted copies
|
|
985
|
+
* from every cached module's `children` (#B32), so they do not accumulate.
|
|
986
|
+
*
|
|
987
|
+
* Without `options` (or with `null`), the controller is built with the options of the
|
|
988
|
+
* request being served, the object an action passes as `self._options` (#B1031): a
|
|
989
|
+
* middleware and `setup.js` have no `_options`, so they call it without.
|
|
990
|
+
*
|
|
975
991
|
* @param {string} namespace - Controller namespace
|
|
976
|
-
* @param {object} [options] - Controller options
|
|
992
|
+
* @param {object} [options] - Controller options; defaults to the options of the request
|
|
993
|
+
* being served
|
|
977
994
|
*
|
|
978
995
|
* @returns {object} controllerInstance
|
|
996
|
+
*
|
|
997
|
+
* @example
|
|
998
|
+
* // inside an action: build the `billing` namespace controller for this request
|
|
999
|
+
* var billing = self.requireController('billing', self._options);
|
|
1000
|
+
*
|
|
1001
|
+
* @example
|
|
1002
|
+
* // inside a middleware or setup.js: the request's options are used
|
|
1003
|
+
* var billing = self.requireController('billing');
|
|
979
1004
|
* */
|
|
980
1005
|
var requireController = function (namespace, options) {
|
|
981
1006
|
|
|
1007
|
+
// #B1031 — `options` is optional: without it, the controller is built with the
|
|
1008
|
+
// request's options, as every call that passes them does. The bookkeeping below read
|
|
1009
|
+
// `options.controlRequired` unguarded, so a call without `options` threw a TypeError
|
|
1010
|
+
// there, before the try, since 2017; the no-options branch inside the try (an unwired
|
|
1011
|
+
// `new RequiredController()`) has been unreachable since then and stays so.
|
|
1012
|
+
if ( typeof(options) == 'undefined' || options === null ) {
|
|
1013
|
+
options = requestOptions;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
982
1016
|
// replaced: per-request process.env lookup — use cached boolean (#P18)
|
|
983
1017
|
var isCacheless = _isDev;
|
|
984
1018
|
var corePath = getPath('gina').core;
|
|
@@ -1001,11 +1035,18 @@ function Router(env, scope) {
|
|
|
1001
1035
|
|
|
1002
1036
|
try {
|
|
1003
1037
|
|
|
1004
|
-
//
|
|
1038
|
+
// #B1126 — outside dev this guard was commented out (b6a1dd6ed, 2022), so every call
|
|
1039
|
+
// evicted and required both modules again, and each copy stayed alive on this
|
|
1040
|
+
// module's `children`: about the controller's source size per call. It was commented
|
|
1041
|
+
// out because the super controller was then read from the require.cache slot, which
|
|
1042
|
+
// held its exports only after a re-require; #B18 reads require()'s return value below.
|
|
1043
|
+
// Restored, outside dev both modules load once per process, as a routed controller
|
|
1044
|
+
// does. The block read: `//if (isCacheless) {` … `//}` around the two deletes.
|
|
1045
|
+
if (isCacheless) {
|
|
1005
1046
|
// Super controller
|
|
1006
1047
|
delete require.cache[require.resolve(_(corePath +'/controller/index.js', true))];
|
|
1007
1048
|
delete require.cache[require.resolve(filename)];
|
|
1008
|
-
|
|
1049
|
+
}
|
|
1009
1050
|
|
|
1010
1051
|
// #B18 — Same fix as the sibling at L116-127. require() returns
|
|
1011
1052
|
// a freshly built Module instance; assigning the exports object
|
|
@@ -1015,6 +1056,12 @@ function Router(env, scope) {
|
|
|
1015
1056
|
|
|
1016
1057
|
var RequiredController = require(filename);
|
|
1017
1058
|
|
|
1059
|
+
// #B1126 — in dev both modules were just required again: drop the evicted copies
|
|
1060
|
+
// from every cached module's `children` (#B32), or each call would keep one more.
|
|
1061
|
+
if (isCacheless) {
|
|
1062
|
+
pruneDeadModuleChildren();
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1018
1065
|
RequiredController = inherits(RequiredController, SuperController);
|
|
1019
1066
|
|
|
1020
1067
|
var controller = null;
|
|
@@ -2630,6 +2630,15 @@ function ServerEngineClass(options) {
|
|
|
2630
2630
|
if ( _xfp.length > 255 || !/^[A-Za-z0-9._~\/%-]*$/.test(_xfp) ) {
|
|
2631
2631
|
_xfp = '';
|
|
2632
2632
|
}
|
|
2633
|
+
// #B1129 — a mount path is a PATH. A value opening with two slashes passes
|
|
2634
|
+
// the charset above but is a protocol-relative URL: once it is the public
|
|
2635
|
+
// webroot (`window.__ginaWebroot`, `gina.config.webroot`), the browser
|
|
2636
|
+
// resolves the routing-table fetch and the gina stylesheet link against the
|
|
2637
|
+
// host it names (`//evil.example` → https://evil.example/…). Refused like a
|
|
2638
|
+
// malformed value: the request falls back to the bundle's internal webroot.
|
|
2639
|
+
if ( _xfp.charAt(0) === '/' && _xfp.charAt(1) === '/' ) {
|
|
2640
|
+
_xfp = '';
|
|
2641
|
+
}
|
|
2633
2642
|
// #B679 — the length+charset gate above runs BEFORE this trim: `/\/+$/` backtracks
|
|
2634
2643
|
// quadratically on a long run of slashes (measured on a booted bundle: a 15 KB
|
|
2635
2644
|
// header ~100–170 ms of CPU per request; the regex alone ~8 s at the 64 KB the
|
|
@@ -2745,6 +2745,19 @@ function Server(options) {
|
|
|
2745
2745
|
console.warn('[releaseWatch] init skipped: '+ (rwInitErr.stack || rwInitErr.message || rwInitErr));
|
|
2746
2746
|
}
|
|
2747
2747
|
|
|
2748
|
+
// ── Stall watchdog — `settings.json > server.stallWatchdog` ──
|
|
2749
|
+
// Resolved and validated here, before any listen(): a wrong key or value on an
|
|
2750
|
+
// enabled block throws into this init() try, whose catch emergs and exits before
|
|
2751
|
+
// a port is bound (the requireHttps / #MS5 shape). The thread itself starts in
|
|
2752
|
+
// core/gna.js's `server.on('started')` band, once the listener is up, so module
|
|
2753
|
+
// loading at boot never reads as a stall; onRequest() reads the stamp below to
|
|
2754
|
+
// feed the in-flight ring.
|
|
2755
|
+
var _swConf = lib.stallWatchdog.resolveConfig(self.conf[self.appName][self.env].server.stallWatchdog);
|
|
2756
|
+
if ( _swConf.warning ) {
|
|
2757
|
+
console.warn(_swConf.warning);
|
|
2758
|
+
}
|
|
2759
|
+
self._stallWatchdogConf = _swConf;
|
|
2760
|
+
|
|
2748
2761
|
// ── #COMPLY9 — production transport posture (ZT2) ──────────────────
|
|
2749
2762
|
// Outside the `local` scope a bundle resolving a cleartext scheme is
|
|
2750
2763
|
// served exactly as configured — both engines' scheme switches default
|
|
@@ -4821,6 +4834,10 @@ function Server(options) {
|
|
|
4821
4834
|
// change needs a bundle restart. Only the boolean `true` turns the request-entry line on
|
|
4822
4835
|
// (logRequestEntry()), as for `server.earlyHintsOverHTTP1`.
|
|
4823
4836
|
var logRequestStart = ( self.conf[self.appName][self.env].server.logRequestStart === true );
|
|
4837
|
+
// Stall watchdog: whether application requests join its in-flight ring, read once
|
|
4838
|
+
// here from the conf init() resolved (`server.stallWatchdog`). The thread starts after
|
|
4839
|
+
// listen() (core/gna.js); lib.stallWatchdog.enter() does nothing until it runs.
|
|
4840
|
+
var stallWatchdog = ( self._stallWatchdogConf && self._stallWatchdogConf.enabled === true );
|
|
4824
4841
|
|
|
4825
4842
|
// catch all (request urls)
|
|
4826
4843
|
// #B211 — was: self.instance.all('*', ...) unconditionally. Express 5's
|
|
@@ -6441,6 +6458,12 @@ function Server(options) {
|
|
|
6441
6458
|
if ( logRequestStart ) {
|
|
6442
6459
|
logRequestEntry(request);
|
|
6443
6460
|
}
|
|
6461
|
+
// Stall watchdog (`server.stallWatchdog`): the request joins the in-flight ring the
|
|
6462
|
+
// watchdog names when the main thread blocks, from here — before the body is read,
|
|
6463
|
+
// the same scope as the entry line — until its response's finish or close.
|
|
6464
|
+
if ( stallWatchdog ) {
|
|
6465
|
+
lib.stallWatchdog.enter(request, response, escapeLogControlChars(request.url));
|
|
6466
|
+
}
|
|
6444
6467
|
// init content
|
|
6445
6468
|
request.body = ( typeof(request.body) != 'undefined' ) ? request.body : {};
|
|
6446
6469
|
request.get = {};
|
|
@@ -1069,9 +1069,11 @@ function readCookie(header, name) {
|
|
|
1069
1069
|
* #I18N1 slice 3 — resolve the culture for a request. Negotiation order
|
|
1070
1070
|
* (highest priority first):
|
|
1071
1071
|
*
|
|
1072
|
-
* 1. URL prefix —
|
|
1073
|
-
*
|
|
1074
|
-
* `
|
|
1072
|
+
* 1. URL prefix — when the matched route's `culturePrefix` flag is set:
|
|
1073
|
+
* the URL value bound to `param.culture` (a whole placeholder such as
|
|
1074
|
+
* `"culture": ":culture"` reads `req.params.culture`, the value the
|
|
1075
|
+
* matcher captured, #B1123), or a literal `param.culture`, when it
|
|
1076
|
+
* matches an `availableCultures` entry.
|
|
1075
1077
|
* 2. Cookie — value of the cookie named `opts.cookieName`, if it matches
|
|
1076
1078
|
* an `availableCultures` entry.
|
|
1077
1079
|
* 3. `Accept-Language` — parsed and best-matched against `availableCultures`
|
|
@@ -1084,7 +1086,8 @@ function readCookie(header, name) {
|
|
|
1084
1086
|
* is empty (catalogs not loaded yet), only steps 4–6 are consulted.
|
|
1085
1087
|
*
|
|
1086
1088
|
* @memberof module:gina/lib/i18n
|
|
1087
|
-
* @param {Object} req
|
|
1089
|
+
* @param {Object} req - The request: `routing` (the matched route), `params`
|
|
1090
|
+
* (its URL values), `headers`.
|
|
1088
1091
|
* @param {Object} [opts]
|
|
1089
1092
|
* @param {string[]} [opts.availableCultures] - Cultures the bundle has catalogs for.
|
|
1090
1093
|
* @param {string} [opts.cookieName] - From `settings.i18n.cookieName`.
|
|
@@ -1097,6 +1100,12 @@ function readCookie(header, name) {
|
|
|
1097
1100
|
* cookieName: 'gina_culture',
|
|
1098
1101
|
* defaultCulture: 'en_US'
|
|
1099
1102
|
* });
|
|
1103
|
+
*
|
|
1104
|
+
* @example
|
|
1105
|
+
* // route `/:culture/dash/:id`, `culturePrefix: true`,
|
|
1106
|
+
* // param `{ control: 'show', culture: ':culture', id: ':id' }`;
|
|
1107
|
+
* // GET /fr/dash/42 sets req.params.culture to 'fr'
|
|
1108
|
+
* negotiateCulture(req, { availableCultures: ['en', 'fr'] }); // → 'fr'
|
|
1100
1109
|
*/
|
|
1101
1110
|
function negotiateCulture(req, opts) {
|
|
1102
1111
|
opts = opts || {};
|
|
@@ -1105,6 +1114,15 @@ function negotiateCulture(req, opts) {
|
|
|
1105
1114
|
// 1. URL prefix
|
|
1106
1115
|
if ( req && req.routing && req.routing.culturePrefix && req.routing.param ) {
|
|
1107
1116
|
var pfx = req.routing.param.culture;
|
|
1117
|
+
// #B1123 — req.routing.param is the route's raw routing config: a binding such as
|
|
1118
|
+
// `"culture": ":culture"` keeps its placeholder text there. Read the URL value the
|
|
1119
|
+
// matcher captured in req.params under the placeholder's name; a literal is used as is.
|
|
1120
|
+
if ( typeof pfx === 'string' && /^:\w+$/.test(pfx) ) {
|
|
1121
|
+
var pfxName = pfx.substring(1);
|
|
1122
|
+
pfx = ( req.params && typeof req.params === 'object' && Object.prototype.hasOwnProperty.call(req.params, pfxName) )
|
|
1123
|
+
? req.params[pfxName]
|
|
1124
|
+
: null;
|
|
1125
|
+
}
|
|
1108
1126
|
if ( typeof pfx === 'string' && pfx.length > 0 ) {
|
|
1109
1127
|
var pfxNorm = pfx.replace(/-/g, '_');
|
|
1110
1128
|
var pfxMatch = matchAvailable([pfxNorm], available);
|
|
@@ -224,6 +224,12 @@ function Lib() {
|
|
|
224
224
|
// probe registry and the gauge at module scope — hot-reloading it would
|
|
225
225
|
// orphan the handles and zero the gauge on every dev-mode request.
|
|
226
226
|
releaseWatch : require('./release-watch'),
|
|
227
|
+
// Stall watchdog (`settings.json > server.stallWatchdog`): a worker thread that
|
|
228
|
+
// reports a blocked main thread while it is blocked. PLAIN require (like job /
|
|
229
|
+
// instrument / releaseWatch): the module holds the thread, the heartbeat timer
|
|
230
|
+
// and the in-flight ring's sequence at module scope — a dev-mode hot reload
|
|
231
|
+
// re-evaluating it would orphan the thread and stop feeding it.
|
|
232
|
+
stallWatchdog : require('./stall-watchdog'),
|
|
227
233
|
// replaced: _require('./state') — StateStore is a singleton backed by node:sqlite
|
|
228
234
|
// (DatabaseSync). Hot-reloading it in dev mode would close and re-open the DB
|
|
229
235
|
// connection on every HTTP request, racing with in-flight writes. Use plain
|