Skip to content

Modular logistics and supply chain operating system (LSOS)

ready for release

Ronald A. Richardsonb6bad3212ddc
diff --git a/api/composer.json b/api/composer.json
index 0522faf1..f48b9b0e 100644
--- a/api/composer.json
+++ b/api/composer.json
@@ -9,9 +9,9 @@
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
- "fleetbase/core-api": "dev-dev-v1.4.0",
- "fleetbase/fleetops-api": "dev-dev-v0.4.5",
- "fleetbase/storefront-api": "dev-dev-v0.2.10",
+ "fleetbase/core-api": "^1.4.0",
+ "fleetbase/fleetops-api": "^0.4.5",
+ "fleetbase/storefront-api": "^0.2.10",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^10.0",
"laravel/octane": "^2.3",
@@ -31,20 +31,6 @@
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0"
},
- "repositories": [
- {
- "type": "vcs",
- "url": "https://github.com/fleetbase/core-api"
- },
- {
- "type": "vcs",
- "url": "https://github.com/fleetbase/fleetops"
- },
- {
- "type": "vcs",
- "url": "https://github.com/fleetbase/storefront"
- }
- ],
"autoload": {
"psr-4": {
"App\\": "app/",
diff --git a/api/composer.lock b/api/composer.lock
index 66d6c22c..f046c18e 100644
--- a/api/composer.lock
+++ b/api/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "15f7da4c261e48719ed25089775be9f6",
+ "content-hash": "f2e1700330f541d9be6260646f82e78a",
"packages": [
{
"name": "aloha/twilio",
@@ -1943,16 +1943,16 @@
},
{
"name": "fleetbase/core-api",
- "version": "dev-dev-v1.4.0",
+ "version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
- "reference": "ceb5c7ae480fdbad27732c9f4d169fb4a5f6960e"
+ "reference": "c98e08a257d8dc480abfc5c2f48e62a7539c0dff"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/core-api/zipball/ceb5c7ae480fdbad27732c9f4d169fb4a5f6960e",
- "reference": "ceb5c7ae480fdbad27732c9f4d169fb4a5f6960e",
+ "url": "https://api.github.com/repos/fleetbase/core-api/zipball/c98e08a257d8dc480abfc5c2f48e62a7539c0dff",
+ "reference": "c98e08a257d8dc480abfc5c2f48e62a7539c0dff",
"shasum": ""
},
"require": {
@@ -2007,30 +2007,7 @@
"Fleetbase\\Seeds\\": "seeds/"
}
},
- "autoload-dev": {
- "psr-4": {
- "Fleetbase\\Tests\\": "tests/"
- }
- },
- "scripts": {
- "lint": [
- "php-cs-fixer fix -v"
- ],
- "test:lint": [
- "php-cs-fixer fix -v --dry-run"
- ],
- "test:types": [
- "phpstan analyse --ansi --memory-limit=0"
- ],
- "test:unit": [
- "pest --colors=always"
- ],
- "test": [
- "@test:lint",
- "@test:types",
- "@test:unit"
- ]
- },
+ "notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
@@ -2050,30 +2027,30 @@
"logistics platform"
],
"support": {
- "source": "https://github.com/fleetbase/core-api/tree/dev-v1.4.0",
- "issues": "https://github.com/fleetbase/core-api/issues"
+ "issues": "https://github.com/fleetbase/core-api/issues",
+ "source": "https://github.com/fleetbase/core-api/tree/v1.4.0"
},
- "time": "2024-02-07T03:38:26+00:00"
+ "time": "2024-02-07T05:49:54+00:00"
},
{
"name": "fleetbase/fleetops-api",
- "version": "dev-dev-v0.4.5",
+ "version": "0.4.5",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/fleetops.git",
- "reference": "20a51973407d48e4645930e46bb5964d60078929"
+ "reference": "3cb247bba476f01d7b0a16818c07a3fbdc2619d6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/20a51973407d48e4645930e46bb5964d60078929",
- "reference": "20a51973407d48e4645930e46bb5964d60078929",
+ "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/3cb247bba476f01d7b0a16818c07a3fbdc2619d6",
+ "reference": "3cb247bba476f01d7b0a16818c07a3fbdc2619d6",
"shasum": ""
},
"require": {
"barryvdh/laravel-dompdf": "^2.0",
"brick/geo": "0.7.2",
"cknow/laravel-money": "^7.1",
- "fleetbase/core-api": "dev-dev-v1.4.0",
+ "fleetbase/core-api": "^1.4.0",
"geocoder-php/google-maps-places-provider": "^1.4",
"giggsey/libphonenumber-for-php": "^8.13",
"league/geotools": "^1.1.0",
@@ -2115,30 +2092,7 @@
"Fleetbase\\FleetOps\\": "server/src/"
}
},
- "autoload-dev": {
- "psr-4": {
- "Fleetbase\\Tests\\": "server/tests/"
- }
- },
- "scripts": {
- "lint": [
- "php-cs-fixer fix -v"
- ],
- "test:lint": [
- "php-cs-fixer fix -v --dry-run"
- ],
- "test:types": [
- "phpstan analyse --ansi --memory-limit=4G"
- ],
- "test:unit": [
- "pest --colors=always"
- ],
- "test": [
- "@test:lint",
- "@test:types",
- "@test:unit"
- ]
- },
+ "notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
@@ -2161,10 +2115,10 @@
"tms"
],
"support": {
- "source": "https://github.com/fleetbase/fleetops/tree/dev-v0.4.5",
- "issues": "https://github.com/fleetbase/fleetops/issues"
+ "issues": "https://github.com/fleetbase/fleetops/issues",
+ "source": "https://github.com/fleetbase/fleetops/tree/v0.4.5"
},
- "time": "2024-02-07T03:50:41+00:00"
+ "time": "2024-02-07T06:32:22+00:00"
},
{
"name": "fleetbase/laravel-mysql-spatial",
@@ -2231,21 +2185,21 @@
},
{
"name": "fleetbase/storefront-api",
- "version": "dev-dev-v0.2.10",
+ "version": "0.2.10",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/storefront.git",
- "reference": "ab0568bb4f951dc3508c10a8e40d1d033facf794"
+ "reference": "0f072d511ec70146d8ad173f61e47c226da599f2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/storefront/zipball/ab0568bb4f951dc3508c10a8e40d1d033facf794",
- "reference": "ab0568bb4f951dc3508c10a8e40d1d033facf794",
+ "url": "https://api.github.com/repos/fleetbase/storefront/zipball/0f072d511ec70146d8ad173f61e47c226da599f2",
+ "reference": "0f072d511ec70146d8ad173f61e47c226da599f2",
"shasum": ""
},
"require": {
- "fleetbase/core-api": "dev-dev-v1.4.0",
- "fleetbase/fleetops-api": "dev-dev-v0.4.5",
+ "fleetbase/core-api": "^1.4.0",
+ "fleetbase/fleetops-api": "^0.4.5",
"geocoder-php/google-maps-places-provider": "^1.4",
"laravel-notification-channels/apn": "^5.0",
"laravel-notification-channels/fcm": "^4.1",
@@ -2282,30 +2236,7 @@
"Fleetbase\\Storefront\\": "server/src/"
}
},
- "autoload-dev": {
- "psr-4": {
- "Fleetbase\\Storefront\\Tests\\": "server/tests/"
- }
- },
- "scripts": {
- "lint": [
- "php-cs-fixer fix -v"
- ],
- "test:lint": [
- "php-cs-fixer fix -v --dry-run"
- ],
- "test:types": [
- "phpstan analyse --ansi --memory-limit=0"
- ],
- "test:unit": [
- "pest --colors=always"
- ],
- "test": [
- "@test:lint",
- "@test:types",
- "@test:unit"
- ]
- },
+ "notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
@@ -2328,10 +2259,10 @@
"storefront"
],
"support": {
- "source": "https://github.com/fleetbase/storefront/tree/dev-v0.2.10",
- "issues": "https://github.com/fleetbase/storefront/issues"
+ "issues": "https://github.com/fleetbase/storefront/issues",
+ "source": "https://github.com/fleetbase/storefront/tree/v0.2.10"
},
- "time": "2024-02-07T03:50:09+00:00"
+ "time": "2024-02-07T06:38:48+00:00"
},
{
"name": "fruitcake/php-cors",
@@ -16897,11 +16828,7 @@
],
"aliases": [],
"minimum-stability": "stable",
- "stability-flags": {
- "fleetbase/core-api": 20,
- "fleetbase/fleetops-api": 20,
- "fleetbase/storefront-api": 20
- },
+ "stability-flags": [],
"prefer-stable": true,
"prefer-lowest": false,
"platform": {
diff --git a/console/app/components/dashboard.js b/console/app/components/dashboard.js
index 5ec624bc..698a4b0a 100644
--- a/console/app/components/dashboard.js
+++ b/console/app/components/dashboard.js
@@ -1,8 +1,6 @@
import Component from '@glimmer/component';
import { action } from '@ember/object';
import { inject as service } from '@ember/service';
-import { tracked } from '@glimmer/tracking';
-import { task } from 'ember-concurrency-decorators';
export default class DashboardComponent extends Component {
@service store;
@@ -13,10 +11,6 @@ export default class DashboardComponent extends Component {
constructor() {
super(...arguments);
- this.loadDashboards.perform();
- }
-
- @task *loadDashboards() {
this.dashboard.loadDashboards.perform();
}
@@ -28,10 +22,6 @@ export default class DashboardComponent extends Component {
this.widgetSelectorContext = widgetSelectorContext;
}
- @action onChangeEdit(state = true) {
- this.isEditingDashboard = state;
- }
-
@action createDashboard(dashboard, options = {}) {
this.modalsManager.show('modals/create-dashboard', {
title: `Create a new dashboard`,
@@ -57,12 +47,7 @@ export default class DashboardComponent extends Component {
this.modalsManager.confirm({
title: `Are you sure to delete this ${dashboard.name}?`,
confirm: async (modal, done) => {
- if (typeof options.onConfirm === 'function') {
- options.onConfirm(model);
- }
-
modal.startLoading();
-
await this.dashboard.deleteDashboard.perform(dashboard);
done();
},
@@ -70,6 +55,10 @@ export default class DashboardComponent extends Component {
});
}
+ @action onAddingWidget(state = true) {
+ this.dashboard.onAddingWidget(state);
+ }
+
setCurrentDashboard(dashboard) {
this.dashboard.setCurrentDashboard.perform(dashboard);
}
@@ -77,8 +66,4 @@ export default class DashboardComponent extends Component {
onChangeEdit(state = true) {
this.dashboard.onChangeEdit(state);
}
-
- @action onAddingWidget(state = true) {
- this.dashboard.onAddingWidget(state);
- }
}
diff --git a/console/app/components/dashboard/create.js b/console/app/components/dashboard/create.js
index 05d2a3a5..5dc4bdb0 100644
--- a/console/app/components/dashboard/create.js
+++ b/console/app/components/dashboard/create.js
@@ -1,25 +1,18 @@
import { action, computed } from '@ember/object';
import Component from '@glimmer/component';
-import { tracked } from '@glimmer/tracking';
-
-import { merge } from '@ember/object/internals';
import { inject as service } from '@ember/service';
+
export default class DashboardCreateComponent extends Component {
@service notifications;
- constructor(owner, args) {
- super(...arguments);
- }
-
- @action
- toggleFloat() {
+ @action toggleFloat() {
this.shouldFloat = !this.shouldFloat;
}
@action onChangeGrid(event) {
const updatedWidgets = [];
- event.detail.forEach((currentWidgetEvent, index) => {
+ event.detail.forEach((currentWidgetEvent) => {
const alreadyUpdated = updatedWidgets.find((item) => item.uuid === currentWidgetEvent.id);
if (alreadyUpdated) {
return; // Skip updating if already updated
@@ -30,7 +23,7 @@ export default class DashboardCreateComponent extends Component {
return;
}
- const { id, x, y, w, h } = currentWidgetEvent;
+ const { x, y, w, h } = currentWidgetEvent;
const response = changedWidget.updateProperties({
grid_options: { x, y, w, h },
});
@@ -46,8 +39,7 @@ export default class DashboardCreateComponent extends Component {
});
}
- @computed('args.isEdit')
- get gridOptions() {
+ @computed('args.isEdit') get gridOptions() {
return {
float: true,
animate: true,
diff --git a/console/app/components/dashboard/metric.js b/console/app/components/dashboard/metric.js
index 77dc6c8a..c78b113a 100644
--- a/console/app/components/dashboard/metric.js
+++ b/console/app/components/dashboard/metric.js
@@ -4,7 +4,6 @@ import { inject as service } from '@ember/service';
import { action } from '@ember/object';
import { isArray } from '@ember/array';
import { task } from 'ember-concurrency-decorators';
-import { ar } from 'date-fns/locale';
export default class MetricComponent extends Component {
@service fetch;
diff --git a/console/app/components/dashboard/widget-panel.js b/console/app/components/dashboard/widget-panel.js
index 1ba5830b..32afd371 100644
--- a/console/app/components/dashboard/widget-panel.js
+++ b/console/app/components/dashboard/widget-panel.js
@@ -52,7 +52,7 @@ export default class DashboardWidgetPanelComponent extends Component {
*/
@action onPressClose() {
this.isOpen = false;
-
+
if (typeof this.args.onClose === 'function') {
this.args.onClose();
}
diff --git a/console/app/controllers/console/admin/organizations/index/users.js b/console/app/controllers/console/admin/organizations/index/users.js
index b82a199e..802becbc 100644
--- a/console/app/controllers/console/admin/organizations/index/users.js
+++ b/console/app/controllers/console/admin/organizations/index/users.js
@@ -2,7 +2,9 @@ import Controller from '@ember/controller';
import { tracked } from '@glimmer/tracking';
import { inject as service } from '@ember/service';
import { action } from '@ember/object';
-import { task } from 'ember-concurrency';
+import { isBlank } from '@ember/utils';
+import { task } from 'ember-concurrency-decorators';
+import { timeout } from 'ember-concurrency';
export default class ConsoleAdminOrganizationsIndexUsersController extends Controller {
/**
@@ -52,7 +54,7 @@ export default class ConsoleAdminOrganizationsIndexUsersController extends Contr
*
* @var {String}
*/
- @tracked nestedQuery;
+ @tracked nestedQuery = '';
/**
* The company loaded.
@@ -106,14 +108,14 @@ export default class ConsoleAdminOrganizationsIndexUsersController extends Contr
/**
* Handle closing the overlay.
*
- * @return {Promise<Transition>}
+ * @return {Promise<Transition>}
* @memberof ConsoleAdminOrganizationsIndexUsersController
*/
@action onPressClose() {
if (this.contextApi && typeof this.contextApi.close === 'function') {
this.contextApi.close();
}
-
+
return this.router.transitionTo('console.admin.organizations.index');
}
@@ -126,7 +128,12 @@ export default class ConsoleAdminOrganizationsIndexUsersController extends Contr
* @public
*/
@task({ restartable: true }) *search(event) {
- this.nestedQuery = event.target.value;
- // this.companies = yield this.fetch.get(`companies/${this.company.public_id}/users`, { query: event.target.value });
+ const searchQuery = event.target.value ?? '';
+ if (isBlank(searchQuery)) {
+ return;
+ }
+
+ yield timeout(600);
+ this.nestedQuery = searchQuery;
}
}
diff --git a/console/app/models/dashboard-widget.js b/console/app/models/dashboard-widget.js
index eb0f23e6..51e61253 100644
--- a/console/app/models/dashboard-widget.js
+++ b/console/app/models/dashboard-widget.js
@@ -1,7 +1,6 @@
import Model, { attr, belongsTo } from '@ember-data/model';
import { computed } from '@ember/object';
import { format, formatDistanceToNow } from 'date-fns';
-import { getOwner } from '@ember/application';
export default class DashboardWidgetModel extends Model {
/** @ids */
diff --git a/console/app/routes/auth/reset-password.js b/console/app/routes/auth/reset-password.js
index 42ca6523..306f741d 100644
--- a/console/app/routes/auth/reset-password.js
+++ b/console/app/routes/auth/reset-password.js
@@ -12,6 +12,6 @@ export default class AuthResetPasswordRoute extends Route {
super.setupController(...arguments);
// set brand to controller
- this.brand = await this.store.findRecord('brand', 1);
+ controller.brand = await this.store.findRecord('brand', 1);
}
}
diff --git a/console/app/serializers/comment.js b/console/app/serializers/comment.js
index a7cfe26c..1642ea1f 100644
--- a/console/app/serializers/comment.js
+++ b/console/app/serializers/comment.js
@@ -15,7 +15,7 @@ export default class CommentSerializer extends ApplicationSerializer.extend(Embe
};
}
- serializeAttribute(snapshot, json, key, attributes) {
+ serializeAttribute(snapshot, json, key) {
if (key === 'editable') {
return;
}
diff --git a/console/app/services/dashboard.js b/console/app/services/dashboard.js
index 23dfc07a..142ccc44 100644
--- a/console/app/services/dashboard.js
+++ b/console/app/services/dashboard.js
@@ -111,20 +111,19 @@ export default class DashboardService extends Service {
/**
* Task for creating a new dashboard. It handles dashboard creation, success notification, and dashboard selection.
* @param {string} name - Name of the new dashboard.
- * @param {Object} [options={}] - Optional configuration options.
*/
- @task *createDashboard(name, options = {}) {
- try {
- const dashboardRecord = this.store.createRecord('dashboard', { name, is_default: true });
- const dashboard = yield dashboardRecord.save().catch((error) => {
- this.notifications.serverError(error);
- });
- } catch (error) {}
-
- this.notifications.success(this.intl.t('services.dashboard-service.create-dashboard-success-notification', { dashboardName: dashboard.name }));
- this.selectDashboard.perform(dashboard);
- this.dashboards.pushObject(dashboard);
- this.isEditingDashboard = true;
+ @task *createDashboard(name) {
+ const dashboardRecord = this.store.createRecord('dashboard', { name, is_default: true });
+ const dashboard = yield dashboardRecord.save().catch((error) => {
+ this.notifications.serverError(error);
+ });
+
+ if (dashboard) {
+ this.notifications.success(this.intl.t('services.dashboard-service.create-dashboard-success-notification', { dashboardName: dashboard.name }));
+ this.selectDashboard.perform(dashboard);
+ this.dashboards.pushObject(dashboard);
+ this.isEditingDashboard = true;
+ }
}
/**
@@ -133,15 +132,13 @@ export default class DashboardService extends Service {
* @param {Object} [options={}] - Optional configuration options.
*/
@task *deleteDashboard(dashboard, options = {}) {
- try {
- yield dashboard.destroyRecord().catch((error) => {
- this.notification.serverError(error);
+ yield dashboard.destroyRecord().catch((error) => {
+ this.notification.serverError(error);
- if (typeof options.onError === 'function') {
- options.onError(error, dashboard);
- }
- });
- } catch (error) {}
+ if (typeof options.onError === 'function') {
+ options.onError(error, dashboard);
+ }
+ });
this.notifications.success(this.intl.t('services.dashboard-service.delete-dashboard-success-notification', { dashboardName: dashboard.name }));
this.loadDashboards.perform();
@@ -156,13 +153,13 @@ export default class DashboardService extends Service {
* @param {Object} dashboard - The dashboard object to set as current.
*/
@task *setCurrentDashboard(dashboard) {
- try {
- const currentDashboard = yield this.fetch.post('dashboards/switch', { dashboard_uuid: dashboard.id }, { normalizeToEmberData: true }).catch((error) => {
- this.notifications.serverError(error);
- });
+ const currentDashboard = yield this.fetch.post('dashboards/switch', { dashboard_uuid: dashboard.id }, { normalizeToEmberData: true }).catch((error) => {
+ this.notifications.serverError(error);
+ });
+ if (currentDashboard) {
this.currentDashboard = currentDashboard;
- } catch (error) {}
+ }
}
/**
diff --git a/console/app/styles/console.css b/console/app/styles/console.css
index e318d92b..51c9c1bc 100644
--- a/console/app/styles/console.css
+++ b/console/app/styles/console.css
@@ -4,9 +4,8 @@
color: rgb(202 138 4);
}
-body[data-theme='dark'] .btn.btn-warning-alert.btn-warning,
.btn.btn-warning-alert.btn-warning,
-.two-fa-enforcement-alert button#two-fa-setup-button.btn.btn-warning,
+.two-fa-enforcement-alert button#two-fa-setup-button.btn.btn-warning body[data-theme='dark'] .btn.btn-warning-alert.btn-warning,
body[data-theme='dark'] .two-fa-enforcement-alert button#two-fa-setup-button.btn.btn-warning {
background-color: rgb(202 138 4);
border-color: rgb(161 98 7);
@@ -24,7 +23,6 @@ body[data-theme='dark'] .two-fa-enforcement-alert button#two-fa-setup-button.btn
padding-top: 0.2rem;
}
-/** move to ember-ui later */
.fleetbase-pagination-meta-info-wrapper.within-layout-section-header {
display: flex;
flex-direction: row;
@@ -33,19 +31,16 @@ body[data-theme='dark'] .two-fa-enforcement-alert button#two-fa-setup-button.btn
flex: 1;
}
-.without-padding {
- padding-left: 0 !important;
- padding-right: 0 !important;
- padding-top: 0 !important;
- padding-bottom: 0 !important;
+.without-padding {
+ padding: 0 !important;
}
-.without-padding-y {
+.without-padding-y {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
-.without-padding-x {
+.without-padding-x {
padding-left: 0 !important;
padding-right: 0 !important;
}
diff --git a/console/app/templates/console/admin.hbs b/console/app/templates/console/admin.hbs
index 51c9a561..95948fc7 100644
--- a/console/app/templates/console/admin.hbs
+++ b/console/app/templates/console/admin.hbs
@@ -2,10 +2,10 @@
<EmberWormhole @to="sidebar-menu-items">
<Layout::Sidebar::Item @route="console.admin.index" @icon="rectangle-list">{{t "common.overview"}}</Layout::Sidebar::Item>
+ <Layout::Sidebar::Item @route="console.admin.organizations" @icon="building">{{t "common.organizations"}}</Layout::Sidebar::Item>
<Layout::Sidebar::Item @route="console.admin.branding" @icon="palette">{{t "common.branding"}}</Layout::Sidebar::Item>
<Layout::Sidebar::Item @route="console.admin.notifications" @icon="bell">{{t "common.notifications"}}</Layout::Sidebar::Item>
<Layout::Sidebar::Item @route="console.admin.two-fa-settings" @icon="shield-halved">{{t "common.2fa-config"}}</Layout::Sidebar::Item>
- <Layout::Sidebar::Item @route="console.admin.organizations" @icon="building">{{t "common.organization"}}</Layout::Sidebar::Item>
{{#each this.universe.adminMenuItems as |menuItem|}}
<Layout::Sidebar::Item
@onClick={{fn this.universe.transitionMenuItem "console.admin.virtual" menuItem}}
diff --git a/console/package.json b/console/package.json
index 616ed884..601949ef 100644
--- a/console/package.json
+++ b/console/package.json
@@ -28,10 +28,10 @@
"test:ember": "ember test"
},
"dependencies": {
- "@fleetbase/ember-core": "^0.2.1",
+ "@fleetbase/ember-core": "^0.2.3",
"@fleetbase/ember-ui": "^0.2.10",
- "@fleetbase/storefront-engine": "^0.2.9",
- "@fleetbase/fleetops-engine": "^0.4.4",
+ "@fleetbase/storefront-engine": "^0.2.10",
+ "@fleetbase/fleetops-engine": "^0.4.5",
"@fleetbase/fleetops-data": "^0.1.8",
"@fleetbase/dev-engine": "^0.2.1",
"@fleetbase/iam-engine": "^0.0.9",
@@ -141,9 +141,9 @@
},
"pnpm": {
"overrides": {
- "@fleetbase/fleetops-data": "^0.1.8",
- "@fleetbase/ember-core": "^0.2.1",
- "@fleetbase/ember-ui": "^0.2.10"
+ "@fleetbase/ember-core": "^0.2.3",
+ "@fleetbase/ember-ui": "^0.2.10",
+ "@fleetbase/fleetops-data": "^0.1.8"
}
},
"prettier": {
diff --git a/console/pnpm-lock.yaml b/console/pnpm-lock.yaml
index 858f6dfa..b8706f0d 100644
--- a/console/pnpm-lock.yaml
+++ b/console/pnpm-lock.yaml
@@ -1,9 +1,9 @@
lockfileVersion: '6.0'
overrides:
- '@fleetbase/fleetops-data': ^0.1.8
- '@fleetbase/ember-core': ^0.2.1
+ '@fleetbase/ember-core': ^0.2.3
'@fleetbase/ember-ui': ^0.2.10
+ '@fleetbase/fleetops-data': ^0.1.8
dependencies:
'@ember/legacy-built-in-components':
@@ -13,8 +13,8 @@ dependencies:
specifier: ^0.2.1
'@fleetbase/ember-core':
- specifier: ^0.2.1
+ specifier: ^0.2.3
'@fleetbase/ember-ui':
specifier: ^0.2.10
@@ -22,8 +22,8 @@ dependencies:
specifier: ^0.1.8
version: 0.1.8
'@fleetbase/fleetops-engine':
- specifier: ^0.4.4
+ specifier: ^0.4.5
'@fleetbase/iam-engine':
specifier: ^0.0.9
@@ -31,8 +31,8 @@ dependencies:
specifier: ^3.2.16
version: 3.2.16
'@fleetbase/storefront-engine':
- specifier: ^0.2.9
+ specifier: ^0.2.10
'@fortawesome/ember-fontawesome':
specifier: ^0.4.1
version: 0.4.1([email protected])
@@ -2609,7 +2609,7 @@ packages:
ember-engines: ^0.9.0
dependencies:
'@babel/core': 7.23.2
- '@fleetbase/ember-core': 0.2.1(@ember/[email protected])([email protected])([email protected])
+ '@fleetbase/ember-core': 0.2.3(@ember/[email protected])([email protected])([email protected])
'@fortawesome/ember-fontawesome': 0.4.1([email protected])
'@fortawesome/fontawesome-svg-core': 6.4.0
@@ -2657,8 +2657,8 @@ packages:
- supports-color
dev: false
- resolution: {integrity: sha512-Girrpe25G7LhXhZfIF+qq2X/DF4mvfSFFv3Qeh5WFxMChMDwZwnX6FVg0wP3J4MOYZMveYdArOb9E6v7sS6Xjw==}
+ resolution: {integrity: sha512-IGeIVmrMfHnd9y/wXJHAtHFgitWbhztQOqsHGFiZ8ks7j3LASRNxJTvWNPW4vEOS7hS1qb3CsYRg3dGUUVyhFQ==}
engines: {node: '>= 18'}
dependencies:
'@babel/core': 7.23.2
@@ -2674,7 +2674,7 @@ packages:
ember-inflector: 4.0.2
ember-intl: 6.3.2(@babel/[email protected])([email protected])
ember-loading: 2.0.0(@babel/[email protected])
- ember-local-storage: 2.0.6
+ ember-local-storage: 2.0.7(@babel/[email protected])
ember-simple-auth: 6.0.0(@ember/[email protected])
ember-wormhole: 0.6.0
socketcluster-client: 17.2.2
@@ -2784,14 +2784,14 @@ packages:
- supports-color
dev: false
- resolution: {integrity: sha512-F9ehdzqS8QzpNJLN+mVPUFKuZ+/EqprTvdPYXY244hKM2SMNlLGc8G0inhOVMf6KZeB/e2s8pg1kx+ksVggT/g==}
+ resolution: {integrity: sha512-lpxmOy+tgPe/x9nejTlRrGlmD0Jc9zSIE5WW+bql70ZZspT8Ic+MsZ1dYCVcTjsTNW3D72v1cDoOxUt/ctHsbw==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
dependencies:
'@babel/core': 7.23.2
- '@fleetbase/ember-core': 0.2.1(@ember/[email protected])([email protected])([email protected])
+ '@fleetbase/ember-core': 0.2.3(@ember/[email protected])([email protected])([email protected])
'@fleetbase/fleetops-data': 0.1.8
'@fleetbase/leaflet-routing-machine': 3.2.16
@@ -2848,7 +2848,7 @@ packages:
ember-engines: ^0.9.0
dependencies:
'@babel/core': 7.23.2
- '@fleetbase/ember-core': 0.2.1(@ember/[email protected])([email protected])([email protected])
+ '@fleetbase/ember-core': 0.2.3(@ember/[email protected])([email protected])([email protected])
'@fortawesome/ember-fontawesome': 0.4.1([email protected])
'@fortawesome/fontawesome-svg-core': 6.4.0
@@ -2900,14 +2900,14 @@ packages:
osrm-text-instructions: 0.13.4
dev: false
- resolution: {integrity: sha512-DE5dPh7eQZNp2NO2+4Fm1lafIejKCUlmo3OgoscDjEipjdfdNuHlI/ueA4F+qd5iFbf3NBFSOcwq5sFB1xWTVQ==}
+ resolution: {integrity: sha512-LQTDmzHPNHQPtuB1wY6N0dnPlAaDwmeJRu5X0OngruEgJ2E3Ktp1/4e1gK5lQ1V2JdoAxaqpOQkdYbWqeulnKg==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
dependencies:
'@babel/core': 7.23.2
- '@fleetbase/ember-core': 0.2.1(@ember/[email protected])([email protected])([email protected])
+ '@fleetbase/ember-core': 0.2.3(@ember/[email protected])([email protected])([email protected])
'@fleetbase/fleetops-data': 0.1.8
'@fortawesome/ember-fontawesome': 0.4.1([email protected])
@@ -8658,8 +8658,8 @@ packages:
- supports-color
dev: false
- resolution: {integrity: sha512-SrC147cA726m1ho00PVtYqEz7xib4+0JJQbN6A2E3Dvrv2JnmwBK7Oexslu3GkHLvTGwry2bzQ0ySFSz2RObBw==}
+ resolution: {integrity: sha512-EPvxH/27mIzrX/EEgng+FG6HD0ri/God9OH/9mhmgPSXrgMNq/614Z3NMnooM4QKIEBAvr0p+p1UL2DgrTTMNg==}
engines: {node: 12.* || 14.* || >= 16}
dependencies:
blob-polyfill: 7.0.20220408
@@ -8670,7 +8670,9 @@ packages:
ember-cli-string-utils: 1.1.0
ember-cli-version-checker: 5.1.2
ember-copy: 2.0.1
+ ember-destroyable-polyfill: 2.0.3(@babel/[email protected])
transitivePeerDependencies:
+ - '@babel/core'
- supports-color
dev: false
diff --git a/console/router.map.js b/console/router.map.js
index eeb7e69c..131bfa0b 100644
--- a/console/router.map.js
+++ b/console/router.map.js
@@ -50,8 +50,9 @@ Router.map(function () {
this.route('two-fa-settings');
this.route('virtual', { path: '/:slug/:view' });
this.route('organizations', function () {
- this.route('index', { path: '/' });
- this.route('users', { path: '/:company_id' });
+ this.route('index', { path: '/' }, function () {
+ this.route('users', { path: '/:public_id/users' });
+ });
});
});
});
diff --git a/console/translations/en-us.yaml b/console/translations/en-us.yaml
index 0749a1e4..664e5b5f 100644
--- a/console/translations/en-us.yaml
+++ b/console/translations/en-us.yaml
@@ -35,6 +35,7 @@ common:
notification-channels: Notification Channels
notifications: Notifications
organization: Organization
+ organizations: Organizations
overview: Overview
phone: Your phone number
profile: Profile
diff --git a/packages/core-api b/packages/core-api
index bb8d96ea..c98e08a2 160000
--- a/packages/core-api
+++ b/packages/core-api
@@ -1 +1 @@
-Subproject commit bb8d96ea39daf487bae03bfccf769a35a045ed6f
+Subproject commit c98e08a257d8dc480abfc5c2f48e62a7539c0dff
diff --git a/packages/fleetops b/packages/fleetops
index b72f1e6e..3cb247bb 160000
--- a/packages/fleetops
+++ b/packages/fleetops
@@ -1 +1 @@
-Subproject commit b72f1e6e6aa52c726249e7c04782a8c5a911cfa3
+Subproject commit 3cb247bba476f01d7b0a16818c07a3fbdc2619d6
diff --git a/packages/storefront b/packages/storefront
index 246f91be..0f072d51 160000
--- a/packages/storefront
+++ b/packages/storefront
@@ -1 +1 @@
-Subproject commit 246f91be90146e8bce3f66e0e57c9a3b2ff7b5db
+Subproject commit 0f072d511ec70146d8ad173f61e47c226da599f2