gina 0.1.1-alpha.184 → 0.1.1-alpha.185
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/framework/v0.1.1-alpha.185/VERSION +1 -0
- package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.map +1 -1
- package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/dist/vendor/gina/js/gina.js +19 -14
- package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/dist/vendor/gina/js/gina.min.js +4 -4
- package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/dist/vendor/gina/js/gina.min.js.map +4 -4
- package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.map +2 -2
- package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/controller/controller.js +4 -3
- package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/routing/src/main.js +19 -14
- package/package.json +2 -2
- package/framework/v0.1.1-alpha.184/VERSION +0 -1
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/AUTHORS +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/LICENSE +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/html/static.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/asset/plugin/uuid.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/config.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/connector.v2.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/controller/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/.travis.yml +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/LICENSE +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/deps/encoding/encoding-indexes.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/deps/encoding/encoding.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/lib/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/lib/types/multipart.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/lib/types/urlencoded.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/lib/utils.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/busboy/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/dev/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/gna.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/currency.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/src/make.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/src/resources/currency.csv +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/src/resources/region.csv +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/locales/src/resources/region.mapping.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/mime.types +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/model/entity.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/model/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/model/template/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/file/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/file/build.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/file/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/intl/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/intl/build.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/intl/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/intl/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/storage/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/plugins/lib/validator/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/router.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/server.express.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/server.isaac.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/server.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/status.codes +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/conf/env.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/conf/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/console.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/context.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/data/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/data/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/json/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/json/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/json/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/path.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/prototypes.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/task.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/helpers/text.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/archiver/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/archiver/build.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/archiver/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/aliases.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/arguments.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/help.txt +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/start.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/get.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/help.txt +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/port/help.txt +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/port/set.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/set.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/unset.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/collection/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/collection/build.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/collection/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/collection/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/config.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cron/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cron/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/domain/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/domain/dist/public_suffix_list.dat +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/domain/exemples/backend.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/domain/exemples/frontend.html +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/domain/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/generator/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/inherits/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/inherits/example/inheriting_eventemitter.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/inherits/example/protected_inheritance.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/inherits/example/simple_inheritance.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/inherits/example/super_attribute_overridden_by_child_on_init.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/inherits/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/containers/mq/listener.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/math/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/merge/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/merge/example/merge.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/merge/example/merge_2_literal objects.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/merge/example/merge_and_preserve_first.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/merge/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/model.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/proc.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/routing/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/routing/build.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/routing/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/session-store.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/shell.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/url/README.md +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/url/index.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/url/mocks.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/url/routing.json +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/url/test.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/lib/validator.js +0 -0
- /package/framework/{v0.1.1-alpha.184 → v0.1.1-alpha.185}/package.json +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.1.1-alpha.185
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"/usr/local/lib/node_modules/gina/framework/v0.1.1-alpha.
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"/usr/local/lib/node_modules/gina/framework/v0.1.1-alpha.185/core/asset/plugin/dist/vendor/gina/css/gina.min.css","sourcesContent":[]}
|
|
@@ -8674,14 +8674,8 @@ function Routing() {
|
|
|
8674
8674
|
throw new Error('[ RoutingHelper::getRouting(rule, params) ] : `' +rule + '` not found !')
|
|
8675
8675
|
}
|
|
8676
8676
|
|
|
8677
|
-
var route
|
|
8678
|
-
var
|
|
8679
|
-
, regex = null
|
|
8680
|
-
, urls = null
|
|
8681
|
-
, i = null
|
|
8682
|
-
, len = null
|
|
8683
|
-
, msg = null
|
|
8684
|
-
;
|
|
8677
|
+
var route = JSON.clone(routing[rule]);
|
|
8678
|
+
var msg = null;
|
|
8685
8679
|
route = checkRouteParams(route, params);
|
|
8686
8680
|
|
|
8687
8681
|
if ( /\,/.test(route.url) ) {
|
|
@@ -8700,21 +8694,29 @@ function Routing() {
|
|
|
8700
8694
|
|
|
8701
8695
|
// Completeting url with extra params e.g.: ?param1=val1¶m2=val2
|
|
8702
8696
|
if ( /GET/i.test(route.method) && typeof(params) != 'undefined' ) {
|
|
8703
|
-
var queryParams = '?'
|
|
8704
|
-
|
|
8697
|
+
var queryParams = '?'
|
|
8698
|
+
, maskedUrl = routing[rule].url
|
|
8699
|
+
;
|
|
8700
|
+
|
|
8701
|
+
// in route.rule params
|
|
8702
|
+
var extracted = [], i = 0;
|
|
8705
8703
|
for (let r in route.param) {
|
|
8706
8704
|
if ( self.reservedParams.indexOf(r) > -1 || new RegExp(route.param[r]).test(maskedUrl) )
|
|
8707
8705
|
continue;
|
|
8708
8706
|
if (typeof(params[r]) != 'undefined' ) {
|
|
8709
8707
|
queryParams += r +'='+ encodeRFC5987ValueChars(params[r])+ '&';
|
|
8710
|
-
|
|
8708
|
+
extracted[i] = params[r];
|
|
8709
|
+
++i;
|
|
8711
8710
|
}
|
|
8712
|
-
|
|
8713
8711
|
}
|
|
8714
8712
|
|
|
8715
8713
|
// extra params ( not declared in the rule, but added by getUrl() )
|
|
8716
8714
|
for (let p in params) {
|
|
8717
|
-
if (
|
|
8715
|
+
if (
|
|
8716
|
+
self.reservedParams.indexOf(p) > -1
|
|
8717
|
+
|| typeof(route.requirements[p]) != 'undefined'
|
|
8718
|
+
|| extracted.indexOf(p) > -1
|
|
8719
|
+
) {
|
|
8718
8720
|
continue;
|
|
8719
8721
|
}
|
|
8720
8722
|
if ( typeof(params[p]) == 'object' ) {
|
|
@@ -8722,14 +8724,17 @@ function Routing() {
|
|
|
8722
8724
|
} else {
|
|
8723
8725
|
queryParams += p +'='+ params[p] +'&';
|
|
8724
8726
|
}
|
|
8725
|
-
|
|
8726
8727
|
}
|
|
8728
|
+
maskedUrl = null;
|
|
8729
|
+
extracted = null;
|
|
8730
|
+
i = null;
|
|
8727
8731
|
|
|
8728
8732
|
if (queryParams.length > 1) {
|
|
8729
8733
|
queryParams = queryParams.substring(0, queryParams.length-1);
|
|
8730
8734
|
|
|
8731
8735
|
route.url += queryParams;
|
|
8732
8736
|
}
|
|
8737
|
+
queryParams = null;
|
|
8733
8738
|
}
|
|
8734
8739
|
|
|
8735
8740
|
// recommanded for x-bundle coms
|
|
@@ -398,10 +398,10 @@ C)v[D[0].substr(1)]=G;else return!1}else++J;if(v.count()==D.length){z=null;for(z
|
|
|
398
398
|
(u.param.path=u.param.path.replace(D,G[O]));'undefined'!=typeof u.param.title&&/:/.test(u.param.title)&&(u.param.title=u.param.title.replace(D,G[O]));'undefined'!=typeof u.param.namespace&&/:/.test(u.param.namespace)&&(u.param.namespace=u.param.namespace.replace(D,G[O]));'undefined'!=typeof u.param.file&&/:/.test(u.param.file)&&(Q.variable=G[O],u.param.file=u.param.file.replace(D,Q));if(/,/.test(u.url)){r=u.url.split(/,/g);var C=0;for(ea=r.length;C<ea;++C)Q.variable=G[O],r[C]=r[C].replace(D,Q);u.url=
|
|
399
399
|
r.join(',')}else Q.variable=G[O],u.url=u.url.replace(D,Q)}}if(r){C=0;ea=r.length;Ea=Ea.split(/,/g);var m=0;for(u.urlIndex=0;C<ea;++C)if(r=0,D=Ea[0].match(/:[-_a-z0-9]+/ig)){N=0;for(O=D.length;N<O;N++){var z=D[N].substr(1);'undefined'!=typeof G[z]&&G[z]&&r++}r>m&&(m=r,u.urlIndex=C)}}return u};P.getRoute=function(u,G,r){var ea=null;A?ea=window.gina.config:(ea=getContext('gina').config,'undefined'!=typeof getContext('argvFilename')&&(ea.getRouting=getContext('gina').Config.instance.getRouting));var Ea=
|
|
400
400
|
ea.env||GINA_ENV,N=null,O=ea.bundle;/@/.test(u)||'undefined'==typeof O||null==O||(u=u.toLowerCase(),u+='@'+O);if(/@/.test(u)){var D=u.replace(/(.*):\/\//,'').split(/@/);O=D[1];/\/(.*)$/.test(u)&&(N=u.replace(/(.*):\/\//,'').split(/\/(.*)$/)[1],O=O.replace(/\/(.*)$/,''),Ea=N||Ea);u=D[0].toLowerCase()+'@'+O}N=ea.getRouting(O,Ea);if('undefined'==typeof N[u])throw Error('[ RoutingHelper::getRouting(rule, params) ] : `'+u+'` not found !');ea=JSON.clone(N[u]);O=null;ea=S(ea,G);/,/.test(ea.url)&&('undefined'!=
|
|
401
|
-
typeof ea.urlIndex&&(r=ea.urlIndex,delete ea.urlIndex),r='undefined'!=typeof r?r:0,ea.url=ea.url.split(/,/g)[r]);/\/$/.test(ea.url)&&'/'!=ea.url&&(ea.url=ea.url.substr(0,ea.url.length-1));if(/GET/i.test(ea.method)&&'undefined'!=typeof G){r='?';N=N[u].url;for(let C in ea.param)-1<P.reservedParams.indexOf(C)||(new RegExp(ea.param[C])).test(N)||'undefined'==typeof G[C]||(r+=C+'='+encodeRFC5987ValueChars(G[C])+'&',
|
|
402
|
-
(r='object'==typeof G[C]?r+(C+'='+encodeRFC5987ValueChars(JSON.stringify(G[C]))+'&'):r+(C+'='+G[C]+'&'));1<r.length&&(r=r.substring(0,r.length-1),ea.url+=r)}ea.toUrl=function(C){var m=null;/^redirect$/i.test(this.param.control)&&(m=P.getUrlProps(this.bundle,Ea||GINA_ENV));var z=this.webroot||m.webroot;m=this.hostname||m.hostname;var y=this.url;this.url='undefined'!=typeof C&&1==C?y.replace(z,'/'):y;return m+this.url};ea.request=function(C,m){var z=null,y=null;'function'==
|
|
403
|
-
1]&&(z=arguments[arguments.length-1]);'object'==typeof arguments[2]&&(y=arguments[2]);var H=this.webroot||y.webroot,v=this.hostname||y.hostname;y='undefined'!=typeof C&&1==C?path.replace(H,'/'):this.url||y.url;v=/^https/.test(v)?'https':'http';A?window.open(y,'undefined'!=typeof m&&'undefined'!=typeof m.target?m.target:'_self'):('undefined'==typeof m.agent&&(m.agent=!1),v=require(''+v),H=function(w){var F='',J=!1;w.on('data',function(T){F+=T});w.on('error',function(T){J=
|
|
404
|
-
T&&'undefined'!=typeof T.stack?J+=T.stack:'string'==typeof T&&(J+='\n'+T)});w.on('end',function(){if(/^\{/.test(F))try{F=JSON.parse(F),'undefined'!=typeof F.error&&(J=JSON.clone(F),F=null)}catch(T){J=T}J?z(J):z(!1,F)})},z?v.get(y,m,H):v.get(y,m))};/:/.test(ea.url)&&(G=ea.url.match(/(:(.*)\/|:(.*)$)/g).map(function(C){return C.replace(/\//g,'')}).join(', '),O='[ RoutingHelper::getRoute(rule[, bundle, method]) ] : route [ %r ] param placeholder not defined: `'+ea.url+'` !\n Check your route description to compare requirements against param variables [ '+
|
|
401
|
+
typeof ea.urlIndex&&(r=ea.urlIndex,delete ea.urlIndex),r='undefined'!=typeof r?r:0,ea.url=ea.url.split(/,/g)[r]);/\/$/.test(ea.url)&&'/'!=ea.url&&(ea.url=ea.url.substr(0,ea.url.length-1));if(/GET/i.test(ea.method)&&'undefined'!=typeof G){r='?';N=N[u].url;O=[];D=0;for(let C in ea.param)-1<P.reservedParams.indexOf(C)||(new RegExp(ea.param[C])).test(N)||'undefined'==typeof G[C]||(r+=C+'='+encodeRFC5987ValueChars(G[C])+'&',O[D]=G[C],++D);for(let C in G)-1<P.reservedParams.indexOf(C)||'undefined'!=typeof ea.requirements[C]||
|
|
402
|
+
-1<O.indexOf(C)||(r='object'==typeof G[C]?r+(C+'='+encodeRFC5987ValueChars(JSON.stringify(G[C]))+'&'):r+(C+'='+G[C]+'&'));D=O=N=null;1<r.length&&(r=r.substring(0,r.length-1),ea.url+=r);r=null}ea.toUrl=function(C){var m=null;/^redirect$/i.test(this.param.control)&&(m=P.getUrlProps(this.bundle,Ea||GINA_ENV));var z=this.webroot||m.webroot;m=this.hostname||m.hostname;var y=this.url;this.url='undefined'!=typeof C&&1==C?y.replace(z,'/'):y;return m+this.url};ea.request=function(C,m){var z=null,y=null;'function'==
|
|
403
|
+
typeof arguments[arguments.length-1]&&(z=arguments[arguments.length-1]);'object'==typeof arguments[2]&&(y=arguments[2]);var H=this.webroot||y.webroot,v=this.hostname||y.hostname;y='undefined'!=typeof C&&1==C?path.replace(H,'/'):this.url||y.url;v=/^https/.test(v)?'https':'http';A?window.open(y,'undefined'!=typeof m&&'undefined'!=typeof m.target?m.target:'_self'):('undefined'==typeof m.agent&&(m.agent=!1),v=require(''+v),H=function(w){var F='',J=!1;w.on('data',function(T){F+=T});w.on('error',function(T){J=
|
|
404
|
+
'Failed to get mail content';T&&'undefined'!=typeof T.stack?J+=T.stack:'string'==typeof T&&(J+='\n'+T)});w.on('end',function(){if(/^\{/.test(F))try{F=JSON.parse(F),'undefined'!=typeof F.error&&(J=JSON.clone(F),F=null)}catch(T){J=T}J?z(J):z(!1,F)})},z?v.get(y,m,H):v.get(y,m))};/:/.test(ea.url)&&(G=ea.url.match(/(:(.*)\/|:(.*)$)/g).map(function(C){return C.replace(/\//g,'')}).join(', '),O='[ RoutingHelper::getRoute(rule[, bundle, method]) ] : route [ %r ] param placeholder not defined: `'+ea.url+'` !\n Check your route description to compare requirements against param variables [ '+
|
|
405
405
|
G+']',O=O.replace(/%r/,u),console.warn(Error(O)));return ea};P.getRouteByUrl=function(u,G,r,ea,Ea){2==arguments.length&&'undefined'!=typeof arguments[1]&&-1<P.allowedMethods.indexOf(arguments[1].toLowerCase())&&(r=arguments[1],G=void 0);var N=null,O=null,D=null,C=null,m=null,z=null;if(/#/.test(u)&&1<u.length){var y=u.split(/#/);u=y[0];m='#'+y[1];y=null}1==arguments.length&&'undefined'!=typeof arguments[0]&&(/^(https|http)/i.test(u)||/^\//.test(u)||(u='/'+u),N='/'+u.split(/\//g)[1],A&&(C=gina.config.reverseRouting,
|
|
406
406
|
D=gina.config.routing),'undefined'!=typeof C[N]&&(y=D[C[N]],G=y.bundle,N=y.webroot,z=y.hostname,y=null));Ea='boolean'!=typeof arguments[arguments.length-1]?!1:arguments[arguments.length-1];var H=!1,v=null,w=null,F=v=w=null;y='undefined'!=typeof r?!0:!1;A?(v=window.gina.config,G='undefined'!=typeof G?G:v.bundle,w=v.env,D=D||v.getRouting(G),C=C||v.reverseRouting,isXMLRequest='undefined'!=typeof isXMLRequest?isXMLRequest:!1,z=z||v.hostname,N=N||v.webroot,ea={routing:{},method:r,params:{},url:u}):(v=
|
|
407
407
|
getContext('gina').config,G='undefined'!=typeof G?G:v.bundle,w=v.env,D=v.getRouting(G),z=v.envConf[G][w].hostname,N=v.envConf[G][w].server.webroot,ea||={routing:{},isXMLRequest:!1,method:'undefined'!=typeof r?r.toLowerCase():'get',params:{},url:u},Ea&&(ea.method=r),isXMLRequest=ea.isXMLRequest||!1);w=u.replace(new RegExp('^('+z+'|'+z.replace(/:\d+/,'')+')'),'');'undefined'==typeof ea.routing.path&&(ea.routing.path=decodeURI(w));r='undefined'!=typeof r?r.toLowerCase():'get';y&&(ea.originalMethod=ea.method,
|