+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a “Source” link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+You should also get your employer (if you work as a programmer) or school,
+if any, to sign a “copyright disclaimer” for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+<>.
\ No newline at end of file
diff --git a/addon/components/modals/webhook-form.hbs b/addon/components/modals/webhook-form.hbs
index 38b26d3..9e5161d 100644
--- a/addon/components/modals/webhook-form.hbs
+++ b/addon/components/modals/webhook-form.hbs
@@ -146,10 +146,9 @@
{{t "developers.component.modals.webhook-form.dropdown"}}
-
- {{t "developers.component.modals.webhook-form.all-events"}}
+
+ {{t "developers.component.modals.webhook-form.all-events"}}.
- .
diff --git a/addon/controllers/webhooks/view.js b/addon/controllers/webhooks/view.js
index eb42b89..6d66d4e 100644
--- a/addon/controllers/webhooks/view.js
+++ b/addon/controllers/webhooks/view.js
@@ -49,6 +49,13 @@ export default class WebhooksViewController extends BaseController {
*/
@service universe;
+ /**
+ * Inject the `hostRouter` service
+ *
+ * @var {Service}
+ */
+ @service hostRouter;
+
/**
* All webhook events
*
@@ -155,4 +162,13 @@ export default class WebhooksViewController extends BaseController {
},
});
}
+
+ /**
+ * Reloads the view data.
+ *
+ * @memberof WebhooksViewController
+ */
+ @action reload() {
+ this.hostRouter.refresh();
+ }
}
diff --git a/addon/templates/webhooks/view.hbs b/addon/templates/webhooks/view.hbs
index 5659a93..e3addda 100644
--- a/addon/templates/webhooks/view.hbs
+++ b/addon/templates/webhooks/view.hbs
@@ -2,6 +2,7 @@
{{!-- {{#if @model.isTestMode}}
{{/if}} --}}
+
{{#if @model.isEnabled}}
{{else}}
diff --git a/package.json b/package.json
index 00cdd71..b5c9c1f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/dev-engine",
- "version": "0.2.3",
+ "version": "0.2.4",
"description": "Fleetbase Developers extension provides a module for managing developer resources such as API keys, webhooks, sockets, events and logs.",
"fleetbase": {
"route": "developers"
@@ -15,7 +15,7 @@
"ember-engine"
],
"repository": "https://github.com/fleetbase/dev-engine",
- "license": "MIT",
+ "license": "AGPL-3.0-or-later",
"author": "Fleetbase Pte Ltd ",
"directories": {
"app": "app",
@@ -41,8 +41,8 @@
"publish:github": "npm config set '@fleetbase:registry' https://npm.pkg.github.com/ && npm publish"
},
"dependencies": {
- "@fleetbase/ember-core": "^0.2.11",
- "@fleetbase/ember-ui": "^0.2.16",
+ "@fleetbase/ember-core": "^0.2.12",
+ "@fleetbase/ember-ui": "^0.2.18",
"@babel/core": "^7.23.2",
"ember-cli-babel": "^8.2.0",
"ember-cli-htmlbars": "^6.3.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8046567..ae39a6f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -5,11 +5,11 @@ dependencies:
specifier: ^7.23.2
version: 7.23.2
'@fleetbase/ember-core':
- specifier: ^0.2.11
- version: 0.2.11(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0)
+ specifier: ^0.2.12
+ version: 0.2.12(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0)
'@fleetbase/ember-ui':
- specifier: ^0.2.16
- version: 0.2.16(@ember/test-helpers@3.2.0)(@glimmer/component@1.1.2)(@glimmer/tracking@1.1.2)(ember-source@5.4.0)(postcss@8.4.35)(rollup@4.12.0)(tracked-built-ins@3.3.0)(webpack@5.89.0)
+ specifier: ^0.2.18
+ version: 0.2.18(@ember/test-helpers@3.2.0)(@glimmer/component@1.1.2)(@glimmer/tracking@1.1.2)(ember-source@5.4.0)(postcss@8.4.35)(rollup@4.12.0)(tracked-built-ins@3.3.0)(webpack@5.89.0)
'@fortawesome/ember-fontawesome':
specifier: ^0.4.1
version: 0.4.1(rollup@4.12.0)
@@ -1531,9 +1531,9 @@ packages:
peerDependencies:
postcss: ^8.4
dependencies:
- '@csstools/selector-specificity': 3.1.1(postcss-selector-parser@6.0.15)
+ '@csstools/selector-specificity': 3.1.1(postcss-selector-parser@6.1.0)
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/@csstools/postcss-color-function@3.0.16(postcss@8.4.35):
@@ -1654,9 +1654,9 @@ packages:
peerDependencies:
postcss: ^8.4
dependencies:
- '@csstools/selector-specificity': 3.1.1(postcss-selector-parser@6.0.15)
+ '@csstools/selector-specificity': 3.1.1(postcss-selector-parser@6.1.0)
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/@csstools/postcss-light-dark-function@1.0.5(postcss@8.4.35):
@@ -1811,7 +1811,7 @@ packages:
postcss: ^8.4
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/@csstools/postcss-stepped-value-functions@3.0.8(postcss@8.4.35):
@@ -1876,15 +1876,6 @@ packages:
postcss-selector-parser: 6.0.15
dev: true
- /@csstools/selector-specificity@3.1.1(postcss-selector-parser@6.0.15):
- resolution: {integrity: sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==}
- engines: {node: ^14 || ^16 || >=18}
- peerDependencies:
- postcss-selector-parser: ^6.0.13
- dependencies:
- postcss-selector-parser: 6.0.15
- dev: false
-
/@csstools/selector-specificity@3.1.1(postcss-selector-parser@6.1.0):
resolution: {integrity: sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==}
engines: {node: ^14 || ^16 || >=18}
@@ -2219,7 +2210,7 @@ packages:
'@glint/template':
optional: true
dependencies:
- '@embroider/macros': 1.13.5
+ '@embroider/macros': 1.16.2
ember-cli-babel: 7.26.11
ember-modifier-manager-polyfill: 1.2.0(@babel/core@7.23.2)
ember-source: 5.4.0(@babel/core@7.23.2)(@glimmer/component@1.1.2)(rsvp@4.8.5)(webpack@5.89.0)
@@ -2466,8 +2457,8 @@ packages:
- supports-color
dev: false
- /@fleetbase/ember-core@0.2.11(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0):
- resolution: {integrity: sha512-ogf1J1Yv1kJ3/8eUGzdS2l1UjDZE4b4u3q/86Ue0X2tskzTNSto3P8MWt/BaXAke1E0UbDXOq4aeB624OgTm7w==}
+ /@fleetbase/ember-core@0.2.12(@ember/test-helpers@3.2.0)(ember-source@5.4.0)(webpack@5.89.0):
+ resolution: {integrity: sha512-/ZoZsoGKqtw6AhvK5UYQm24+xyzRo10x8V8g7bEvO4tuPKmtXQj67RcIojh2yplWZNow5LyT8oYZZU3Ft35JXg==}
engines: {node: '>= 18'}
dependencies:
'@babel/core': 7.23.2
@@ -2499,15 +2490,15 @@ packages:
- webpack
dev: false
- /@fleetbase/ember-ui@0.2.16(@ember/test-helpers@3.2.0)(@glimmer/component@1.1.2)(@glimmer/tracking@1.1.2)(ember-source@5.4.0)(postcss@8.4.35)(rollup@4.12.0)(tracked-built-ins@3.3.0)(webpack@5.89.0):
- resolution: {integrity: sha512-RLdqzTDAEbOyIfSrNb3JsS/i9wZ5hy0/CnfK68ccIpC6AePImxBrmqUUYDiTzN3afUFjBGpg7P+uwNT8FwM2nw==}
+ /@fleetbase/ember-ui@0.2.18(@ember/test-helpers@3.2.0)(@glimmer/component@1.1.2)(@glimmer/tracking@1.1.2)(ember-source@5.4.0)(postcss@8.4.35)(rollup@4.12.0)(tracked-built-ins@3.3.0)(webpack@5.89.0):
+ resolution: {integrity: sha512-lOwUmwstfM/o1NdlB1jv6mPdyGfmcZuJGFdYdITfayMCW7CwAZBY84czwV5w53AQbFCt4A5nkGXxV6EGUDjA4A==}
engines: {node: '>= 18'}
dependencies:
'@babel/core': 7.23.2
'@ember/render-modifiers': 2.1.0(@babel/core@7.23.2)(ember-source@5.4.0)
'@ember/string': 3.1.1
'@embroider/addon': 0.30.0
- '@embroider/macros': 1.13.5
+ '@embroider/macros': 1.16.2
'@fleetbase/ember-accounting': 0.0.1(ember-source@5.4.0)
'@floating-ui/dom': 1.6.5
'@fortawesome/ember-fontawesome': 1.0.3(rollup@4.12.0)(webpack@5.89.0)
@@ -6404,7 +6395,7 @@ packages:
postcss: ^8.4
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/css-color-converter@2.0.0:
@@ -6426,9 +6417,9 @@ packages:
peerDependencies:
postcss: ^8.4
dependencies:
- '@csstools/selector-specificity': 3.1.1(postcss-selector-parser@6.0.15)
+ '@csstools/selector-specificity': 3.1.1(postcss-selector-parser@6.1.0)
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
postcss-value-parser: 4.2.0
dev: false
@@ -6782,7 +6773,7 @@ packages:
dependencies:
'@ember/test-helpers': 3.2.0(ember-source@5.4.0)(webpack@5.89.0)
'@embroider/addon-shim': 1.8.7
- '@embroider/macros': 1.13.5
+ '@embroider/macros': 1.16.2
'@embroider/util': 1.13.1(ember-source@5.4.0)
assert-never: 1.2.1
ember-element-helper: 0.8.6(ember-source@5.4.0)
@@ -6914,8 +6905,8 @@ packages:
'@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.23.2)
'@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.23.2)
'@babel/preset-env': 7.23.9(@babel/core@7.23.2)
- '@embroider/macros': 1.13.5
- '@embroider/shared-internals': 2.5.2
+ '@embroider/macros': 1.16.2
+ '@embroider/shared-internals': 2.6.1
babel-loader: 8.3.0(@babel/core@7.23.2)(webpack@5.89.0)
babel-plugin-ember-modules-api-polyfill: 3.5.0
babel-plugin-ember-template-compilation: 2.2.1
@@ -6954,7 +6945,7 @@ packages:
peerDependencies:
ember-source: ^3.28.0 || ^4.0.0 || >=5.0.0
dependencies:
- '@embroider/macros': 1.13.5
+ '@embroider/macros': 1.16.2
'@embroider/util': 1.13.1(ember-source@5.4.0)
'@glimmer/component': 1.1.2(@babel/core@7.23.2)
'@glimmer/tracking': 1.1.2
@@ -7892,7 +7883,7 @@ packages:
'@ember/test-helpers': 3.2.0(ember-source@5.4.0)(webpack@5.89.0)
'@ember/test-waiters': 3.1.0
'@embroider/addon-shim': 1.8.7
- '@embroider/macros': 1.13.5
+ '@embroider/macros': 1.16.2
'@glimmer/component': 1.1.2(@babel/core@7.23.2)
'@glimmer/tracking': 1.1.2
ember-auto-import: 2.7.2(webpack@5.89.0)
@@ -7935,7 +7926,7 @@ packages:
resolution: {integrity: sha512-uNmv1cPG/4qsac8oIf5txJ2FZ8p88LEpG4P3dNcjsJS98Y8hd0GPMFwVqpnzI78Lz7VYRGQWY4jnE4qm5R3j4g==}
engines: {node: 12.* || 14.* || >= 16}
dependencies:
- '@embroider/macros': 1.13.5
+ '@embroider/macros': 1.16.2
ember-cli-babel: 7.26.11
transitivePeerDependencies:
- '@glint/template'
@@ -8257,7 +8248,7 @@ packages:
'@ember/test-helpers': 3.2.0(ember-source@5.4.0)(webpack@5.89.0)
'@ember/test-waiters': 3.1.0
'@embroider/addon-shim': 1.8.7
- '@embroider/macros': 1.13.5
+ '@embroider/macros': 1.16.2
ember-cli-is-package-missing: 1.0.0
ember-cookies: 1.1.2
silent-error: 1.1.1
@@ -12497,7 +12488,7 @@ packages:
postcss: ^8.4
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/postcss-clamp@4.1.0(postcss@8.4.35):
@@ -12593,7 +12584,7 @@ packages:
'@csstools/css-parser-algorithms': 2.6.3(@csstools/css-tokenizer@2.3.1)
'@csstools/css-tokenizer': 2.3.1
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/postcss-dir-pseudo-class@8.0.1(postcss@8.4.35):
@@ -12603,7 +12594,7 @@ packages:
postcss: ^8.4
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/postcss-double-position-gradients@5.0.6(postcss@8.4.35):
@@ -12634,7 +12625,7 @@ packages:
postcss: ^8.4
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/postcss-focus-within@8.0.1(postcss@8.4.35):
@@ -12644,7 +12635,7 @@ packages:
postcss: ^8.4
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/postcss-font-variant@5.0.0(postcss@8.4.35):
@@ -12795,7 +12786,7 @@ packages:
postcss: ^8.2.14
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/postcss-nesting@12.1.5(postcss@8.4.35):
@@ -12923,7 +12914,7 @@ packages:
postcss: ^8.4
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/postcss-replace-overflow-wrap@4.0.0(postcss@8.4.35):
@@ -12954,7 +12945,7 @@ packages:
postcss: ^8.4
dependencies:
postcss: 8.4.35
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
dev: false
/postcss-selector-parser@6.0.15:
@@ -14710,7 +14701,7 @@ packages:
postcss-js: 4.0.1(postcss@8.4.35)
postcss-load-config: 4.0.2(postcss@8.4.35)
postcss-nested: 6.0.1(postcss@8.4.35)
- postcss-selector-parser: 6.0.15
+ postcss-selector-parser: 6.1.0
resolve: 1.22.8
sucrase: 3.35.0
transitivePeerDependencies: