gina 0.7.8 → 0.7.9
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 +27 -6
- package/README.md +42 -41
- package/ROADMAP.md +1 -0
- package/framework/v0.7.9/VERSION +1 -0
- package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/js/gina.js +357 -25
- package/framework/v0.7.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js +758 -0
- package/framework/v0.7.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.9/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.js +37 -10
- package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-json.js +2 -0
- package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-nunjucks-async.js +2 -0
- package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-nunjucks.js +2 -0
- package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-stream.js +2 -0
- package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-swig-async.js +2 -0
- package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-swig.js +4 -0
- package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-xml.js +2 -0
- package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/src/main.js +216 -15
- package/framework/v0.7.9/core/server.isaac.early-answer.js +279 -0
- package/framework/{v0.7.8 → v0.7.9}/core/server.isaac.js +15 -0
- package/framework/{v0.7.8 → v0.7.9}/core/server.js +152 -3
- package/framework/{v0.7.8 → v0.7.9}/lib/merge/src/main.js +141 -10
- package/framework/{v0.7.8 → v0.7.9}/package.json +2 -2
- package/gna.js +4 -4
- package/llms.txt +12 -11
- package/package.json +5 -5
- package/types/index.d.ts +6 -2
- package/framework/v0.7.8/VERSION +0 -1
- package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -754
- package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.8/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/AUTHORS +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/LICENSE +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/html/static.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/config.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/config.requirements-anchor.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/couchbase/lib/storage-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/duckdb/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/duckdb/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/lib/job-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/param-redact.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/job-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/kv-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/scylladb/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/scylladb/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/settle-once.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/lib/job-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/lib/kv-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/content.encoding +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/inline-script.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/preload-hints.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/release-banner.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/render-data.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/controller/render-session.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/dev/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/gna.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/locales/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/locales/currency.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/locales/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/mime.types +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/model/entity.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/model/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/model/template/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/router.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/server.express.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/server.isaac.rapid-reset.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/server.route-candidates.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/status.codes +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/_gitignore +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/env.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/console.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/context.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/data/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/data/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/json/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/json/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/path.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/prototypes.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/task.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/helpers/text.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/admin/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/admin/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/build.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/async/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/async/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/audit/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/audit/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/audit-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/authn/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/authn/src/lockout.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/authn/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/authn/src/totp.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/authz-gate/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/authz-gate/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cache/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cache/build.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cache/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/audit/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/audit/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/audit/verify.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/inc/boot-lines.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/inc/name.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/inc/start-status.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/man.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/bundle/types.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/cache/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/cache/clear.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/cache/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/infer.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/models.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/connector/test.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/man.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/ps.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/container/stop.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/args.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/namespace.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/reference-scan.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/inc/scaffold.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/remove.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/rename.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/controller/rm.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/inc/name.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/inc/child-failure.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/inc/listen-error.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/inc/ps-titles.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/man.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/remove.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/reset.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/_host.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/build.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/man.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/rm.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/image/run.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/man-render.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/kill.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/minion/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/backup.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/inc/name.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/man.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/restore.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/remove.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/inc/name.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/man.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/service/start.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/arguments.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/gc.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/help.txt +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/stats.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/storage/verify.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd-status-format/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cmd-status-format/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/collection/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/collection/build.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/collection/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/collection/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/conf-view/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/conf-view/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/config.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/connector-config/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/connector-config/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/connector-error/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/connector-error/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cron/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cron/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/domain/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/domain/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/dto/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/dto/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/dto-pipe/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/dto-pipe/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/dto-types/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/dto-types/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/duration/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/duration/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/error-ref/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/error-ref/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/generator/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/i18n/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/i18n/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/idempotency/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/idempotency/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/image-build/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/image-build/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/inherits/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/inherits/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/inspector-events/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/inspector-events/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/instrument/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/job/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/job/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/job-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/json-config-header/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/json-config-header/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/kv/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/kv/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/kv-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/lane/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/lane/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/loading-state/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/loading-state/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/logger/src/redact.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/maintenance/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/maintenance/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/math/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/merge/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/merge/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/message-validator/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/message-validator/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/metrics/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/metrics/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/model.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/money/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/money/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/multipart/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/multipart/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/net-locality/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/net-locality/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-filters/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/priority/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/priority/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/proc.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/push/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/push/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/rate-limit/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/rate-limit/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/release-watch/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/release-watch/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/render-cache/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/render-cache/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/routing/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/routing/build.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/routing/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/backends/exec.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/backends/file.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/declaration.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/env-file.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/secrets/src/sources.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/security-headers-emitter/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/security-headers-emitter/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/session-lifetime/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/session-lifetime/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/session-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/shell.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/sqlite-driver.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/sri/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/sri/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/state.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/local-cas.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/local-stream.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/local.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/meta-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/s3.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage/src/util.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/storage-store.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/template-loaders/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/template-loaders/src/loaders/http.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/template-loaders/src/loaders/memory.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/template-loaders/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/url/README.md +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/url/index.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/url/routing.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/uuid/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/validator.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/watcher/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/watcher/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/ws-framing/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/ws-framing/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/ws-query/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/ws-query/src/main.js +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/ws-session/package.json +0 -0
- /package/framework/{v0.7.8 → v0.7.9}/lib/ws-session/src/main.js +0 -0
|
@@ -3302,20 +3302,34 @@ function SuperController(options) {
|
|
|
3302
3302
|
* after the response body.
|
|
3303
3303
|
*
|
|
3304
3304
|
* Opt-in and best-effort: calling this only RECORDS the trailer fields; the
|
|
3305
|
-
* active render delegate (renderStream /
|
|
3306
|
-
*
|
|
3307
|
-
*
|
|
3308
|
-
*
|
|
3309
|
-
*
|
|
3305
|
+
* active render delegate (renderJSON / renderStream / renderXML / swig /
|
|
3306
|
+
* nunjucks, from disk or a memory loader) then sets `waitForTrailers: true`
|
|
3307
|
+
* on `stream.respond()` and hands each field to the HTTP/2 compatibility
|
|
3308
|
+
* response (`response.addTrailers()`), whose own `wantTrailers` listener
|
|
3309
|
+
* sends them after the final DATA frame. The delegate's own `wantTrailers`
|
|
3310
|
+
* listener on the raw stream stays as the fallback for a stream with no
|
|
3311
|
+
* compatibility response (#B1080: through 0.7.8 it was the only path, and it
|
|
3312
|
+
* ran after the compatibility layer had already sent its own empty trailer
|
|
3313
|
+
* list, so no field arrived). When no trailers are registered the response
|
|
3314
|
+
* path is byte-for-byte unchanged, so existing bundles are unaffected.
|
|
3310
3315
|
*
|
|
3311
3316
|
* Trailers here are an HTTP/2-only mechanism. On HTTP/1.1 the call is a
|
|
3312
3317
|
* silent no-op (the chunked-trailer path is out of scope). HEAD responses,
|
|
3313
|
-
*
|
|
3314
|
-
* trailers
|
|
3318
|
+
* a 204 (its stream ends with its headers) and already-destroyed streams
|
|
3319
|
+
* never emit trailers, and neither does an answer `throwError()` gives (a
|
|
3320
|
+
* custom error page, a JSON error body): it drops the recorded fields.
|
|
3315
3321
|
*
|
|
3316
3322
|
* Pseudo-header keys (those beginning with `:`) are stripped — HTTP/2
|
|
3317
|
-
* forbids pseudo-headers in a trailing HEADERS frame.
|
|
3318
|
-
*
|
|
3323
|
+
* forbids pseudo-headers in a trailing HEADERS frame. So is every field the
|
|
3324
|
+
* HTTP/2 layer could not send: it sends them all in one call after the body,
|
|
3325
|
+
* and one such field would make that call throw (#B1080) — a name that is
|
|
3326
|
+
* not an HTTP token, a connection-specific name (`connection`, `upgrade`,
|
|
3327
|
+
* `http2-settings`, `keep-alive`, `proxy-connection`, `transfer-encoding`,
|
|
3328
|
+
* and `te` unless its value is `trailers`), a value that is neither a
|
|
3329
|
+
* string nor a number, and a string value holding a character other than a
|
|
3330
|
+
* tab, U+0020 to U+007E and U+0080 to U+00FF (a CR, a LF, a NUL or another
|
|
3331
|
+
* control character, DEL, or a character above U+00FF). Names are stored
|
|
3332
|
+
* trimmed and lower-case, as HTTP/2 sends them; the other fields are sent.
|
|
3319
3333
|
*
|
|
3320
3334
|
* Typical use is gRPC-style streaming (a final `grpc-status` / `grpc-message`)
|
|
3321
3335
|
* or a content-integrity `Digest` emitted after a chunked body.
|
|
@@ -3337,7 +3351,14 @@ function SuperController(options) {
|
|
|
3337
3351
|
for (var k in fields) {
|
|
3338
3352
|
if (!Object.prototype.hasOwnProperty.call(fields, k)) continue;
|
|
3339
3353
|
if (k.charAt(0) === ':') continue;
|
|
3340
|
-
|
|
3354
|
+
// #B1080 — the HTTP/2 layer sends every recorded field in ONE call after the body, and a field it cannot send makes that call throw outside the delegates' try/catch (the stream never ends, or the bundle stops): keep only a field it can send — an HTTP token name (RFC 9110) that is not connection-specific (RFC 9113 §8.2.2), with a number value or a string value made only of a tab, U+0020 to U+007E and U+0080 to U+00FF (Node's header-value rule; the HTTP/2 layer cannot send another value as given) — under the name it sends (trimmed, lower-case)
|
|
3355
|
+
var _name = k.trim().toLowerCase();
|
|
3356
|
+
var _value = fields[k];
|
|
3357
|
+
if ( !/^[\^_`a-z\-0-9!#$%&'*+.|~]+$/.test(_name) ) continue;
|
|
3358
|
+
if ( /^(connection|upgrade|http2-settings|keep-alive|proxy-connection|transfer-encoding)$/.test(_name) || _name === 'te' && _value !== 'trailers' ) continue;
|
|
3359
|
+
if ( typeof(_value) !== 'string' && typeof(_value) !== 'number' ) continue;
|
|
3360
|
+
if ( typeof(_value) === 'string' && /[^\t\x20-\x7e\x80-\xff]/.test(_value) ) continue;
|
|
3361
|
+
_clean[_name] = _value;
|
|
3341
3362
|
_has = true;
|
|
3342
3363
|
}
|
|
3343
3364
|
// Arm the trailer path only when at least one valid field remains.
|
|
@@ -9847,6 +9868,10 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
|
|
|
9847
9868
|
* caught by an up-front guard so the HTTP/2 `res.stream` and the
|
|
9848
9869
|
* errorObject-build `res.error` reads can't deref null first (#B44).
|
|
9849
9870
|
*
|
|
9871
|
+
* HTTP/2 trailers: the fields an action recorded with `self.sendTrailers()`
|
|
9872
|
+
* are dropped when throwError() starts, so no answer it gives (a custom
|
|
9873
|
+
* error page, a JSON error body) carries them (#B1080).
|
|
9874
|
+
*
|
|
9850
9875
|
* @param {object} [ res ]
|
|
9851
9876
|
* @param {number} code
|
|
9852
9877
|
* @param {string} msg
|
|
@@ -9869,6 +9894,8 @@ if ( /^local$/i.test(process.env.NODE_SCOPE) ) {
|
|
|
9869
9894
|
* return self.throwError({ status: 502, message: 'upstream refused', ref: 'ORDER-42' });
|
|
9870
9895
|
* */
|
|
9871
9896
|
this.throwError = function(res, code, msg) {
|
|
9897
|
+
// #B1080 — an error answer replaces the action's answer: drop the trailer fields the action recorded with self.sendTrailers(), so no answer given here carries them
|
|
9898
|
+
local._trailers = null;
|
|
9872
9899
|
|
|
9873
9900
|
// #CE1 — capture the transient-classified error source (if any)
|
|
9874
9901
|
// BEFORE the call-shape normalizations below reassign res/code/msg.
|
|
@@ -623,6 +623,8 @@ module.exports = function renderJSON(jsonObj, deps) {
|
|
|
623
623
|
// #H10 — register the trailer flush, then defer the stream close via
|
|
624
624
|
// waitForTrailers so the trailers follow the final DATA frame.
|
|
625
625
|
if (_trailers) {
|
|
626
|
+
// #B1080 — the compat response registered its own 'wantTrailers' listener before this one and sends its trailers from it, so a raw sendTrailers() comes too late: hand it each field (a field it refuses is dropped). The listener below stays for a stream with no compat response.
|
|
627
|
+
if (typeof(response.addTrailers) == 'function') Object.keys(_trailers).forEach(function(_tk) { var _tf = {}; _tf[_tk] = _trailers[_tk]; try { response.addTrailers(_tf); } catch (_e) { /* best-effort */ } });
|
|
626
628
|
stream.once('wantTrailers', function() {
|
|
627
629
|
try { if (!stream.destroyed && !stream.closed) stream.sendTrailers(_trailers); } catch (_e) { /* best-effort */ }
|
|
628
630
|
});
|
|
@@ -330,6 +330,8 @@ function sendHtmlResponse(local, html, req, res) {
|
|
|
330
330
|
if (!(_shk in _streamHeaders)) { _streamHeaders[_shk] = _pendingHeaders[_shk]; }
|
|
331
331
|
}
|
|
332
332
|
if (_trailers) {
|
|
333
|
+
// #B1080 — the compat response registered its own 'wantTrailers' listener before this one and sends its trailers from it, so a raw sendTrailers() comes too late: hand it each field (a field it refuses is dropped). The listener below stays for a stream with no compat response.
|
|
334
|
+
if (typeof(res.addTrailers) == 'function') Object.keys(_trailers).forEach(function(_tk) { var _tf = {}; _tf[_tk] = _trailers[_tk]; try { res.addTrailers(_tf); } catch (_e) { /* best-effort */ } });
|
|
333
335
|
stream.once('wantTrailers', function() {
|
|
334
336
|
try { if (!stream.destroyed && !stream.closed) stream.sendTrailers(_trailers); } catch (_e) { /* best-effort */ }
|
|
335
337
|
});
|
|
@@ -656,6 +656,8 @@ function sendHtmlResponse(local, html, req, res) {
|
|
|
656
656
|
// #H10 — register the trailer flush, then defer the stream close via
|
|
657
657
|
// waitForTrailers so the trailers follow the final DATA frame.
|
|
658
658
|
if (_trailers) {
|
|
659
|
+
// #B1080 — the compat response registered its own 'wantTrailers' listener before this one and sends its trailers from it, so a raw sendTrailers() comes too late: hand it each field (a field it refuses is dropped). The listener below stays for a stream with no compat response.
|
|
660
|
+
if (typeof(res.addTrailers) == 'function') Object.keys(_trailers).forEach(function(_tk) { var _tf = {}; _tf[_tk] = _trailers[_tk]; try { res.addTrailers(_tf); } catch (_e) { /* best-effort */ } });
|
|
659
661
|
stream.once('wantTrailers', function() {
|
|
660
662
|
try { if (!stream.destroyed && !stream.closed) stream.sendTrailers(_trailers); } catch (_e) { /* best-effort */ }
|
|
661
663
|
});
|
|
@@ -179,6 +179,8 @@ module.exports = function renderStream(asyncIterable, contentType, deps) {
|
|
|
179
179
|
// #H10 — when trailers were registered, defer the stream close so the
|
|
180
180
|
// wantTrailers event can flush them after the final DATA frame.
|
|
181
181
|
if (_trailers) {
|
|
182
|
+
// #B1080 — the compat response registered its own 'wantTrailers' listener before this one and sends its trailers from it, so a raw sendTrailers() comes too late: hand it each field (a field it refuses is dropped). The listener below stays for a stream with no compat response.
|
|
183
|
+
if (typeof(response.addTrailers) == 'function') Object.keys(_trailers).forEach(function(_tk) { var _tf = {}; _tf[_tk] = _trailers[_tk]; try { response.addTrailers(_tf); } catch (_e) { /* best-effort */ } });
|
|
182
184
|
stream.once('wantTrailers', function() {
|
|
183
185
|
try {
|
|
184
186
|
if (!stream.destroyed && !stream.closed) stream.sendTrailers(_trailers);
|
|
@@ -408,6 +408,8 @@ function sendHtmlResponse(local, html, req, res) {
|
|
|
408
408
|
if (!(_shk in _streamHeaders)) { _streamHeaders[_shk] = _pendingHeaders[_shk]; }
|
|
409
409
|
}
|
|
410
410
|
if (_trailers) {
|
|
411
|
+
// #B1080 — the compat response registered its own 'wantTrailers' listener before this one and sends its trailers from it, so a raw sendTrailers() comes too late: hand it each field (a field it refuses is dropped). The listener below stays for a stream with no compat response.
|
|
412
|
+
if (typeof(res.addTrailers) == 'function') Object.keys(_trailers).forEach(function(_tk) { var _tf = {}; _tf[_tk] = _trailers[_tk]; try { res.addTrailers(_tf); } catch (_e) { /* best-effort */ } });
|
|
411
413
|
stream.once('wantTrailers', function() {
|
|
412
414
|
try { if (!stream.destroyed && !stream.closed) stream.sendTrailers(_trailers); } catch (_e) { /* best-effort */ }
|
|
413
415
|
});
|
|
@@ -1520,6 +1520,8 @@ module.exports = async function render(userData, displayInspector, errOptions, d
|
|
|
1520
1520
|
// #H10 — register the trailer flush, then defer the stream close
|
|
1521
1521
|
// via waitForTrailers so the trailers follow the final DATA frame.
|
|
1522
1522
|
if (_trailers) {
|
|
1523
|
+
// #B1080 — the compat response registered its own 'wantTrailers' listener before this one and sends its trailers from it, so a raw sendTrailers() comes too late: hand it each field (a field it refuses is dropped). The listener below stays for a stream with no compat response.
|
|
1524
|
+
if (typeof(res.addTrailers) == 'function') Object.keys(_trailers).forEach(function(_tk) { var _tf = {}; _tf[_tk] = _trailers[_tk]; try { res.addTrailers(_tf); } catch (_e) { /* best-effort */ } });
|
|
1523
1525
|
stream.once('wantTrailers', function() {
|
|
1524
1526
|
try { if (!stream.destroyed && !stream.closed) stream.sendTrailers(_trailers); } catch (_e) { /* best-effort */ }
|
|
1525
1527
|
});
|
|
@@ -2232,6 +2234,8 @@ module.exports = async function render(userData, displayInspector, errOptions, d
|
|
|
2232
2234
|
// #H10 — register the trailer flush, then defer the stream close
|
|
2233
2235
|
// via waitForTrailers so the trailers follow the final DATA frame.
|
|
2234
2236
|
if (_trailers) {
|
|
2237
|
+
// #B1080 — the compat response registered its own 'wantTrailers' listener before this one and sends its trailers from it, so a raw sendTrailers() comes too late: hand it each field (a field it refuses is dropped). The listener below stays for a stream with no compat response.
|
|
2238
|
+
if (typeof(res.addTrailers) == 'function') Object.keys(_trailers).forEach(function(_tk) { var _tf = {}; _tf[_tk] = _trailers[_tk]; try { res.addTrailers(_tf); } catch (_e) { /* best-effort */ } });
|
|
2235
2239
|
stream.once('wantTrailers', function() {
|
|
2236
2240
|
try { if (!stream.destroyed && !stream.closed) stream.sendTrailers(_trailers); } catch (_e) { /* best-effort */ }
|
|
2237
2241
|
});
|
|
@@ -191,6 +191,8 @@ module.exports = function renderXML(xmlContent, contentType, deps) {
|
|
|
191
191
|
// #H10 — register the trailer flush, then defer the close via
|
|
192
192
|
// waitForTrailers so trailers follow the final DATA frame.
|
|
193
193
|
if (_trailers) {
|
|
194
|
+
// #B1080 — the compat response registered its own 'wantTrailers' listener before this one and sends its trailers from it, so a raw sendTrailers() comes too late: hand it each field (a field it refuses is dropped). The listener below stays for a stream with no compat response.
|
|
195
|
+
if (typeof(response.addTrailers) == 'function') Object.keys(_trailers).forEach(function(_tk) { var _tf = {}; _tf[_tk] = _trailers[_tk]; try { response.addTrailers(_tf); } catch (_e) { /* best-effort */ } });
|
|
194
196
|
stream.once('wantTrailers', function() {
|
|
195
197
|
try { if (!stream.destroyed && !stream.closed) stream.sendTrailers(_trailers); } catch (_e) { /* best-effort */ }
|
|
196
198
|
});
|
|
@@ -2789,13 +2789,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
2789
2789
|
|
|
2790
2790
|
/**
|
|
2791
2791
|
* Reset fields
|
|
2792
|
-
* Restores each bound control to the value it had when the form was bound
|
|
2793
|
-
*
|
|
2794
|
-
*
|
|
2795
|
-
*
|
|
2796
|
-
*
|
|
2797
|
-
*
|
|
2798
|
-
*
|
|
2792
|
+
* Restores each bound control to the value it had when the form was bound (a form-associated custom
|
|
2793
|
+
* element restores itself through its own `formResetCallback`, or keeps its value without one: see
|
|
2794
|
+
* below), then runs the one pass of a reset: the error display and the `errors` store are cleared,
|
|
2795
|
+
* nothing is painted, and the submit trigger is re-read (#B1037). With live check off, `resetFields()`
|
|
2796
|
+
* runs no pass; a master checkbox's timer reads the form once more, its group applied. While the values
|
|
2797
|
+
* are written the live check stays out of it (`isBeingReseted`, read by the live listeners), and
|
|
2798
|
+
* `resetCount` tells a pass already on its way that the form it was checking is gone. A control removed
|
|
2799
|
+
* from the page since the bind is skipped, and each control is looked for among the form's own, should
|
|
2800
|
+
* its id be shared (#B1036). A form-associated custom element restores itself through its own
|
|
2801
|
+
* `formResetCallback`, which the native reset gina cancels would have run: one without that callback
|
|
2802
|
+
* keeps its value, as a native reset leaves it, and a callback that throws is reported without stopping
|
|
2803
|
+
* the reset (#B1041). The callbacks run once every other control is restored, as a native reset runs
|
|
2804
|
+
* them, and a component no longer among the form's `elements` (moved into another form since the bind)
|
|
2805
|
+
* is left alone (#B1087). A submit waiting for a staged upload of the form (#B726) is dropped, so the
|
|
2806
|
+
* upload's settle replays nothing, and the busy state its gesture armed is released, unless a request of
|
|
2807
|
+
* the form's own is in flight (#B1043).
|
|
2799
2808
|
*
|
|
2800
2809
|
* @param {object|string} [$form|formId]
|
|
2801
2810
|
* @param {boolean} [isOnResetMode=false] - the path of a `reset` event: `text` and `hidden` inputs
|
|
@@ -2827,6 +2836,16 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
2827
2836
|
$form = instance.$forms[_id]
|
|
2828
2837
|
}
|
|
2829
2838
|
|
|
2839
|
+
// #B1043 — a submit waiting for a staged upload of this form (#B726) belongs to the values the reset
|
|
2840
|
+
// replaces: drop it, so the upload's settle replays nothing, and release the busy state its gesture
|
|
2841
|
+
// armed, unless a request of the form's own is in flight (its settle owns that state)
|
|
2842
|
+
if ( $form.stagedUploadWait ) {
|
|
2843
|
+
$form.stagedUploadWait = null;
|
|
2844
|
+
if ( !/^true$/i.test($form.isSending) ) {
|
|
2845
|
+
disarmSubmitLoading($form);
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2830
2849
|
if ($form.fieldsSet) {
|
|
2831
2850
|
|
|
2832
2851
|
var elId = null
|
|
@@ -2837,6 +2856,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
2837
2856
|
, defaultValue = null
|
|
2838
2857
|
;
|
|
2839
2858
|
var resetInfo = null;
|
|
2859
|
+
// #B1087 — the form-associated custom elements whose own `formResetCallback` runs after the loop
|
|
2860
|
+
var faceResets = [];
|
|
2840
2861
|
$form.isBeingReseted = true;
|
|
2841
2862
|
$form.resetCount = ( $form.resetCount || 0 ) + 1;
|
|
2842
2863
|
// the flag must come down whatever happens here: left up, it would silence the form's live
|
|
@@ -2858,6 +2879,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
2858
2879
|
}
|
|
2859
2880
|
// a field removed from the page since the bind has nothing to restore
|
|
2860
2881
|
if ( !$element ) { continue; }
|
|
2882
|
+
// #B1041 — a form-associated custom element (bound by `getOwnedFaces`: its tag name holds
|
|
2883
|
+
// a `-`) restores itself: gina cancels the native reset, which would have run the element's
|
|
2884
|
+
// own `formResetCallback`, so the reset calls it, after this loop (#B1087). An element
|
|
2885
|
+
// without one keeps its value, as a native reset leaves it.
|
|
2886
|
+
if ( $element.tagName.indexOf('-') > -1 ) {
|
|
2887
|
+
// #B1087 — a component moved into another form since the bind is that form's to reset,
|
|
2888
|
+
// as natively: the `form` property the bind gave it still names this form, so the
|
|
2889
|
+
// #B1036 lookup above kept it; membership in this form's `elements` is the test
|
|
2890
|
+
if ( $form.target.elements && Array.prototype.indexOf.call($form.target.elements, $element) < 0 ) {
|
|
2891
|
+
continue;
|
|
2892
|
+
}
|
|
2893
|
+
if ( typeof($element.formResetCallback) == 'function' ) {
|
|
2894
|
+
faceResets.push($element);
|
|
2895
|
+
}
|
|
2896
|
+
continue;
|
|
2897
|
+
}
|
|
2861
2898
|
type = $element.tagName.toLowerCase();
|
|
2862
2899
|
tagName = $element.tagName;
|
|
2863
2900
|
|
|
@@ -2888,6 +2925,17 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
2888
2925
|
}
|
|
2889
2926
|
|
|
2890
2927
|
}
|
|
2928
|
+
// #B1087 — the components restore themselves once every other control is restored, as a
|
|
2929
|
+
// native reset runs their callbacks after it has reset each control: a callback reading a
|
|
2930
|
+
// sibling sees the restored value. Still under `isBeingReseted`, before the pass reads the
|
|
2931
|
+
// form. A throwing callback is reported, as the browser reports one, and the others still run.
|
|
2932
|
+
for (var fr = 0, frLen = faceResets.length; fr < frLen; ++fr) {
|
|
2933
|
+
try {
|
|
2934
|
+
faceResets[fr].formResetCallback();
|
|
2935
|
+
} catch (formResetErr) {
|
|
2936
|
+
setTimeout(function onFormResetCallbackError() { throw formResetErr; }, 0);
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
2891
2939
|
// On reset mode the collector writes `text` and `hidden` values too: still under the flag
|
|
2892
2940
|
resetInfo = ( isOnResetMode === true )
|
|
2893
2941
|
? getFormValidationInfos($form.target, $form.rules, true)
|
|
@@ -4204,10 +4252,15 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
4204
4252
|
|
|
4205
4253
|
} catch (err) {
|
|
4206
4254
|
|
|
4255
|
+
// #B1083 — an answer came back and handling it failed (a JSON body
|
|
4256
|
+
// that does not parse, …): not a transport failure, so
|
|
4257
|
+
// `transportError: false`, and `contentType` says what came back.
|
|
4207
4258
|
result = {
|
|
4208
4259
|
status: 422,
|
|
4209
4260
|
error : err.message,
|
|
4210
|
-
stack : err.stack
|
|
4261
|
+
stack : err.stack,
|
|
4262
|
+
transportError : false,
|
|
4263
|
+
contentType : contentType
|
|
4211
4264
|
|
|
4212
4265
|
};
|
|
4213
4266
|
|
|
@@ -4264,7 +4317,14 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
4264
4317
|
|
|
4265
4318
|
} else if ( xhr.status != 0) {
|
|
4266
4319
|
// XHR Error
|
|
4267
|
-
|
|
4320
|
+
// #B1083 — the server answered, so the request did not fail in transit:
|
|
4321
|
+
// `transportError: false` (the forms guide's contract; refuseSend's payload
|
|
4322
|
+
// carries it too), and `contentType` says what the answer is (its header as the
|
|
4323
|
+
// browser reads it, `null` when none), so a handler can tell a proxy's page in
|
|
4324
|
+
// `message` from a message the application wrote. On the normal path a JSON
|
|
4325
|
+
// body keeps its own keys (`merge(body, result)` keeps the target's).
|
|
4326
|
+
// was: result = { 'status': xhr.status };
|
|
4327
|
+
result = { 'status': xhr.status, 'transportError': false, 'contentType': contentType };
|
|
4268
4328
|
// handling blob xhr error
|
|
4269
4329
|
if ( /blob/.test(xhr.responseType) ) {
|
|
4270
4330
|
|
|
@@ -4299,6 +4359,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
4299
4359
|
} catch(err) {
|
|
4300
4360
|
result = merge(result, err)
|
|
4301
4361
|
}
|
|
4362
|
+
} else if ( blobError ) {
|
|
4363
|
+
// #B1083 — an answer sent as an attachment whose body is not
|
|
4364
|
+
// JSON (a proxy's HTML page, plain text) keeps that body in
|
|
4365
|
+
// `message`, as the normal case below does; it was dropped.
|
|
4366
|
+
result.message = blobError;
|
|
4302
4367
|
}
|
|
4303
4368
|
|
|
4304
4369
|
if (!result.message)
|
|
@@ -5249,10 +5314,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5249
5314
|
* emptied, the delete links of the stored entries the selection replaces go (#B150), its files
|
|
5250
5315
|
* become the entries the reset and delete links act on (`customFiles`, from `pendingFiles`),
|
|
5251
5316
|
* the hidden fields are built (see buildUploadHiddenFields) and filled from the answer, each key
|
|
5252
|
-
* it carries replacing its field's value (`name` included, #B962),
|
|
5253
|
-
*
|
|
5317
|
+
* it carries replacing its field's value (`name` included, #B962), the fields of the indices the
|
|
5318
|
+
* input held beyond the new selection are taken out of the form (see removeUploadEntryFields,
|
|
5319
|
+
* #B1057), and the previews and reset links are rendered. On a failure the error is shown or announced, and only the pending
|
|
5254
5320
|
* selection is dropped: the previews, the controls, the entries and the hidden fields stay as
|
|
5255
|
-
* they were.
|
|
5321
|
+
* they were. The input's value is emptied too, so the same file can be chosen again (#B1059).
|
|
5256
5322
|
*
|
|
5257
5323
|
* @inner
|
|
5258
5324
|
* @private
|
|
@@ -5325,6 +5391,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5325
5391
|
// the reset and delete links, the input's entries and the form's hidden fields stay as they were
|
|
5326
5392
|
if ( status != 'success' && $uploadTriger ) {
|
|
5327
5393
|
$uploadTriger.pendingFiles = null;
|
|
5394
|
+
// #B1059 — the input let go of the failed selection: it kept naming the file, so choosing
|
|
5395
|
+
// that same file again fired `cancel` instead of `change` (Chromium) and nothing was staged.
|
|
5396
|
+
// A superseded staging never reaches this settle (it ends on its abort), so a newer
|
|
5397
|
+
// selection still staging keeps its file.
|
|
5398
|
+
$uploadTriger.value = '';
|
|
5328
5399
|
}
|
|
5329
5400
|
|
|
5330
5401
|
if ($error && status != 'success') { // handle errors first
|
|
@@ -5405,6 +5476,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5405
5476
|
// replaced ones in `_replacedStoredFiles`, and the fields were built at the selection.
|
|
5406
5477
|
// was: the replaced entries came from $uploadTriger._replacedStoredFiles, then emptied
|
|
5407
5478
|
var replacedStoredFiles = ( $uploadTriger.customFiles || [] ).filter(function (entry) { return entry && entry.deleteLinkId; });
|
|
5479
|
+
// #B1057 — the count of files the input held before this selection takes it over
|
|
5480
|
+
var heldFilesCount = ( $uploadTriger.customFiles || [] ).length;
|
|
5408
5481
|
for (var r = 0, rLen = replacedStoredFiles.length; r < rLen; ++r) {
|
|
5409
5482
|
var $replacedLink = document.getElementById(replacedStoredFiles[r].deleteLinkId);
|
|
5410
5483
|
if ($replacedLink) {
|
|
@@ -5419,6 +5492,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5419
5492
|
$uploadTriger.pendingFiles = null;
|
|
5420
5493
|
if ( $uploadTriger.form ) {
|
|
5421
5494
|
uploadProperties.uploadFields = buildUploadHiddenFields($uploadTriger, getUploadFieldPrefix($uploadTriger), files.length, uploadProperties.mandatoryFields, false);
|
|
5495
|
+
// #B1057 — a selection with fewer files than the input held leaves the indices it no
|
|
5496
|
+
// longer has: their fields go, as a reset takes them out (a locked field stays, and a
|
|
5497
|
+
// later, larger selection puts back the ones the page declared). They stayed, so the form
|
|
5498
|
+
// posted the replaced files beside the new ones while the page showed the new ones only.
|
|
5499
|
+
for (var staleIndex = files.length; staleIndex < heldFilesCount; ++staleIndex) {
|
|
5500
|
+
removeUploadEntryFields($uploadTriger, getUploadFieldPrefix($uploadTriger), staleIndex);
|
|
5501
|
+
}
|
|
5422
5502
|
}
|
|
5423
5503
|
}
|
|
5424
5504
|
for (var f = 0, fLen = files.length; f<fLen; ++f) {
|
|
@@ -5695,6 +5775,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5695
5775
|
fadeIn($resetLink);
|
|
5696
5776
|
} // EO for f
|
|
5697
5777
|
}
|
|
5778
|
+
// #B1058 — the files the input holds changed (taken over, or the pending selection dropped):
|
|
5779
|
+
// the gate of a rule on it follows, before a submit that waited for this upload is decided
|
|
5780
|
+
if ( $uploadTriger ) {
|
|
5781
|
+
resyncStagedUploadGate($uploadTriger);
|
|
5782
|
+
}
|
|
5698
5783
|
}
|
|
5699
5784
|
|
|
5700
5785
|
/**
|
|
@@ -5785,9 +5870,68 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5785
5870
|
return false;
|
|
5786
5871
|
};
|
|
5787
5872
|
|
|
5873
|
+
/**
|
|
5874
|
+
* getStagedUploadValue — #B1058: the value a rule of a staged file input judges. The input never
|
|
5875
|
+
* posts its own value (the browser's placeholder path, #B725), so its rules judge the files it
|
|
5876
|
+
* holds: the names of its entries (`customFiles`: the files of its last successful staging, or
|
|
5877
|
+
* the saved files an edit form shows) and of a selection still staging (`pendingFiles`), joined
|
|
5878
|
+
* with ', ', or '' when it holds none. A selection in flight counts, so the file being sent
|
|
5879
|
+
* satisfies `isRequired` while it uploads; a failed staging drops it.
|
|
5880
|
+
*
|
|
5881
|
+
* @inner
|
|
5882
|
+
* @private
|
|
5883
|
+
* @param {HTMLInputElement} $input - the staged file input
|
|
5884
|
+
* @returns {string} the names of the files it holds, or ''
|
|
5885
|
+
*
|
|
5886
|
+
* @example
|
|
5887
|
+
* getStagedUploadValue(document.getElementById('avatar')); // 'me.png' once a file is staged, '' after its reset
|
|
5888
|
+
*/
|
|
5889
|
+
var getStagedUploadValue = function($input) {
|
|
5890
|
+
var names = [], lists = [ $input.customFiles, $input.pendingFiles ], list = null;
|
|
5891
|
+
for (var l = 0; l < lists.length; ++l) {
|
|
5892
|
+
list = lists[l];
|
|
5893
|
+
if ( !list ) {
|
|
5894
|
+
continue;
|
|
5895
|
+
}
|
|
5896
|
+
for (var e = 0, eLen = list.length; e < eLen; ++e) {
|
|
5897
|
+
if ( list[e] && list[e].name ) {
|
|
5898
|
+
names.push(list[e].name);
|
|
5899
|
+
}
|
|
5900
|
+
}
|
|
5901
|
+
}
|
|
5902
|
+
return names.join(', ');
|
|
5903
|
+
};
|
|
5904
|
+
|
|
5905
|
+
/**
|
|
5906
|
+
* resyncStagedUploadGate — #B1058: re-derives the gate of a staged file input's form (see
|
|
5907
|
+
* revalidateSilently) when the files the input holds change: a selection, a staging settle, a
|
|
5908
|
+
* 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, the one case where the gate can depend on it. Without it a
|
|
5910
|
+
* required staged input kept the submit trigger marked not ready after its staging, so a click
|
|
5911
|
+
* only re-synced the trigger and sent nothing, and a click made while the file uploaded was lost.
|
|
5912
|
+
*
|
|
5913
|
+
* @inner
|
|
5914
|
+
* @private
|
|
5915
|
+
* @param {HTMLInputElement} $input - the staged file input
|
|
5916
|
+
* @returns {void}
|
|
5917
|
+
*
|
|
5918
|
+
* @example
|
|
5919
|
+
* resyncStagedUploadGate(document.getElementById('avatar')); // the trigger opens once the file is staged
|
|
5920
|
+
*/
|
|
5921
|
+
var resyncStagedUploadGate = function($input) {
|
|
5922
|
+
var $form = ( $input && $input.form ) ? $input.form : null;
|
|
5923
|
+
var formId = ( $form && typeof($form.getAttribute) == 'function' ) ? $form.getAttribute('id') : null;
|
|
5924
|
+
var $formRecord = ( formId && typeof(instance.$forms[formId]) != 'undefined' ) ? instance.$forms[formId] : null;
|
|
5925
|
+
if ( !$formRecord || !$formRecord.rules || typeof($formRecord.rules[$input.name]) == 'undefined' ) {
|
|
5926
|
+
return;
|
|
5927
|
+
}
|
|
5928
|
+
revalidateSilently($formRecord);
|
|
5929
|
+
};
|
|
5930
|
+
|
|
5788
5931
|
/**
|
|
5789
5932
|
* removeUploadEntryFields — #B858/#B862: removes from a file input's form the controls of one
|
|
5790
|
-
* of its files, `<prefix>[index]…` (except those marked `data-gina-form-upload-is-locked`),
|
|
5933
|
+
* of its files, `<prefix>[index]…` (except those marked `data-gina-form-upload-is-locked`), on a
|
|
5934
|
+
* reset, a delete, or a staged selection with fewer files than the input held (#B1057), and
|
|
5791
5935
|
* keeps them on the input so that the next selection puts them back
|
|
5792
5936
|
* (see restoreRemovedUploadFields): a page's declared fields — `[preview][*]` sub-fields, a
|
|
5793
5937
|
* caption — are part of the form, not of the file.
|
|
@@ -6303,6 +6447,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
6303
6447
|
$uploadTrigger.value = '';
|
|
6304
6448
|
$uploadTrigger.stagedFiles = [];
|
|
6305
6449
|
}
|
|
6450
|
+
// #B1058 — the removed files no longer count for a rule of the input: the gate follows
|
|
6451
|
+
resyncStagedUploadGate($uploadTrigger);
|
|
6306
6452
|
//update toolbar
|
|
6307
6453
|
if (gina && envIsDev && isGFFCtx && typeof(window.ginaToolbar) != 'undefined' && window.ginaToolbar ) {
|
|
6308
6454
|
try {
|
|
@@ -7689,6 +7835,10 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
7689
7835
|
* checkbox, text, hidden, password, number, email, tel, url, search, and the date/time family
|
|
7690
7836
|
* (date, time, datetime-local, month, week).
|
|
7691
7837
|
*
|
|
7838
|
+
* A check that waits (the keyup debounce, the deferred radio and checkbox pass) stops without
|
|
7839
|
+
* touching anything when, by the time it runs, its form has no record any more (`destroy()`) or
|
|
7840
|
+
* the field has left its form (#B1069).
|
|
7841
|
+
*
|
|
7692
7842
|
* @inner
|
|
7693
7843
|
* @param {object} $form - form instance record (`instance.$forms[id]` shape: `.rules`, `.target`)
|
|
7694
7844
|
* @param {object} $el - control to wire (DOMObject)
|
|
@@ -7850,6 +8000,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
7850
8000
|
|
|
7851
8001
|
var processEvent = function() {
|
|
7852
8002
|
|
|
8003
|
+
// #B1069 — this check waited (the keyup debounce, the radio and checkbox 0 ms pass)
|
|
8004
|
+
// and the form went meanwhile: `destroy()` dropped its record, or the field left the
|
|
8005
|
+
// form. Nothing is left to check or paint; reading the record here threw.
|
|
8006
|
+
if ( !event.target.form || typeof(instance.$forms[event.target.form.getAttribute('id')]) == 'undefined' ) {
|
|
8007
|
+
return;
|
|
8008
|
+
}
|
|
8009
|
+
|
|
7853
8010
|
if ( isStaleAfterReset() ) {
|
|
7854
8011
|
return;
|
|
7855
8012
|
}
|
|
@@ -9434,6 +9591,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
9434
9591
|
// was: $el._replacedStoredFiles = ( $el._replacedStoredFiles || [] ).concat(_replacedStoredFiles);
|
|
9435
9592
|
// was: $el.customFiles = Array.from(files);
|
|
9436
9593
|
$el.pendingFiles = Array.from(files);
|
|
9594
|
+
// #B1058 — the file now staging counts for a rule of the input: the gate follows it
|
|
9595
|
+
resyncStagedUploadGate($el);
|
|
9437
9596
|
|
|
9438
9597
|
|
|
9439
9598
|
|
|
@@ -9874,7 +10033,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
9874
10033
|
}
|
|
9875
10034
|
|
|
9876
10035
|
updateSubmitTriggerState( $gForm, isFormValid);
|
|
9877
|
-
once
|
|
10036
|
+
// #B1038 — no `once` is in scope here: the assignment wrote the page's `window.once`.
|
|
10037
|
+
// was: once = false;
|
|
9878
10038
|
})
|
|
9879
10039
|
|
|
9880
10040
|
});
|
|
@@ -11442,6 +11602,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
11442
11602
|
// #B725 (gh#83 part 2) — a staged file input's `.value` is the browser
|
|
11443
11603
|
// placeholder `C:\fakepath\<name>`; its real data travels through the
|
|
11444
11604
|
// staged hidden fields, so keep it out of the XHR payload.
|
|
11605
|
+
// #B1058 — a rule of the input judges the files it holds (getStagedUploadValue);
|
|
11606
|
+
// validate() leaves that value out of the data. Without a value no rule ran:
|
|
11607
|
+
// `isRequired` on a staged input refused nothing.
|
|
11608
|
+
if ( rules && typeof(rules[name]) != 'undefined' ) {
|
|
11609
|
+
fields[name] = getStagedUploadValue($target[i]);
|
|
11610
|
+
}
|
|
11445
11611
|
} else {
|
|
11446
11612
|
fields[name] = $target[i].value;
|
|
11447
11613
|
}
|
|
@@ -12163,6 +12329,9 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
12163
12329
|
* value-carrying checkbox whose own rule declares a truthy `isRequired` is
|
|
12164
12330
|
* collected as an empty string the same way (#B926): `isRequired` on it
|
|
12165
12331
|
* means « must be ticked ». A boolean checkbox posts its live state instead.
|
|
12332
|
+
* A staged file input (`data-gina-form-upload-action`) never gives its own
|
|
12333
|
+
* value (#B725); when it has a rule it is collected with the names of the
|
|
12334
|
+
* files it holds, which validate() judges and leaves out of the data (#B1058).
|
|
12166
12335
|
*
|
|
12167
12336
|
* @param {object} $form - form target (DOMObject), not the instance
|
|
12168
12337
|
* @param {object} [rules]
|
|
@@ -12360,6 +12529,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
12360
12529
|
// placeholder `C:\fakepath\<name>`; its real data travels through the staged
|
|
12361
12530
|
// hidden fields, so keep it out of the XHR payload. The element is still
|
|
12362
12531
|
// registered in `$fields` below for any rule that inspects it.
|
|
12532
|
+
// #B1058 — a rule of the input judges the files it holds (getStagedUploadValue);
|
|
12533
|
+
// validate() leaves that value out of the data. Without a value no rule ran:
|
|
12534
|
+
// `isRequired` on a staged input refused nothing.
|
|
12535
|
+
if ( rules && typeof(rules[name]) != 'undefined' ) {
|
|
12536
|
+
fields[name] = getStagedUploadValue($form[i]);
|
|
12537
|
+
}
|
|
12363
12538
|
} else {
|
|
12364
12539
|
fields[name] = $form[i].value;
|
|
12365
12540
|
}
|
|
@@ -12635,7 +12810,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
12635
12810
|
* @param {callback} cb - with `cb.isSilentPass` (#B1037) a `query` verdict is neither stored nor
|
|
12636
12811
|
* painted here, and the pass waits for the answer to its own value: the caller reads the result.
|
|
12637
12812
|
* With `cb.judgedQueries` (#B1039), a map of the fields whose `query` verdict is in: this pass does
|
|
12638
|
-
* not ask them again
|
|
12813
|
+
* not ask them again. A `query` answer that arrives after the form went (its record dropped by
|
|
12814
|
+
* `destroy()`, or the field moved out of its form) ends the pass there: `cb` is not called (#B1069)
|
|
12639
12815
|
* @param {string} [culture] // #i18n — server form-body path only; forwarded to FormValidator
|
|
12640
12816
|
*/
|
|
12641
12817
|
var validate = function($formOrElement, fields, $fields, rules, cb, culture) {
|
|
@@ -12924,6 +13100,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
12924
13100
|
if ( !/^form$/i.test($formOrElement.tagName) ) {
|
|
12925
13101
|
$currentForm = $formOrElement.form;
|
|
12926
13102
|
}
|
|
13103
|
+
// #B1069 — the answer came after its form went: `destroy()` dropped the record, or
|
|
13104
|
+
// the field left the form. The waiter has consumed its wake-up above; the pass ends
|
|
13105
|
+
// here, with nothing stored, painted or handed to its caller (reading the record threw).
|
|
13106
|
+
if ( !$currentForm || typeof(instance.$forms[$currentForm.getAttribute('id')]) == 'undefined' ) {
|
|
13107
|
+
return;
|
|
13108
|
+
}
|
|
12927
13109
|
var formId = $currentForm.getAttribute('id');
|
|
12928
13110
|
var isFormValid = null;
|
|
12929
13111
|
// #B1037 — the form was reset since this pass started, so the value it
|
|
@@ -14065,6 +14247,25 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
14065
14247
|
|
|
14066
14248
|
if (i <= 0 && subLevelRules < 0) {
|
|
14067
14249
|
|
|
14250
|
+
// #B1058 — a staged file input is judged on the files it holds (getStagedUploadValue) and
|
|
14251
|
+
// never sent: its value leaves the data here, once every rule of the pass has run, since
|
|
14252
|
+
// `isRequired(false)` takes a name back out of the exclusions. A pass without controls
|
|
14253
|
+
// (the server's) has nothing to leave out. Written inline: this block is run on its own
|
|
14254
|
+
// by the tests that lift forEachField, with only the names it already used.
|
|
14255
|
+
if ( $fields ) {
|
|
14256
|
+
for (var stagedName in fields) {
|
|
14257
|
+
if (
|
|
14258
|
+
$fields[stagedName]
|
|
14259
|
+
&& $fields[stagedName].type == 'file'
|
|
14260
|
+
&& typeof($fields[stagedName].getAttribute) == 'function'
|
|
14261
|
+
&& $fields[stagedName].getAttribute('data-gina-form-upload-action')
|
|
14262
|
+
&& d[stagedName]
|
|
14263
|
+
&& typeof(d[stagedName].exclude) == 'function'
|
|
14264
|
+
) {
|
|
14265
|
+
d[stagedName].exclude(true);
|
|
14266
|
+
}
|
|
14267
|
+
}
|
|
14268
|
+
}
|
|
14068
14269
|
var errors = d['getErrors']();
|
|
14069
14270
|
// adding data attribute to handle display refresh
|
|
14070
14271
|
for (var field in errors) {
|