gina 0.1.1-alpha.156 → 0.1.1-alpha.158
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/LICENSE +1 -1
- package/README-4Contributors.md +17 -0
- package/README.md +36 -17
- package/bin/cli +31 -17
- package/bin/cli-debug +46 -15
- package/bin/gina +8 -3
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/AUTHORS +0 -0
- package/framework/{v0.1.1-alpha.156/lib/inherits → v0.1.1-alpha.158}/LICENSE +1 -1
- package/framework/v0.1.1-alpha.158/VERSION +1 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/html/nolayout.html +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/html/static.html +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/img/android-chrome-192x192.png +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/img/android-chrome-512x512.png +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/img/apple-touch-icon.png +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/img/favicon-16x16.png +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/img/favicon-32x32.png +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/img/favicon.ico +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/gina.js +779 -769
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/gina.js.map +3 -3
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/gina.min.css +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/gina.min.css.map +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/gina.min.js +138 -138
- package/framework/v0.1.1-alpha.158/core/asset/plugin/dist/gina.min.js.map +8 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/gina.onload.min.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/gina.onload.min.js.map +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/toolbar/css/toolbar-min.css +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/toolbar/css/toolbar.css +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/toolbar/css/toolbar.css.map +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/toolbar/js/jquery-3.1.0.min.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/toolbar/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/toolbar/toolbar.html +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/readme.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/uuid.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/config.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/index.js +18 -4
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/connector.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/connector.v2.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/connector.v4.js +9 -2
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/n1ql.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/session-store.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/controller/controller.framework.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/controller/controller.js +2 -2
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/controller/index.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/.travis.yml +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/LICENSE +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/deps/encoding/encoding-indexes.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/deps/encoding/encoding.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/lib/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/lib/types/multipart.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/lib/types/urlencoded.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/lib/utils.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/package.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/dev/index.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/dev/lib/class.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/dev/lib/factory.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/dev/lib/tools.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/gna.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/currency.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/dist/language/en.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/dist/language/fr.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/dist/region/en.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/dist/region/fr.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/index.js +2 -2
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/src/make.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/src/resources/currency.csv +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/src/resources/region.csv +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/src/resources/region.mapping.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/mime.types +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/model/entity.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/model/index.js +4 -3
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/model/template/entityFactory.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/model/template/index.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/index.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/file/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/file/build.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/file/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/intl/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/intl/build.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/intl/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/intl/src/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/storage/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/storage/build.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/storage/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/storage/src/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/validator/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/validator/build.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/validator/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/validator/src/form-validator.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/validator/src/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/router.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/server.express.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/server.isaac.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/server.js +42 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/status.codes +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/config/app.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/config/routing.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/config/settings.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/config/templates.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/index.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_public/readme.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/command/gina.bat.tpl +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/command/gina.tpl +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/conf/env.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/conf/manifest.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/conf/package.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/conf/settings.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/conf/statics.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/conf/templates.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/client/json/401.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/client/json/403.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/client/json/404.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/server/html/50x.html +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/server/json/500.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/server/json/503.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/extensions/logger/config.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/console.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/context.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/dateFormat.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/index.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/json/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/json/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/json/src/main.js +22 -22
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/path.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/plugins/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/plugins/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/plugins/src/api-error.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/plugins/src/main.js +2 -2
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/prototypes.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/task.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/helpers/text.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/archiver/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/archiver/build.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/archiver/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/archiver/src/dep/jszip.min.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/archiver/src/main.js +167 -167
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/aliases.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/add.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/arguments.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/copy.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/cp.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/help.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/help.txt +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/list.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/remove.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/rename.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/restart.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/rm.js +0 -0
- package/framework/v0.1.1-alpha.158/lib/cmd/bundle/start.js +637 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/status.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/bundle/stop.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/add.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/get.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/help.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/help.txt +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/link-dev.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/list.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/remove.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/rm.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/set.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/unset.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/env/use.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/build.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/dot.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/get.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/help.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/help.txt +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/init.js +108 -4
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/link-node-modules.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/link.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/msg.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/open.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/restart.js +6 -2
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/set.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/start.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/status.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/stop.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/tail.js +36 -3
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/update.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/framework/version.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/gina-dev.1.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/gina-framework.1.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/gina.1.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/helper.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/index.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/msg.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/port/help.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/port/help.txt +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/port/inc/scan.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/port/list.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/port/reset.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/port/set.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/add.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/arguments.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/build.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/help.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/help.txt +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/import.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/list.js +16 -2
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/move.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/remove.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/rename.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/restart.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/rm.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/start.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/status.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/project/stop.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/protocol/help.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/protocol/help.txt +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/protocol/list.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/protocol/set.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/help.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/help.txt +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/link-local.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/list.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/remove.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/rm.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/set.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/unset.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/scope/use.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cmd/view/add.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/collection/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/collection/build.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/collection/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/collection/src/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/config.js +2 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cron/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cron/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/cron/src/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/generator/index.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/index.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158/lib/inherits}/LICENSE +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/inherits/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/inherits/example/inheriting_eventemitter.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/inherits/example/protected_inheritance.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/inherits/example/simple_inheritance.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/inherits/example/super_attribute_overridden_by_child_on_init.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/inherits/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/inherits/src/main.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/containers/default/index.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/containers/file/index.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/containers/mq/index.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/containers/mq/listener.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/containers/mq/speaker.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/helper.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/logger/src/main.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/math/index.js +7 -7
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/merge/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/merge/example/merge.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/merge/example/merge_2_literal objects.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/merge/example/merge_and_preserve_first.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/merge/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/merge/src/main.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/model.js +9 -9
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/proc.js +7 -3
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/routing/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/routing/build.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/routing/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/routing/src/main.js +258 -258
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/session-store.js +6 -6
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/shell.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/swig-filters/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/swig-filters/package.json +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/swig-filters/src/main.js +1 -1
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/url/README.md +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/url/index.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/url/mocks.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/url/routing.json +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/url/test.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/lib/validator.js +0 -0
- package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/package.json +0 -0
- package/package.json +6 -6
- package/resources/home/main.json +11 -0
- package/resources/home/settings.json +1 -0
- package/resources/package.json.template +1 -1
- package/script/post_install.js +1 -1
- package/script/post_publish.js +1 -1
- package/script/pre_install.js +1 -1
- package/script/prepare_version.js +1 -1
- package/utils/helper.js +0 -141
- package/framework/v0.1.1-alpha.156/VERSION +0 -1
- package/framework/v0.1.1-alpha.156/core/asset/plugin/dist/gina.min.js.map +0 -8
- package/framework/v0.1.1-alpha.156/lib/cmd/bundle/start.js +0 -420
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/gina.onload.min.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/toolbar/main.js
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/asset/plugin/dist/toolbar/toolbar.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file is part of the gina package.
|
|
4
|
-
* Copyright (c) 2009-
|
|
4
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
5
5
|
*
|
|
6
6
|
* For the full copyright and license information, please view the LICENSE
|
|
7
7
|
* file that was distributed with this source code.
|
|
@@ -690,11 +690,17 @@ function Couchbase(conn, infos) {
|
|
|
690
690
|
*
|
|
691
691
|
* Supported options
|
|
692
692
|
* - adhoc : [ true | false ]
|
|
693
|
-
* // scan consistency level - default is
|
|
693
|
+
* // scan consistency level - here, default is 3
|
|
694
694
|
* - consistency : [ 1 | 2 | 3 ] where 1 = NOT_BOUNDED, 2 = REQUEST_PLUS, 3 = STATEMENT_PLUS
|
|
695
|
+
* not_bounded:
|
|
696
|
+
* Executes the query immediately, without requiring any consistency for the query. If index-maintenance is running behind, out-of-date results may be returned.
|
|
697
|
+
* at_plus:
|
|
698
|
+
* Executes the query, requiring indexes first to be updated to the timestamp of the last update. If index-maintenance is running behind, the query waits for it to catch up.
|
|
699
|
+
* request_plus:
|
|
700
|
+
* Executes the query, requiring the indexes first to be updated to the timestamp of the current query-request. If index-maintenance is running behind, the query waits for it to catch up.
|
|
695
701
|
*
|
|
696
702
|
* @param {array} rec collection
|
|
697
|
-
* @param {object} [options] e.g: { consistency:
|
|
703
|
+
* @param {object} [options] e.g: { consistency: 2 }
|
|
698
704
|
*
|
|
699
705
|
*/
|
|
700
706
|
var bulkInsert = function(rec, options) {
|
|
@@ -726,7 +732,8 @@ function Couchbase(conn, infos) {
|
|
|
726
732
|
|
|
727
733
|
|
|
728
734
|
var queryString = 'INSERT INTO '+ this.database +' (KEY, VALUE)';
|
|
729
|
-
|
|
735
|
+
var recCount = 0;
|
|
736
|
+
for (let id in rec) {
|
|
730
737
|
if ( typeof(rec[id].values) == 'undefined' )
|
|
731
738
|
throw new Error('rec["'+ id +'"].values not found ! Please inspect your record root: type must be an Array.');
|
|
732
739
|
|
|
@@ -736,6 +743,7 @@ function Couchbase(conn, infos) {
|
|
|
736
743
|
rec[id].values._collection = this._collection;
|
|
737
744
|
|
|
738
745
|
queryString += '\t\nVALUES ("'+ id +'", '+ JSON.stringify(rec[id].values) +'),';
|
|
746
|
+
recCount++;
|
|
739
747
|
}
|
|
740
748
|
|
|
741
749
|
queryString = queryString.substr(0, queryString.length-1);
|
|
@@ -803,6 +811,11 @@ function Couchbase(conn, infos) {
|
|
|
803
811
|
}
|
|
804
812
|
|
|
805
813
|
self.emit(trigger, err, data.rows, data.meta);
|
|
814
|
+
// Tempory fix
|
|
815
|
+
// setTimeout(() => {
|
|
816
|
+
// self.emit(trigger, err, data.rows, data.meta);
|
|
817
|
+
// }, (9+recCount) );
|
|
818
|
+
|
|
806
819
|
} catch (_err) {
|
|
807
820
|
console.error(_err.stack);
|
|
808
821
|
}
|
|
@@ -834,8 +847,9 @@ function Couchbase(conn, infos) {
|
|
|
834
847
|
onComplete : function(cb) {
|
|
835
848
|
self.once(trigger, function(err, data, meta){
|
|
836
849
|
if (envIsDev) {
|
|
837
|
-
console.debug('[ bulkInsert triggerd ] '+ trigger);
|
|
850
|
+
console.debug('[ bulkInsert triggerd ] '+ trigger + ' - Rec count: '+ recCount);
|
|
838
851
|
}
|
|
852
|
+
|
|
839
853
|
cb(err, data, meta)
|
|
840
854
|
})
|
|
841
855
|
}
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/connector.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -209,18 +209,25 @@ function Connector(dbString) {
|
|
|
209
209
|
dbString.bucketName = dbString.database;
|
|
210
210
|
|
|
211
211
|
try {
|
|
212
|
+
console.debug('[ CONNECTOR ][ ' + local.bundle +' ][ ' + dbString.database +' ] Trying to connect to bucket `'+ dbString.bucketName +'`');
|
|
212
213
|
// if ( typeof(dbString.password) != 'undefined' && typeof(self.cluster.authenticate) == 'undefined' ) {
|
|
213
214
|
// conn = await self.cluster.openBucket(dbString.database, dbString.password, function onBucketOpened(bErr) {
|
|
214
215
|
conn = await couchbase.connect(dbString.protocol + dbString.host, dbString, function onBucketOpened(bErr, conn) {
|
|
215
216
|
if (bErr) {
|
|
217
|
+
// console.emerg('[ CONNECTOR ][ ' + local.bundle +' ] Could not connect to couchbase @`'+ dbString.protocol + dbString.host +'`\n'+ (bErr.stack || bErr.message || bErr) + '\nCheck:\n - if couchbabse is running\n - if bucket `'+dbString.bucketName+'` exists\n - if you have permission to access couchabase' );
|
|
218
|
+
var cErr = new Error('Could not connect to couchbase @`'+ dbString.protocol + dbString.host +'`\n'+ (bErr.stack || bErr.message || bErr) + '\nCheck:\n - if couchbabse is running\n - if bucket `'+dbString.bucketName+'` exists\n - if you have permission to access couchabase');
|
|
219
|
+
|
|
216
220
|
if ( typeof(cb) != 'undefined' ) {
|
|
217
|
-
return cb(
|
|
221
|
+
return cb(cErr)
|
|
218
222
|
}
|
|
219
|
-
return self.emit('ready', bErr, null);
|
|
223
|
+
// return self.emit('ready', bErr, null);
|
|
224
|
+
self.instance = {}
|
|
225
|
+
return onError(cErr, cb)
|
|
220
226
|
}
|
|
221
227
|
conn.sdk = sdk;
|
|
222
228
|
|
|
223
229
|
// open bucket
|
|
230
|
+
console.debug('[ CONNECTOR ][ ' + local.bundle +' ][ ' + dbString.database +' ] Connecting to bucket `'+ dbString.bucketName +'`');
|
|
224
231
|
var bucketConn = conn.bucket(dbString.bucketName);
|
|
225
232
|
bucketConn.sdk = sdk;
|
|
226
233
|
// Get a reference to the default collection, required only for older Couchbase server versions
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/connectors/couchbase/lib/n1ql.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/controller/controller.framework.js
RENAMED
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file is part of the gina package.
|
|
4
|
-
* Copyright (c) 2009-
|
|
4
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
5
5
|
*
|
|
6
6
|
* For the full copyright and license information, please view the LICENSE
|
|
7
7
|
* file that was distributed with this source code.
|
|
@@ -1590,7 +1590,7 @@ function SuperController(options) {
|
|
|
1590
1590
|
// // nothing to do
|
|
1591
1591
|
// ignoreWebRoot = false
|
|
1592
1592
|
// } else
|
|
1593
|
-
if (typeof(res) === 'string' || typeof(res) === 'number'
|
|
1593
|
+
if (typeof(res) === 'string' || typeof(res) === 'number' || typeof(res) === 'boolean') {
|
|
1594
1594
|
if ( /true|1/.test(res) ) {
|
|
1595
1595
|
ignoreWebRoot = true
|
|
1596
1596
|
} else if ( /false|0/.test(res) ) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/deps/encoding/encoding.js
RENAMED
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/lib/types/multipart.js
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/busboy/lib/types/urlencoded.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/deps/swig-client/swig-2.0.0.min.js
RENAMED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of the gina package.
|
|
3
|
-
* Copyright (c) 2009-
|
|
3
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the LICENSE
|
|
6
6
|
* file that was distributed with this source code.
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Gina.Utils.Dev.Factory
|
|
2
2
|
*
|
|
3
3
|
* This file is part of the gina package.
|
|
4
|
-
* Copyright (c) 2009-
|
|
4
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
5
5
|
*
|
|
6
6
|
* For the full copyright and license information, please view the LICENSE
|
|
7
7
|
* file that was distributed with this source code.
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file is part of the gina package.
|
|
4
|
-
* Copyright (c) 2009-
|
|
4
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
5
5
|
*
|
|
6
6
|
* For the full copyright and license information, please view the LICENSE
|
|
7
7
|
* file that was distributed with this source code.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of the gina package.
|
|
3
|
-
* Copyright (c) 2009-
|
|
3
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the LICENSE
|
|
6
6
|
* file that was distributed with this source code.
|
|
@@ -57,7 +57,7 @@ function Locales() {
|
|
|
57
57
|
|
|
58
58
|
return regions
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
|
|
61
61
|
|
|
62
62
|
return init()
|
|
63
63
|
};
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/src/resources/currency.csv
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/locales/src/resources/region.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of the gina package.
|
|
3
|
-
* Copyright (c) 2009-
|
|
3
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the LICENSE
|
|
6
6
|
* file that was distributed with this source code.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of the gina package.
|
|
3
|
-
* Copyright (c) 2009-
|
|
3
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the LICENSE
|
|
6
6
|
* file that was distributed with this source code.
|
|
@@ -106,6 +106,7 @@ function Model(namespace, _config) {
|
|
|
106
106
|
var bundle = self.bundle;
|
|
107
107
|
var model = self.model;
|
|
108
108
|
var modelDirName = self.modelDirName;
|
|
109
|
+
var connectorPath = null;
|
|
109
110
|
|
|
110
111
|
// this is supposed to happen on load or for dev env; on reload, with a checksum
|
|
111
112
|
var conf = getConfigSync(bundle);
|
|
@@ -119,7 +120,7 @@ function Model(namespace, _config) {
|
|
|
119
120
|
//TODO - More controls...
|
|
120
121
|
|
|
121
122
|
//For now, I just need the F..ing entity name.
|
|
122
|
-
|
|
123
|
+
connectorPath = local.connectorPath = _(GINA_FRAMEWORK_DIR +'/core/connectors/'+ self.connector);
|
|
123
124
|
var modelPath = local.modelPath = _(conf.path + '/' + modelDirName);
|
|
124
125
|
var entitiesPath = local.entitiesPath = _(modelPath + '/entities');
|
|
125
126
|
console.debug('[ MODEL ][ ' + model +' ] Scanning model entities: ', entitiesPath +' - Existing path ? '+ fs.existsSync(entitiesPath) );
|
|
@@ -128,7 +129,7 @@ function Model(namespace, _config) {
|
|
|
128
129
|
new _(entitiesPath).mkdirSync();
|
|
129
130
|
}
|
|
130
131
|
|
|
131
|
-
|
|
132
|
+
connectorPath = _(connectorPath + '/lib/connector.js');
|
|
132
133
|
console.debug('[ MODEL ][ ' + model +' ] Loading connector: ' + connectorPath);
|
|
133
134
|
//Getting Entities Manager.
|
|
134
135
|
var exists = fs.existsSync(connectorPath);
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/model/template/entityFactory.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of the gina package.
|
|
3
|
-
* Copyright (c) 2009-
|
|
3
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the LICENSE
|
|
6
6
|
* file that was distributed with this source code.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of the gina package.
|
|
3
|
-
* Copyright (c) 2009-
|
|
3
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the LICENSE
|
|
6
6
|
* file that was distributed with this source code.
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of the gina package.
|
|
3
|
-
* Copyright (c) 2009-
|
|
3
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the LICENSE
|
|
6
6
|
* file that was distributed with this source code.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/storage/src/main.js
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/validator/README.md
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/validator/build.json
RENAMED
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/plugins/lib/validator/src/main.js
RENAMED
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file is part of the gina package.
|
|
4
|
-
* Copyright (c) 2009-
|
|
4
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
5
5
|
*
|
|
6
6
|
* For the full copyright and license information, please view the LICENSE
|
|
7
7
|
* file that was distributed with this source code.
|
|
File without changes
|
|
File without changes
|
|
@@ -234,6 +234,48 @@ function Server(options) {
|
|
|
234
234
|
|
|
235
235
|
const failed = !sslDetails.valid;
|
|
236
236
|
const humanView = JSON.stringify(sslDetails, null, ' ');
|
|
237
|
+
|
|
238
|
+
// Wildcard exception - See https://github.com/dyaa/ssl-checker/issues/381
|
|
239
|
+
// Date of the test: 2022-12-18T00:00:00.000Z
|
|
240
|
+
// container-87546.dev.sample.app -> not valid when it should return true.
|
|
241
|
+
// {
|
|
242
|
+
// "daysRemaining": 290,
|
|
243
|
+
// "valid": false,
|
|
244
|
+
// "validFrom": "2022-10-03T00:00:00.000Z",
|
|
245
|
+
// "validTo": "2023-10-03T23:59:59.000Z",
|
|
246
|
+
// "validFor": [
|
|
247
|
+
// "*.sample.app",
|
|
248
|
+
// "sample.app"
|
|
249
|
+
// ]
|
|
250
|
+
// }
|
|
251
|
+
|
|
252
|
+
// const isHandleByWildcardCert = function(endpoint, hv) {
|
|
253
|
+
// var isAllowed = false;
|
|
254
|
+
// const start = new Date(hv.validFrom).format('longIsoDateTime');
|
|
255
|
+
// const end = new Date(hv.validTo).format('longIsoDateTime');
|
|
256
|
+
// const today = new Date().format('longIsoDateTime');
|
|
257
|
+
// const allowed = hv.validFor;
|
|
258
|
+
|
|
259
|
+
// for (let i=0, len=allowed.length; i<len; ++i ) {
|
|
260
|
+
// // skip if not a wildcard
|
|
261
|
+
// if ( ! /^[*]\./.test(allowed[i]) ) continue;
|
|
262
|
+
|
|
263
|
+
// let re = new RegExp( allowed[i].replace(/^[*]/, '')+'$' );
|
|
264
|
+
// if ( ! re.test(endpoint) ) continue;
|
|
265
|
+
|
|
266
|
+
// if ( today >= start && today < end) {
|
|
267
|
+
// isAllowed = true;
|
|
268
|
+
// break
|
|
269
|
+
// }
|
|
270
|
+
// }
|
|
271
|
+
// return isAllowed;
|
|
272
|
+
// }
|
|
273
|
+
|
|
274
|
+
// if ( failed && Array.isArray(sslDetails.validFor) && isHandleByWildcardCert(endpoint, sslDetails) ) {
|
|
275
|
+
// return;
|
|
276
|
+
// }
|
|
277
|
+
|
|
278
|
+
|
|
237
279
|
if (failed) {
|
|
238
280
|
if (sslDetails.daysRemaining > -1) {
|
|
239
281
|
console.emerg(`[Certificate] ${endpoint} : It is like there is a problem with your CA certificate${'\n'} ${humanView}`);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/boilerplate/bundle/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
* This file is part of the gina package.
|
|
4
|
-
* Copyright (c) 2009-
|
|
4
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
5
5
|
*
|
|
6
6
|
* For the full copyright and license information, please view the LICENSE
|
|
7
7
|
* file that was distributed with this source code.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/client/json/401.json
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/client/json/403.json
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/client/json/404.json
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/server/html/50x.html
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/server/json/500.json
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/error/server/json/503.json
RENAMED
|
File without changes
|
package/framework/{v0.1.1-alpha.156 → v0.1.1-alpha.158}/core/template/extensions/logger/config.json
RENAMED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* This file is part of the gina package.
|
|
3
|
-
* Copyright (c) 2009-
|
|
3
|
+
* Copyright (c) 2009-2023 Rhinostone <contact@gina.io>
|
|
4
4
|
*
|
|
5
5
|
* For the full copyright and license information, please view the LICENSE
|
|
6
6
|
* file that was distributed with this source code.
|