gina 0.3.2 → 0.3.3
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 +29 -0
- package/README.md +18 -8
- package/ROADMAP.md +10 -9
- package/framework/v0.3.3/VERSION +1 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/README.md +7 -8
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +1 -1
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +2 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +103 -0
- package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/js/gina.js +293 -201
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js +21636 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +286 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- package/framework/v0.3.3/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- package/framework/{v0.3.2 → v0.3.3}/core/config.js +6 -1
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/index.js +52 -0
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/index.js +45 -0
- package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/index.js +46 -0
- package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.js +1 -1
- package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/multipart.js +2 -1
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/LICENSE +19 -0
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/lib/sbmh.js +267 -0
- package/framework/v0.3.3/core/deps/streamsearch-1.1.0/package.json +34 -0
- package/framework/{v0.3.2 → v0.3.3}/core/gna.js +30 -30
- package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/src/main.js +3 -3
- package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/main.js +34 -29
- package/framework/{v0.3.2 → v0.3.3}/core/server.isaac.js +77 -13
- package/framework/{v0.3.2 → v0.3.3}/core/server.js +66 -18
- package/framework/{v0.3.2 → v0.3.3}/helpers/json/src/main.js +14 -1
- package/framework/{v0.3.2 → v0.3.3}/lib/cache/src/main.js +2 -2
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/aliases.json +3 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/arguments.json +2 -1
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.txt +21 -1
- package/framework/v0.3.3/lib/cmd/bundle/oas.js +6 -0
- package/framework/v0.3.3/lib/cmd/bundle/openapi.js +519 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/start.js +4 -1
- package/framework/v0.3.3/lib/cmd/framework/get.js +98 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.txt +8 -3
- package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.txt +7 -2
- package/framework/v0.3.3/lib/cmd/port/set.js +348 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/collection/src/main.js +4 -4
- package/framework/{v0.3.2 → v0.3.3}/lib/index.js +1 -0
- package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/listener.js +2 -2
- package/framework/v0.3.3/lib/uuid/package.json +7 -0
- package/framework/v0.3.3/lib/uuid/src/main.js +99 -0
- package/framework/v0.3.3/package.json +8 -0
- package/gna.js +86 -0
- package/llms.txt +94 -4
- package/package.json +107 -101
- package/types/globals.d.ts +205 -0
- package/types/gna.d.ts +67 -0
- package/types/index.d.ts +566 -0
- package/framework/v0.3.2/VERSION +0 -1
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/html/toolbar.html.gz +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -532
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -8
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
- package/framework/v0.3.2/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
- package/framework/v0.3.2/core/deps/swig-1.4.2/CONTRIBUTING.md +0 -107
- package/framework/v0.3.2/core/deps/swig-1.4.2/HISTORY.md +0 -498
- package/framework/v0.3.2/core/deps/swig-1.4.2/LICENSE +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/Makefile +0 -192
- package/framework/v0.3.2/core/deps/swig-1.4.2/README.md +0 -88
- package/framework/v0.3.2/core/deps/swig-1.4.2/bin/swig.js +0 -161
- package/framework/v0.3.2/core/deps/swig-1.4.2/browser/comments.js +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/browser/index.js +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/dist/swig.min.js +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/api.html +0 -136
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/browser.html +0 -36
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/cli.html +0 -64
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/extending.html +0 -183
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/filters.html +0 -97
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/TYPES.html +0 -0
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/includes/macros.html +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/index.html +0 -212
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/layout.html +0 -43
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/loaders.html +0 -106
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/previous.html +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs/tags.html +0 -72
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/docs.json +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.html +0 -98
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/index.json +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/lib/rainbow.min.js +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/js/master.js +0 -106
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/html5.html +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/layouts/master.html +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/button.less +0 -22
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/fork.less +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/header.less +0 -61
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/layout.less +0 -96
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/mixins.less +0 -268
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/rainbow.less +0 -58
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/reset.less +0 -250
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/sidenav.less +0 -16
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/swig.less +0 -124
- package/framework/v0.3.2/core/deps/swig-1.4.2/docs/less/variables.less +0 -42
- package/framework/v0.3.2/core/deps/swig-1.4.2/index.js +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/dateformatter.js +0 -198
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/filters.js +0 -630
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/lexer.js +0 -306
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/filesystem.js +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/index.js +0 -53
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/loaders/memory.js +0 -63
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/parser.js +0 -744
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/swig.js +0 -740
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/autoescape.js +0 -37
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/block.js +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/else.js +0 -25
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/elseif.js +0 -28
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/extends.js +0 -19
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/filter.js +0 -68
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/for.js +0 -130
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/if.js +0 -86
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/import.js +0 -91
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/include.js +0 -100
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/index.js +0 -16
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/macro.js +0 -79
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/parent.js +0 -51
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/raw.js +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/set.js +0 -109
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/tags/spaceless.js +0 -42
- package/framework/v0.3.2/core/deps/swig-1.4.2/lib/utils.js +0 -184
- package/framework/v0.3.2/core/deps/swig-1.4.2/package.json +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/config-lint.js +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/post-merge +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/scripts/githooks/pre-commit +0 -59
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/basic.test.js +0 -296
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.filters.js +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.js +0 -5
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.locals.json +0 -7
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.tags.js +0 -15
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/bin.test.js +0 -159
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_filter.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tag.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_tagControls.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/custom_varControls.bin.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/bin/options.js +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_1.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_2.test.html +0 -5
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_base.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.base.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_4.middle.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_bare.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_base.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_include.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_layouts/extends_real_base.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.expectation.html +0 -6
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_set.test.html +0 -4
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.expectation.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_3.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.expectation.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/extends_tests/extends_4.test.html +0 -2
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.expectation.html +0 -24
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/import.test.html +0 -10
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.expectation.html +0 -24
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include.test.html +0 -13
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_bar.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.expectation.html +0 -4
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/include_extends.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/includes.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.html +0 -23
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/macros.test.html +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.expectation.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks.test.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/nested_blocks_parent.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent-parent.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.expectation.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/parent.test.html +0 -9
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.expectation.html +0 -3
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases/set.test.html +0 -8
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/circular_parent.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/extends-non-existent.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename-partial.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/cases-error/report-filename.test.html +0 -1
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/comments.test.js +0 -12
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/filters.test.js +0 -316
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/loaders.test.js +0 -119
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/regressions.test.js +0 -41
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/autoescape.test.js +0 -45
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/else.test.js +0 -61
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/extend.test.js +0 -11
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/filter.test.js +0 -29
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/for.test.js +0 -63
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/if.test.js +0 -75
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/import.test.js +0 -15
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/include.test.js +0 -26
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/macro.test.js +0 -38
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/parent.test.js +0 -14
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/raw.test.js +0 -33
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/set.test.js +0 -56
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags/spaceless.test.js +0 -26
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/tags.test.js +0 -56
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/templates.test.js +0 -62
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/variables.test.js +0 -183
- package/framework/v0.3.2/core/deps/swig-1.4.2/tests/whitespace.test.js +0 -43
- package/framework/v0.3.2/lib/cmd/framework/get.js +0 -0
- package/framework/v0.3.2/lib/cmd/port/set.js +0 -0
- package/framework/v0.3.2/package.json +0 -5
- /package/framework/{v0.3.2 → v0.3.3}/AUTHORS +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/nolayout.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/html/static.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-192x192.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/android-chrome-512x512.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/apple-touch-icon.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-16x16.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon-32x32.png +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/img/favicon.ico +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/ai/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v2.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v3.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/connector.v4.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/n1ql.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/mysql/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/postgresql/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/redis/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sql-parser.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/connector.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/connectors/sqlite/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/content.encoding +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.framework.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-json.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-stream.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-swig.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/controller.render-v1.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/controller/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/types/urlencoded.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/lib/utils.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/busboy-1.6.0/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/optimist-0.6.1/readme.markdown +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/deps/swig-client/swig.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/class.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/factory.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/dev/lib/tools.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/currency.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/en.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/language/fr.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/en.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/dist/region/fr.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/locales/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/mime.types +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/entity.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/template/entityFactory.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/model/template/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/file/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/intl/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/storage/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/plugins/lib/validator/src/form-validator.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/router.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/server.express.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/status.codes +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/_gitignore +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/app.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/connectors.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/routing.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/templates.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/config/watchers.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/default.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/home.css +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_public/readme.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.bat.tpl +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/command/gina.tpl +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/env.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/manifest.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/settings.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/statics.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/conf/templates.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/401.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/403.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/client/json/404.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/html/50x.html +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/500.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/error/server/json/503.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/core/template/extensions/logger/config.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/console.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/context.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/data/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/dateFormat.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/json/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/path.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/api-error.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/plugins/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/prototypes.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/task.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/helpers/text.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/dep/jszip.min.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/archiver/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/async/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/async/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cache/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/copy.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/cp.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rename.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/bundle/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/cache/stats.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/get.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/link-dev.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/unset.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/env/use.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/arguments.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/dot.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/init.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link-node-modules.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/link.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/msg.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/open.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/start.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/tail.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/update.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/framework/version.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-dev.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina-framework.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/gina.1.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/helper.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/inspector/open.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/minion/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/msg.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/inc/scan.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/port/reset.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/arguments.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/build.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/import.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/move.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rename.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/restart.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/start.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/status.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/project/stop.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/protocol/set.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/help.txt +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-local.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/link-production.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/list.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/remove.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/rm.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/scope/use.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cmd/view/add.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/collection/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/config.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/cron/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/2025-03-14_13-41-20_UTC.dat +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.br +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/dist/public_suffix_list.dat.gz +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/domain/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/generator/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/LICENSE +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/inherits/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/default/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/containers/mq/speaker.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/helper.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/logger/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/math/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/merge/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/model.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/proc.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/build.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/routing/src/radix.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/session-store.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/shell.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/state.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/swig-filters/src/main.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/README.md +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/index.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/url/routing.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/validator.js +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/package.json +0 -0
- /package/framework/{v0.3.2 → v0.3.3}/lib/watcher/src/main.js +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* - lib/merge
|
|
7
7
|
* - utils/events
|
|
8
8
|
* - utils/data
|
|
9
|
-
* -
|
|
9
|
+
* - lib/uuid
|
|
10
10
|
*
|
|
11
11
|
* Additional helpers for the backend are located in framwework/v{version}/helpers/plugins/validator-*.js
|
|
12
12
|
*
|
|
@@ -92,7 +92,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
92
92
|
require('../../../../../helpers/data');
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
var uuid =
|
|
95
|
+
var uuid = (isGFFCtx) ? require('lib/uuid') : require('../../../../../lib/uuid');
|
|
96
96
|
var merge = (isGFFCtx) ? require('lib/merge') : require('../../../../../lib/merge');
|
|
97
97
|
var inherits = (isGFFCtx) ? require('lib/inherits') : require('../../../../../lib/inherits');
|
|
98
98
|
var FormValidator = (isGFFCtx) ? require('lib/form-validator') : require('./form-validator');
|
|
@@ -102,7 +102,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
102
102
|
|
|
103
103
|
/** definitions */
|
|
104
104
|
var instance = {
|
|
105
|
-
'id' : 'validator-' + uuid
|
|
105
|
+
'id' : 'validator-' + uuid(),
|
|
106
106
|
|
|
107
107
|
'plugin' : this.plugin,
|
|
108
108
|
'on' : (isGFFCtx) ? on : null,
|
|
@@ -351,7 +351,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
351
351
|
} else if ( typeof(_id) == 'object' && !Array.isArray(_id) ) { // weird exception
|
|
352
352
|
|
|
353
353
|
$target = _id.form;
|
|
354
|
-
_id = $target.getAttribute('id') || 'form.'+uuid
|
|
354
|
+
_id = $target.getAttribute('id') || 'form.'+uuid();
|
|
355
355
|
|
|
356
356
|
$target.setAttribute('id', _id);// just in case
|
|
357
357
|
|
|
@@ -1686,7 +1686,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
1686
1686
|
if (hasBinaries && binaries.length > 0) {
|
|
1687
1687
|
|
|
1688
1688
|
// We need a separator to define each part of the request
|
|
1689
|
-
var boundary = '--ginaWKBoundary' + uuid
|
|
1689
|
+
var boundary = '--ginaWKBoundary' + uuid();
|
|
1690
1690
|
|
|
1691
1691
|
|
|
1692
1692
|
return processFiles(binaries, boundary, '', 0, function onComplete(err, data, done) {
|
|
@@ -2354,7 +2354,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
2354
2354
|
_id = _id.replace(/\#/, '')
|
|
2355
2355
|
} else if ( typeof(_id) == 'object' && !Array.isArray(_id) ) { // weird exception
|
|
2356
2356
|
var $target = _id.form;
|
|
2357
|
-
_id = $target.getAttribute('id') || 'form.'+uuid
|
|
2357
|
+
_id = $target.getAttribute('id') || 'form.'+uuid();
|
|
2358
2358
|
|
|
2359
2359
|
$target.setAttribute('id', _id);// just in case
|
|
2360
2360
|
|
|
@@ -2578,12 +2578,12 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
2578
2578
|
// preparing prototype (need at least an ID for this)
|
|
2579
2579
|
|
|
2580
2580
|
if ($allForms[f].getAttribute) {
|
|
2581
|
-
id = $allForms[f].getAttribute('id') || 'form.' + uuid
|
|
2581
|
+
id = $allForms[f].getAttribute('id') || 'form.' + uuid();
|
|
2582
2582
|
if ( id !== $allForms[f].getAttribute('id') ) {
|
|
2583
2583
|
$allForms[f].setAttribute('id', id)
|
|
2584
2584
|
}
|
|
2585
2585
|
} else {
|
|
2586
|
-
id = 'form.' + uuid
|
|
2586
|
+
id = 'form.' + uuid();
|
|
2587
2587
|
$allForms[f].setAttribute('id', id)
|
|
2588
2588
|
}
|
|
2589
2589
|
|
|
@@ -2632,7 +2632,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
2632
2632
|
if ( typeof($allForms[f].id) == 'object' ) {
|
|
2633
2633
|
delete instance.$forms[$allForms[f].id];
|
|
2634
2634
|
|
|
2635
|
-
var _id = $allForms[f].attributes.getNamedItem('id').nodeValue || 'form.'+uuid
|
|
2635
|
+
var _id = $allForms[f].attributes.getNamedItem('id').nodeValue || 'form.'+uuid();
|
|
2636
2636
|
|
|
2637
2637
|
$allForms[f].setAttribute('id', _id);
|
|
2638
2638
|
$allForms[f]['id'] = _id;
|
|
@@ -2696,12 +2696,12 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
2696
2696
|
;
|
|
2697
2697
|
|
|
2698
2698
|
if ($form.getAttribute) {
|
|
2699
|
-
id = $form.getAttribute('id') || 'form.' + uuid
|
|
2699
|
+
id = $form.getAttribute('id') || 'form.' + uuid();
|
|
2700
2700
|
if (id !== $form.getAttribute('id')) {
|
|
2701
2701
|
$form.setAttribute('id', id)
|
|
2702
2702
|
}
|
|
2703
2703
|
} else {
|
|
2704
|
-
id = 'form.' + uuid
|
|
2704
|
+
id = 'form.' + uuid();
|
|
2705
2705
|
$form.setAttribute('id', id)
|
|
2706
2706
|
}
|
|
2707
2707
|
|
|
@@ -2738,7 +2738,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
2738
2738
|
if (typeof ($form.id) == 'object') {
|
|
2739
2739
|
delete instance.$forms[$form.id];
|
|
2740
2740
|
|
|
2741
|
-
var _id = $form.attributes.getNamedItem('id').nodeValue || 'form.' + uuid
|
|
2741
|
+
var _id = $form.attributes.getNamedItem('id').nodeValue || 'form.' + uuid();
|
|
2742
2742
|
|
|
2743
2743
|
$form.setAttribute('id', _id);
|
|
2744
2744
|
$form.id = _id;
|
|
@@ -3334,10 +3334,14 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
3334
3334
|
if ( !isFormValid && gResult.error ) {
|
|
3335
3335
|
// Fixed on 2025-03-16 - we need past and live errors
|
|
3336
3336
|
instance.$forms[ $el.form.getAttribute('id') ].errors = merge(result.error, gResult.error);
|
|
3337
|
-
// Fixed on
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3337
|
+
// Fixed on 2026-04-09 - only display errors for the touched field,
|
|
3338
|
+
// not all fields from the global pass. The global pass determines
|
|
3339
|
+
// submit button state; untouched fields should not show errors
|
|
3340
|
+
// until the user interacts with them or submits.
|
|
3341
|
+
var _touchedField = event.target.name;
|
|
3342
|
+
if ( typeof(gResult.error[_touchedField]) != 'undefined' ) {
|
|
3343
|
+
refreshWarning($gFields[_touchedField]);
|
|
3344
|
+
handleErrorsDisplay($gForm, gResult.error, gResult.data, _touchedField);
|
|
3341
3345
|
}
|
|
3342
3346
|
}
|
|
3343
3347
|
// Fixed on 2025-03-16
|
|
@@ -4256,7 +4260,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
4256
4260
|
// if ( $target.isPopinContext ) {
|
|
4257
4261
|
// elId = ( isPopinClick ) ? 'popin.click.' : 'popin.link.';
|
|
4258
4262
|
// }
|
|
4259
|
-
// elId += uuid
|
|
4263
|
+
// elId += uuid();
|
|
4260
4264
|
// $a[f].setAttribute('id', elId)
|
|
4261
4265
|
// }
|
|
4262
4266
|
// }
|
|
@@ -4267,7 +4271,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
4267
4271
|
checkForRuleAlias($form.rules, $textareas[f]);
|
|
4268
4272
|
elId = $textareas[f].getAttribute('id');
|
|
4269
4273
|
if (!elId || elId == '') {
|
|
4270
|
-
elId = 'textareas.' + uuid
|
|
4274
|
+
elId = 'textareas.' + uuid();
|
|
4271
4275
|
$textareas[f].setAttribute('id', elId)
|
|
4272
4276
|
}
|
|
4273
4277
|
if (!$form.fieldsSet[ elId ]) {
|
|
@@ -4299,7 +4303,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
4299
4303
|
checkForRuleAlias($form.rules, $inputs[f]);
|
|
4300
4304
|
elId = $inputs[f].getAttribute('id');
|
|
4301
4305
|
if (!elId || elId == '') {
|
|
4302
|
-
elId = 'input.' + uuid
|
|
4306
|
+
elId = 'input.' + uuid();
|
|
4303
4307
|
$inputs[f].setAttribute('id', elId)
|
|
4304
4308
|
}
|
|
4305
4309
|
|
|
@@ -4685,7 +4689,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
4685
4689
|
// create input & add it to the form
|
|
4686
4690
|
$newVirtualField = document.createElement('input');
|
|
4687
4691
|
$newVirtualField.type = 'hidden';
|
|
4688
|
-
$newVirtualField.id = 'input.' + uuid
|
|
4692
|
+
$newVirtualField.id = 'input.' + uuid();
|
|
4689
4693
|
$newVirtualField.name = _name;
|
|
4690
4694
|
$newVirtualField.value = '';
|
|
4691
4695
|
|
|
@@ -4862,9 +4866,10 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
4862
4866
|
var isFormValid = gResult.isValid();
|
|
4863
4867
|
if (!isFormValid) {
|
|
4864
4868
|
instance.$forms[formId].errors = gResult.error;
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4869
|
+
// Fixed on 2026-04-09 - only display errors for the touched field
|
|
4870
|
+
var _touchedField = event.target.name;
|
|
4871
|
+
if ( typeof(gResult.error[_touchedField]) != 'undefined' ) {
|
|
4872
|
+
handleErrorsDisplay($gForm, gResult.error, gResult.data, _touchedField);
|
|
4868
4873
|
}
|
|
4869
4874
|
}
|
|
4870
4875
|
|
|
@@ -4885,7 +4890,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
4885
4890
|
if (elId && /^gina\-toolbar/.test(elId)) continue;
|
|
4886
4891
|
|
|
4887
4892
|
if (!elId || elId == '') {
|
|
4888
|
-
elId = 'select.' + uuid
|
|
4893
|
+
elId = 'select.' + uuid();
|
|
4889
4894
|
$select[s].setAttribute('id', elId)
|
|
4890
4895
|
}
|
|
4891
4896
|
|
|
@@ -5269,7 +5274,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
5269
5274
|
type = $inputs[i].getAttribute('type');
|
|
5270
5275
|
|
|
5271
5276
|
if ( typeof($inputs[i].id) == 'undefined' || $inputs[i].id == '' ) {
|
|
5272
|
-
$inputs[i].id = type +'-'+ uuid
|
|
5277
|
+
$inputs[i].id = type +'-'+ uuid();
|
|
5273
5278
|
$inputs[i].setAttribute('id', $inputs[i].id)
|
|
5274
5279
|
}
|
|
5275
5280
|
|
|
@@ -5612,7 +5617,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
5612
5617
|
}
|
|
5613
5618
|
// safety checking
|
|
5614
5619
|
if ( typeof($el.id) == 'undefined' || !$el.getAttribute('id') ) {
|
|
5615
|
-
$el.setAttribute('id', 'click.' + uuid
|
|
5620
|
+
$el.setAttribute('id', 'click.' + uuid() );
|
|
5616
5621
|
$el.id = $el.getAttribute('id')
|
|
5617
5622
|
} else {
|
|
5618
5623
|
$el.id = $el.getAttribute('id')
|
|
@@ -5818,7 +5823,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
5818
5823
|
&& !gina.popinIsBinded
|
|
5819
5824
|
&& !/gina\-link/.test($buttonsTMP[b].className)
|
|
5820
5825
|
) { // will not be binded but will receive an id if not existing
|
|
5821
|
-
linkId = 'link.'+ uuid
|
|
5826
|
+
linkId = 'link.'+ uuid();
|
|
5822
5827
|
$buttonsTMP[b].id = linkId;
|
|
5823
5828
|
}
|
|
5824
5829
|
}
|
|
@@ -5848,7 +5853,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
5848
5853
|
}
|
|
5849
5854
|
|
|
5850
5855
|
if ( typeof($submit.id) == 'undefined' || typeof($submit.id) != 'undefined' && $submit.id == "" ) {
|
|
5851
|
-
$submit.id = 'click.'+uuid
|
|
5856
|
+
$submit.id = 'click.'+uuid();
|
|
5852
5857
|
$submit.setAttribute('id', $submit.id);
|
|
5853
5858
|
}
|
|
5854
5859
|
|
|
@@ -5891,7 +5896,7 @@ function ValidatorPlugin(rules, data, formId) {
|
|
|
5891
5896
|
}
|
|
5892
5897
|
|
|
5893
5898
|
if (!$submit['id']) {
|
|
5894
|
-
evt = 'click.'+ uuid
|
|
5899
|
+
evt = 'click.'+ uuid();
|
|
5895
5900
|
$submit['id'] = evt;
|
|
5896
5901
|
$submit.setAttribute( 'id', evt);
|
|
5897
5902
|
} else {
|
|
@@ -11,6 +11,21 @@ const {EventEmitter} = require('events');
|
|
|
11
11
|
let Eio = null;
|
|
12
12
|
// const zlib = require('zlib'); // gzip / deflate
|
|
13
13
|
|
|
14
|
+
// Lightweight debug logger — gated on LOG_LEVEL so zero cost in production.
|
|
15
|
+
// Format mirrors lib/logger template: [date] [debug ][gina:isaac] message
|
|
16
|
+
var _isDebugLog = function() {
|
|
17
|
+
return process.env.LOG_LEVEL === 'debug' || process.env.LOG_LEVEL === 'trace';
|
|
18
|
+
};
|
|
19
|
+
var _debugLog = function(msg) {
|
|
20
|
+
if (!_isDebugLog()) return;
|
|
21
|
+
var _m = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
|
|
22
|
+
var p2 = function(n) { return (n < 10 ? '0' : '') + n; };
|
|
23
|
+
var d = new Date();
|
|
24
|
+
var ts = d.getFullYear() + ' ' + _m[d.getMonth()] + ' ' + p2(d.getDate())
|
|
25
|
+
+ ' ' + p2(d.getHours()) + ':' + p2(d.getMinutes()) + ':' + p2(d.getSeconds());
|
|
26
|
+
process.stderr.write('\u001b[90m[' + ts + '] [debug ][gina:isaac] ' + msg + '\u001b[39m\n');
|
|
27
|
+
};
|
|
28
|
+
|
|
14
29
|
const lib = require('./../lib');
|
|
15
30
|
const inherits = lib.inherits;
|
|
16
31
|
const merge = lib.merge;
|
|
@@ -26,19 +41,6 @@ const env = process.env.NODE_ENV
|
|
|
26
41
|
, isProductionScope = process.env.NODE_SCOPE_IS_PRODUCTION && process.env.NODE_SCOPE_IS_PRODUCTION.toLowerCase() === 'true'
|
|
27
42
|
;
|
|
28
43
|
|
|
29
|
-
var _isDebugLog = function() {
|
|
30
|
-
return process.env.LOG_LEVEL === 'debug' || process.env.LOG_LEVEL === 'trace';
|
|
31
|
-
};
|
|
32
|
-
var _debugLog = function(msg) {
|
|
33
|
-
if (!_isDebugLog()) return;
|
|
34
|
-
var d = new Date()
|
|
35
|
-
, _m = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
|
|
36
|
-
, p2 = function(n) { return (n < 10 ? '0' : '') + n; };
|
|
37
|
-
fs.writeSync(2, '\u001b[90m[' + d.getFullYear() +' '+ _m[d.getMonth()] +' '+ p2(d.getDate())
|
|
38
|
-
+' '+ p2(d.getHours()) +':'+ p2(d.getMinutes()) +':'+ p2(d.getSeconds())
|
|
39
|
-
+ '] [debug ][gina:isaac] ' + msg + '\u001b[39m\n');
|
|
40
|
-
};
|
|
41
|
-
|
|
42
44
|
/**
|
|
43
45
|
* Reloads all core and lib modules from disk by replacing their require.cache
|
|
44
46
|
* entries with fresh exports. Excludes gna.js itself. Also refreshes the
|
|
@@ -798,6 +800,68 @@ function ServerEngineClass(options) {
|
|
|
798
800
|
return;
|
|
799
801
|
}
|
|
800
802
|
|
|
803
|
+
// ── Live index introspection — JSON at /_gina/indexes in dev mode ──
|
|
804
|
+
// #QI2 — triggers inspector#indexes event; each SQL connector responds
|
|
805
|
+
// with its live index data. Collector aggregates responses.
|
|
806
|
+
if (
|
|
807
|
+
isCacheless
|
|
808
|
+
&& request.method.toUpperCase() === 'GET'
|
|
809
|
+
&& /\/_gina\/indexes$/.test(request.url)
|
|
810
|
+
) {
|
|
811
|
+
if (!process.gina._inspectorActive) process.gina._inspectorActive = true;
|
|
812
|
+
|
|
813
|
+
var _ixListenerCount = process.listenerCount('inspector#indexes');
|
|
814
|
+
var _ixHeaders = {
|
|
815
|
+
'content-type': 'application/json; charset=utf8',
|
|
816
|
+
'cache-control': 'no-cache, no-store',
|
|
817
|
+
'access-control-allow-origin': '*',
|
|
818
|
+
'X-Powered-By': 'Gina/' + GINA_VERSION
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
if (_ixListenerCount === 0) {
|
|
822
|
+
var _ixEmpty = JSON.stringify({ connectors: {} });
|
|
823
|
+
if (response.stream) {
|
|
824
|
+
response.stream.respond({ ':status': 200, ..._ixHeaders });
|
|
825
|
+
return response.stream.end(_ixEmpty);
|
|
826
|
+
}
|
|
827
|
+
response.writeHead(200, _ixHeaders);
|
|
828
|
+
console.info(request.method + ' [200] ' + request.url);
|
|
829
|
+
return response.end(_ixEmpty);
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
var _ixResults = {};
|
|
833
|
+
var _ixRemaining = _ixListenerCount;
|
|
834
|
+
var _ixResponded = false;
|
|
835
|
+
|
|
836
|
+
var _ixRespond = function() {
|
|
837
|
+
if (_ixResponded) return;
|
|
838
|
+
_ixResponded = true;
|
|
839
|
+
clearTimeout(_ixTimeout);
|
|
840
|
+
var _ixBody = JSON.stringify({ connectors: _ixResults });
|
|
841
|
+
if (response.stream) {
|
|
842
|
+
if (response.stream.destroyed || response.stream.closed) return;
|
|
843
|
+
response.stream.respond({ ':status': 200, ..._ixHeaders });
|
|
844
|
+
return response.stream.end(_ixBody);
|
|
845
|
+
}
|
|
846
|
+
response.writeHead(200, _ixHeaders);
|
|
847
|
+
console.info(request.method + ' [200] ' + request.url);
|
|
848
|
+
response.end(_ixBody);
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
var _ixCollector = function(err, type, database, indexMap) {
|
|
852
|
+
if (_ixResponded) return;
|
|
853
|
+
if (!err && indexMap) {
|
|
854
|
+
var key = type + ':' + database;
|
|
855
|
+
_ixResults[key] = { type: type, database: database, tables: indexMap };
|
|
856
|
+
}
|
|
857
|
+
if (--_ixRemaining <= 0) _ixRespond();
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
var _ixTimeout = setTimeout(_ixRespond, 2000);
|
|
861
|
+
process.emit('inspector#indexes', _ixCollector);
|
|
862
|
+
return;
|
|
863
|
+
}
|
|
864
|
+
|
|
801
865
|
// Proxy detection - Needs to be place after /_gina/health/*
|
|
802
866
|
isProxyHost = getContext('isProxyHost') || false;
|
|
803
867
|
requestHost = request.headers.host || request.headers[':authority'];
|
|
@@ -27,22 +27,10 @@
|
|
|
27
27
|
*/
|
|
28
28
|
//Imports.
|
|
29
29
|
const fs = require('fs');
|
|
30
|
-
var _isDebugLog = function() {
|
|
31
|
-
return process.env.LOG_LEVEL === 'debug' || process.env.LOG_LEVEL === 'trace';
|
|
32
|
-
};
|
|
33
|
-
var _debugLog = function(msg) {
|
|
34
|
-
if (!_isDebugLog()) return;
|
|
35
|
-
var d = new Date()
|
|
36
|
-
, _m = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
|
|
37
|
-
, p2 = function(n) { return (n < 10 ? '0' : '') + n; };
|
|
38
|
-
fs.writeSync(2, '\u001b[90m[' + d.getFullYear() +' '+ _m[d.getMonth()] +' '+ p2(d.getDate())
|
|
39
|
-
+' '+ p2(d.getHours()) +':'+ p2(d.getMinutes()) +':'+ p2(d.getSeconds())
|
|
40
|
-
+ '] [debug ][gina:server] ' + msg + '\u001b[39m\n');
|
|
41
|
-
};
|
|
42
30
|
const os = require('os');
|
|
43
31
|
const path = require('path');
|
|
44
32
|
const EventEmitter = require('events').EventEmitter;
|
|
45
|
-
const swig = require('
|
|
33
|
+
const swig = require('@rhinostone/swig');
|
|
46
34
|
const Busboy = require('./deps/busboy-1.6.0');
|
|
47
35
|
const Stream = require('stream');
|
|
48
36
|
const util = require('util');
|
|
@@ -50,6 +38,21 @@ var https = require('https');
|
|
|
50
38
|
// ssl-checker dependency removed in 0.3.1 — replaced by inline verifyCertificate().
|
|
51
39
|
|
|
52
40
|
|
|
41
|
+
// Lightweight debug logger — gated on LOG_LEVEL so zero cost in production.
|
|
42
|
+
// Format mirrors lib/logger template: [date] [debug ][gina:server] message
|
|
43
|
+
var _isDebugLog = function() {
|
|
44
|
+
return process.env.LOG_LEVEL === 'debug' || process.env.LOG_LEVEL === 'trace';
|
|
45
|
+
};
|
|
46
|
+
var _debugLog = function(msg) {
|
|
47
|
+
if (!_isDebugLog()) return;
|
|
48
|
+
var _m = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
|
|
49
|
+
var p2 = function(n) { return (n < 10 ? '0' : '') + n; };
|
|
50
|
+
var d = new Date();
|
|
51
|
+
var ts = d.getFullYear() + ' ' + _m[d.getMonth()] + ' ' + p2(d.getDate())
|
|
52
|
+
+ ' ' + p2(d.getHours()) + ':' + p2(d.getMinutes()) + ':' + p2(d.getSeconds());
|
|
53
|
+
process.stderr.write('\u001b[90m[' + ts + '] [debug ][gina:server] ' + msg + '\u001b[39m\n');
|
|
54
|
+
};
|
|
55
|
+
|
|
53
56
|
var Config = require('./config');
|
|
54
57
|
var Router = require('./router');
|
|
55
58
|
var lib = require('./../lib');
|
|
@@ -228,15 +231,11 @@ function Server(options) {
|
|
|
228
231
|
serverOpt.ioServer = ioServerOpt
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
_debugLog('checkpoint I1: requiring engine ' + ((typeof (serverOpt.engine) != 'undefined' && serverOpt.engine != '') ? serverOpt.engine : 'express'));
|
|
232
234
|
Engine = require('./server.' + ((typeof (serverOpt.engine) != 'undefined' && serverOpt.engine != '') ? serverOpt.engine : 'express'));
|
|
233
|
-
_debugLog('checkpoint I2: engine required, instantiating; scheme=' + serverOpt.scheme + ' protocol=' + serverOpt.protocol + ' cachePath=' + serverOpt.cachePath + ' hasCredentials=' + (typeof(serverOpt.credentials) != 'undefined') + ' hasAllRoutes=' + (typeof(options.conf.routing) != 'undefined'));
|
|
234
235
|
var engine = new Engine(serverOpt);
|
|
235
|
-
_debugLog('checkpoint I3: engine instantiated');
|
|
236
236
|
|
|
237
237
|
// swigEngine to render thrown HTML errors
|
|
238
238
|
if ( hasViews(self.appName) ) {
|
|
239
|
-
_debugLog('checkpoint I4: initSwigEngine');
|
|
240
239
|
initSwigEngine(self.conf[self.appName][self.env]);
|
|
241
240
|
}
|
|
242
241
|
|
|
@@ -249,7 +248,6 @@ function Server(options) {
|
|
|
249
248
|
process.env.TZ = options.conf[self.appName][self.env].content.settings.region.timeZone;
|
|
250
249
|
}
|
|
251
250
|
|
|
252
|
-
_debugLog('checkpoint I5: emitting configured');
|
|
253
251
|
self.emit('configured', false, engine.instance, engine.middleware, self.conf[self.appName][self.env]);
|
|
254
252
|
|
|
255
253
|
} catch (err) {
|
|
@@ -2483,6 +2481,56 @@ function Server(options) {
|
|
|
2483
2481
|
return;
|
|
2484
2482
|
}
|
|
2485
2483
|
|
|
2484
|
+
// ── Live index introspection — JSON at /_gina/indexes in dev mode ──
|
|
2485
|
+
// #QI2 — triggers inspector#indexes event; each SQL connector responds
|
|
2486
|
+
// with its live index data. Collector aggregates responses from all
|
|
2487
|
+
// active connectors and returns a single JSON payload.
|
|
2488
|
+
if (
|
|
2489
|
+
process.env.NODE_ENV_IS_DEV && process.env.NODE_ENV_IS_DEV.toLowerCase() === 'true'
|
|
2490
|
+
&& request.method.toUpperCase() === 'GET'
|
|
2491
|
+
&& /\/_gina\/indexes$/.test(request.url)
|
|
2492
|
+
) {
|
|
2493
|
+
if (!process.gina._inspectorActive) process.gina._inspectorActive = true;
|
|
2494
|
+
|
|
2495
|
+
var _ixListenerCount = process.listenerCount('inspector#indexes');
|
|
2496
|
+
if (_ixListenerCount === 0) {
|
|
2497
|
+
response.setHeader('content-type', 'application/json; charset=utf8');
|
|
2498
|
+
response.setHeader('cache-control', 'no-cache, no-store');
|
|
2499
|
+
response.setHeader('access-control-allow-origin', '*');
|
|
2500
|
+
console.info(request.method + ' [200] ' + request.url);
|
|
2501
|
+
return response.end(JSON.stringify({ connectors: {} }));
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
var _ixResults = {};
|
|
2505
|
+
var _ixRemaining = _ixListenerCount;
|
|
2506
|
+
var _ixResponded = false;
|
|
2507
|
+
|
|
2508
|
+
var _ixRespond = function() {
|
|
2509
|
+
if (_ixResponded) return;
|
|
2510
|
+
_ixResponded = true;
|
|
2511
|
+
clearTimeout(_ixTimeout);
|
|
2512
|
+
var _ixBody = JSON.stringify({ connectors: _ixResults });
|
|
2513
|
+
response.setHeader('content-type', 'application/json; charset=utf8');
|
|
2514
|
+
response.setHeader('cache-control', 'no-cache, no-store');
|
|
2515
|
+
response.setHeader('access-control-allow-origin', '*');
|
|
2516
|
+
console.info(request.method + ' [200] ' + request.url);
|
|
2517
|
+
response.end(_ixBody);
|
|
2518
|
+
};
|
|
2519
|
+
|
|
2520
|
+
var _ixCollector = function(err, type, database, indexMap) {
|
|
2521
|
+
if (_ixResponded) return;
|
|
2522
|
+
if (!err && indexMap) {
|
|
2523
|
+
var key = type + ':' + database;
|
|
2524
|
+
_ixResults[key] = { type: type, database: database, tables: indexMap };
|
|
2525
|
+
}
|
|
2526
|
+
if (--_ixRemaining <= 0) _ixRespond();
|
|
2527
|
+
};
|
|
2528
|
+
|
|
2529
|
+
var _ixTimeout = setTimeout(_ixRespond, 2000);
|
|
2530
|
+
process.emit('inspector#indexes', _ixCollector);
|
|
2531
|
+
return;
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2486
2534
|
// Fixing an express js bug :(
|
|
2487
2535
|
// express is trying to force : /path/dir => /path/dir/
|
|
2488
2536
|
// which causes : /path/dir/path/dir/ <---- by trying to add a slash in the end
|
|
@@ -79,7 +79,20 @@ module.exports = function(){
|
|
|
79
79
|
|
|
80
80
|
try {
|
|
81
81
|
return JSON.parse(jsonStr)
|
|
82
|
-
} catch (
|
|
82
|
+
} catch (firstErr) {
|
|
83
|
+
// Trailing comma tolerance: strip ,} and ,] patterns and retry
|
|
84
|
+
var _stripped = jsonStr.replace(/,(\s*[\}\]])/g, '$1');
|
|
85
|
+
if (_stripped !== jsonStr) {
|
|
86
|
+
try {
|
|
87
|
+
var _result = JSON.parse(_stripped);
|
|
88
|
+
console.warn('[ requireJSON ] trailing comma in `'+ filename +'` — parsed successfully but please fix the file');
|
|
89
|
+
return _result;
|
|
90
|
+
} catch (_retryErr) {
|
|
91
|
+
// fall through to the original error reporting below
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
var err = firstErr;
|
|
83
96
|
var pos = null
|
|
84
97
|
, msg = null
|
|
85
98
|
, error = null
|
|
@@ -53,7 +53,7 @@ function Cache(options) {
|
|
|
53
53
|
// LRU cap: 0 means unlimited. Overridden by from() if the shared Map carries _maxEntries.
|
|
54
54
|
var maxEntries = (options && options.maxEntries > 0) ? ~~(options.maxEntries) : 0;
|
|
55
55
|
var merge = (isGFFCtx) ? require('lib/merge') : require('../../../lib/merge');
|
|
56
|
-
var uuid =
|
|
56
|
+
var uuid = (isGFFCtx) ? require('lib/uuid') : require('../../../lib/uuid');
|
|
57
57
|
var Collection = (isGFFCtx) ? require('lib/collection') : require('../../../lib/collection');
|
|
58
58
|
// var EventEmitter = (isGFFCtx) ? EventTarget : require('events').EventEmitter;
|
|
59
59
|
|
|
@@ -453,7 +453,7 @@ function Cache(options) {
|
|
|
453
453
|
|
|
454
454
|
if ( !cache._events.setSearchOption('cacheKey', 'skipEval', true).findOne({cacheKey: cacheKey, event: cacheEvents[i]}) ) {
|
|
455
455
|
cache._events.insert({
|
|
456
|
-
id: uuid
|
|
456
|
+
id: uuid(),
|
|
457
457
|
cacheKey: cacheKey,
|
|
458
458
|
event: cacheEvents[i]
|
|
459
459
|
});
|
|
@@ -84,4 +84,24 @@
|
|
|
84
84
|
|
|
85
85
|
[ Restarting all your project bundles ]
|
|
86
86
|
|
|
87
|
-
$ gina bundle:restart @<project_name>
|
|
87
|
+
$ gina bundle:restart @<project_name>
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
[ Generating OpenAPI spec ]
|
|
91
|
+
|
|
92
|
+
Generate an OpenAPI 3.1.0 specification from routing.json for a bundle.
|
|
93
|
+
The spec is written to <bundle>/config/openapi.json by default.
|
|
94
|
+
|
|
95
|
+
$ gina bundle:openapi <bundle_name> @<project_name>
|
|
96
|
+
|
|
97
|
+
Generate specs for all bundles in a project
|
|
98
|
+
----------
|
|
99
|
+
$ gina bundle:openapi @<project_name>
|
|
100
|
+
|
|
101
|
+
Write to a custom output path
|
|
102
|
+
----------
|
|
103
|
+
$ gina bundle:openapi <bundle_name> @<project_name> --output=/path/to/spec.json
|
|
104
|
+
|
|
105
|
+
Alias
|
|
106
|
+
----------
|
|
107
|
+
$ gina bundle:oas <bundle_name> @<project_name>
|