gina 0.7.5 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (631) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +50 -53
  3. package/ROADMAP.md +1 -0
  4. package/framework/v0.7.6/VERSION +1 -0
  5. package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.js +243 -39
  6. package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js +748 -0
  7. package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  8. package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  9. package/framework/{v0.7.5 → v0.7.6}/core/config.js +1 -1
  10. package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.v4.js +1 -2
  11. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.js +359 -79
  12. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-json.js +16 -0
  13. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-nunjucks-async.js +46 -8
  14. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-nunjucks.js +61 -23
  15. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-swig-async.js +45 -7
  16. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-swig.js +21 -38
  17. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-v1.js +17 -38
  18. package/framework/v0.7.6/core/controller/render-data.js +344 -0
  19. package/framework/v0.7.6/core/controller/render-session.js +130 -0
  20. package/framework/{v0.7.5 → v0.7.6}/core/gna.js +2 -2
  21. package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/src/main.js +138 -31
  22. package/framework/{v0.7.5 → v0.7.6}/core/router.js +6 -0
  23. package/framework/{v0.7.5 → v0.7.6}/core/server.js +111 -11
  24. package/framework/{v0.7.5 → v0.7.6}/lib/routing/src/main.js +30 -0
  25. package/framework/{v0.7.5 → v0.7.6}/package.json +2 -2
  26. package/gna.js +4 -4
  27. package/llms.txt +27 -16
  28. package/package.json +5 -5
  29. package/framework/v0.7.5/VERSION +0 -1
  30. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -744
  31. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  32. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  33. /package/framework/{v0.7.5 → v0.7.6}/AUTHORS +0 -0
  34. /package/framework/{v0.7.5 → v0.7.6}/LICENSE +0 -0
  35. /package/framework/{v0.7.5 → v0.7.6}/core/asset/html/nolayout.html +0 -0
  36. /package/framework/{v0.7.5 → v0.7.6}/core/asset/html/static.html +0 -0
  37. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/android-chrome-192x192.png +0 -0
  38. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/android-chrome-512x512.png +0 -0
  39. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/apple-touch-icon.png +0 -0
  40. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon-16x16.png +0 -0
  41. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon-32x32.png +0 -0
  42. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon.ico +0 -0
  43. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/README.md +0 -0
  44. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  45. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  46. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  47. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  48. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  49. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  50. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  51. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  52. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  53. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  54. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  55. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
  56. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
  57. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  58. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  59. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  60. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  61. /package/framework/{v0.7.5 → v0.7.6}/core/config.requirements-anchor.js +0 -0
  62. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/ai/index.js +0 -0
  63. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/ai/lib/connector.js +0 -0
  64. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/index.js +0 -0
  65. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.js +0 -0
  66. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  67. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  68. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/n1ql.js +0 -0
  69. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.js +0 -0
  70. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  71. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/storage-store.js +0 -0
  72. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/duckdb/index.js +0 -0
  73. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/duckdb/lib/connector.js +0 -0
  74. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/index.js +0 -0
  75. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/connector.js +0 -0
  76. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/job-store.js +0 -0
  77. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
  78. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/session-store.js +0 -0
  79. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mysql/index.js +0 -0
  80. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mysql/lib/connector.js +0 -0
  81. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/param-redact.js +0 -0
  82. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/postgresql/index.js +0 -0
  83. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/postgresql/lib/connector.js +0 -0
  84. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/index.js +0 -0
  85. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/connector.js +0 -0
  86. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/job-store.js +0 -0
  87. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/kv-store.js +0 -0
  88. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/render-cache-store.js +0 -0
  89. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/session-store.js +0 -0
  90. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/index.js +0 -0
  91. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/lib/connector.js +0 -0
  92. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/lib/session-store.js +0 -0
  93. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/settle-once.js +0 -0
  94. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sql-parser.js +0 -0
  95. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/index.js +0 -0
  96. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/connector.js +0 -0
  97. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/job-store.js +0 -0
  98. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/kv-store.js +0 -0
  99. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/session-store.js +0 -0
  100. /package/framework/{v0.7.5 → v0.7.6}/core/content.encoding +0 -0
  101. /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.framework.js +0 -0
  102. /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-stream.js +0 -0
  103. /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-xml.js +0 -0
  104. /package/framework/{v0.7.5 → v0.7.6}/core/controller/index.js +0 -0
  105. /package/framework/{v0.7.5 → v0.7.6}/core/controller/inline-script.js +0 -0
  106. /package/framework/{v0.7.5 → v0.7.6}/core/controller/inspector-window-emit.js +0 -0
  107. /package/framework/{v0.7.5 → v0.7.6}/core/controller/preload-hints.js +0 -0
  108. /package/framework/{v0.7.5 → v0.7.6}/core/controller/release-banner.js +0 -0
  109. /package/framework/{v0.7.5 → v0.7.6}/core/dev/index.js +0 -0
  110. /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/class.js +0 -0
  111. /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/factory.js +0 -0
  112. /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/tools.js +0 -0
  113. /package/framework/{v0.7.5 → v0.7.6}/core/locales/README.md +0 -0
  114. /package/framework/{v0.7.5 → v0.7.6}/core/locales/currency.json +0 -0
  115. /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/language/en.json +0 -0
  116. /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/language/fr.json +0 -0
  117. /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/region/en.json +0 -0
  118. /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/region/fr.json +0 -0
  119. /package/framework/{v0.7.5 → v0.7.6}/core/locales/index.js +0 -0
  120. /package/framework/{v0.7.5 → v0.7.6}/core/mime.types +0 -0
  121. /package/framework/{v0.7.5 → v0.7.6}/core/model/entity.js +0 -0
  122. /package/framework/{v0.7.5 → v0.7.6}/core/model/index.js +0 -0
  123. /package/framework/{v0.7.5 → v0.7.6}/core/model/template/entityFactory.js +0 -0
  124. /package/framework/{v0.7.5 → v0.7.6}/core/model/template/index.js +0 -0
  125. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/README.md +0 -0
  126. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/index.js +0 -0
  127. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/README.md +0 -0
  128. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/package.json +0 -0
  129. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/src/main.js +0 -0
  130. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/README.md +0 -0
  131. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/README.md +0 -0
  132. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/package.json +0 -0
  133. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
  134. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/README.md +0 -0
  135. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/package.json +0 -0
  136. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
  137. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/README.md +0 -0
  138. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/package.json +0 -0
  139. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
  140. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/README.md +0 -0
  141. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/package.json +0 -0
  142. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
  143. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
  144. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
  145. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
  146. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/README.md +0 -0
  147. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/package.json +0 -0
  148. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
  149. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
  150. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
  151. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
  152. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/package.json +0 -0
  153. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
  154. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
  155. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
  156. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/src/main.js +0 -0
  157. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
  158. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
  159. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
  160. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
  161. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
  162. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
  163. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
  164. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
  165. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
  166. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
  167. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
  168. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
  169. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
  170. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
  171. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
  172. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
  173. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
  174. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
  175. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/README.md +0 -0
  176. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/package.json +0 -0
  177. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/src/main.js +0 -0
  178. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/README.md +0 -0
  179. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/build.json +0 -0
  180. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/package.json +0 -0
  181. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/src/main.js +0 -0
  182. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/README.md +0 -0
  183. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/build.json +0 -0
  184. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/package.json +0 -0
  185. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/src/form-validator.js +0 -0
  186. /package/framework/{v0.7.5 → v0.7.6}/core/server.express.js +0 -0
  187. /package/framework/{v0.7.5 → v0.7.6}/core/server.isaac.js +0 -0
  188. /package/framework/{v0.7.5 → v0.7.6}/core/server.isaac.rapid-reset.js +0 -0
  189. /package/framework/{v0.7.5 → v0.7.6}/core/server.route-candidates.js +0 -0
  190. /package/framework/{v0.7.5 → v0.7.6}/core/status.codes +0 -0
  191. /package/framework/{v0.7.5 → v0.7.6}/core/template/_gitignore +0 -0
  192. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/app.json +0 -0
  193. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  194. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/routing.json +0 -0
  195. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/settings.json +0 -0
  196. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  197. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/templates.json +0 -0
  198. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  199. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  200. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  201. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  202. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/index.js +0 -0
  203. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/locales/en.json +0 -0
  204. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  205. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  206. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  207. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  208. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  209. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
  210. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  211. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
  212. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/readme.md +0 -0
  213. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/sw.js +0 -0
  214. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  215. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  216. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  217. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  218. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
  219. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  220. /package/framework/{v0.7.5 → v0.7.6}/core/template/command/gina.bat.tpl +0 -0
  221. /package/framework/{v0.7.5 → v0.7.6}/core/template/command/gina.tpl +0 -0
  222. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/env.json +0 -0
  223. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/manifest.json +0 -0
  224. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/package.json +0 -0
  225. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/settings.json +0 -0
  226. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/statics.json +0 -0
  227. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/templates.json +0 -0
  228. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/401.json +0 -0
  229. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/403.json +0 -0
  230. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/404.json +0 -0
  231. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/html/50x.html +0 -0
  232. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/json/500.json +0 -0
  233. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/json/503.json +0 -0
  234. /package/framework/{v0.7.5 → v0.7.6}/core/template/extensions/logger/config.json +0 -0
  235. /package/framework/{v0.7.5 → v0.7.6}/helpers/console.js +0 -0
  236. /package/framework/{v0.7.5 → v0.7.6}/helpers/context.js +0 -0
  237. /package/framework/{v0.7.5 → v0.7.6}/helpers/data/LICENSE +0 -0
  238. /package/framework/{v0.7.5 → v0.7.6}/helpers/data/README.md +0 -0
  239. /package/framework/{v0.7.5 → v0.7.6}/helpers/data/package.json +0 -0
  240. /package/framework/{v0.7.5 → v0.7.6}/helpers/data/src/main.js +0 -0
  241. /package/framework/{v0.7.5 → v0.7.6}/helpers/dateFormat.js +0 -0
  242. /package/framework/{v0.7.5 → v0.7.6}/helpers/index.js +0 -0
  243. /package/framework/{v0.7.5 → v0.7.6}/helpers/json/LICENSE +0 -0
  244. /package/framework/{v0.7.5 → v0.7.6}/helpers/json/README.md +0 -0
  245. /package/framework/{v0.7.5 → v0.7.6}/helpers/json/package.json +0 -0
  246. /package/framework/{v0.7.5 → v0.7.6}/helpers/json/src/main.js +0 -0
  247. /package/framework/{v0.7.5 → v0.7.6}/helpers/path.js +0 -0
  248. /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/README.md +0 -0
  249. /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/package.json +0 -0
  250. /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/src/api-error.js +0 -0
  251. /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/src/main.js +0 -0
  252. /package/framework/{v0.7.5 → v0.7.6}/helpers/prototypes.js +0 -0
  253. /package/framework/{v0.7.5 → v0.7.6}/helpers/task.js +0 -0
  254. /package/framework/{v0.7.5 → v0.7.6}/helpers/text.js +0 -0
  255. /package/framework/{v0.7.5 → v0.7.6}/lib/admin/package.json +0 -0
  256. /package/framework/{v0.7.5 → v0.7.6}/lib/admin/src/main.js +0 -0
  257. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/README.md +0 -0
  258. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/build.json +0 -0
  259. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/package.json +0 -0
  260. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/src/dep/jszip.min.js +0 -0
  261. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/src/main.js +0 -0
  262. /package/framework/{v0.7.5 → v0.7.6}/lib/async/package.json +0 -0
  263. /package/framework/{v0.7.5 → v0.7.6}/lib/async/src/main.js +0 -0
  264. /package/framework/{v0.7.5 → v0.7.6}/lib/audit/package.json +0 -0
  265. /package/framework/{v0.7.5 → v0.7.6}/lib/audit/src/main.js +0 -0
  266. /package/framework/{v0.7.5 → v0.7.6}/lib/audit-store.js +0 -0
  267. /package/framework/{v0.7.5 → v0.7.6}/lib/authn/package.json +0 -0
  268. /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/lockout.js +0 -0
  269. /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/main.js +0 -0
  270. /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/totp.js +0 -0
  271. /package/framework/{v0.7.5 → v0.7.6}/lib/authz-gate/package.json +0 -0
  272. /package/framework/{v0.7.5 → v0.7.6}/lib/authz-gate/src/main.js +0 -0
  273. /package/framework/{v0.7.5 → v0.7.6}/lib/cache/README.md +0 -0
  274. /package/framework/{v0.7.5 → v0.7.6}/lib/cache/build.json +0 -0
  275. /package/framework/{v0.7.5 → v0.7.6}/lib/cache/package.json +0 -0
  276. /package/framework/{v0.7.5 → v0.7.6}/lib/cache/src/main.js +0 -0
  277. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/aliases.json +0 -0
  278. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/arguments.json +0 -0
  279. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/help.txt +0 -0
  280. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/verify.js +0 -0
  281. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/add.js +0 -0
  282. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/arguments.json +0 -0
  283. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/build.js +0 -0
  284. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/copy.js +0 -0
  285. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/cp.js +0 -0
  286. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/help.js +0 -0
  287. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/help.txt +0 -0
  288. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/boot-lines.js +0 -0
  289. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
  290. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/name.js +0 -0
  291. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/start-status.js +0 -0
  292. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/list.js +0 -0
  293. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/man.js +0 -0
  294. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/mcp-start.js +0 -0
  295. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/mcp.js +0 -0
  296. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/oas.js +0 -0
  297. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/openapi.js +0 -0
  298. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/remove.js +0 -0
  299. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/rename.js +0 -0
  300. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/restart.js +0 -0
  301. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/rm.js +0 -0
  302. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/start.js +0 -0
  303. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/status.js +0 -0
  304. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/stop.js +0 -0
  305. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/types.js +0 -0
  306. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/arguments.json +0 -0
  307. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/clear.js +0 -0
  308. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/help.txt +0 -0
  309. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/stats.js +0 -0
  310. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/add.js +0 -0
  311. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/arguments.json +0 -0
  312. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/help.js +0 -0
  313. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/help.txt +0 -0
  314. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/infer.js +0 -0
  315. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/list.js +0 -0
  316. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/migrate.js +0 -0
  317. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/models.js +0 -0
  318. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/remove.js +0 -0
  319. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/rm.js +0 -0
  320. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/test.js +0 -0
  321. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/arguments.json +0 -0
  322. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/help.js +0 -0
  323. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/help.txt +0 -0
  324. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/man.js +0 -0
  325. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/ps.js +0 -0
  326. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/stop.js +0 -0
  327. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/add.js +0 -0
  328. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/arguments.json +0 -0
  329. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/help.txt +0 -0
  330. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/args.js +0 -0
  331. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/namespace.js +0 -0
  332. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
  333. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/reference-scan.js +0 -0
  334. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/scaffold.js +0 -0
  335. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/remove.js +0 -0
  336. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/rename.js +0 -0
  337. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/rm.js +0 -0
  338. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/add.js +0 -0
  339. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/get.js +0 -0
  340. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/help.js +0 -0
  341. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/help.txt +0 -0
  342. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/inc/name.js +0 -0
  343. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/link-dev.js +0 -0
  344. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/list.js +0 -0
  345. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/remove.js +0 -0
  346. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/rm.js +0 -0
  347. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/set.js +0 -0
  348. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/unset.js +0 -0
  349. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/use.js +0 -0
  350. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/add.js +0 -0
  351. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/arguments.json +0 -0
  352. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/build.js +0 -0
  353. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/dot.js +0 -0
  354. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/get.js +0 -0
  355. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/help.js +0 -0
  356. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/help.txt +0 -0
  357. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/child-failure.js +0 -0
  358. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/listen-error.js +0 -0
  359. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/ps-titles.js +0 -0
  360. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/init.js +0 -0
  361. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/link-node-modules.js +0 -0
  362. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/link.js +0 -0
  363. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/list.js +0 -0
  364. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/man.js +0 -0
  365. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/msg.json +0 -0
  366. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/open.js +0 -0
  367. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/remove.js +0 -0
  368. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/reset.js +0 -0
  369. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/restart.js +0 -0
  370. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/set.js +0 -0
  371. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/start.js +0 -0
  372. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/status.js +0 -0
  373. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/stop.js +0 -0
  374. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/tail.js +0 -0
  375. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/update.js +0 -0
  376. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/version.js +0 -0
  377. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina-dev.1.md +0 -0
  378. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina-framework.1.md +0 -0
  379. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina.1.md +0 -0
  380. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/helper.js +0 -0
  381. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/add.js +0 -0
  382. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/arguments.json +0 -0
  383. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/export.js +0 -0
  384. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/help.js +0 -0
  385. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/help.txt +0 -0
  386. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/import.js +0 -0
  387. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/scan.js +0 -0
  388. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/_host.js +0 -0
  389. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/arguments.json +0 -0
  390. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/build.js +0 -0
  391. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/help.js +0 -0
  392. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/help.txt +0 -0
  393. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/list.js +0 -0
  394. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/man.js +0 -0
  395. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/rm.js +0 -0
  396. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/run.js +0 -0
  397. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/index.js +0 -0
  398. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/help.js +0 -0
  399. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/help.txt +0 -0
  400. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/open.js +0 -0
  401. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/man-render.js +0 -0
  402. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/arguments.json +0 -0
  403. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/help.js +0 -0
  404. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/help.txt +0 -0
  405. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/kill.js +0 -0
  406. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/list.js +0 -0
  407. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/msg.json +0 -0
  408. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/help.js +0 -0
  409. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/help.txt +0 -0
  410. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/inc/scan.js +0 -0
  411. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/list.js +0 -0
  412. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/reset.js +0 -0
  413. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/set.js +0 -0
  414. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/add.js +0 -0
  415. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/arguments.json +0 -0
  416. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/backup.js +0 -0
  417. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/build.js +0 -0
  418. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/help.js +0 -0
  419. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/help.txt +0 -0
  420. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/import.js +0 -0
  421. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/inc/name.js +0 -0
  422. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/list.js +0 -0
  423. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/man.js +0 -0
  424. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/move.js +0 -0
  425. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/remove.js +0 -0
  426. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/rename.js +0 -0
  427. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/restart.js +0 -0
  428. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/restore.js +0 -0
  429. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/rm.js +0 -0
  430. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/start.js +0 -0
  431. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/status.js +0 -0
  432. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/stop.js +0 -0
  433. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/arguments.json +0 -0
  434. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/help.js +0 -0
  435. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/help.txt +0 -0
  436. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/list.js +0 -0
  437. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/remove.js +0 -0
  438. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/set.js +0 -0
  439. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/add.js +0 -0
  440. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/help.js +0 -0
  441. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/help.txt +0 -0
  442. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/inc/name.js +0 -0
  443. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/link-local.js +0 -0
  444. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/link-production.js +0 -0
  445. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/list.js +0 -0
  446. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/remove.js +0 -0
  447. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/rm.js +0 -0
  448. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/use.js +0 -0
  449. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/arguments.json +0 -0
  450. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/check.js +0 -0
  451. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/help.js +0 -0
  452. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/help.txt +0 -0
  453. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/scan.js +0 -0
  454. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/help.js +0 -0
  455. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/help.txt +0 -0
  456. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/list.js +0 -0
  457. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/man.js +0 -0
  458. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/start.js +0 -0
  459. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/arguments.json +0 -0
  460. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/gc.js +0 -0
  461. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/help.txt +0 -0
  462. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/stats.js +0 -0
  463. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/verify.js +0 -0
  464. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/view/add.js +0 -0
  465. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd-status-format/package.json +0 -0
  466. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd-status-format/src/main.js +0 -0
  467. /package/framework/{v0.7.5 → v0.7.6}/lib/collection/README.md +0 -0
  468. /package/framework/{v0.7.5 → v0.7.6}/lib/collection/build.json +0 -0
  469. /package/framework/{v0.7.5 → v0.7.6}/lib/collection/package.json +0 -0
  470. /package/framework/{v0.7.5 → v0.7.6}/lib/collection/src/main.js +0 -0
  471. /package/framework/{v0.7.5 → v0.7.6}/lib/conf-view/package.json +0 -0
  472. /package/framework/{v0.7.5 → v0.7.6}/lib/conf-view/src/main.js +0 -0
  473. /package/framework/{v0.7.5 → v0.7.6}/lib/config.js +0 -0
  474. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-config/package.json +0 -0
  475. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-config/src/main.js +0 -0
  476. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-error/package.json +0 -0
  477. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-error/src/main.js +0 -0
  478. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-registry/package.json +0 -0
  479. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-registry/src/main.js +0 -0
  480. /package/framework/{v0.7.5 → v0.7.6}/lib/cron/README.md +0 -0
  481. /package/framework/{v0.7.5 → v0.7.6}/lib/cron/package.json +0 -0
  482. /package/framework/{v0.7.5 → v0.7.6}/lib/cron/src/main.js +0 -0
  483. /package/framework/{v0.7.5 → v0.7.6}/lib/domain/LICENSE +0 -0
  484. /package/framework/{v0.7.5 → v0.7.6}/lib/domain/README.md +0 -0
  485. /package/framework/{v0.7.5 → v0.7.6}/lib/domain/package.json +0 -0
  486. /package/framework/{v0.7.5 → v0.7.6}/lib/domain/src/main.js +0 -0
  487. /package/framework/{v0.7.5 → v0.7.6}/lib/dto/package.json +0 -0
  488. /package/framework/{v0.7.5 → v0.7.6}/lib/dto/src/main.js +0 -0
  489. /package/framework/{v0.7.5 → v0.7.6}/lib/dto-pipe/package.json +0 -0
  490. /package/framework/{v0.7.5 → v0.7.6}/lib/dto-pipe/src/main.js +0 -0
  491. /package/framework/{v0.7.5 → v0.7.6}/lib/dto-types/package.json +0 -0
  492. /package/framework/{v0.7.5 → v0.7.6}/lib/dto-types/src/main.js +0 -0
  493. /package/framework/{v0.7.5 → v0.7.6}/lib/duration/package.json +0 -0
  494. /package/framework/{v0.7.5 → v0.7.6}/lib/duration/src/main.js +0 -0
  495. /package/framework/{v0.7.5 → v0.7.6}/lib/error-ref/package.json +0 -0
  496. /package/framework/{v0.7.5 → v0.7.6}/lib/error-ref/src/main.js +0 -0
  497. /package/framework/{v0.7.5 → v0.7.6}/lib/generator/index.js +0 -0
  498. /package/framework/{v0.7.5 → v0.7.6}/lib/i18n/package.json +0 -0
  499. /package/framework/{v0.7.5 → v0.7.6}/lib/i18n/src/main.js +0 -0
  500. /package/framework/{v0.7.5 → v0.7.6}/lib/idempotency/package.json +0 -0
  501. /package/framework/{v0.7.5 → v0.7.6}/lib/idempotency/src/main.js +0 -0
  502. /package/framework/{v0.7.5 → v0.7.6}/lib/image-build/package.json +0 -0
  503. /package/framework/{v0.7.5 → v0.7.6}/lib/image-build/src/main.js +0 -0
  504. /package/framework/{v0.7.5 → v0.7.6}/lib/index.js +0 -0
  505. /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/LICENSE +0 -0
  506. /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/README.md +0 -0
  507. /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/package.json +0 -0
  508. /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/src/main.js +0 -0
  509. /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-events/package.json +0 -0
  510. /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-events/src/main.js +0 -0
  511. /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-redact/package.json +0 -0
  512. /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-redact/src/main.js +0 -0
  513. /package/framework/{v0.7.5 → v0.7.6}/lib/instrument/package.json +0 -0
  514. /package/framework/{v0.7.5 → v0.7.6}/lib/instrument/src/main.js +0 -0
  515. /package/framework/{v0.7.5 → v0.7.6}/lib/job/package.json +0 -0
  516. /package/framework/{v0.7.5 → v0.7.6}/lib/job/src/main.js +0 -0
  517. /package/framework/{v0.7.5 → v0.7.6}/lib/job-store.js +0 -0
  518. /package/framework/{v0.7.5 → v0.7.6}/lib/json-config-header/package.json +0 -0
  519. /package/framework/{v0.7.5 → v0.7.6}/lib/json-config-header/src/main.js +0 -0
  520. /package/framework/{v0.7.5 → v0.7.6}/lib/kv/package.json +0 -0
  521. /package/framework/{v0.7.5 → v0.7.6}/lib/kv/src/main.js +0 -0
  522. /package/framework/{v0.7.5 → v0.7.6}/lib/kv-store.js +0 -0
  523. /package/framework/{v0.7.5 → v0.7.6}/lib/lane/package.json +0 -0
  524. /package/framework/{v0.7.5 → v0.7.6}/lib/lane/src/main.js +0 -0
  525. /package/framework/{v0.7.5 → v0.7.6}/lib/loading-state/package.json +0 -0
  526. /package/framework/{v0.7.5 → v0.7.6}/lib/loading-state/src/main.js +0 -0
  527. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/README.md +0 -0
  528. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/package.json +0 -0
  529. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/default/index.js +0 -0
  530. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/file/index.js +0 -0
  531. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/index.js +0 -0
  532. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/listener.js +0 -0
  533. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/speaker.js +0 -0
  534. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/helper.js +0 -0
  535. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/main.js +0 -0
  536. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/redact.js +0 -0
  537. /package/framework/{v0.7.5 → v0.7.6}/lib/maintenance/package.json +0 -0
  538. /package/framework/{v0.7.5 → v0.7.6}/lib/maintenance/src/main.js +0 -0
  539. /package/framework/{v0.7.5 → v0.7.6}/lib/math/index.js +0 -0
  540. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-dispatch/package.json +0 -0
  541. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-dispatch/src/main.js +0 -0
  542. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-http/package.json +0 -0
  543. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-http/src/main.js +0 -0
  544. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-server/package.json +0 -0
  545. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-server/src/main.js +0 -0
  546. /package/framework/{v0.7.5 → v0.7.6}/lib/merge/README.md +0 -0
  547. /package/framework/{v0.7.5 → v0.7.6}/lib/merge/package.json +0 -0
  548. /package/framework/{v0.7.5 → v0.7.6}/lib/merge/src/main.js +0 -0
  549. /package/framework/{v0.7.5 → v0.7.6}/lib/message-validator/package.json +0 -0
  550. /package/framework/{v0.7.5 → v0.7.6}/lib/message-validator/src/main.js +0 -0
  551. /package/framework/{v0.7.5 → v0.7.6}/lib/metrics/package.json +0 -0
  552. /package/framework/{v0.7.5 → v0.7.6}/lib/metrics/src/main.js +0 -0
  553. /package/framework/{v0.7.5 → v0.7.6}/lib/model.js +0 -0
  554. /package/framework/{v0.7.5 → v0.7.6}/lib/money/package.json +0 -0
  555. /package/framework/{v0.7.5 → v0.7.6}/lib/money/src/main.js +0 -0
  556. /package/framework/{v0.7.5 → v0.7.6}/lib/multipart/package.json +0 -0
  557. /package/framework/{v0.7.5 → v0.7.6}/lib/multipart/src/main.js +0 -0
  558. /package/framework/{v0.7.5 → v0.7.6}/lib/net-locality/package.json +0 -0
  559. /package/framework/{v0.7.5 → v0.7.6}/lib/net-locality/src/main.js +0 -0
  560. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/README.md +0 -0
  561. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/package.json +0 -0
  562. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/src/main.js +0 -0
  563. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-resolver/package.json +0 -0
  564. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-resolver/src/main.js +0 -0
  565. /package/framework/{v0.7.5 → v0.7.6}/lib/priority/package.json +0 -0
  566. /package/framework/{v0.7.5 → v0.7.6}/lib/priority/src/main.js +0 -0
  567. /package/framework/{v0.7.5 → v0.7.6}/lib/proc.js +0 -0
  568. /package/framework/{v0.7.5 → v0.7.6}/lib/push/package.json +0 -0
  569. /package/framework/{v0.7.5 → v0.7.6}/lib/push/src/main.js +0 -0
  570. /package/framework/{v0.7.5 → v0.7.6}/lib/rate-limit/package.json +0 -0
  571. /package/framework/{v0.7.5 → v0.7.6}/lib/rate-limit/src/main.js +0 -0
  572. /package/framework/{v0.7.5 → v0.7.6}/lib/release-watch/package.json +0 -0
  573. /package/framework/{v0.7.5 → v0.7.6}/lib/release-watch/src/main.js +0 -0
  574. /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache/package.json +0 -0
  575. /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache/src/main.js +0 -0
  576. /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache-store.js +0 -0
  577. /package/framework/{v0.7.5 → v0.7.6}/lib/routing/README.md +0 -0
  578. /package/framework/{v0.7.5 → v0.7.6}/lib/routing/build.json +0 -0
  579. /package/framework/{v0.7.5 → v0.7.6}/lib/routing/package.json +0 -0
  580. /package/framework/{v0.7.5 → v0.7.6}/lib/routing-introspect/package.json +0 -0
  581. /package/framework/{v0.7.5 → v0.7.6}/lib/routing-introspect/src/main.js +0 -0
  582. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/package.json +0 -0
  583. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/env.js +0 -0
  584. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/exec.js +0 -0
  585. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/file.js +0 -0
  586. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/declaration.js +0 -0
  587. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/env-file.js +0 -0
  588. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/main.js +0 -0
  589. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/sources.js +0 -0
  590. /package/framework/{v0.7.5 → v0.7.6}/lib/security-headers-emitter/package.json +0 -0
  591. /package/framework/{v0.7.5 → v0.7.6}/lib/security-headers-emitter/src/main.js +0 -0
  592. /package/framework/{v0.7.5 → v0.7.6}/lib/session-lifetime/package.json +0 -0
  593. /package/framework/{v0.7.5 → v0.7.6}/lib/session-lifetime/src/main.js +0 -0
  594. /package/framework/{v0.7.5 → v0.7.6}/lib/session-store.js +0 -0
  595. /package/framework/{v0.7.5 → v0.7.6}/lib/shell.js +0 -0
  596. /package/framework/{v0.7.5 → v0.7.6}/lib/sqlite-driver.js +0 -0
  597. /package/framework/{v0.7.5 → v0.7.6}/lib/sri/package.json +0 -0
  598. /package/framework/{v0.7.5 → v0.7.6}/lib/sri/src/main.js +0 -0
  599. /package/framework/{v0.7.5 → v0.7.6}/lib/state.js +0 -0
  600. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/package.json +0 -0
  601. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local-cas.js +0 -0
  602. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local-stream.js +0 -0
  603. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local.js +0 -0
  604. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/main.js +0 -0
  605. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/meta-store.js +0 -0
  606. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/s3.js +0 -0
  607. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/util.js +0 -0
  608. /package/framework/{v0.7.5 → v0.7.6}/lib/storage-store.js +0 -0
  609. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/README.md +0 -0
  610. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/package.json +0 -0
  611. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/src/main.js +0 -0
  612. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-resolver/package.json +0 -0
  613. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-resolver/src/main.js +0 -0
  614. /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/package.json +0 -0
  615. /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/loaders/http.js +0 -0
  616. /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/loaders/memory.js +0 -0
  617. /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/main.js +0 -0
  618. /package/framework/{v0.7.5 → v0.7.6}/lib/url/README.md +0 -0
  619. /package/framework/{v0.7.5 → v0.7.6}/lib/url/index.js +0 -0
  620. /package/framework/{v0.7.5 → v0.7.6}/lib/url/routing.json +0 -0
  621. /package/framework/{v0.7.5 → v0.7.6}/lib/uuid/package.json +0 -0
  622. /package/framework/{v0.7.5 → v0.7.6}/lib/uuid/src/main.js +0 -0
  623. /package/framework/{v0.7.5 → v0.7.6}/lib/validator.js +0 -0
  624. /package/framework/{v0.7.5 → v0.7.6}/lib/watcher/package.json +0 -0
  625. /package/framework/{v0.7.5 → v0.7.6}/lib/watcher/src/main.js +0 -0
  626. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-framing/package.json +0 -0
  627. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-framing/src/main.js +0 -0
  628. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-query/package.json +0 -0
  629. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-query/src/main.js +0 -0
  630. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-session/package.json +0 -0
  631. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-session/src/main.js +0 -0
@@ -5176,6 +5176,32 @@ function ValidatorPlugin(rules, data, formId, culture) {
5176
5176
  wait.replay();
5177
5177
  };
5178
5178
 
5179
+ /**
5180
+ * onUpload — settles a staged upload: the virtual upload form's request answered (`status`
5181
+ * 'success') or failed ('error', a transport failure included). It finalizes the progress
5182
+ * indicator and the dropzone, and notes the settle for a submit that waits on it (#B726).
5183
+ * On a success the selection takes the file input over (#B960): the preview container is
5184
+ * emptied, the delete links of the stored entries the selection replaces go (#B150), its files
5185
+ * become the entries the reset and delete links act on (`customFiles`, from `pendingFiles`),
5186
+ * the hidden fields are built (see buildUploadHiddenFields) and filled from the answer, each key
5187
+ * it carries replacing its field's value (`name` included, #B962), and the previews and reset
5188
+ * links are rendered. On a failure the error is shown or announced, and only the pending
5189
+ * selection is dropped: the previews, the controls, the entries and the hidden fields stay as
5190
+ * they were.
5191
+ *
5192
+ * @inner
5193
+ * @private
5194
+ * @param {object} gina - the gina client instance
5195
+ * @param {HTMLFormElement} $target - the virtual upload form, carrying `uploadProperties`
5196
+ * @param {string} status - 'success', or 'error' for every failure path
5197
+ * @param {string} id - the virtual upload form's id
5198
+ * @param {object} data - the staging answer (`files`), or the failure (`message` / `error`)
5199
+ * @returns {void}
5200
+ * @throws {Error} when `$target` carries no `uploadProperties`
5201
+ *
5202
+ * @example
5203
+ * onUpload(gina, $uploadForm, 'error', $uploadForm.id, { status: 500, error: 'staging refused' }); // the page stays as it was
5204
+ */
5179
5205
  var onUpload = function(gina, $target, status, id, data) {
5180
5206
 
5181
5207
  var uploadProperties = $target.uploadProperties || null;
@@ -5214,11 +5240,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
5214
5240
  , files = data.files || []
5215
5241
  , $error = null
5216
5242
  ;
5217
- // reset previewContainer
5243
+ // the preview container; a success empties it, a failure leaves it as it was (#B960)
5218
5244
  if ( uploadProperties.hasPreviewContainer ) {
5219
5245
  $previewContainer = document.getElementById(uploadProperties.previewContainer.id);
5220
- if ($previewContainer)
5221
- $previewContainer.innerHTML = '';
5246
+ // was: if ($previewContainer)
5247
+ // was: $previewContainer.innerHTML = '';
5222
5248
  }
5223
5249
 
5224
5250
  if (uploadProperties.errorField) {
@@ -5230,6 +5256,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
5230
5256
  if ($error)
5231
5257
  $error.style.display = 'none';
5232
5258
 
5259
+ // #B960 — a failed staging drops the selection it carried, and nothing else: the previews,
5260
+ // the reset and delete links, the input's entries and the form's hidden fields stay as they were
5261
+ if ( status != 'success' && $uploadTriger ) {
5262
+ $uploadTriger.pendingFiles = null;
5263
+ }
5264
+
5233
5265
  if ($error && status != 'success') { // handle errors first
5234
5266
  // console.error('[ mainUploadError ] ', status, data)
5235
5267
  var errMsg = data.message || data.error;
@@ -5286,11 +5318,43 @@ function ValidatorPlugin(rules, data, formId, culture) {
5286
5318
  , maxWidth = null
5287
5319
  , ratio = null
5288
5320
  ;
5321
+ // #B960 — the preview container is emptied by a success, and only by it: it was emptied
5322
+ // before the error and success branches, so a failed staging took the previews of the
5323
+ // files the input still held, and any link inside the container, off the page.
5324
+ if ($previewContainer)
5325
+ $previewContainer.innerHTML = '';
5289
5326
  // #B859 — the staging answer, by file index, on the file input: a reset names the files
5290
5327
  // it removes from these entries (`originalFilename`, and the preview's own when there is
5291
5328
  // one), so a file that got no preview <img> — not an image, no `preview` — is removed too.
5292
5329
  if ( $uploadTriger ) {
5293
5330
  $uploadTriger.stagedFiles = files;
5331
+ // #B150 — the delete links of the stored entries this selection replaces go with their
5332
+ // entries: the container reset above takes a link placed inside the preview container,
5333
+ // never one placed after it, which stayed on the page bound to an entry the input no
5334
+ // longer held. Removed as a delete removes a link; its wrapper goes when it is an
5335
+ // emptied <li> of the container.
5336
+ // #B960 — the selection takes the input over here, when its staging succeeds: the
5337
+ // replaced entries are read from the input's entries, its files become the entries
5338
+ // the reset and delete links act on, and the form's hidden fields are built for the
5339
+ // files the answer names. The change listener used to write the entries, and keep the
5340
+ // replaced ones in `_replacedStoredFiles`, and the fields were built at the selection.
5341
+ // was: the replaced entries came from $uploadTriger._replacedStoredFiles, then emptied
5342
+ var replacedStoredFiles = ( $uploadTriger.customFiles || [] ).filter(function (entry) { return entry && entry.deleteLinkId; });
5343
+ for (var r = 0, rLen = replacedStoredFiles.length; r < rLen; ++r) {
5344
+ var $replacedLink = document.getElementById(replacedStoredFiles[r].deleteLinkId);
5345
+ if ($replacedLink) {
5346
+ var $replacedItem = $replacedLink.parentNode;
5347
+ $replacedLink.remove();
5348
+ dropEmptyUploadPreviewItem($replacedItem, $previewContainer);
5349
+ }
5350
+ }
5351
+ // read by onUploadResetOrDelete; no validation rule reads it (the field collection
5352
+ // leaves a staged file input out of the fields, #B725)
5353
+ $uploadTriger.customFiles = $uploadTriger.pendingFiles || [];
5354
+ $uploadTriger.pendingFiles = null;
5355
+ if ( $uploadTriger.form ) {
5356
+ uploadProperties.uploadFields = buildUploadHiddenFields($uploadTriger, getUploadFieldPrefix($uploadTriger), files.length, uploadProperties.mandatoryFields, false);
5357
+ }
5294
5358
  }
5295
5359
  for (var f = 0, fLen = files.length; f<fLen; ++f) {
5296
5360
 
@@ -5400,9 +5464,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
5400
5464
  var $elIgnored = null;
5401
5465
  for (var key in fieldsObjectList) {
5402
5466
  // update field value
5467
+ // #B962 — the answer's `name` fills its field like every other key. The fill skipped `name`
5468
+ // whenever its field held a value, so a replacement in an edit form posted the saved
5469
+ // file's name beside the new file's location, and a second staging on the same input
5470
+ // posted the first staged file's name. An answer without `name` leaves the field as it is.
5471
+ // was: key == 'name' && fieldsObjectList[key].value != '' (the condition's first clause)
5403
5472
  if (
5404
- key == 'name' && fieldsObjectList[key].value != ''
5405
- || !files[f][key]
5473
+ !files[f][key]
5406
5474
  || key == 'preview' && typeof(files[f][key]) == 'undefined'
5407
5475
  || /(height|width)/i.test(key) && !/^image/.test(files[f].mime)
5408
5476
  ) {
@@ -5719,19 +5787,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
5719
5787
  * buildUploadHiddenFields — #B858: the hidden `<prefix>[i][…]` fields of a file input's
5720
5788
  * selection, in its form, by file index: the inputs the form holds are reused (declared by the
5721
5789
  * page, or written by an earlier selection), the ones a reset removed come back, and the
5722
- * missing mandatory ones are created, empty, for the staging answer to fill. Run on EVERY
5723
- * selection: building them only with the input's virtual upload form left a selection made
5724
- * after a reset with no field in the form, and one with more files than the first with none for
5725
- * its new files.
5790
+ * missing mandatory ones are created, empty, for the staging answer to fill. Run for EVERY
5791
+ * staging that succeeds, by `onUpload` (#B960): run at the selection, it left the fields a
5792
+ * failed staging had created in the form, empty, for the save to post, and a reset made while
5793
+ * the staging was on the wire took them out before the answer filled them. Building them only
5794
+ * with the input's virtual upload form (before #B858) left a selection made after a reset with
5795
+ * no field in the form, and one with more files than the first with none for its new files.
5726
5796
  *
5727
5797
  * @inner
5728
5798
  * @private
5729
5799
  * @param {HTMLInputElement} $el - the file input
5730
5800
  * @param {string} fieldPrefix - see getUploadFieldPrefix
5731
- * @param {number} filesLength - the count of files selected
5801
+ * @param {number} filesLength - the count of files the staging answer names
5732
5802
  * @param {Array<string>} mandatoryFields - the metadata keys every file gets an input for
5733
5803
  * @param {boolean} bindResetTriggers - binds each file's reset trigger when it is already in
5734
- * the page (the selection that creates the virtual upload form)
5804
+ * the page (`onUpload` passes false: it binds the reset links it renders, and the selection
5805
+ * that creates the virtual upload form binds the ones the page declares)
5735
5806
  * @returns {Array<object>} by file index, the field map the staging answer fills
5736
5807
  *
5737
5808
  * @example
@@ -8380,10 +8451,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
8380
8451
  /**
8381
8452
  * bindUploadResetOrDeleteTrigger
8382
8453
  *
8383
- * @param {string} bindingType - `reset`or `delete`
8384
- * @param {object} $uploadTrigger - HTMLFormElement
8385
- * @param {number} index
8454
+ * Binds the reset (staged file) or delete (saved file) control of the file at `index`: the
8455
+ * element `<input id>-<index>-<bindingType>-trigger`, or the id the input declares through
8456
+ * `data-gina-form-upload-<bindingType>-trigger`. A control already bound is left as it is.
8457
+ * Warns when the control is missing only where the page had to provide it: a delete control,
8458
+ * or a declared id. A reset control missing under its default id is created by gina when the
8459
+ * staging succeeds (#B292).
8386
8460
  *
8461
+ * @inner
8462
+ * @param {string} bindingType - `reset` or `delete`
8463
+ * @param {object} $uploadTrigger - the file input (HTMLInputElement)
8464
+ * @param {number} index - the file's index in the input
8465
+ * @returns {void}
8466
+ *
8467
+ * @example
8468
+ * // a staged file's reset control, bound once the staging succeeded
8469
+ * bindUploadResetOrDeleteTrigger('reset', $input, 0); // binds #avatar-0-reset-trigger
8387
8470
  */
8388
8471
  var bindUploadResetOrDeleteTrigger = function(bindingType, $uploadTrigger, index) {
8389
8472
 
@@ -8431,7 +8514,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
8431
8514
  });
8432
8515
  }
8433
8516
  $uploadResetOrDeleteTrigger.isBinded = true;
8434
- } else {
8517
+ } else if ( !$uploadResetOrDeleteTrigger && ( bindingType != 'reset' || customTriggerId ) ) {
8518
+ // #B292 — the `else` also warned for a trigger found and already bound (a re-bind,
8519
+ // `$forms[id].reBind()`), and for a reset trigger missing under its default id, which
8520
+ // gina creates itself when the staging succeeds (onUpload). It warns now only when the
8521
+ // page had to provide the trigger: a delete trigger, or an id declared through
8522
+ // `data-gina-form-upload-<reset|delete>-trigger`.
8523
+ // was: } else {
8435
8524
  console.warn('[FormValidator::bindForm][upload]['+$uploadTrigger.id+'] : did not find `upload '+bindingType+' trigger`.\nPlease, make sure that your '+bindingType+' element ID is `'+ uploadResetOrDeleteTriggerId +'`, or add to your file input ('+ $uploadTrigger.id +') -> `data-gina-form-upload-'+bindingType+'-trigger="your-custom-id"` definition.');
8436
8525
  }
8437
8526
  }
@@ -9464,9 +9553,25 @@ function ValidatorPlugin(rules, data, formId, culture) {
9464
9553
  // [0] is for a single file, when multiple == false
9465
9554
  //var files = Array.from($el.files);
9466
9555
  var files = $el.files;
9467
- // used for validation & onUploadResetOrDelete
9468
- $el.customFiles = Array.from(files);
9556
+ // #B959 — a change that carries no file (an emptied selection) leaves the input as it
9557
+ // was. The input's records (the entries its reset and delete links act on, and the
9558
+ // #B150 record) used to be written before this return, so the entries were emptied
9559
+ // and every reset or delete link of the input was left bound to nothing: a click
9560
+ // sent no request, removed nothing and logged the zero-match warning, while the
9561
+ // files' previews and hidden fields stayed in the form.
9562
+ // was: the return stood after the two assignments that #B960 removed from here
9469
9563
  if (!files.length ) return false;
9564
+ // #B960 — the selection waits on the input until its staging settles: a success takes
9565
+ // the input over (its entries, the replaced entries' delete links and the form's
9566
+ // hidden fields, see onUpload), a failure drops it. They were written here, before
9567
+ // the answer: a failed staging left the reset and delete links of the files the page
9568
+ // still showed bound to the files it had dropped, its empty fields were posted with
9569
+ // the form, and a reset made while the staging was on the wire took the new file's
9570
+ // fields out of the form before the answer filled them.
9571
+ // was: var _replacedStoredFiles = ($el.customFiles || []).filter(function (entry) { return entry && entry.deleteLinkId; });
9572
+ // was: $el._replacedStoredFiles = ( $el._replacedStoredFiles || [] ).concat(_replacedStoredFiles);
9573
+ // was: $el.customFiles = Array.from(files);
9574
+ $el.pendingFiles = Array.from(files);
9470
9575
 
9471
9576
 
9472
9577
 
@@ -9571,8 +9676,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
9571
9676
  if ( typeof($el.form) != 'undefined' ) {
9572
9677
 
9573
9678
  // adding virtual fields
9574
- // #B862 — the prefix rule the reset removes the fields by (see getUploadFieldPrefix)
9575
- var fieldPrefix = getUploadFieldPrefix($el);
9679
+ // #B960 — the prefix rule (#B862) is read where the fields are built, in onUpload
9680
+ // was: var fieldPrefix = getUploadFieldPrefix($el);
9576
9681
  var fieldId = $el.id || $el.getAttribute('id');
9577
9682
 
9578
9683
  var hasPreviewContainer = false;
@@ -9614,8 +9719,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
9614
9719
  ]
9615
9720
  ;
9616
9721
 
9617
- // #B858 — built again on every selection (see buildUploadHiddenFields)
9618
- hiddenFields = buildUploadHiddenFields($el, fieldPrefix, files.length, mandatoryFields, true);
9722
+ // #B960 — the hidden fields are built when the staging succeeds (see onUpload);
9723
+ // the reset triggers the page already holds are bound here, as the build bound
9724
+ // them when it ran at the selection (#B858)
9725
+ // was: hiddenFields = buildUploadHiddenFields($el, fieldPrefix, files.length, mandatoryFields, true);
9726
+ for (var _r = 0, _rLen = files.length; _r < _rLen; ++_r) {
9727
+ bindUploadResetOrDeleteTrigger('reset', $el, _r);
9728
+ }
9619
9729
 
9620
9730
  $uploadForm.uploadProperties = {
9621
9731
  id : $el.form.id || $el.getAttribute('id'),
@@ -9669,17 +9779,14 @@ function ValidatorPlugin(rules, data, formId, culture) {
9669
9779
  document.body.appendChild($uploadForm)
9670
9780
  }
9671
9781
  } else {
9672
- // #B858 — a selection that finds the input's virtual upload form builds its
9673
- // own hidden fields: they were built only with that form, so after a reset
9674
- // (which takes them out of the real form) the next selection filled inputs
9675
- // no longer in it and the save posted no file, and a selection with more
9676
- // files than the first had none for its new files. In a popin the lookup
9677
- // above reads a parsed COPY of the popin, without the upload's properties:
9678
- // they are on the document's element.
9782
+ // #B858 — a selection that finds the input's virtual upload form reads its
9783
+ // properties from the document's element: in a popin the lookup above reads a
9784
+ // parsed COPY of the popin, without them. #B960 — its hidden fields are built
9785
+ // when the staging succeeds (see onUpload), no longer here.
9679
9786
  $uploadForm = document.getElementById(uploadFormId) || $uploadForm;
9680
- if ( $el.form && $uploadForm.uploadProperties ) {
9681
- $uploadForm.uploadProperties.uploadFields = buildUploadHiddenFields($el, getUploadFieldPrefix($el), files.length, $uploadForm.uploadProperties.mandatoryFields, false);
9682
- }
9787
+ // was: if ( $el.form && $uploadForm.uploadProperties ) {
9788
+ // was: $uploadForm.uploadProperties.uploadFields = buildUploadHiddenFields($el, getUploadFieldPrefix($el), files.length, $uploadForm.uploadProperties.mandatoryFields, false);
9789
+ // was: }
9683
9790
  }
9684
9791
 
9685
9792
  // #R8 — upload-progress kickoff: show activity from selection
@@ -1107,6 +1107,12 @@ function Router(env, scope) {
1107
1107
  // was: Setup.apply(Setup, arguments);
1108
1108
  // return Setup;
1109
1109
  // #B807 — on this run's own receiver (above), no longer on the export.
1110
+ // #TPL3 — record this run on the engine the action's render will use, so that
1111
+ // render does not run setup.js again (controller.js runBundleSetupForRender
1112
+ // runs it for a render whose engine has not run this module yet)
1113
+ if ( controller.engine && typeof(controller.engine) == 'object' ) {
1114
+ controller.engine._ginaSetupFn = Setup;
1115
+ }
1110
1116
  return Setup.apply(setupContext, arguments);
1111
1117
  }(request, response, next)
1112
1118
  }
@@ -2420,10 +2420,16 @@ function Server(options) {
2420
2420
  // armed the timer, honour that same policy across process
2421
2421
  // lifetimes: sweep the configured staging dirs at boot for staged
2422
2422
  // parts old enough that a surviving timer would already have taken
2423
- // them. The threshold is floored at 1h: an in-flight upload from a
2424
- // sibling live process on a SHARED staging dir keeps a fresh mtime
2425
- // while its chunks land, and the floor keeps even a stalled one
2426
- // safe. A disabled timer (the shipped default) arms NO sweep — the
2423
+ // them. The threshold is the timeout plus one hour (#B472): an
2424
+ // in-flight upload from a sibling live process on a SHARED staging
2425
+ // dir keeps a fresh mtime while its chunks land, the hour keeps even
2426
+ // a stalled one safe, and the sweep acts an hour after the owner's
2427
+ // own timer would, so a sweeping node whose clock runs ahead of the
2428
+ // file's (or an attribute cache serving an older mtime) by less than
2429
+ // an hour cannot take a part its owner still holds. (It was
2430
+ // max(timeout, 1h), which for a timeout of an hour or more acted at
2431
+ // the owner's own moment, by the sweeping node's clock.) A disabled
2432
+ // timer (the shipped default) arms NO sweep — the
2427
2433
  // docs say tmp cleanup is then the operator's own job, and this
2428
2434
  // keeps that contract intact. Runs in every scope (production is
2429
2435
  // where restarts strand parts); duplicate sweeps of a dir shared
@@ -2451,7 +2457,8 @@ function Server(options) {
2451
2457
  }
2452
2458
  var _sweepAppName = self.appName;
2453
2459
  setImmediate(function() {
2454
- sweepStagedUploadOrphans(_sweepDirs, Math.max(_sweepTimeoutMs, 3600000), function(report) {
2460
+ // was: sweepStagedUploadOrphans(_sweepDirs, Math.max(_sweepTimeoutMs, 3600000), function(report) {
2461
+ sweepStagedUploadOrphans(_sweepDirs, _sweepTimeoutMs + 3600000, function(report) {
2455
2462
  if (report.removed || report.errors) {
2456
2463
  console.info('[ BUNDLE ][ '+ _sweepAppName +' ][ server ][ init ] upload orphan sweep: removed '+ report.removed +' staged part(s)'+ ( report.errors ? ' ('+ report.errors +' error(s))' : '' ) +' across '+ _sweepDirs.length +' staging dir(s)');
2457
2464
  } else {
@@ -3582,7 +3589,7 @@ function Server(options) {
3582
3589
  // .replace(/((src|href|srcset)\=\"|(src|href|srcset)\=\')/g, '')
3583
3590
  // .replace(/\"/g, '')
3584
3591
  // ;
3585
- // FRAMEWORK PATCH: drop the `^` anchor so the
3592
+ // Drop the `^` anchor so the
3586
3593
  // decorative-quote strip is also skipped when `{{ }}` is embedded
3587
3594
  // mid-string (e.g. `css/main.css?cache={{ ''|formatDate('HH:MM:ss') }}`).
3588
3595
  // Without this, inner Swig string-literal quotes get stripped, the
@@ -6279,7 +6286,7 @@ function Server(options) {
6279
6286
  ) {
6280
6287
 
6281
6288
  installH2SendShim(response); // #B562
6282
- // FRAMEWORK PATCH: Bug I — per-request dispatcher
6289
+ // A per-request dispatcher (createNextMiddleware)
6283
6290
  var nextMiddleware = createNextMiddleware();
6284
6291
  nextMiddleware._index = 0;
6285
6292
  nextMiddleware._count = self.instance._expressMiddlewares.length-1;
@@ -7981,7 +7988,7 @@ function Server(options) {
7981
7988
  * @private
7982
7989
  * @param {Error|boolean} err - Error from the previous middleware, or false
7983
7990
  */
7984
- // FRAMEWORK PATCH: Bug I — wrap nextMiddleware in a
7991
+ // Wrap nextMiddleware in a
7985
7992
  // per-request factory. The original function held dispatch state on its
7986
7993
  // own properties (._index, ._request, ._response, ._next, ._nextAction).
7987
7994
  // Under concurrent requests, request B's setup at the entry point
@@ -7990,7 +7997,7 @@ function Server(options) {
7990
7997
  // sporadic 500s when express-session correctly populated req.session for
7991
7998
  // A but CSRF then ran with B's req that never went through session.
7992
7999
  // Each call to createNextMiddleware now returns a fresh function with
7993
- // closure-isolated state. Push upstream to gina-io/gina.
8000
+ // closure-isolated state.
7994
8001
  var createNextMiddleware = function() {
7995
8002
  var nextMiddleware = function(err) {
7996
8003
 
@@ -8351,7 +8358,10 @@ function Server(options) {
8351
8358
  * to the declaration-order scan of the bundle's routing table — restricted to the
8352
8359
  * rules the candidate index says could match (#P46) — then dispatches the rule
8353
8360
  * that matched. Every method check uses the request's own method, whatever
8354
- * protocol the bundle is configured for (#B645).
8361
+ * protocol the bundle is configured for (#B645). Once a rule matches, the method's
8362
+ * bag holds each URL placeholder's value (#B954), and a top-level JSON array body
8363
+ * reaches the action as that array, on a path's first request too (#B953), at its arrival
8364
+ * length on every request: a placeholder named with digits only stays in `req.params` (#B965).
8355
8365
  *
8356
8366
  * @inner
8357
8367
  * @private
@@ -8566,6 +8576,19 @@ function Server(options) {
8566
8576
  // loop entry.
8567
8577
  var _preCacheParams = Object.assign({}, req.params);
8568
8578
  var _preCacheReqMethod = (typeof(req[_reqMethodKey]) != "undefined") ? Object.assign({}, req[_reqMethodKey]) : undefined;
8579
+ // #B957 — whether `req.body` names the method's bag (processRequestData makes them one
8580
+ // object on a non-empty POST, PUT or PATCH body). Read before the warm lookup and the loop,
8581
+ // which can replace the bag with a copy; the #B954 block after the loop restores the alias.
8582
+ // A top-level JSON array body is left out: the #B953 block after the loop gives the bag the
8583
+ // array back, and `req.body` keeps the array (#B594).
8584
+ var _bodyIsReqMethod = ( typeof(req.body) == 'object' && req.body !== null && !Array.isArray(req.body) && req.body === req[_reqMethodKey] );
8585
+ // #B953 — the bag as the request arrived, when processRequestData parsed a top-level JSON
8586
+ // array body into it (POST, PATCH), and whether `req.body` is that array. The loop below
8587
+ // matches on an `Object.assign` copy, which keys an array by index; a warm hit breaks out
8588
+ // before the copy. A copy taken here, before the warm lookup writes into the bag, lets the
8589
+ // block after the loop give the first request the array as well.
8590
+ var _bagArray = Array.isArray(req[_reqMethodKey]) ? req[_reqMethodKey].slice() : null;
8591
+ var _bodyIsBagArray = ( _bagArray !== null && req.body === req[_reqMethodKey] );
8569
8592
  var hasCachedRoute = null;
8570
8593
  var _cachedRouteThrew = false;
8571
8594
  try {
@@ -8887,6 +8910,83 @@ function Server(options) {
8887
8910
  }
8888
8911
  }
8889
8912
 
8913
+ // #B953 — a top-level JSON array body reached the action as an object keyed by index on the
8914
+ // first request to each METHOD:path the route cache had not seen (the loop above matches on
8915
+ // an `Object.assign` copy of the bag) and as the array on every later one (a warm hit breaks
8916
+ // out before that copy). Once a rule has matched on such a copy, the bag is the array again:
8917
+ // the copy captured before the warm lookup, so a rejected warm candidate's writes are not
8918
+ // carried, holding the loop copy's other keys (the URL placeholders the router set) where the
8919
+ // array has no property of that name, as the router fills a bag (never an index, `length` or
8920
+ // one of its methods); `req.body` names it when it named the bag before routing.
8921
+ if ( matched && _bagArray !== null && !Array.isArray(req[_reqMethodKey]) ) {
8922
+ var _keyedBag = req[_reqMethodKey];
8923
+ if ( typeof(_keyedBag) == 'object' && _keyedBag !== null ) {
8924
+ for (let _kk in _keyedBag) {
8925
+ if ( Object.prototype.hasOwnProperty.call(_keyedBag, _kk) && !/^[0-9]+$/.test(_kk) && typeof(_bagArray[_kk]) == 'undefined' ) {
8926
+ _bagArray[_kk] = _keyedBag[_kk];
8927
+ }
8928
+ }
8929
+ }
8930
+ req[_reqMethodKey] = _bagArray;
8931
+ if ( _bodyIsBagArray ) {
8932
+ req.body = _bagArray;
8933
+ }
8934
+ }
8935
+
8936
+ // #B965 — on a warm route-cache hit the bag is still the array the request arrived with, and the
8937
+ // router's fill (lib/routing `fitsWithRequirements` writes a URL value where the bag has none of
8938
+ // that name) made a placeholder named with digits only an element past the array's end (`:5`
8939
+ // beside a two-element body: length 6, 3 holes), while the first request kept the array as it
8940
+ // arrived. Cut back to its arrival length, the array leaves that value in `req.params`, as on a
8941
+ // first request; a cold match has left `_bagArray` itself, at that length already.
8942
+ if ( matched && _bagArray !== null && Array.isArray(req[_reqMethodKey]) && req[_reqMethodKey].length > _bagArray.length ) {
8943
+ req[_reqMethodKey].length = _bagArray.length;
8944
+ }
8945
+
8946
+ // #B954 / #B957 — once a rule has matched, a URL placeholder's value wins over a query or
8947
+ // body key of the same name, on the first request to a METHOD:PATH and on every later one.
8948
+ // The loop above copies `req.params` over the bag only on a cold match (on GET and DELETE
8949
+ // only when the query is empty), lib/routing fills the bag only where the client sent no
8950
+ // key of that name, and the warm route-cache path breaks out of the loop before either copy.
8951
+ // So a client value reached the action under a URL placeholder's name from the second
8952
+ // request on (#B957), and on a POST, or on a DELETE whose placeholder had no regex
8953
+ // requirement, from the first (#B954). Every own key of `req.params` but the engine's `0`
8954
+ // (the request path) is now copied over the bag the action reads, `req[req.method]`:
8955
+ // `req.delete` after the GET→DELETE override, `req.head` on a HEAD (the #B675 alias below
8956
+ // then exposes it as `req.get`). The loop's coercion of 'false', 'true' and 'on' applies.
8957
+ // The client's value stays in `req.query` on a DELETE, in `req.rawBody` on a POST, PUT or
8958
+ // PATCH, and in `req.originalUrl` on a GET. `req.body` names the bag again when it did
8959
+ // before routing: the cold loop matched on a copy, so on the first request it named the
8960
+ // client's object while every later request gave the bag. Otherwise (an empty body, GET,
8961
+ // DELETE, HEAD) it is left alone; for a top-level JSON array body the #B953 block above has
8962
+ // already pointed it at the array.
8963
+ if ( matched && typeof(req.params) == 'object' && req.params !== null ) {
8964
+ var _paramsBag = req[req.method.toLowerCase()];
8965
+ // #B953 — an array bag (a top-level JSON array body) takes the URL values too, except under
8966
+ // the names the array answers for itself (an index, `length`, one of its methods): those
8967
+ // values are read from `req.params`.
8968
+ // was: if ( typeof(_paramsBag) == 'object' && _paramsBag !== null && !Array.isArray(_paramsBag) ) {
8969
+ if ( typeof(_paramsBag) == 'object' && _paramsBag !== null ) {
8970
+ var _bagIsArray = Array.isArray(_paramsBag);
8971
+ for (let _pk in req.params) {
8972
+ if ( _pk === '0' || !Object.prototype.hasOwnProperty.call(req.params, _pk) ) {
8973
+ continue;
8974
+ }
8975
+ // false & true case
8976
+ if ( /^(false|true|on)$/.test( req.params[_pk] ) && typeof(req.params[_pk]) == 'string' )
8977
+ req.params[_pk] = ( /^(true|on)$/.test( req.params[_pk] ) ) ? true : false;
8978
+
8979
+ if ( _bagIsArray && ( /^[0-9]+$/.test(_pk) || _pk === 'length' || typeof(_paramsBag[_pk]) != 'undefined' && !Object.prototype.hasOwnProperty.call(_paramsBag, _pk) ) ) {
8980
+ continue;
8981
+ }
8982
+ _paramsBag[_pk] = req.params[_pk];
8983
+ }
8984
+ }
8985
+ if ( _bodyIsReqMethod && req.body !== req[_reqMethodKey] ) {
8986
+ req.body = req[_reqMethodKey];
8987
+ }
8988
+ }
8989
+
8890
8990
  // #FI — route matching end
8891
8991
  if (_routeMatchStart && req._devTimeline) {
8892
8992
  req._devTimeline.entries.push({
@@ -8939,7 +9039,7 @@ function Server(options) {
8939
9039
 
8940
9040
  if ( /^isaac/.test(self.engine) && self.instance._expressMiddlewares.length > 0) {
8941
9041
  installH2SendShim(res); // #B562
8942
- // FRAMEWORK PATCH: Bug I — per-request dispatcher
9042
+ // A per-request dispatcher (createNextMiddleware)
8943
9043
  var nextMiddleware = createNextMiddleware();
8944
9044
  nextMiddleware._index = 0;
8945
9045
  nextMiddleware._count = self.instance._expressMiddlewares.length-1;
@@ -401,6 +401,12 @@ function Routing() {
401
401
  /**
402
402
  * Parse routing for mathcing url
403
403
  *
404
+ * A DELETE rule that declares `requirements` is matched here, by the DELETE branch, rather
405
+ * than by `fitsWithRequirements`: each placeholder's regex is tested against its URL segment
406
+ * — a placeholder without a requirement accepts any non-empty segment (#B956) — and a matched
407
+ * value is written to `request[method]` and, for a placeholder the rule binds in `param`, to
408
+ * `request.params` (#B955).
409
+ *
404
410
  * @param {object} params - `params` is the same `request.routing` that can be retried in controller with: req.routing
405
411
  * @param {string} url
406
412
  * @param {object} request
@@ -409,6 +415,9 @@ function Routing() {
409
415
  *
410
416
  * @returns {object} foundRoute
411
417
  *
418
+ * @example
419
+ * // rule: { url: '/items/:id', method: 'DELETE', requirements: { id: '/^[0-9]+$/' }, param: { id: ':id' } }
420
+ * // DELETE /items/42 => request.delete.id === '42' and request.params.id === '42'
412
421
  * */
413
422
  var parseRouting = async function(params, url, request, response, next) {
414
423
 
@@ -473,6 +482,19 @@ function Routing() {
473
482
  // #B650 — a requirement counts only when the rule declares it itself.
474
483
  // was: if ( typeof(params.requirements[_key]) == 'undefined' ) {
475
484
  if ( !hasOwn(params.requirements, _key) || typeof(params.requirements[_key]) == 'undefined' ) {
485
+ // #B956 — a placeholder the rule declares no requirement for accepts any
486
+ // non-empty segment and scores, as fitsWithRequirements does on the GET
487
+ // path. It was skipped unscored, so a DELETE rule whose requirements cover
488
+ // only some of its placeholders never reached maxLen: it answered 404 on
489
+ // every request. A static segment that differs from the URL's is still
490
+ // skipped unscored (the `/^:/` test), so such a rule still does not match.
491
+ if ( /^:/.test(uRo[p]) && uRe[p] ) {
492
+ ++score;
493
+ request[method][_key] = uRe[p];
494
+ if ( hasOwn(params.param, _key) && typeof(request.params) != 'undefined' ) {
495
+ request.params[_key] = uRe[p];
496
+ }
497
+ }
476
498
  continue;
477
499
  }
478
500
  let condition = params.requirements[_key];
@@ -502,6 +524,14 @@ function Routing() {
502
524
  ) {
503
525
  ++score;
504
526
  request[method][uRo[p].substring(1)] = uRe[p];
527
+ // #B955 — the matched URL value reaches `request.params` too, as the GET
528
+ // path's `fitsWithRequirements` writes it, for a placeholder the rule binds
529
+ // in `param` (the same gate as there). This branch wrote `request[method]`
530
+ // alone, so `req.params.<key>` stayed unset on a DELETE route whose regex
531
+ // requirements cover its placeholders.
532
+ if ( hasOwn(params.param, _key) && typeof(request.params) != 'undefined' ) {
533
+ request.params[_key] = uRe[p];
534
+ }
505
535
  }
506
536
  }
507
537
  hasAlreadyBeenScored = true;
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "gina-framework",
3
- "version": "0.7.5",
3
+ "version": "0.7.6",
4
4
  "dependencies": {
5
5
  "@rhinostone/busboy": "^1.6.1",
6
- "@rhinostone/swig": "^2.8.3",
6
+ "@rhinostone/swig": "^2.9.6",
7
7
  "intl-messageformat": "^11.2.4",
8
8
  "psl": "^1.15.0",
9
9
  "ws": "^8.21.0"
package/gna.js CHANGED
@@ -15,14 +15,14 @@
15
15
  'use strict';
16
16
 
17
17
  // Framework core — the main gna module (lifecycle hooks, lib, etc.)
18
- var _gna = require('./framework/v0.7.5/core/gna');
18
+ var _gna = require('./framework/v0.7.6/core/gna');
19
19
 
20
20
  // SuperController and EntitySuper — loaded from their source modules
21
- var SuperController = require('./framework/v0.7.5/core/controller');
22
- var EntitySuper = require('./framework/v0.7.5/core/model/entity');
21
+ var SuperController = require('./framework/v0.7.6/core/controller');
22
+ var EntitySuper = require('./framework/v0.7.6/core/model/entity');
23
23
 
24
24
  // uuid — from the lib registry
25
- var uuid = require('./framework/v0.7.5/lib/uuid');
25
+ var uuid = require('./framework/v0.7.6/lib/uuid');
26
26
 
27
27
  module.exports = {
28
28