gina 0.7.10 → 0.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -1
- package/README.md +59 -27
- package/ROADMAP.md +2 -0
- package/framework/v0.7.11/VERSION +1 -0
- package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.js +533 -34
- package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js +768 -0
- package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.11/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/{v0.7.10 → v0.7.11}/core/config.js +51 -11
- package/framework/v0.7.11/core/config.param-bindings.js +159 -0
- package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.js +341 -31
- package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-swig.js +187 -46
- package/framework/v0.7.11/core/controller/layout-source.js +158 -0
- package/framework/{v0.7.10 → v0.7.11}/core/gna.js +18 -0
- package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/src/main.js +319 -4
- package/framework/{v0.7.10 → v0.7.11}/core/router.js +50 -3
- package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.js +9 -0
- package/framework/{v0.7.10 → v0.7.11}/core/server.js +23 -0
- package/framework/{v0.7.10 → v0.7.11}/lib/i18n/src/main.js +22 -4
- package/framework/{v0.7.10 → v0.7.11}/lib/index.js +6 -0
- package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/main.js +25 -1
- package/framework/{v0.7.10 → v0.7.11}/lib/metrics/src/main.js +81 -2
- package/framework/{v0.7.10 → v0.7.11}/lib/routing/src/main.js +14 -4
- package/framework/v0.7.11/lib/stall-watchdog/package.json +20 -0
- package/framework/v0.7.11/lib/stall-watchdog/src/detector.js +76 -0
- package/framework/v0.7.11/lib/stall-watchdog/src/frames.js +197 -0
- package/framework/v0.7.11/lib/stall-watchdog/src/main.js +743 -0
- package/framework/v0.7.11/lib/stall-watchdog/src/worker.js +788 -0
- package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/s3.js +65 -10
- package/framework/{v0.7.10 → v0.7.11}/package.json +1 -1
- package/gna.js +4 -4
- package/llms.txt +20 -18
- package/package.json +6 -6
- package/schema/settings.json +36 -0
- package/types/index.d.ts +31 -0
- package/framework/v0.7.10/VERSION +0 -1
- package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -758
- package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.7.10/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/AUTHORS +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/html/static.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/config.requirements-anchor.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/couchbase/lib/storage-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/duckdb/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/duckdb/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/job-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mongodb/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mysql/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/param-redact.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/postgresql/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/job-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/kv-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/scylladb/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/settle-once.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/job-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/kv-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/content.encoding +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-nunjucks-async.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-nunjucks.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-swig-async.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/controller.render-xml.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/inline-script.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/inspector-window-emit.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/preload-hints.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/release-banner.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/render-data.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/controller/render-session.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/dev/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/currency.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/locales/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/mime.types +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/model/entity.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/model/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/model/template/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/csrf/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/session/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/server.express.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.early-answer.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/server.isaac.rapid-reset.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/server.route-candidates.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/status.codes +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/_gitignore +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle/locales/en.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_public/sw.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/env.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/console.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/context.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/data/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/data/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/json/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/json/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/path.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/prototypes.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/task.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/helpers/text.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/admin/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/admin/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/async/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/async/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/audit/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/audit/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/audit-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authn/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/lockout.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authn/src/totp.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authz-gate/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/authz-gate/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cache/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cache/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cache/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cache/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/audit/verify.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/boot-lines.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/name.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/inc/start-status.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/mcp-start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/mcp.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/oas.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/openapi.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/bundle/types.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/clear.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/infer.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/migrate.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/models.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/connector/test.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/ps.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/container/stop.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/args.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/namespace.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/reference-scan.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/inc/scaffold.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/rename.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/controller/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/inc/name.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/child-failure.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/listen-error.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/inc/ps-titles.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/reset.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/export.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/import.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/i18n/scan.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/_host.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/build.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/image/run.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/man-render.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/kill.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/minion/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/backup.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/inc/name.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/restore.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/inc/name.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/check.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/secrets/scan.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/help.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/list.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/man.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/service/start.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/arguments.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/gc.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/help.txt +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/stats.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/storage/verify.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd-status-format/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cmd-status-format/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/collection/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/collection/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/collection/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/collection/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/conf-view/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/conf-view/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/config.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-config/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-config/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-error/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-error/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-registry/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/connector-registry/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cron/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cron/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/domain/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/domain/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto-pipe/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto-pipe/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto-types/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/dto-types/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/duration/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/duration/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/error-ref/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/error-ref/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/generator/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/i18n/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/idempotency/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/idempotency/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/image-build/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/image-build/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-events/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-events/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-redact/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/inspector-redact/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/instrument/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/instrument/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/job/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/job/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/job-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/json-config-header/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/json-config-header/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/kv/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/kv/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/kv-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/lane/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/lane/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/loading-state/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/loading-state/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/logger/src/redact.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/maintenance/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/maintenance/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/math/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-dispatch/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-dispatch/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-http/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-http/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-server/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/mcp-server/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/merge/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/merge/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/message-validator/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/message-validator/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/metrics/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/model.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/money/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/money/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/multipart/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/multipart/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/net-locality/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/net-locality/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-filters/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-resolver/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/nunjucks-resolver/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/priority/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/priority/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/proc.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/push/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/push/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/rate-limit/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/rate-limit/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/release-watch/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/release-watch/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/render-cache-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing/build.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing-introspect/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/routing-introspect/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/env.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/exec.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/backends/file.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/declaration.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/env-file.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/secrets/src/sources.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/security-headers-emitter/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/security-headers-emitter/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/session-lifetime/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/session-lifetime/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/session-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/shell.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/sqlite-driver.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/sri/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/sri/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/state.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local-cas.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local-stream.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/local.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/meta-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage/src/util.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/storage-store.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-resolver/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/swig-resolver/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/loaders/http.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/loaders/memory.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/template-loaders/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/url/README.md +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/url/index.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/url/routing.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/uuid/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/uuid/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/validator.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/watcher/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/watcher/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-framing/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-framing/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-query/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-query/src/main.js +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-session/package.json +0 -0
- /package/framework/{v0.7.10 → v0.7.11}/lib/ws-session/src/main.js +0 -0
|
@@ -8055,7 +8055,8 @@ function Routing() {
|
|
|
8055
8055
|
* receives a value when its value is not `undefined`.
|
|
8056
8056
|
*
|
|
8057
8057
|
* Query parameters, on a GET rule: a value whose key `param` declares, when the url composed
|
|
8058
|
-
* does not carry it (#B220): its placeholder, or a fixed value as written, is not in that url
|
|
8058
|
+
* does not carry it (#B220): its placeholder, or a fixed value as written, is not in that url
|
|
8059
|
+
* (#B1135: up to 0.7.10 a fixed value was read as a regular expression, so a value such as `C++` threw);
|
|
8059
8060
|
* `requirements` does not keep such a value out. Then every other value that is neither
|
|
8060
8061
|
* reserved, nor declared in the rule's `requirements`, nor already written into the path
|
|
8061
8062
|
* (#B943). No value is appended twice (#B944).
|
|
@@ -8300,12 +8301,19 @@ function Routing() {
|
|
|
8300
8301
|
// #B220 — a placeholder is in the url only where the fill writes it: `:name` followed
|
|
8301
8302
|
// by `/` or the end (checkRouteParams), so `:key` no longer matches inside `:keyXyz`.
|
|
8302
8303
|
// was: if ( self.reservedParams.indexOf(r) > -1 || new RegExp(route.param[r]).test(maskedUrl) )
|
|
8304
|
+
// #B1135 — a fixed value is looked for as written, and a placeholder's regex is built from its text with
|
|
8305
|
+
// the regex metacharacters escaped. Read as a pattern, a value such as `C++`, `(beta` or `:-)` threw a
|
|
8306
|
+
// SyntaxError on every call for the rule, and `a.c` matched `/abc/`.
|
|
8307
|
+
// was: ? new RegExp('('+ route.param[r] +'/|'+ route.param[r] +'$)').test(maskedUrl)
|
|
8308
|
+
// was: : new RegExp(route.param[r]).test(maskedUrl)
|
|
8309
|
+
let _paramText = String(route.param[r]);
|
|
8310
|
+
let _paramEsc = _paramText.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
8303
8311
|
if (
|
|
8304
8312
|
self.reservedParams.indexOf(r) > -1
|
|
8305
8313
|
|| (
|
|
8306
8314
|
( /^:/.test(route.param[r]) )
|
|
8307
|
-
? new RegExp('('+
|
|
8308
|
-
:
|
|
8315
|
+
? new RegExp('('+ _paramEsc +'/|'+ _paramEsc +'$)').test(maskedUrl)
|
|
8316
|
+
: maskedUrl.indexOf(_paramText) > -1
|
|
8309
8317
|
)
|
|
8310
8318
|
)
|
|
8311
8319
|
continue;
|
|
@@ -8329,11 +8337,13 @@ function Routing() {
|
|
|
8329
8337
|
|| extracted.indexOf(p) > -1
|
|
8330
8338
|
// #B943 — a key bound to a placeholder of the url composed (`"id": ":id"`) is in
|
|
8331
8339
|
// the path already; an unbound one keeps travelling as a query parameter
|
|
8340
|
+
// #B1135 — the placeholder's regex is built from its text with the regex metacharacters escaped
|
|
8341
|
+
// was: && new RegExp('('+ route.param[p] +'/|'+ route.param[p] +'$)').test(maskedUrl)
|
|
8332
8342
|
|| (
|
|
8333
8343
|
route.param
|
|
8334
8344
|
&& typeof(route.param[p]) == 'string'
|
|
8335
8345
|
&& /^:/.test(route.param[p])
|
|
8336
|
-
&& new RegExp('('+ route.param[p] +'/|'+ route.param[p] +'$)').test(maskedUrl)
|
|
8346
|
+
&& new RegExp('('+ route.param[p].replace(/[.*+?^${}()|[\]\\]/g, '\\$&') +'/|'+ route.param[p].replace(/[.*+?^${}()|[\]\\]/g, '\\$&') +'$)').test(maskedUrl)
|
|
8337
8347
|
)
|
|
8338
8348
|
) {
|
|
8339
8349
|
continue;
|
|
@@ -11502,8 +11512,9 @@ define('gina', [ 'require', 'lib/merge', 'lib/uuid', 'lib/routing', 'lib/money',
|
|
|
11502
11512
|
* level deep, and keys absent from `options` are never removed.
|
|
11503
11513
|
*
|
|
11504
11514
|
* N.B.: the framework boot passes the exposed config itself through this
|
|
11505
|
-
* function; that call is a no-op by design.
|
|
11506
|
-
*
|
|
11515
|
+
* function; that call is a no-op by design. Every document has its own
|
|
11516
|
+
* instance (#B1130), so in a frame this configures the frame, never its
|
|
11517
|
+
* parent.
|
|
11507
11518
|
*
|
|
11508
11519
|
* @param {object} options - e.g. `{ loadingAttribute: 'data-loading' }`
|
|
11509
11520
|
*
|
|
@@ -11552,20 +11563,28 @@ define('gina', [ 'require', 'lib/merge', 'lib/uuid', 'lib/routing', 'lib/money',
|
|
|
11552
11563
|
'money' : money
|
|
11553
11564
|
};
|
|
11554
11565
|
|
|
11555
|
-
//
|
|
11556
|
-
//
|
|
11557
|
-
//
|
|
11558
|
-
//
|
|
11559
|
-
//
|
|
11560
|
-
//
|
|
11561
|
-
|
|
11562
|
-
|
|
11563
|
-
|
|
11564
|
-
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11566
|
+
// #B1130 — every document boots its OWN instance. A same-origin frame used to
|
|
11567
|
+
// merge its parent frame's instance into its own (the 2019 « iframe case »).
|
|
11568
|
+
// lib/merge keeps the target's values, so the frame kept every per-document
|
|
11569
|
+
// value of the parent: `isFrameworkLoaded` (the frame's own onGinaLoaded then
|
|
11570
|
+
// returned at once and never applied its config, forms, session or stylesheet),
|
|
11571
|
+
// `hasPopinHandler` / `popinContainer` (the popin, validator and nav boots were
|
|
11572
|
+
// skipped, and `new Popin()` looked up the parent's container in the frame's
|
|
11573
|
+
// document and threw), and the parent's popin, validator and setOptions
|
|
11574
|
+
// closures, which act on the parent's document. A gina page carries its own
|
|
11575
|
+
// loader, so nothing needs inheriting; and with no read of `parent.window`, a
|
|
11576
|
+
// cross-origin parent cannot throw here either (#B486: under a CROSS-ORIGIN
|
|
11577
|
+
// parent that read threw SecurityError, an unobserved rejection in this async
|
|
11578
|
+
// construct() that left the client half-booted).
|
|
11579
|
+
// was:
|
|
11580
|
+
// try {
|
|
11581
|
+
// if ( typeof(parent.window['gina']) != 'undefined' ) {
|
|
11582
|
+
// // inheriting from parent frame instance
|
|
11583
|
+
// window['gina'] = merge((window['gina'] || {}), parent.window['gina']);
|
|
11584
|
+
// }
|
|
11585
|
+
// } catch (crossOriginErr) {
|
|
11586
|
+
// // cross-origin parent: no inheritance
|
|
11587
|
+
// }
|
|
11569
11588
|
$instance = merge( (window['gina'] || {}), $instance);
|
|
11570
11589
|
|
|
11571
11590
|
registerEvents(this.plugin, events);
|
|
@@ -15869,7 +15888,18 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
15869
15888
|
transportError : 'Transport failure: the request did not complete',
|
|
15870
15889
|
// #B726 (gh#83 part 3) — spoken once when a submit waits for one of its form's staged
|
|
15871
15890
|
// uploads to finish; the submit is sent when the last of them settles.
|
|
15872
|
-
uploadPending : 'Waiting for the upload to finish…'
|
|
15891
|
+
uploadPending : 'Waiting for the upload to finish…',
|
|
15892
|
+
// #B1094 — a selection that a staged input refuses before any request (see
|
|
15893
|
+
// refuseStagedSelection): written into the input's error slot and announced. A refusal has
|
|
15894
|
+
// no server message to announce, so unlike a staging error it needs a string of its own.
|
|
15895
|
+
// `%s` is the names of the refused files.
|
|
15896
|
+
uploadNotSent : '%s was not uploaded',
|
|
15897
|
+
// The client checks (refuseStagedSelection): files refused before staging because the
|
|
15898
|
+
// input's `accept` excludes their type, or because they are over its
|
|
15899
|
+
// `data-gina-form-upload-max-size`. Written and announced as `uploadNotSent` is, one line
|
|
15900
|
+
// per reason; `%s` is the names of the files refused for that reason.
|
|
15901
|
+
uploadTypeRefused : '%s was not uploaded: this type of file is not accepted',
|
|
15902
|
+
uploadSizeRefused : '%s was not uploaded: the file is too large'
|
|
15873
15903
|
};
|
|
15874
15904
|
|
|
15875
15905
|
/**
|
|
@@ -19679,7 +19709,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
19679
19709
|
* resyncStagedUploadGate — #B1058: re-derives the gate of a staged file input's form (see
|
|
19680
19710
|
* revalidateSilently) when the files the input holds change: a selection, a staging settle, a
|
|
19681
19711
|
* reset or a delete. The live check does it for a field the user edits; a file input has none.
|
|
19682
|
-
* Only for an input that has a rule,
|
|
19712
|
+
* Only for an input that has a rule, or a form whose rules hold a `_case_` key (a condition's rule can
|
|
19713
|
+
* judge the input, #B1095): the cases where the gate can depend on it. Without it a
|
|
19683
19714
|
* required staged input kept the submit trigger marked not ready after its staging, so a click
|
|
19684
19715
|
* only re-synced the trigger and sent nothing, and a click made while the file uploaded was lost.
|
|
19685
19716
|
*
|
|
@@ -19695,6 +19726,16 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
19695
19726
|
var $form = ( $input && $input.form ) ? $input.form : null;
|
|
19696
19727
|
var formId = ( $form && typeof($form.getAttribute) == 'function' ) ? $form.getAttribute('id') : null;
|
|
19697
19728
|
var $formRecord = ( formId && typeof(instance.$forms[formId]) != 'undefined' ) ? instance.$forms[formId] : null;
|
|
19729
|
+
// #B1095 — a `_case_` condition's rule can judge the input too: a form whose rules hold one is
|
|
19730
|
+
// re-validated, whatever the input's own rules
|
|
19731
|
+
if ( $formRecord && $formRecord.rules ) {
|
|
19732
|
+
for (var ruleKey in $formRecord.rules) {
|
|
19733
|
+
if ( /^_case_/.test(ruleKey) ) {
|
|
19734
|
+
revalidateSilently($formRecord);
|
|
19735
|
+
return;
|
|
19736
|
+
}
|
|
19737
|
+
}
|
|
19738
|
+
}
|
|
19698
19739
|
if ( !$formRecord || !$formRecord.rules || typeof($formRecord.rules[$input.name]) == 'undefined' ) {
|
|
19699
19740
|
return;
|
|
19700
19741
|
}
|
|
@@ -22364,6 +22405,220 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
22364
22405
|
checkAction($el, 'data-gina-form-upload-delete-action', $errorContainer);
|
|
22365
22406
|
}
|
|
22366
22407
|
|
|
22408
|
+
/**
|
|
22409
|
+
* refuseStagedSelection — refuses, at its `change`, a selection that a staged file input cannot
|
|
22410
|
+
* send or does not accept, before it counts as held (`pendingFiles`, the submit gate) and before
|
|
22411
|
+
* any request. Two checks, in this order:
|
|
22412
|
+
* - #B1094: the input has no `data-gina-form-upload-action`, which the bind fills in from the
|
|
22413
|
+
* `upload-to-tmp-xml` route when there is one (checkUploadUrlActions). Without it, the staging
|
|
22414
|
+
* used to go ahead: the virtual form posted the file to `/null`, and the 404 failed the staging
|
|
22415
|
+
* as if the server had refused it, while the selection counted as held until that answer. Every
|
|
22416
|
+
* file is refused: `reason: 'action'`, the message `uploadNotSent`.
|
|
22417
|
+
* - The client checks: a file whose type the input's `accept` excludes, or whose size is over its
|
|
22418
|
+
* `data-gina-form-upload-max-size`, refuses the whole selection. `accept` is split on commas and
|
|
22419
|
+
* each token trimmed and lowercased; a `.ext` token matches the end of the lowercased name, a
|
|
22420
|
+
* `type/*` token the start of the lowercased type (a `*` type matches any file, one with no type
|
|
22421
|
+
* included), any other `type/subtype` token the type exactly, so a file with no type matches an
|
|
22422
|
+
* extension token or a `*` type only; a token of another shape (`jpg`, a token with parameters)
|
|
22423
|
+
* is ignored with a dev warning, and an `accept` holding no valid token checks no type. The size
|
|
22424
|
+
* attribute reads as the server reads `upload.maxFieldsSize`: a number with an optional `b`,
|
|
22425
|
+
* `kb`/`k`, `mb`/`m` or `gb`/`g` (1024-based), a bare number meaning megabytes; `0` and an empty
|
|
22426
|
+
* value set no limit, and a value that does not parse checks no size, with a dev warning. The
|
|
22427
|
+
* type is checked first: a file refused for its type is not checked for its size. The message
|
|
22428
|
+
* names the files of each reason,
|
|
22429
|
+
* `uploadTypeRefused` then `uploadSizeRefused`; the result's `reason` is `'type'` when a file was
|
|
22430
|
+
* refused for its type, else `'size'`, and `files` names every refused file. The server stays the
|
|
22431
|
+
* authority: these checks only spare a request.
|
|
22432
|
+
*
|
|
22433
|
+
* A refusal sends nothing, and leaves as they were the files the input already holds (their
|
|
22434
|
+
* previews, their reset and delete links, their hidden fields) and a staging of its earlier
|
|
22435
|
+
* selection still in flight, which takes the input over if it succeeds. The message, one line per
|
|
22436
|
+
* reason (`%s` = the names, joined with `, `; each line translatable through `gina.config.a11y`),
|
|
22437
|
+
* is written as text into the input's error slot (`data-gina-form-upload-error`, default
|
|
22438
|
+
* `<id>-error`), one paragraph a line, and announced through the form's live region, its lines
|
|
22439
|
+
* joined with `. `; without a slot it is announced, and in dev mode a warning names the missing
|
|
22440
|
+
* element. The input's dropzone, when it has one, goes back to `idle`. In dev mode a console error
|
|
22441
|
+
* names the reason. The input is emptied once the current `change` dispatch is over, so the
|
|
22442
|
+
* listeners that run after this one still read the selection, and only while it still holds that
|
|
22443
|
+
* selection. Last, the input's `data-gina-form-upload-on-error` callback (by default
|
|
22444
|
+
* `onGenericXhrResponse`, the name the virtual form would register) runs as an
|
|
22445
|
+
* `.on('error.hform', …)` handler does, with `(event, result)`: `event` is a non-bubbling
|
|
22446
|
+
* `error.hform` event dispatched on the input, whose `detail` is `result`, `{ refused: true,
|
|
22447
|
+
* reason, files: [names], error: message, transportError: false }`. Called from a listener of that
|
|
22448
|
+
* event, a callback that throws is reported as any listener's error is, and the refusal is
|
|
22449
|
+
* complete by then. A refusal dispatches no `error.<id>` event: no virtual form carries the
|
|
22450
|
+
* selection it refuses.
|
|
22451
|
+
*
|
|
22452
|
+
* @inner
|
|
22453
|
+
* @private
|
|
22454
|
+
* @param {HTMLInputElement} $el - the staged file input whose `change` is being handled
|
|
22455
|
+
* @param {FileList} files - the selection the `change` carries, not empty
|
|
22456
|
+
* @returns {boolean} true when the selection is refused
|
|
22457
|
+
*
|
|
22458
|
+
* @example
|
|
22459
|
+
* // in the change listener, after its empty-selection return:
|
|
22460
|
+
* // if ( refuseStagedSelection($el, files) ) return;
|
|
22461
|
+
*/
|
|
22462
|
+
var refuseStagedSelection = function($el, files) {
|
|
22463
|
+
var names = [];
|
|
22464
|
+
for (var n = 0, nLen = files.length; n < nLen; ++n) {
|
|
22465
|
+
names.push(files[n].name);
|
|
22466
|
+
}
|
|
22467
|
+
|
|
22468
|
+
/**
|
|
22469
|
+
* Writes a refusal and delivers it, as refuseStagedSelection describes.
|
|
22470
|
+
*
|
|
22471
|
+
* @inner
|
|
22472
|
+
* @param {object} result - `{ refused, reason, files, error, transportError }`
|
|
22473
|
+
* @param {Array<string>} lines - the message, one line per reason
|
|
22474
|
+
* @param {string} why - the reason, for the dev console error
|
|
22475
|
+
* @returns {boolean} true
|
|
22476
|
+
*/
|
|
22477
|
+
var decline = function(result, lines, why) {
|
|
22478
|
+
var errorId = $el.getAttribute('data-gina-form-upload-error') || ( ($el.id) ? $el.id + '-error' : null )
|
|
22479
|
+
, $error = ( errorId ) ? document.getElementById(errorId) : null
|
|
22480
|
+
, cbName = $el.getAttribute('data-gina-form-upload-on-error') || 'onGenericXhrResponse'
|
|
22481
|
+
;
|
|
22482
|
+
// as onUpload writes a staging error (#B727): text, never markup
|
|
22483
|
+
if ( $error ) {
|
|
22484
|
+
$error.textContent = '';
|
|
22485
|
+
for (var l = 0, lLen = lines.length; l < lLen; ++l) {
|
|
22486
|
+
var _refusalP = document.createElement('p');
|
|
22487
|
+
_refusalP.textContent = lines[l];
|
|
22488
|
+
$error.appendChild(_refusalP);
|
|
22489
|
+
}
|
|
22490
|
+
fadeIn($error);
|
|
22491
|
+
} else if (envIsDev) {
|
|
22492
|
+
try { console.warn('[FormValidator] upload `#'+ $el.id +'`: no error element `#'+ errorId +'`; the refusal is announced, not shown'); } catch (warnErr) {}
|
|
22493
|
+
}
|
|
22494
|
+
if ( $el.form ) {
|
|
22495
|
+
announceA11yError($el.form, result.error);
|
|
22496
|
+
}
|
|
22497
|
+
updateUploadDropzoneState($el.getAttribute('data-gina-form-upload-dropzone') || null, 'idle');
|
|
22498
|
+
if (envIsDev) {
|
|
22499
|
+
try { console.error('[FormValidator] upload `#'+ $el.id +'`: '+ why); } catch (errLogErr) {}
|
|
22500
|
+
}
|
|
22501
|
+
// after this `change` dispatch, and only while the input still holds the refused selection
|
|
22502
|
+
setTimeout(function () {
|
|
22503
|
+
if ( $el.files === files ) {
|
|
22504
|
+
$el.value = '';
|
|
22505
|
+
}
|
|
22506
|
+
}, 0);
|
|
22507
|
+
|
|
22508
|
+
if ( /\((.*)\)/.test(cbName) ) {
|
|
22509
|
+
// #M21a — the function-call shape is not supported, as on the virtual form
|
|
22510
|
+
if (envIsDev) {
|
|
22511
|
+
try { console.warn('[gina-form-event] function-call shape not supported on data-gina-form-upload-on-error: use a bare identifier and register the handler on window: '+ cbName); } catch (shapeErr) {}
|
|
22512
|
+
}
|
|
22513
|
+
} else if ( typeof(window[cbName]) == 'function' ) {
|
|
22514
|
+
var deliverRefusal = function(event) {
|
|
22515
|
+
$el.removeEventListener('error.hform', deliverRefusal);
|
|
22516
|
+
window[cbName](event, event.detail);
|
|
22517
|
+
};
|
|
22518
|
+
$el.addEventListener('error.hform', deliverRefusal);
|
|
22519
|
+
$el.dispatchEvent(new CustomEvent('error.hform', { detail: result, bubbles: false, cancelable: true }));
|
|
22520
|
+
}
|
|
22521
|
+
return true;
|
|
22522
|
+
};
|
|
22523
|
+
|
|
22524
|
+
// #B1094 — nothing can be sent: every file is refused
|
|
22525
|
+
if ( !$el.getAttribute('data-gina-form-upload-action') ) {
|
|
22526
|
+
// a function replacer: a file name holding `$&` or `$1` is written as it is
|
|
22527
|
+
var notSent = a11yLabel('uploadNotSent').replace('%s', function () { return names.join(', '); });
|
|
22528
|
+
return decline({
|
|
22529
|
+
refused : true,
|
|
22530
|
+
reason : 'action',
|
|
22531
|
+
files : names,
|
|
22532
|
+
error : notSent,
|
|
22533
|
+
transportError : false
|
|
22534
|
+
}, [notSent], 'no `data-gina-form-upload-action`, and no `upload-to-tmp-xml` route to fall back on: the selection was not sent');
|
|
22535
|
+
}
|
|
22536
|
+
|
|
22537
|
+
// the client checks: the input's `accept`, then its `data-gina-form-upload-max-size`
|
|
22538
|
+
var tokens = [], badTokens = [], acceptParts = ( $el.getAttribute('accept') || '' ).split(',');
|
|
22539
|
+
for (var a = 0, aLen = acceptParts.length; a < aLen; ++a) {
|
|
22540
|
+
var _token = acceptParts[a].trim().toLowerCase();
|
|
22541
|
+
if ( _token == '' ) {
|
|
22542
|
+
continue;
|
|
22543
|
+
}
|
|
22544
|
+
if ( _token.charAt(0) == '.' || /^[^\/\s;,]+\/[^\/\s;,]+$/.test(_token) ) {
|
|
22545
|
+
tokens.push(_token);
|
|
22546
|
+
} else {
|
|
22547
|
+
badTokens.push(_token);
|
|
22548
|
+
}
|
|
22549
|
+
}
|
|
22550
|
+
if ( badTokens.length && envIsDev ) {
|
|
22551
|
+
try { console.warn('[FormValidator] upload `#'+ $el.id +'`: `accept` token(s) ignored, neither `.ext` nor `type/subtype`: '+ badTokens.join(', ')); } catch (tokenErr) {}
|
|
22552
|
+
}
|
|
22553
|
+
var maxBytes = null, maxRaw = $el.getAttribute('data-gina-form-upload-max-size');
|
|
22554
|
+
if ( maxRaw != null && maxRaw.trim() != '' ) {
|
|
22555
|
+
// the server's grammar for `upload.maxFieldsSize` (core/server.js, parseSize)
|
|
22556
|
+
var _max = maxRaw.trim().match(/^([0-9]*\.?[0-9]+)\s*(b|kb|k|mb|m|gb|g)?$/i);
|
|
22557
|
+
if ( _max ) {
|
|
22558
|
+
var _unit = ( _max[2] || 'mb' ).toLowerCase();
|
|
22559
|
+
maxBytes = parseFloat(_max[1]) * (
|
|
22560
|
+
( _unit == 'b' ) ? 1
|
|
22561
|
+
: ( _unit == 'k' || _unit == 'kb' ) ? 1024
|
|
22562
|
+
: ( _unit == 'g' || _unit == 'gb' ) ? 1024 * 1024 * 1024
|
|
22563
|
+
: 1024 * 1024
|
|
22564
|
+
);
|
|
22565
|
+
// `0` sets no limit, as on the server
|
|
22566
|
+
if ( !(maxBytes > 0) ) {
|
|
22567
|
+
maxBytes = null;
|
|
22568
|
+
}
|
|
22569
|
+
} else if (envIsDev) {
|
|
22570
|
+
try { console.warn('[FormValidator] upload `#'+ $el.id +'`: `data-gina-form-upload-max-size` value `'+ maxRaw +'` does not parse: no size is checked'); } catch (sizeErr) {}
|
|
22571
|
+
}
|
|
22572
|
+
}
|
|
22573
|
+
if ( !tokens.length && maxBytes === null ) {
|
|
22574
|
+
return false;
|
|
22575
|
+
}
|
|
22576
|
+
|
|
22577
|
+
var typeRefused = [], sizeRefused = [];
|
|
22578
|
+
for (var f = 0, fLen = files.length; f < fLen; ++f) {
|
|
22579
|
+
var _name = ( files[f].name || '' ).toLowerCase()
|
|
22580
|
+
, _type = ( files[f].type || '' ).toLowerCase()
|
|
22581
|
+
, _accepted = ( tokens.length == 0 )
|
|
22582
|
+
;
|
|
22583
|
+
for (var t = 0, tLen = tokens.length; t < tLen && !_accepted; ++t) {
|
|
22584
|
+
var _tok = tokens[t];
|
|
22585
|
+
if ( _tok.charAt(0) == '.' ) {
|
|
22586
|
+
_accepted = ( _name.slice(-_tok.length) == _tok );
|
|
22587
|
+
} else if ( _tok.slice(-2) == '/*' ) {
|
|
22588
|
+
// a `*` type reads « any file », a file with no type included: an author who writes it
|
|
22589
|
+
// declares no restriction, and the HTML standard gives that token no meaning of its own
|
|
22590
|
+
// was: _accepted = ( _tok == '*' + '/*' ) ? ( _type != '' ) : ( _type.indexOf(_tok.slice(0, -1)) == 0 );
|
|
22591
|
+
_accepted = ( _tok == '*' + '/*' ) || ( _type.indexOf(_tok.slice(0, -1)) == 0 );
|
|
22592
|
+
} else {
|
|
22593
|
+
_accepted = ( _type == _tok );
|
|
22594
|
+
}
|
|
22595
|
+
}
|
|
22596
|
+
if ( !_accepted ) {
|
|
22597
|
+
typeRefused.push(files[f].name);
|
|
22598
|
+
} else if ( maxBytes !== null && files[f].size > maxBytes ) {
|
|
22599
|
+
sizeRefused.push(files[f].name);
|
|
22600
|
+
}
|
|
22601
|
+
}
|
|
22602
|
+
if ( !typeRefused.length && !sizeRefused.length ) {
|
|
22603
|
+
return false;
|
|
22604
|
+
}
|
|
22605
|
+
|
|
22606
|
+
var lines = [];
|
|
22607
|
+
if ( typeRefused.length ) {
|
|
22608
|
+
lines.push( a11yLabel('uploadTypeRefused').replace('%s', function () { return typeRefused.join(', '); }) );
|
|
22609
|
+
}
|
|
22610
|
+
if ( sizeRefused.length ) {
|
|
22611
|
+
lines.push( a11yLabel('uploadSizeRefused').replace('%s', function () { return sizeRefused.join(', '); }) );
|
|
22612
|
+
}
|
|
22613
|
+
return decline({
|
|
22614
|
+
refused : true,
|
|
22615
|
+
reason : ( typeRefused.length ) ? 'type' : 'size',
|
|
22616
|
+
files : typeRefused.concat(sizeRefused),
|
|
22617
|
+
error : lines.join('. '),
|
|
22618
|
+
transportError : false
|
|
22619
|
+
}, lines, 'refused before staging, by '+ ( ( typeRefused.length ) ? '`accept`' + ( ( sizeRefused.length ) ? ' and ' : '' ) : '' ) + ( ( sizeRefused.length ) ? '`data-gina-form-upload-max-size`' : '' ) +': '+ typeRefused.concat(sizeRefused).join(', '));
|
|
22620
|
+
}
|
|
22621
|
+
|
|
22367
22622
|
/**
|
|
22368
22623
|
* reBindForm
|
|
22369
22624
|
* Allows form rebinding: it is like reseting validation
|
|
@@ -23353,6 +23608,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
23353
23608
|
// files' previews and hidden fields stayed in the form.
|
|
23354
23609
|
// was: the return stood after the two assignments that #B960 removed from here
|
|
23355
23610
|
if (!files.length ) return false;
|
|
23611
|
+
// #B1094 — a selection the input cannot send (it has no `data-gina-form-upload-action`)
|
|
23612
|
+
// is refused here, before it counts as held and before any request: its staging used
|
|
23613
|
+
// to be posted to `/null` (see refuseStagedSelection). A bare `return`: nothing reads
|
|
23614
|
+
// this listener's value (addEventListener), and two returns of the same value are
|
|
23615
|
+
// minified into one test, which the #B959 dist pin on the return above reads.
|
|
23616
|
+
if ( refuseStagedSelection($el, files) ) return;
|
|
23356
23617
|
// #B960 — the selection waits on the input until its staging settles: a success takes
|
|
23357
23618
|
// the input over (its entries, the replaced entries' delete links and the form's
|
|
23358
23619
|
// hidden fields, see onUpload), a failure drops it. They were written here, before
|
|
@@ -27306,6 +27567,59 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
27306
27567
|
return added;
|
|
27307
27568
|
};
|
|
27308
27569
|
|
|
27570
|
+
/**
|
|
27571
|
+
* isStagedUploadControl
|
|
27572
|
+
* #B1095 — whether a control is a staged file input: a file input that names its staging
|
|
27573
|
+
* action (`data-gina-form-upload-action`), as the collectors and the terminal exclusion test
|
|
27574
|
+
* it. Declared here, inside forEachField, so the function stays self-contained.
|
|
27575
|
+
*
|
|
27576
|
+
* @inner
|
|
27577
|
+
* @param {object} $control - a control of the form, or undefined
|
|
27578
|
+
* @returns {boolean} true for a staged file input
|
|
27579
|
+
*
|
|
27580
|
+
* @example
|
|
27581
|
+
* isStagedUploadControl($fields['avatar']); // true for <input type="file" data-gina-form-upload-action="/media/stage">
|
|
27582
|
+
*/
|
|
27583
|
+
var isStagedUploadControl = function($control) {
|
|
27584
|
+
return !!(
|
|
27585
|
+
$control
|
|
27586
|
+
&& $control.type == 'file'
|
|
27587
|
+
&& typeof($control.getAttribute) == 'function'
|
|
27588
|
+
&& $control.getAttribute('data-gina-form-upload-action')
|
|
27589
|
+
);
|
|
27590
|
+
};
|
|
27591
|
+
|
|
27592
|
+
/**
|
|
27593
|
+
* stagedUploadValueOf
|
|
27594
|
+
* #B1095 — the value a rule of a staged file input judges, as the collectors give it
|
|
27595
|
+
* (getStagedUploadValue, which forEachField cannot call: the suites that lift forEachField
|
|
27596
|
+
* pass it only the names it uses): the names of the files the input holds, its entries
|
|
27597
|
+
* (`customFiles`) then a selection still staging (`pendingFiles`), joined with ', ', or ''
|
|
27598
|
+
* when it holds none. Declared here, inside forEachField, so the function stays self-contained.
|
|
27599
|
+
*
|
|
27600
|
+
* @inner
|
|
27601
|
+
* @param {object} $control - the staged file input
|
|
27602
|
+
* @returns {string} the names of the files it holds, or ''
|
|
27603
|
+
*
|
|
27604
|
+
* @example
|
|
27605
|
+
* stagedUploadValueOf($fields['avatar']); // 'me.png' once a file is staged, '' after its reset
|
|
27606
|
+
*/
|
|
27607
|
+
var stagedUploadValueOf = function($control) {
|
|
27608
|
+
var names = [], list = null;
|
|
27609
|
+
for (var l = 0; l < 2; ++l) {
|
|
27610
|
+
list = ( l == 0 ) ? $control.customFiles : $control.pendingFiles;
|
|
27611
|
+
if ( !list ) {
|
|
27612
|
+
continue;
|
|
27613
|
+
}
|
|
27614
|
+
for (var e = 0, eLen = list.length; e < eLen; ++e) {
|
|
27615
|
+
if ( list[e] && list[e].name ) {
|
|
27616
|
+
names.push(list[e].name);
|
|
27617
|
+
}
|
|
27618
|
+
}
|
|
27619
|
+
}
|
|
27620
|
+
return names.join(', ');
|
|
27621
|
+
};
|
|
27622
|
+
|
|
27309
27623
|
/**
|
|
27310
27624
|
* getCaseRegExp
|
|
27311
27625
|
* #B918 — reads a condition's `case` written `/pattern/flags` (e.g. `"/^individual$/"`)
|
|
@@ -27776,6 +28090,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
27776
28090
|
d.addField(_r, fields[_r]);
|
|
27777
28091
|
}
|
|
27778
28092
|
|
|
28093
|
+
// #B1095 — a staged file input this matching condition names, which the pass
|
|
28094
|
+
// never collected (the collectors give a staged input the names of its files
|
|
28095
|
+
// only under a rule of its own, #B1058): enter those names, as they do, so the
|
|
28096
|
+
// condition's rule judges the files it holds, once per pass (`d[_r]` marks it
|
|
28097
|
+
// entered). Its value never reaches the data: the terminal block leaves every
|
|
28098
|
+
// staged control out (#B1099). The guard's first line holds both reads, so
|
|
28099
|
+
// #B914's `d[_r]` line above stays the only one of its kind.
|
|
28100
|
+
if (
|
|
28101
|
+
typeof(fields[_r]) == 'undefined' && typeof(d[_r]) == 'undefined'
|
|
28102
|
+
&& isStagedUploadControl($fields[_r])
|
|
28103
|
+
&& localRuleObj
|
|
28104
|
+
) {
|
|
28105
|
+
fields[_r] = stagedUploadValueOf($fields[_r]);
|
|
28106
|
+
d.addField(_r, fields[_r]);
|
|
28107
|
+
}
|
|
28108
|
+
|
|
27779
28109
|
// check each field against rule only if rule exists 2/3
|
|
27780
28110
|
//if ( caseName != _r && typeof(rules[_r]) != 'undefined' ) {
|
|
27781
28111
|
if ( caseName != _r && typeof(rules[_r]) != 'undefined' && typeof(fields[_r]) != 'undefined' ) {
|
|
@@ -27944,7 +28274,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
27944
28274
|
&& typeof($fields[localField]) != 'undefined'
|
|
27945
28275
|
&& typeof($fields[localField].value) != 'undefined'
|
|
27946
28276
|
) {
|
|
27947
|
-
|
|
28277
|
+
// #B1095 — a staged file input is judged on the files it holds, as below
|
|
28278
|
+
fields[localField] = ( isStagedUploadControl($fields[localField]) ) ? stagedUploadValueOf($fields[localField]) : $fields[localField].value;//caseValue is not goo here
|
|
27948
28279
|
if (isGFFCtx && /(true|false)/i.test(fields[localField] ) ) {
|
|
27949
28280
|
if (fields[localField] == "true")
|
|
27950
28281
|
fields[localField] = true;
|
|
@@ -27985,7 +28316,10 @@ function ValidatorPlugin(rules, data, formId, culture) {
|
|
|
27985
28316
|
&& typeof($fields[f]) != 'undefined'
|
|
27986
28317
|
&& typeof($fields[f].value) != 'undefined'
|
|
27987
28318
|
) {
|
|
27988
|
-
|
|
28319
|
+
// #B1095 — a staged file input is judged on the files it holds, as the collectors
|
|
28320
|
+
// judge it, never on its own value ('' for an edit form's saved file, the
|
|
28321
|
+
// browser's placeholder after a staging)
|
|
28322
|
+
fields[f] = ( isStagedUploadControl($fields[f]) ) ? stagedUploadValueOf($fields[f]) : $fields[f].value;
|
|
27989
28323
|
if (isGFFCtx && /(true|false)/i.test(fields[f] ) ) {
|
|
27990
28324
|
if (fields[f] == "true")
|
|
27991
28325
|
fields[f] = true;
|
|
@@ -28346,7 +28680,16 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
28346
28680
|
* returns (no blank-screen gap), replaced by the real content on completion. See showLoadingShell().
|
|
28347
28681
|
* @param {string} [options.loadingShell] - custom skeleton HTML for `preOpen` (consumer markup wins);
|
|
28348
28682
|
* when omitted a generic gina-namespaced default skeleton is used.
|
|
28683
|
+
* @param {number} [options.loadTimeout] - opt-in load limit in milliseconds (#B1108): a content
|
|
28684
|
+
* request still unanswered after it is aborted and fails as `{ status: 408, error: 'Request Timeout' }`
|
|
28685
|
+
* through the usual failure path (`error`, then the shell closes unless a listener loaded content).
|
|
28686
|
+
* Absent => `gina.config.popin.loadTimeout`, then no limit; `0` => no limit for this popin.
|
|
28687
|
+
* See resolveLoadTimeout().
|
|
28349
28688
|
* @param {object} [options.validator] - a FormValidator instance to bind forms inside the popin
|
|
28689
|
+
*
|
|
28690
|
+
* @example
|
|
28691
|
+
* // fail a load that has not answered after 15 s, instead of keeping its skeleton
|
|
28692
|
+
* new Popin({ name: 'report', preOpen: true, loadTimeout: 15000 });
|
|
28350
28693
|
* */
|
|
28351
28694
|
function Popin(options) {
|
|
28352
28695
|
|
|
@@ -28372,6 +28715,12 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
28372
28715
|
// popin while it loads. When omitted, a generic gina-namespaced default
|
|
28373
28716
|
// skeleton is used (styled by `.gina-popin-skeleton*` in popin.css).
|
|
28374
28717
|
'loadingShell': null,
|
|
28718
|
+
// #B1108 — opt-in load limit in milliseconds: a content request (and the
|
|
28719
|
+
// hover/focus warm of its URL) still unanswered after it is aborted, and the
|
|
28720
|
+
// load fails as a timeout through the usual failure path. `null` => fall
|
|
28721
|
+
// through to `gina.config.popin.loadTimeout`, then no limit (off by default:
|
|
28722
|
+
// failing a slow load is a behaviour change). See resolveLoadTimeout().
|
|
28723
|
+
'loadTimeout': null,
|
|
28375
28724
|
// Per-popin modal opt-in (precedence #2 in resolveModal). `null` => fall
|
|
28376
28725
|
// through to the trigger `data-gina-dialog-modal` attribute, then the
|
|
28377
28726
|
// `gina.config.popin.modal` project default, then the framework
|
|
@@ -28665,6 +29014,102 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
28665
29014
|
return false;
|
|
28666
29015
|
}
|
|
28667
29016
|
|
|
29017
|
+
/**
|
|
29018
|
+
* resolveLoadTimeout
|
|
29019
|
+
*
|
|
29020
|
+
* #B1108 — the load limit, in milliseconds, for a popin's content request and for
|
|
29021
|
+
* the hover/focus warm of its URL. Precedence (highest wins):
|
|
29022
|
+
* 1. the popin's own `loadTimeout` (`new Popin({ loadTimeout })`)
|
|
29023
|
+
* 2. `gina.config.popin.loadTimeout` project default (read lazily — populated
|
|
29024
|
+
* post-load via `gina.setOptions({ popin: { loadTimeout } })`)
|
|
29025
|
+
* 3. framework default -> no limit (today's behaviour: off by default)
|
|
29026
|
+
* At either level, a finite number >= 0 decides and anything else falls through: so
|
|
29027
|
+
* a popin's `0` means "no limit" for that popin even when the project sets one. A
|
|
29028
|
+
* value above the browser's timer maximum (2^31 - 1 ms, about 24.8 days) also means
|
|
29029
|
+
* no limit, since `setTimeout` would fire such a delay at once.
|
|
29030
|
+
*
|
|
29031
|
+
* @inner
|
|
29032
|
+
* @param {object|null} [$popin] - the registered popin, when one is known
|
|
29033
|
+
* @returns {number} the limit in milliseconds, or `0` for no limit
|
|
29034
|
+
*
|
|
29035
|
+
* @example
|
|
29036
|
+
* new Popin({ name: 'report', preOpen: true, loadTimeout: 15000 });
|
|
29037
|
+
* gina.setOptions({ popin: { loadTimeout: 10000 } }); // every popin without its own
|
|
29038
|
+
* resolveLoadTimeout(getPopinByName('report')); // 15000
|
|
29039
|
+
*/
|
|
29040
|
+
function resolveLoadTimeout($popin) {
|
|
29041
|
+
var isSet = function (value) {
|
|
29042
|
+
return typeof(value) == 'number' && value >= 0 && value < Infinity;
|
|
29043
|
+
};
|
|
29044
|
+
var limit = 0;
|
|
29045
|
+
if ( $popin && $popin.options && isSet($popin.options.loadTimeout) ) {
|
|
29046
|
+
limit = $popin.options.loadTimeout;
|
|
29047
|
+
} else if (
|
|
29048
|
+
typeof(gina) != 'undefined' && gina.config && gina.config.popin
|
|
29049
|
+
&& isSet(gina.config.popin.loadTimeout)
|
|
29050
|
+
) {
|
|
29051
|
+
limit = gina.config.popin.loadTimeout;
|
|
29052
|
+
}
|
|
29053
|
+
return ( limit > 0 && limit <= 2147483647 ) ? limit : 0;
|
|
29054
|
+
}
|
|
29055
|
+
|
|
29056
|
+
/**
|
|
29057
|
+
* armLoadTimer
|
|
29058
|
+
*
|
|
29059
|
+
* #B1108 — arms the load limit on a content request in flight: once `limit`
|
|
29060
|
+
* milliseconds have passed with the request still unanswered, `onFire` runs (popinLoad
|
|
29061
|
+
* sets its timed-out latch there) and the request is aborted. The abort settles the
|
|
29062
|
+
* XHR at readyState 4 with status 0, so the request's own readyState-4 handler runs
|
|
29063
|
+
* its usual failure path: there is no second failure route to keep in step. The timer
|
|
29064
|
+
* rides on the XHR, so that handler can drop it (clearLoadTimer) the moment the
|
|
29065
|
+
* request settles, whatever settled it.
|
|
29066
|
+
*
|
|
29067
|
+
* @inner
|
|
29068
|
+
* @param {XMLHttpRequest} [xhr] - the request just sent (nothing is armed without one)
|
|
29069
|
+
* @param {number} limit - milliseconds, from resolveLoadTimeout(); `0` arms nothing
|
|
29070
|
+
* @param {function} [onFire] - runs just before the abort
|
|
29071
|
+
* @returns {void}
|
|
29072
|
+
*
|
|
29073
|
+
* @example
|
|
29074
|
+
* armLoadTimer(xhr, resolveLoadTimeout($popin), function () { timedOut = true; });
|
|
29075
|
+
*/
|
|
29076
|
+
function armLoadTimer(xhr, limit, onFire) {
|
|
29077
|
+
if ( !xhr || !limit ) {
|
|
29078
|
+
return;
|
|
29079
|
+
}
|
|
29080
|
+
xhr._ginaLoadTimer = setTimeout(function () {
|
|
29081
|
+
xhr._ginaLoadTimer = null;
|
|
29082
|
+
// settled (4), or reset after an abort (0): nothing left to stop
|
|
29083
|
+
if ( xhr.readyState === 4 || xhr.readyState === 0 ) {
|
|
29084
|
+
return;
|
|
29085
|
+
}
|
|
29086
|
+
if ( typeof(onFire) == 'function' ) {
|
|
29087
|
+
onFire();
|
|
29088
|
+
}
|
|
29089
|
+
try { xhr.abort(); } catch (abortErr) { /* already dead */ }
|
|
29090
|
+
}, limit);
|
|
29091
|
+
}
|
|
29092
|
+
|
|
29093
|
+
/**
|
|
29094
|
+
* clearLoadTimer
|
|
29095
|
+
*
|
|
29096
|
+
* #B1108 — armLoadTimer's mirror: drops the limit of a request that has settled
|
|
29097
|
+
* (answered, failed, or aborted by a close). Called first thing at readyState 4.
|
|
29098
|
+
*
|
|
29099
|
+
* @inner
|
|
29100
|
+
* @param {XMLHttpRequest} [xhr] - the request that settled
|
|
29101
|
+
* @returns {void}
|
|
29102
|
+
*
|
|
29103
|
+
* @example
|
|
29104
|
+
* clearLoadTimer(xhr);
|
|
29105
|
+
*/
|
|
29106
|
+
function clearLoadTimer(xhr) {
|
|
29107
|
+
if ( xhr && xhr._ginaLoadTimer ) {
|
|
29108
|
+
clearTimeout(xhr._ginaLoadTimer);
|
|
29109
|
+
xhr._ginaLoadTimer = null;
|
|
29110
|
+
}
|
|
29111
|
+
}
|
|
29112
|
+
|
|
28668
29113
|
/**
|
|
28669
29114
|
* resolveTrigger
|
|
28670
29115
|
*
|
|
@@ -28999,6 +29444,8 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
28999
29444
|
* @param {function} [onDone] - completion callback, fired on EVERY exit path
|
|
29000
29445
|
* (cross-origin bail, cache, or decline) so a serialized caller — the
|
|
29001
29446
|
* eager warm queue — always advances. The hover path passes none.
|
|
29447
|
+
* @returns {XMLHttpRequest|undefined} the warm request, so warmTrigger can arm its
|
|
29448
|
+
* load limit on it (#B1108); `undefined` when a cross-origin URL was left alone
|
|
29002
29449
|
*/
|
|
29003
29450
|
function preloadFetch(url, onDone) {
|
|
29004
29451
|
var _preloadDone = function () {
|
|
@@ -29018,6 +29465,10 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
29018
29465
|
xhrPreload.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
|
|
29019
29466
|
xhrPreload.onreadystatechange = function () {
|
|
29020
29467
|
if ( xhrPreload.readyState == 4 ) {
|
|
29468
|
+
// #B1108 — settled: its load limit (armed by warmTrigger) is spent. A warm
|
|
29469
|
+
// aborted AT its limit lands here too, as a failure: its waiters get
|
|
29470
|
+
// `null`, so an adopting click falls back to its own click-time load.
|
|
29471
|
+
clearLoadTimer(xhrPreload);
|
|
29021
29472
|
// #B54 — wake any click that adopted this in-flight preload instead of
|
|
29022
29473
|
// firing its own duplicate GET (see consumePreload).
|
|
29023
29474
|
var _waiters = preloadWaiters[url] || [];
|
|
@@ -29039,6 +29490,7 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
29039
29490
|
}
|
|
29040
29491
|
};
|
|
29041
29492
|
xhrPreload.send();
|
|
29493
|
+
return xhrPreload;
|
|
29042
29494
|
}
|
|
29043
29495
|
|
|
29044
29496
|
/**
|
|
@@ -29306,7 +29758,12 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
29306
29758
|
return; // already cached or in-flight — dedup
|
|
29307
29759
|
}
|
|
29308
29760
|
preloadCache[url] = null; // reserve in-flight slot (dedup concurrent intents)
|
|
29309
|
-
|
|
29761
|
+
// #B1108 — the warm carries the load limit of the popin its trigger opens, so a
|
|
29762
|
+
// click that adopts a stalled warm does not wait forever: that popin's own
|
|
29763
|
+
// `loadTimeout` when the popin is registered, else the project default. A warm is
|
|
29764
|
+
// per URL, so the trigger that starts it decides for every trigger sharing it.
|
|
29765
|
+
var _popinName = $trigger.getAttribute('data-gina-dialog') || $trigger.getAttribute('data-gina-popin-name');
|
|
29766
|
+
armLoadTimer(preloadFetch(url, onDone), resolveLoadTimeout(( _popinName ) ? getPopinByName(_popinName) : null));
|
|
29310
29767
|
}
|
|
29311
29768
|
|
|
29312
29769
|
/**
|
|
@@ -30754,13 +31211,24 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
30754
31211
|
*
|
|
30755
31212
|
* @param {string} name - the popin's name
|
|
30756
31213
|
* @param {string} url - the content's URL
|
|
30757
|
-
* @param {object} [options] - XHR options, merged over the plugin's defaults
|
|
31214
|
+
* @param {object} [options] - XHR options, merged over the plugin's defaults. Copied
|
|
31215
|
+
* (#B1109): the merged object becomes the popin's options (lib/merge mutates and
|
|
31216
|
+
* returns its target), so the merge runs on a copy of the defaults, and on a copy
|
|
31217
|
+
* of a caller's object unless it is the popin's own options (merging into those
|
|
31218
|
+
* objects themselves made two popins loaded this way share one options object).
|
|
31219
|
+
* The object passed is left as it was, so one object can serve several loads
|
|
30758
31220
|
* @returns {object|undefined} `{ open }` — `.open()` opens the popin content-first
|
|
30759
31221
|
* when its body lands; undefined when the transport could not start
|
|
30760
31222
|
*
|
|
30761
31223
|
* @example
|
|
30762
31224
|
* var handle = gina.popin.getPopinByName('details').load('details', '/details/42');
|
|
30763
31225
|
* if ( handle ) { handle.open(); }
|
|
31226
|
+
*
|
|
31227
|
+
* @example
|
|
31228
|
+
* // one options object for two popins: each keeps its own options (#B1109)
|
|
31229
|
+
* var xhr = { headers: { 'X-Report': '1' } };
|
|
31230
|
+
* gina.popin.load('summary', '/report/summary', xhr);
|
|
31231
|
+
* gina.popin.load('detail', '/report/detail', xhr);
|
|
30764
31232
|
* */
|
|
30765
31233
|
function popinLoad(name, url, options) {
|
|
30766
31234
|
// if no name defiend, get the current
|
|
@@ -30825,10 +31293,14 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
30825
31293
|
}
|
|
30826
31294
|
|
|
30827
31295
|
if ( typeof(options) == 'undefined' ) {
|
|
30828
|
-
options = xhrOptions;
|
|
31296
|
+
// #B1109, see @param options. was: options = xhrOptions;
|
|
31297
|
+
options = merge({}, xhrOptions);
|
|
30829
31298
|
} else {
|
|
30830
31299
|
// In order to inherit without overriding default xhrOptions
|
|
30831
31300
|
var isWithCredentials = xhrOptions.withCredentials;
|
|
31301
|
+
if ( options !== $popin.options ) { // #B1109
|
|
31302
|
+
options = merge({}, options);
|
|
31303
|
+
}
|
|
30832
31304
|
options = merge(options, xhrOptions);
|
|
30833
31305
|
|
|
30834
31306
|
options.withCredentials = isWithCredentials;
|
|
@@ -30911,6 +31383,9 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
30911
31383
|
|
|
30912
31384
|
|
|
30913
31385
|
var resultIsObject = false;
|
|
31386
|
+
// #B1108 — set when the load limit (armLoadTimer, after send) aborted this load:
|
|
31387
|
+
// the readyState-4 failure branch then reports a timeout, not a bare status 0
|
|
31388
|
+
var timedOut = false;
|
|
30914
31389
|
if (xhr) {
|
|
30915
31390
|
// setting up headers
|
|
30916
31391
|
xhr.withCredentials = ( typeof(options.withCredentials) != 'undefined' ) ? options.withCredentials : false;
|
|
@@ -30950,6 +31425,9 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
30950
31425
|
armPopinTrigger($popinTrigger);
|
|
30951
31426
|
}
|
|
30952
31427
|
if (xhr.readyState == 4) {
|
|
31428
|
+
// #B1108 — settled (answered, failed, or aborted by a close or by the
|
|
31429
|
+
// limit itself): the load limit is spent
|
|
31430
|
+
clearLoadTimer(xhr);
|
|
30953
31431
|
// Fixed: clear loading state on response complete — data-gina-popin-loading
|
|
30954
31432
|
// was set on readyState 1|3 but never removed, leaving the overlay blocked.
|
|
30955
31433
|
// Covers every status including 0, since the branch is on readyState alone.
|
|
@@ -31148,14 +31626,23 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
31148
31626
|
else {
|
|
31149
31627
|
//console.log('error event triggered ', event.target, $form);
|
|
31150
31628
|
resultIsObject = false;
|
|
31151
|
-
|
|
31152
|
-
|
|
31153
|
-
|
|
31154
|
-
|
|
31629
|
+
if ( timedOut ) {
|
|
31630
|
+
// #B1108 — aborted at its load limit: a timeout, the shape the
|
|
31631
|
+
// former (commented) `ontimeout` handler below meant to send
|
|
31632
|
+
result = {
|
|
31633
|
+
'status': 408,
|
|
31634
|
+
'error' : 'Request Timeout'
|
|
31635
|
+
};
|
|
31636
|
+
} else {
|
|
31637
|
+
result = {
|
|
31638
|
+
'status': xhr.status,
|
|
31639
|
+
'error' : xhr.responseText
|
|
31640
|
+
};
|
|
31155
31641
|
|
|
31156
|
-
|
|
31157
|
-
|
|
31158
|
-
|
|
31642
|
+
if ( /application\/json/.test( xhr.getResponseHeader("Content-Type") ) ) {
|
|
31643
|
+
result.error = JSON.parse(xhr.responseText);
|
|
31644
|
+
resultIsObject = true
|
|
31645
|
+
}
|
|
31159
31646
|
}
|
|
31160
31647
|
|
|
31161
31648
|
instance.eventData.error = result;
|
|
@@ -31196,6 +31683,10 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
31196
31683
|
// };
|
|
31197
31684
|
|
|
31198
31685
|
// catching timeout
|
|
31686
|
+
// #B1108 — superseded by armLoadTimer() after send() below: a native
|
|
31687
|
+
// `ontimeout` fires AFTER the readystatechange at DONE (measured), so the
|
|
31688
|
+
// failure branch above would already have reported a bare status 0. Kept
|
|
31689
|
+
// for the record.
|
|
31199
31690
|
// xhr.ontimeout = function (event) {
|
|
31200
31691
|
// var result = {
|
|
31201
31692
|
// 'status': 408,
|
|
@@ -31212,6 +31703,14 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
|
|
|
31212
31703
|
//var data = JSON.stringify({ sample: 'data'});
|
|
31213
31704
|
xhr.send();
|
|
31214
31705
|
|
|
31706
|
+
// #B1108 — the opt-in load limit (resolveLoadTimeout; none by default): still
|
|
31707
|
+
// unanswered after it, the request is aborted and the readyState-4 failure
|
|
31708
|
+
// branch reports `{ status: 408, error: 'Request Timeout' }` — `error` first,
|
|
31709
|
+
// then the shell closes if nothing loaded content. A close aborts the request
|
|
31710
|
+
// itself (the limit is then dropped with it, so a cancel fires no `error`),
|
|
31711
|
+
// and a load superseded by a newer one is dropped by its sequence check.
|
|
31712
|
+
armLoadTimer(xhr, resolveLoadTimeout($popin), function () { timedOut = true; });
|
|
31713
|
+
|
|
31215
31714
|
|
|
31216
31715
|
return {
|
|
31217
31716
|
'open': function () {
|