gina 0.7.5 → 0.7.6
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 +28 -0
- package/README.md +50 -53
- package/ROADMAP.md +1 -0
- package/framework/v0.7.6/VERSION +1 -0
- package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.js +243 -39
- package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js +748 -0
- package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.7.5 → v0.7.6}/core/config.js +1 -1
- package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.v4.js +1 -2
- package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.js +359 -79
- package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-json.js +16 -0
- package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-nunjucks-async.js +46 -8
- package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-nunjucks.js +61 -23
- package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-swig-async.js +45 -7
- package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-swig.js +21 -38
- package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-v1.js +17 -38
- package/framework/v0.7.6/core/controller/render-data.js +344 -0
- package/framework/v0.7.6/core/controller/render-session.js +130 -0
- package/framework/{v0.7.5 → v0.7.6}/core/gna.js +2 -2
- package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/src/main.js +138 -31
- package/framework/{v0.7.5 → v0.7.6}/core/router.js +6 -0
- package/framework/{v0.7.5 → v0.7.6}/core/server.js +111 -11
- package/framework/{v0.7.5 → v0.7.6}/lib/routing/src/main.js +30 -0
- package/framework/{v0.7.5 → v0.7.6}/package.json +2 -2
- package/gna.js +4 -4
- package/llms.txt +27 -16
- package/package.json +5 -5
- package/framework/v0.7.5/VERSION +0 -1
- package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -744
- package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/AUTHORS +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/LICENSE +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/html/static.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/config.requirements-anchor.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/storage-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/duckdb/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/duckdb/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/job-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/param-redact.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/job-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/kv-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/settle-once.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/job-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/kv-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/content.encoding +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-xml.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/controller/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/controller/inline-script.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/controller/preload-hints.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/controller/release-banner.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/dev/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/locales/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/locales/currency.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/locales/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/mime.types +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/model/entity.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/model/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/model/template/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/server.express.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/server.isaac.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/server.isaac.rapid-reset.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/server.route-candidates.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/status.codes +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/_gitignore +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/env.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/console.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/context.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/data/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/data/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/json/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/json/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/path.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/prototypes.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/task.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/helpers/text.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/admin/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/admin/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/build.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/async/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/async/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/audit/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/audit/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/audit-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/authn/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/lockout.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/totp.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/authz-gate/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/authz-gate/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cache/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cache/build.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cache/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/verify.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/boot-lines.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/name.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/start-status.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/man.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/types.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/clear.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/infer.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/models.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/test.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/man.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/ps.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/stop.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/args.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/namespace.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/reference-scan.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/scaffold.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/remove.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/rename.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/rm.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/inc/name.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/child-failure.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/listen-error.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/ps-titles.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/man.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/remove.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/reset.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/_host.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/build.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/man.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/rm.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/run.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/man-render.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/kill.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/backup.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/inc/name.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/man.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/restore.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/remove.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/inc/name.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/man.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/start.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/arguments.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/gc.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/help.txt +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/stats.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/verify.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd-status-format/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cmd-status-format/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/collection/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/collection/build.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/collection/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/collection/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/conf-view/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/conf-view/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/config.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/connector-config/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/connector-config/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/connector-error/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/connector-error/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cron/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cron/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/domain/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/domain/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/dto/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/dto/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/dto-pipe/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/dto-pipe/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/dto-types/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/dto-types/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/duration/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/duration/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/error-ref/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/error-ref/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/generator/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/i18n/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/i18n/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/idempotency/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/idempotency/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/image-build/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/image-build/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-events/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-events/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/instrument/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/job/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/job/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/job-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/json-config-header/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/json-config-header/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/kv/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/kv/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/kv-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/lane/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/lane/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/loading-state/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/loading-state/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/redact.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/maintenance/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/maintenance/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/math/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/merge/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/merge/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/message-validator/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/message-validator/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/metrics/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/metrics/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/model.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/money/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/money/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/multipart/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/multipart/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/net-locality/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/net-locality/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/priority/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/priority/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/proc.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/push/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/push/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/rate-limit/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/rate-limit/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/release-watch/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/release-watch/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/routing/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/routing/build.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/routing/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/exec.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/file.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/declaration.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/env-file.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/sources.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/security-headers-emitter/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/security-headers-emitter/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/session-lifetime/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/session-lifetime/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/session-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/shell.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/sqlite-driver.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/sri/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/sri/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/state.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local-cas.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local-stream.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/meta-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/s3.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/util.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/storage-store.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/loaders/http.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/loaders/memory.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/url/README.md +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/url/index.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/url/routing.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/uuid/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/validator.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/watcher/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/watcher/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/ws-framing/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/ws-framing/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/ws-query/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/ws-query/src/main.js +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/ws-session/package.json +0 -0
- /package/framework/{v0.7.5 → v0.7.6}/lib/ws-session/src/main.js +0 -0
|
@@ -5176,6 +5176,32 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5176
5176
|
wait.replay();
|
|
5177
5177
|
};
|
|
5178
5178
|
|
|
5179
|
+
/**
|
|
5180
|
+
* onUpload — settles a staged upload: the virtual upload form's request answered (`status`
|
|
5181
|
+
* 'success') or failed ('error', a transport failure included). It finalizes the progress
|
|
5182
|
+
* indicator and the dropzone, and notes the settle for a submit that waits on it (#B726).
|
|
5183
|
+
* On a success the selection takes the file input over (#B960): the preview container is
|
|
5184
|
+
* emptied, the delete links of the stored entries the selection replaces go (#B150), its files
|
|
5185
|
+
* become the entries the reset and delete links act on (`customFiles`, from `pendingFiles`),
|
|
5186
|
+
* the hidden fields are built (see buildUploadHiddenFields) and filled from the answer, each key
|
|
5187
|
+
* it carries replacing its field's value (`name` included, #B962), and the previews and reset
|
|
5188
|
+
* links are rendered. On a failure the error is shown or announced, and only the pending
|
|
5189
|
+
* selection is dropped: the previews, the controls, the entries and the hidden fields stay as
|
|
5190
|
+
* they were.
|
|
5191
|
+
*
|
|
5192
|
+
* @inner
|
|
5193
|
+
* @private
|
|
5194
|
+
* @param {object} gina - the gina client instance
|
|
5195
|
+
* @param {HTMLFormElement} $target - the virtual upload form, carrying `uploadProperties`
|
|
5196
|
+
* @param {string} status - 'success', or 'error' for every failure path
|
|
5197
|
+
* @param {string} id - the virtual upload form's id
|
|
5198
|
+
* @param {object} data - the staging answer (`files`), or the failure (`message` / `error`)
|
|
5199
|
+
* @returns {void}
|
|
5200
|
+
* @throws {Error} when `$target` carries no `uploadProperties`
|
|
5201
|
+
*
|
|
5202
|
+
* @example
|
|
5203
|
+
* onUpload(gina, $uploadForm, 'error', $uploadForm.id, { status: 500, error: 'staging refused' }); // the page stays as it was
|
|
5204
|
+
*/
|
|
5179
5205
|
var onUpload = function(gina, $target, status, id, data) {
|
|
5180
5206
|
|
|
5181
5207
|
var uploadProperties = $target.uploadProperties || null;
|
|
@@ -5214,11 +5240,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5214
5240
|
, files = data.files || []
|
|
5215
5241
|
, $error = null
|
|
5216
5242
|
;
|
|
5217
|
-
//
|
|
5243
|
+
// the preview container; a success empties it, a failure leaves it as it was (#B960)
|
|
5218
5244
|
if ( uploadProperties.hasPreviewContainer ) {
|
|
5219
5245
|
$previewContainer = document.getElementById(uploadProperties.previewContainer.id);
|
|
5220
|
-
if ($previewContainer)
|
|
5221
|
-
|
|
5246
|
+
// was: if ($previewContainer)
|
|
5247
|
+
// was: $previewContainer.innerHTML = '';
|
|
5222
5248
|
}
|
|
5223
5249
|
|
|
5224
5250
|
if (uploadProperties.errorField) {
|
|
@@ -5230,6 +5256,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5230
5256
|
if ($error)
|
|
5231
5257
|
$error.style.display = 'none';
|
|
5232
5258
|
|
|
5259
|
+
// #B960 — a failed staging drops the selection it carried, and nothing else: the previews,
|
|
5260
|
+
// the reset and delete links, the input's entries and the form's hidden fields stay as they were
|
|
5261
|
+
if ( status != 'success' && $uploadTriger ) {
|
|
5262
|
+
$uploadTriger.pendingFiles = null;
|
|
5263
|
+
}
|
|
5264
|
+
|
|
5233
5265
|
if ($error && status != 'success') { // handle errors first
|
|
5234
5266
|
// console.error('[ mainUploadError ] ', status, data)
|
|
5235
5267
|
var errMsg = data.message || data.error;
|
|
@@ -5286,11 +5318,43 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5286
5318
|
, maxWidth = null
|
|
5287
5319
|
, ratio = null
|
|
5288
5320
|
;
|
|
5321
|
+
// #B960 — the preview container is emptied by a success, and only by it: it was emptied
|
|
5322
|
+
// before the error and success branches, so a failed staging took the previews of the
|
|
5323
|
+
// files the input still held, and any link inside the container, off the page.
|
|
5324
|
+
if ($previewContainer)
|
|
5325
|
+
$previewContainer.innerHTML = '';
|
|
5289
5326
|
// #B859 — the staging answer, by file index, on the file input: a reset names the files
|
|
5290
5327
|
// it removes from these entries (`originalFilename`, and the preview's own when there is
|
|
5291
5328
|
// one), so a file that got no preview <img> — not an image, no `preview` — is removed too.
|
|
5292
5329
|
if ( $uploadTriger ) {
|
|
5293
5330
|
$uploadTriger.stagedFiles = files;
|
|
5331
|
+
// #B150 — the delete links of the stored entries this selection replaces go with their
|
|
5332
|
+
// entries: the container reset above takes a link placed inside the preview container,
|
|
5333
|
+
// never one placed after it, which stayed on the page bound to an entry the input no
|
|
5334
|
+
// longer held. Removed as a delete removes a link; its wrapper goes when it is an
|
|
5335
|
+
// emptied <li> of the container.
|
|
5336
|
+
// #B960 — the selection takes the input over here, when its staging succeeds: the
|
|
5337
|
+
// replaced entries are read from the input's entries, its files become the entries
|
|
5338
|
+
// the reset and delete links act on, and the form's hidden fields are built for the
|
|
5339
|
+
// files the answer names. The change listener used to write the entries, and keep the
|
|
5340
|
+
// replaced ones in `_replacedStoredFiles`, and the fields were built at the selection.
|
|
5341
|
+
// was: the replaced entries came from $uploadTriger._replacedStoredFiles, then emptied
|
|
5342
|
+
var replacedStoredFiles = ( $uploadTriger.customFiles || [] ).filter(function (entry) { return entry && entry.deleteLinkId; });
|
|
5343
|
+
for (var r = 0, rLen = replacedStoredFiles.length; r < rLen; ++r) {
|
|
5344
|
+
var $replacedLink = document.getElementById(replacedStoredFiles[r].deleteLinkId);
|
|
5345
|
+
if ($replacedLink) {
|
|
5346
|
+
var $replacedItem = $replacedLink.parentNode;
|
|
5347
|
+
$replacedLink.remove();
|
|
5348
|
+
dropEmptyUploadPreviewItem($replacedItem, $previewContainer);
|
|
5349
|
+
}
|
|
5350
|
+
}
|
|
5351
|
+
// read by onUploadResetOrDelete; no validation rule reads it (the field collection
|
|
5352
|
+
// leaves a staged file input out of the fields, #B725)
|
|
5353
|
+
$uploadTriger.customFiles = $uploadTriger.pendingFiles || [];
|
|
5354
|
+
$uploadTriger.pendingFiles = null;
|
|
5355
|
+
if ( $uploadTriger.form ) {
|
|
5356
|
+
uploadProperties.uploadFields = buildUploadHiddenFields($uploadTriger, getUploadFieldPrefix($uploadTriger), files.length, uploadProperties.mandatoryFields, false);
|
|
5357
|
+
}
|
|
5294
5358
|
}
|
|
5295
5359
|
for (var f = 0, fLen = files.length; f<fLen; ++f) {
|
|
5296
5360
|
|
|
@@ -5400,9 +5464,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5400
5464
|
var $elIgnored = null;
|
|
5401
5465
|
for (var key in fieldsObjectList) {
|
|
5402
5466
|
// update field value
|
|
5467
|
+
// #B962 — the answer's `name` fills its field like every other key. The fill skipped `name`
|
|
5468
|
+
// whenever its field held a value, so a replacement in an edit form posted the saved
|
|
5469
|
+
// file's name beside the new file's location, and a second staging on the same input
|
|
5470
|
+
// posted the first staged file's name. An answer without `name` leaves the field as it is.
|
|
5471
|
+
// was: key == 'name' && fieldsObjectList[key].value != '' (the condition's first clause)
|
|
5403
5472
|
if (
|
|
5404
|
-
|
|
5405
|
-
|| !files[f][key]
|
|
5473
|
+
!files[f][key]
|
|
5406
5474
|
|| key == 'preview' && typeof(files[f][key]) == 'undefined'
|
|
5407
5475
|
|| /(height|width)/i.test(key) && !/^image/.test(files[f].mime)
|
|
5408
5476
|
) {
|
|
@@ -5719,19 +5787,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
5719
5787
|
* buildUploadHiddenFields — #B858: the hidden `<prefix>[i][…]` fields of a file input's
|
|
5720
5788
|
* selection, in its form, by file index: the inputs the form holds are reused (declared by the
|
|
5721
5789
|
* page, or written by an earlier selection), the ones a reset removed come back, and the
|
|
5722
|
-
* missing mandatory ones are created, empty, for the staging answer to fill. Run
|
|
5723
|
-
*
|
|
5724
|
-
*
|
|
5725
|
-
*
|
|
5790
|
+
* missing mandatory ones are created, empty, for the staging answer to fill. Run for EVERY
|
|
5791
|
+
* staging that succeeds, by `onUpload` (#B960): run at the selection, it left the fields a
|
|
5792
|
+
* failed staging had created in the form, empty, for the save to post, and a reset made while
|
|
5793
|
+
* the staging was on the wire took them out before the answer filled them. Building them only
|
|
5794
|
+
* with the input's virtual upload form (before #B858) left a selection made after a reset with
|
|
5795
|
+
* no field in the form, and one with more files than the first with none for its new files.
|
|
5726
5796
|
*
|
|
5727
5797
|
* @inner
|
|
5728
5798
|
* @private
|
|
5729
5799
|
* @param {HTMLInputElement} $el - the file input
|
|
5730
5800
|
* @param {string} fieldPrefix - see getUploadFieldPrefix
|
|
5731
|
-
* @param {number} filesLength - the count of files
|
|
5801
|
+
* @param {number} filesLength - the count of files the staging answer names
|
|
5732
5802
|
* @param {Array<string>} mandatoryFields - the metadata keys every file gets an input for
|
|
5733
5803
|
* @param {boolean} bindResetTriggers - binds each file's reset trigger when it is already in
|
|
5734
|
-
* the page (
|
|
5804
|
+
* the page (`onUpload` passes false: it binds the reset links it renders, and the selection
|
|
5805
|
+
* that creates the virtual upload form binds the ones the page declares)
|
|
5735
5806
|
* @returns {Array<object>} by file index, the field map the staging answer fills
|
|
5736
5807
|
*
|
|
5737
5808
|
* @example
|
|
@@ -8380,10 +8451,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
8380
8451
|
/**
|
|
8381
8452
|
* bindUploadResetOrDeleteTrigger
|
|
8382
8453
|
*
|
|
8383
|
-
*
|
|
8384
|
-
*
|
|
8385
|
-
*
|
|
8454
|
+
* Binds the reset (staged file) or delete (saved file) control of the file at `index`: the
|
|
8455
|
+
* element `<input id>-<index>-<bindingType>-trigger`, or the id the input declares through
|
|
8456
|
+
* `data-gina-form-upload-<bindingType>-trigger`. A control already bound is left as it is.
|
|
8457
|
+
* Warns when the control is missing only where the page had to provide it: a delete control,
|
|
8458
|
+
* or a declared id. A reset control missing under its default id is created by gina when the
|
|
8459
|
+
* staging succeeds (#B292).
|
|
8386
8460
|
*
|
|
8461
|
+
* @inner
|
|
8462
|
+
* @param {string} bindingType - `reset` or `delete`
|
|
8463
|
+
* @param {object} $uploadTrigger - the file input (HTMLInputElement)
|
|
8464
|
+
* @param {number} index - the file's index in the input
|
|
8465
|
+
* @returns {void}
|
|
8466
|
+
*
|
|
8467
|
+
* @example
|
|
8468
|
+
* // a staged file's reset control, bound once the staging succeeded
|
|
8469
|
+
* bindUploadResetOrDeleteTrigger('reset', $input, 0); // binds #avatar-0-reset-trigger
|
|
8387
8470
|
*/
|
|
8388
8471
|
var bindUploadResetOrDeleteTrigger = function(bindingType, $uploadTrigger, index) {
|
|
8389
8472
|
|
|
@@ -8431,7 +8514,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
8431
8514
|
});
|
|
8432
8515
|
}
|
|
8433
8516
|
$uploadResetOrDeleteTrigger.isBinded = true;
|
|
8434
|
-
} else {
|
|
8517
|
+
} else if ( !$uploadResetOrDeleteTrigger && ( bindingType != 'reset' || customTriggerId ) ) {
|
|
8518
|
+
// #B292 — the `else` also warned for a trigger found and already bound (a re-bind,
|
|
8519
|
+
// `$forms[id].reBind()`), and for a reset trigger missing under its default id, which
|
|
8520
|
+
// gina creates itself when the staging succeeds (onUpload). It warns now only when the
|
|
8521
|
+
// page had to provide the trigger: a delete trigger, or an id declared through
|
|
8522
|
+
// `data-gina-form-upload-<reset|delete>-trigger`.
|
|
8523
|
+
// was: } else {
|
|
8435
8524
|
console.warn('[FormValidator::bindForm][upload]['+$uploadTrigger.id+'] : did not find `upload '+bindingType+' trigger`.\nPlease, make sure that your '+bindingType+' element ID is `'+ uploadResetOrDeleteTriggerId +'`, or add to your file input ('+ $uploadTrigger.id +') -> `data-gina-form-upload-'+bindingType+'-trigger="your-custom-id"` definition.');
|
|
8436
8525
|
}
|
|
8437
8526
|
}
|
|
@@ -9464,9 +9553,25 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
9464
9553
|
// [0] is for a single file, when multiple == false
|
|
9465
9554
|
//var files = Array.from($el.files);
|
|
9466
9555
|
var files = $el.files;
|
|
9467
|
-
//
|
|
9468
|
-
|
|
9556
|
+
// #B959 — a change that carries no file (an emptied selection) leaves the input as it
|
|
9557
|
+
// was. The input's records (the entries its reset and delete links act on, and the
|
|
9558
|
+
// #B150 record) used to be written before this return, so the entries were emptied
|
|
9559
|
+
// and every reset or delete link of the input was left bound to nothing: a click
|
|
9560
|
+
// sent no request, removed nothing and logged the zero-match warning, while the
|
|
9561
|
+
// files' previews and hidden fields stayed in the form.
|
|
9562
|
+
// was: the return stood after the two assignments that #B960 removed from here
|
|
9469
9563
|
if (!files.length ) return false;
|
|
9564
|
+
// #B960 — the selection waits on the input until its staging settles: a success takes
|
|
9565
|
+
// the input over (its entries, the replaced entries' delete links and the form's
|
|
9566
|
+
// hidden fields, see onUpload), a failure drops it. They were written here, before
|
|
9567
|
+
// the answer: a failed staging left the reset and delete links of the files the page
|
|
9568
|
+
// still showed bound to the files it had dropped, its empty fields were posted with
|
|
9569
|
+
// the form, and a reset made while the staging was on the wire took the new file's
|
|
9570
|
+
// fields out of the form before the answer filled them.
|
|
9571
|
+
// was: var _replacedStoredFiles = ($el.customFiles || []).filter(function (entry) { return entry && entry.deleteLinkId; });
|
|
9572
|
+
// was: $el._replacedStoredFiles = ( $el._replacedStoredFiles || [] ).concat(_replacedStoredFiles);
|
|
9573
|
+
// was: $el.customFiles = Array.from(files);
|
|
9574
|
+
$el.pendingFiles = Array.from(files);
|
|
9470
9575
|
|
|
9471
9576
|
|
|
9472
9577
|
|
|
@@ -9571,8 +9676,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
9571
9676
|
if ( typeof($el.form) != 'undefined' ) {
|
|
9572
9677
|
|
|
9573
9678
|
// adding virtual fields
|
|
9574
|
-
// #
|
|
9575
|
-
var fieldPrefix = getUploadFieldPrefix($el);
|
|
9679
|
+
// #B960 — the prefix rule (#B862) is read where the fields are built, in onUpload
|
|
9680
|
+
// was: var fieldPrefix = getUploadFieldPrefix($el);
|
|
9576
9681
|
var fieldId = $el.id || $el.getAttribute('id');
|
|
9577
9682
|
|
|
9578
9683
|
var hasPreviewContainer = false;
|
|
@@ -9614,8 +9719,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
9614
9719
|
]
|
|
9615
9720
|
;
|
|
9616
9721
|
|
|
9617
|
-
// #
|
|
9618
|
-
|
|
9722
|
+
// #B960 — the hidden fields are built when the staging succeeds (see onUpload);
|
|
9723
|
+
// the reset triggers the page already holds are bound here, as the build bound
|
|
9724
|
+
// them when it ran at the selection (#B858)
|
|
9725
|
+
// was: hiddenFields = buildUploadHiddenFields($el, fieldPrefix, files.length, mandatoryFields, true);
|
|
9726
|
+
for (var _r = 0, _rLen = files.length; _r < _rLen; ++_r) {
|
|
9727
|
+
bindUploadResetOrDeleteTrigger('reset', $el, _r);
|
|
9728
|
+
}
|
|
9619
9729
|
|
|
9620
9730
|
$uploadForm.uploadProperties = {
|
|
9621
9731
|
id : $el.form.id || $el.getAttribute('id'),
|
|
@@ -9669,17 +9779,14 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
9669
9779
|
document.body.appendChild($uploadForm)
|
|
9670
9780
|
}
|
|
9671
9781
|
} else {
|
|
9672
|
-
// #B858 — a selection that finds the input's virtual upload form
|
|
9673
|
-
//
|
|
9674
|
-
//
|
|
9675
|
-
//
|
|
9676
|
-
// files than the first had none for its new files. In a popin the lookup
|
|
9677
|
-
// above reads a parsed COPY of the popin, without the upload's properties:
|
|
9678
|
-
// they are on the document's element.
|
|
9782
|
+
// #B858 — a selection that finds the input's virtual upload form reads its
|
|
9783
|
+
// properties from the document's element: in a popin the lookup above reads a
|
|
9784
|
+
// parsed COPY of the popin, without them. #B960 — its hidden fields are built
|
|
9785
|
+
// when the staging succeeds (see onUpload), no longer here.
|
|
9679
9786
|
$uploadForm = document.getElementById(uploadFormId) || $uploadForm;
|
|
9680
|
-
if ( $el.form && $uploadForm.uploadProperties ) {
|
|
9681
|
-
|
|
9682
|
-
}
|
|
9787
|
+
// was: if ( $el.form && $uploadForm.uploadProperties ) {
|
|
9788
|
+
// was: $uploadForm.uploadProperties.uploadFields = buildUploadHiddenFields($el, getUploadFieldPrefix($el), files.length, $uploadForm.uploadProperties.mandatoryFields, false);
|
|
9789
|
+
// was: }
|
|
9683
9790
|
}
|
|
9684
9791
|
|
|
9685
9792
|
// #R8 — upload-progress kickoff: show activity from selection
|
|
@@ -1107,6 +1107,12 @@ function Router(env, scope) {
|
|
|
1107
1107
|
// was: Setup.apply(Setup, arguments);
|
|
1108
1108
|
// return Setup;
|
|
1109
1109
|
// #B807 — on this run's own receiver (above), no longer on the export.
|
|
1110
|
+
// #TPL3 — record this run on the engine the action's render will use, so that
|
|
1111
|
+
// render does not run setup.js again (controller.js runBundleSetupForRender
|
|
1112
|
+
// runs it for a render whose engine has not run this module yet)
|
|
1113
|
+
if ( controller.engine && typeof(controller.engine) == 'object' ) {
|
|
1114
|
+
controller.engine._ginaSetupFn = Setup;
|
|
1115
|
+
}
|
|
1110
1116
|
return Setup.apply(setupContext, arguments);
|
|
1111
1117
|
}(request, response, next)
|
|
1112
1118
|
}
|
|
@@ -2420,10 +2420,16 @@ function Server(options) {
|
|
|
2420
2420
|
// armed the timer, honour that same policy across process
|
|
2421
2421
|
// lifetimes: sweep the configured staging dirs at boot for staged
|
|
2422
2422
|
// parts old enough that a surviving timer would already have taken
|
|
2423
|
-
// them. The threshold is
|
|
2424
|
-
// sibling live process on a SHARED staging
|
|
2425
|
-
// while its chunks land,
|
|
2426
|
-
//
|
|
2423
|
+
// them. The threshold is the timeout plus one hour (#B472): an
|
|
2424
|
+
// in-flight upload from a sibling live process on a SHARED staging
|
|
2425
|
+
// dir keeps a fresh mtime while its chunks land, the hour keeps even
|
|
2426
|
+
// a stalled one safe, and the sweep acts an hour after the owner's
|
|
2427
|
+
// own timer would, so a sweeping node whose clock runs ahead of the
|
|
2428
|
+
// file's (or an attribute cache serving an older mtime) by less than
|
|
2429
|
+
// an hour cannot take a part its owner still holds. (It was
|
|
2430
|
+
// max(timeout, 1h), which for a timeout of an hour or more acted at
|
|
2431
|
+
// the owner's own moment, by the sweeping node's clock.) A disabled
|
|
2432
|
+
// timer (the shipped default) arms NO sweep — the
|
|
2427
2433
|
// docs say tmp cleanup is then the operator's own job, and this
|
|
2428
2434
|
// keeps that contract intact. Runs in every scope (production is
|
|
2429
2435
|
// where restarts strand parts); duplicate sweeps of a dir shared
|
|
@@ -2451,7 +2457,8 @@ function Server(options) {
|
|
|
2451
2457
|
}
|
|
2452
2458
|
var _sweepAppName = self.appName;
|
|
2453
2459
|
setImmediate(function() {
|
|
2454
|
-
sweepStagedUploadOrphans(_sweepDirs, Math.max(_sweepTimeoutMs, 3600000), function(report) {
|
|
2460
|
+
// was: sweepStagedUploadOrphans(_sweepDirs, Math.max(_sweepTimeoutMs, 3600000), function(report) {
|
|
2461
|
+
sweepStagedUploadOrphans(_sweepDirs, _sweepTimeoutMs + 3600000, function(report) {
|
|
2455
2462
|
if (report.removed || report.errors) {
|
|
2456
2463
|
console.info('[ BUNDLE ][ '+ _sweepAppName +' ][ server ][ init ] upload orphan sweep: removed '+ report.removed +' staged part(s)'+ ( report.errors ? ' ('+ report.errors +' error(s))' : '' ) +' across '+ _sweepDirs.length +' staging dir(s)');
|
|
2457
2464
|
} else {
|
|
@@ -3582,7 +3589,7 @@ function Server(options) {
|
|
|
3582
3589
|
// .replace(/((src|href|srcset)\=\"|(src|href|srcset)\=\')/g, '')
|
|
3583
3590
|
// .replace(/\"/g, '')
|
|
3584
3591
|
// ;
|
|
3585
|
-
//
|
|
3592
|
+
// Drop the `^` anchor so the
|
|
3586
3593
|
// decorative-quote strip is also skipped when `{{ }}` is embedded
|
|
3587
3594
|
// mid-string (e.g. `css/main.css?cache={{ ''|formatDate('HH:MM:ss') }}`).
|
|
3588
3595
|
// Without this, inner Swig string-literal quotes get stripped, the
|
|
@@ -6279,7 +6286,7 @@ function Server(options) {
|
|
|
6279
6286
|
) {
|
|
6280
6287
|
|
|
6281
6288
|
installH2SendShim(response); // #B562
|
|
6282
|
-
//
|
|
6289
|
+
// A per-request dispatcher (createNextMiddleware)
|
|
6283
6290
|
var nextMiddleware = createNextMiddleware();
|
|
6284
6291
|
nextMiddleware._index = 0;
|
|
6285
6292
|
nextMiddleware._count = self.instance._expressMiddlewares.length-1;
|
|
@@ -7981,7 +7988,7 @@ function Server(options) {
|
|
|
7981
7988
|
* @private
|
|
7982
7989
|
* @param {Error|boolean} err - Error from the previous middleware, or false
|
|
7983
7990
|
*/
|
|
7984
|
-
//
|
|
7991
|
+
// Wrap nextMiddleware in a
|
|
7985
7992
|
// per-request factory. The original function held dispatch state on its
|
|
7986
7993
|
// own properties (._index, ._request, ._response, ._next, ._nextAction).
|
|
7987
7994
|
// Under concurrent requests, request B's setup at the entry point
|
|
@@ -7990,7 +7997,7 @@ function Server(options) {
|
|
|
7990
7997
|
// sporadic 500s when express-session correctly populated req.session for
|
|
7991
7998
|
// A but CSRF then ran with B's req that never went through session.
|
|
7992
7999
|
// Each call to createNextMiddleware now returns a fresh function with
|
|
7993
|
-
// closure-isolated state.
|
|
8000
|
+
// closure-isolated state.
|
|
7994
8001
|
var createNextMiddleware = function() {
|
|
7995
8002
|
var nextMiddleware = function(err) {
|
|
7996
8003
|
|
|
@@ -8351,7 +8358,10 @@ function Server(options) {
|
|
|
8351
8358
|
* to the declaration-order scan of the bundle's routing table — restricted to the
|
|
8352
8359
|
* rules the candidate index says could match (#P46) — then dispatches the rule
|
|
8353
8360
|
* that matched. Every method check uses the request's own method, whatever
|
|
8354
|
-
* protocol the bundle is configured for (#B645).
|
|
8361
|
+
* protocol the bundle is configured for (#B645). Once a rule matches, the method's
|
|
8362
|
+
* bag holds each URL placeholder's value (#B954), and a top-level JSON array body
|
|
8363
|
+
* reaches the action as that array, on a path's first request too (#B953), at its arrival
|
|
8364
|
+
* length on every request: a placeholder named with digits only stays in `req.params` (#B965).
|
|
8355
8365
|
*
|
|
8356
8366
|
* @inner
|
|
8357
8367
|
* @private
|
|
@@ -8566,6 +8576,19 @@ function Server(options) {
|
|
|
8566
8576
|
// loop entry.
|
|
8567
8577
|
var _preCacheParams = Object.assign({}, req.params);
|
|
8568
8578
|
var _preCacheReqMethod = (typeof(req[_reqMethodKey]) != "undefined") ? Object.assign({}, req[_reqMethodKey]) : undefined;
|
|
8579
|
+
// #B957 — whether `req.body` names the method's bag (processRequestData makes them one
|
|
8580
|
+
// object on a non-empty POST, PUT or PATCH body). Read before the warm lookup and the loop,
|
|
8581
|
+
// which can replace the bag with a copy; the #B954 block after the loop restores the alias.
|
|
8582
|
+
// A top-level JSON array body is left out: the #B953 block after the loop gives the bag the
|
|
8583
|
+
// array back, and `req.body` keeps the array (#B594).
|
|
8584
|
+
var _bodyIsReqMethod = ( typeof(req.body) == 'object' && req.body !== null && !Array.isArray(req.body) && req.body === req[_reqMethodKey] );
|
|
8585
|
+
// #B953 — the bag as the request arrived, when processRequestData parsed a top-level JSON
|
|
8586
|
+
// array body into it (POST, PATCH), and whether `req.body` is that array. The loop below
|
|
8587
|
+
// matches on an `Object.assign` copy, which keys an array by index; a warm hit breaks out
|
|
8588
|
+
// before the copy. A copy taken here, before the warm lookup writes into the bag, lets the
|
|
8589
|
+
// block after the loop give the first request the array as well.
|
|
8590
|
+
var _bagArray = Array.isArray(req[_reqMethodKey]) ? req[_reqMethodKey].slice() : null;
|
|
8591
|
+
var _bodyIsBagArray = ( _bagArray !== null && req.body === req[_reqMethodKey] );
|
|
8569
8592
|
var hasCachedRoute = null;
|
|
8570
8593
|
var _cachedRouteThrew = false;
|
|
8571
8594
|
try {
|
|
@@ -8887,6 +8910,83 @@ function Server(options) {
|
|
|
8887
8910
|
}
|
|
8888
8911
|
}
|
|
8889
8912
|
|
|
8913
|
+
// #B953 — a top-level JSON array body reached the action as an object keyed by index on the
|
|
8914
|
+
// first request to each METHOD:path the route cache had not seen (the loop above matches on
|
|
8915
|
+
// an `Object.assign` copy of the bag) and as the array on every later one (a warm hit breaks
|
|
8916
|
+
// out before that copy). Once a rule has matched on such a copy, the bag is the array again:
|
|
8917
|
+
// the copy captured before the warm lookup, so a rejected warm candidate's writes are not
|
|
8918
|
+
// carried, holding the loop copy's other keys (the URL placeholders the router set) where the
|
|
8919
|
+
// array has no property of that name, as the router fills a bag (never an index, `length` or
|
|
8920
|
+
// one of its methods); `req.body` names it when it named the bag before routing.
|
|
8921
|
+
if ( matched && _bagArray !== null && !Array.isArray(req[_reqMethodKey]) ) {
|
|
8922
|
+
var _keyedBag = req[_reqMethodKey];
|
|
8923
|
+
if ( typeof(_keyedBag) == 'object' && _keyedBag !== null ) {
|
|
8924
|
+
for (let _kk in _keyedBag) {
|
|
8925
|
+
if ( Object.prototype.hasOwnProperty.call(_keyedBag, _kk) && !/^[0-9]+$/.test(_kk) && typeof(_bagArray[_kk]) == 'undefined' ) {
|
|
8926
|
+
_bagArray[_kk] = _keyedBag[_kk];
|
|
8927
|
+
}
|
|
8928
|
+
}
|
|
8929
|
+
}
|
|
8930
|
+
req[_reqMethodKey] = _bagArray;
|
|
8931
|
+
if ( _bodyIsBagArray ) {
|
|
8932
|
+
req.body = _bagArray;
|
|
8933
|
+
}
|
|
8934
|
+
}
|
|
8935
|
+
|
|
8936
|
+
// #B965 — on a warm route-cache hit the bag is still the array the request arrived with, and the
|
|
8937
|
+
// router's fill (lib/routing `fitsWithRequirements` writes a URL value where the bag has none of
|
|
8938
|
+
// that name) made a placeholder named with digits only an element past the array's end (`:5`
|
|
8939
|
+
// beside a two-element body: length 6, 3 holes), while the first request kept the array as it
|
|
8940
|
+
// arrived. Cut back to its arrival length, the array leaves that value in `req.params`, as on a
|
|
8941
|
+
// first request; a cold match has left `_bagArray` itself, at that length already.
|
|
8942
|
+
if ( matched && _bagArray !== null && Array.isArray(req[_reqMethodKey]) && req[_reqMethodKey].length > _bagArray.length ) {
|
|
8943
|
+
req[_reqMethodKey].length = _bagArray.length;
|
|
8944
|
+
}
|
|
8945
|
+
|
|
8946
|
+
// #B954 / #B957 — once a rule has matched, a URL placeholder's value wins over a query or
|
|
8947
|
+
// body key of the same name, on the first request to a METHOD:PATH and on every later one.
|
|
8948
|
+
// The loop above copies `req.params` over the bag only on a cold match (on GET and DELETE
|
|
8949
|
+
// only when the query is empty), lib/routing fills the bag only where the client sent no
|
|
8950
|
+
// key of that name, and the warm route-cache path breaks out of the loop before either copy.
|
|
8951
|
+
// So a client value reached the action under a URL placeholder's name from the second
|
|
8952
|
+
// request on (#B957), and on a POST, or on a DELETE whose placeholder had no regex
|
|
8953
|
+
// requirement, from the first (#B954). Every own key of `req.params` but the engine's `0`
|
|
8954
|
+
// (the request path) is now copied over the bag the action reads, `req[req.method]`:
|
|
8955
|
+
// `req.delete` after the GET→DELETE override, `req.head` on a HEAD (the #B675 alias below
|
|
8956
|
+
// then exposes it as `req.get`). The loop's coercion of 'false', 'true' and 'on' applies.
|
|
8957
|
+
// The client's value stays in `req.query` on a DELETE, in `req.rawBody` on a POST, PUT or
|
|
8958
|
+
// PATCH, and in `req.originalUrl` on a GET. `req.body` names the bag again when it did
|
|
8959
|
+
// before routing: the cold loop matched on a copy, so on the first request it named the
|
|
8960
|
+
// client's object while every later request gave the bag. Otherwise (an empty body, GET,
|
|
8961
|
+
// DELETE, HEAD) it is left alone; for a top-level JSON array body the #B953 block above has
|
|
8962
|
+
// already pointed it at the array.
|
|
8963
|
+
if ( matched && typeof(req.params) == 'object' && req.params !== null ) {
|
|
8964
|
+
var _paramsBag = req[req.method.toLowerCase()];
|
|
8965
|
+
// #B953 — an array bag (a top-level JSON array body) takes the URL values too, except under
|
|
8966
|
+
// the names the array answers for itself (an index, `length`, one of its methods): those
|
|
8967
|
+
// values are read from `req.params`.
|
|
8968
|
+
// was: if ( typeof(_paramsBag) == 'object' && _paramsBag !== null && !Array.isArray(_paramsBag) ) {
|
|
8969
|
+
if ( typeof(_paramsBag) == 'object' && _paramsBag !== null ) {
|
|
8970
|
+
var _bagIsArray = Array.isArray(_paramsBag);
|
|
8971
|
+
for (let _pk in req.params) {
|
|
8972
|
+
if ( _pk === '0' || !Object.prototype.hasOwnProperty.call(req.params, _pk) ) {
|
|
8973
|
+
continue;
|
|
8974
|
+
}
|
|
8975
|
+
// false & true case
|
|
8976
|
+
if ( /^(false|true|on)$/.test( req.params[_pk] ) && typeof(req.params[_pk]) == 'string' )
|
|
8977
|
+
req.params[_pk] = ( /^(true|on)$/.test( req.params[_pk] ) ) ? true : false;
|
|
8978
|
+
|
|
8979
|
+
if ( _bagIsArray && ( /^[0-9]+$/.test(_pk) || _pk === 'length' || typeof(_paramsBag[_pk]) != 'undefined' && !Object.prototype.hasOwnProperty.call(_paramsBag, _pk) ) ) {
|
|
8980
|
+
continue;
|
|
8981
|
+
}
|
|
8982
|
+
_paramsBag[_pk] = req.params[_pk];
|
|
8983
|
+
}
|
|
8984
|
+
}
|
|
8985
|
+
if ( _bodyIsReqMethod && req.body !== req[_reqMethodKey] ) {
|
|
8986
|
+
req.body = req[_reqMethodKey];
|
|
8987
|
+
}
|
|
8988
|
+
}
|
|
8989
|
+
|
|
8890
8990
|
// #FI — route matching end
|
|
8891
8991
|
if (_routeMatchStart && req._devTimeline) {
|
|
8892
8992
|
req._devTimeline.entries.push({
|
|
@@ -8939,7 +9039,7 @@ function Server(options) {
|
|
|
8939
9039
|
|
|
8940
9040
|
if ( /^isaac/.test(self.engine) && self.instance._expressMiddlewares.length > 0) {
|
|
8941
9041
|
installH2SendShim(res); // #B562
|
|
8942
|
-
//
|
|
9042
|
+
// A per-request dispatcher (createNextMiddleware)
|
|
8943
9043
|
var nextMiddleware = createNextMiddleware();
|
|
8944
9044
|
nextMiddleware._index = 0;
|
|
8945
9045
|
nextMiddleware._count = self.instance._expressMiddlewares.length-1;
|
|
@@ -401,6 +401,12 @@ function Routing() {
|
|
|
401
401
|
/**
|
|
402
402
|
* Parse routing for mathcing url
|
|
403
403
|
*
|
|
404
|
+
* A DELETE rule that declares `requirements` is matched here, by the DELETE branch, rather
|
|
405
|
+
* than by `fitsWithRequirements`: each placeholder's regex is tested against its URL segment
|
|
406
|
+
* — a placeholder without a requirement accepts any non-empty segment (#B956) — and a matched
|
|
407
|
+
* value is written to `request[method]` and, for a placeholder the rule binds in `param`, to
|
|
408
|
+
* `request.params` (#B955).
|
|
409
|
+
*
|
|
404
410
|
* @param {object} params - `params` is the same `request.routing` that can be retried in controller with: req.routing
|
|
405
411
|
* @param {string} url
|
|
406
412
|
* @param {object} request
|
|
@@ -409,6 +415,9 @@ function Routing() {
|
|
|
409
415
|
*
|
|
410
416
|
* @returns {object} foundRoute
|
|
411
417
|
*
|
|
418
|
+
* @example
|
|
419
|
+
* // rule: { url: '/items/:id', method: 'DELETE', requirements: { id: '/^[0-9]+$/' }, param: { id: ':id' } }
|
|
420
|
+
* // DELETE /items/42 => request.delete.id === '42' and request.params.id === '42'
|
|
412
421
|
* */
|
|
413
422
|
var parseRouting = async function(params, url, request, response, next) {
|
|
414
423
|
|
|
@@ -473,6 +482,19 @@ function Routing() {
|
|
|
473
482
|
// #B650 — a requirement counts only when the rule declares it itself.
|
|
474
483
|
// was: if ( typeof(params.requirements[_key]) == 'undefined' ) {
|
|
475
484
|
if ( !hasOwn(params.requirements, _key) || typeof(params.requirements[_key]) == 'undefined' ) {
|
|
485
|
+
// #B956 — a placeholder the rule declares no requirement for accepts any
|
|
486
|
+
// non-empty segment and scores, as fitsWithRequirements does on the GET
|
|
487
|
+
// path. It was skipped unscored, so a DELETE rule whose requirements cover
|
|
488
|
+
// only some of its placeholders never reached maxLen: it answered 404 on
|
|
489
|
+
// every request. A static segment that differs from the URL's is still
|
|
490
|
+
// skipped unscored (the `/^:/` test), so such a rule still does not match.
|
|
491
|
+
if ( /^:/.test(uRo[p]) && uRe[p] ) {
|
|
492
|
+
++score;
|
|
493
|
+
request[method][_key] = uRe[p];
|
|
494
|
+
if ( hasOwn(params.param, _key) && typeof(request.params) != 'undefined' ) {
|
|
495
|
+
request.params[_key] = uRe[p];
|
|
496
|
+
}
|
|
497
|
+
}
|
|
476
498
|
continue;
|
|
477
499
|
}
|
|
478
500
|
let condition = params.requirements[_key];
|
|
@@ -502,6 +524,14 @@ function Routing() {
|
|
|
502
524
|
) {
|
|
503
525
|
++score;
|
|
504
526
|
request[method][uRo[p].substring(1)] = uRe[p];
|
|
527
|
+
// #B955 — the matched URL value reaches `request.params` too, as the GET
|
|
528
|
+
// path's `fitsWithRequirements` writes it, for a placeholder the rule binds
|
|
529
|
+
// in `param` (the same gate as there). This branch wrote `request[method]`
|
|
530
|
+
// alone, so `req.params.<key>` stayed unset on a DELETE route whose regex
|
|
531
|
+
// requirements cover its placeholders.
|
|
532
|
+
if ( hasOwn(params.param, _key) && typeof(request.params) != 'undefined' ) {
|
|
533
|
+
request.params[_key] = uRe[p];
|
|
534
|
+
}
|
|
505
535
|
}
|
|
506
536
|
}
|
|
507
537
|
hasAlreadyBeenScored = true;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gina-framework",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@rhinostone/busboy": "^1.6.1",
|
|
6
|
-
"@rhinostone/swig": "^2.
|
|
6
|
+
"@rhinostone/swig": "^2.9.6",
|
|
7
7
|
"intl-messageformat": "^11.2.4",
|
|
8
8
|
"psl": "^1.15.0",
|
|
9
9
|
"ws": "^8.21.0"
|
package/gna.js
CHANGED
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
'use strict';
|
|
16
16
|
|
|
17
17
|
// Framework core — the main gna module (lifecycle hooks, lib, etc.)
|
|
18
|
-
var _gna = require('./framework/v0.7.
|
|
18
|
+
var _gna = require('./framework/v0.7.6/core/gna');
|
|
19
19
|
|
|
20
20
|
// SuperController and EntitySuper — loaded from their source modules
|
|
21
|
-
var SuperController = require('./framework/v0.7.
|
|
22
|
-
var EntitySuper = require('./framework/v0.7.
|
|
21
|
+
var SuperController = require('./framework/v0.7.6/core/controller');
|
|
22
|
+
var EntitySuper = require('./framework/v0.7.6/core/model/entity');
|
|
23
23
|
|
|
24
24
|
// uuid — from the lib registry
|
|
25
|
-
var uuid = require('./framework/v0.7.
|
|
25
|
+
var uuid = require('./framework/v0.7.6/lib/uuid');
|
|
26
26
|
|
|
27
27
|
module.exports = {
|
|
28
28
|
|