Skip to content

Modular logistics and supply chain operating system (LSOS)

Stability and Optimization Patches + New Console Commands to fix Legacy data

Ronald A. Richardsonda6e8e79ba4c
diff --git a/api/composer.json b/api/composer.json
index d27b6cef..44a316fa 100644
--- a/api/composer.json
+++ b/api/composer.json
@@ -9,8 +9,8 @@
"license": "AGPL-3.0-or-later",
"require": {
"php": "^8.0",
- "fleetbase/core-api": "^1.5.19",
- "fleetbase/fleetops-api": "^0.5.13",
+ "fleetbase/core-api": "^1.5.20",
+ "fleetbase/fleetops-api": "^0.5.14",
"fleetbase/registry-bridge": "^0.0.18",
"fleetbase/storefront-api": "^0.3.17",
"guzzlehttp/guzzle": "^7.0.1",
@@ -37,10 +37,6 @@
"phpunit/phpunit": "^10.0"
},
"repositories": [
- {
- "type": "vcs",
- "url": "https://github.com/fleetbase/laravel-model-caching"
- },
{
"type": "composer",
"url": "https://registry.fleetbase.io"
diff --git a/api/composer.lock b/api/composer.lock
index bde40957..ae057b45 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": "ea317c88231ac9133c831612e8b1ab67",
+ "content-hash": "46fec5615db15e22e7bb5e7ac398e37f",
"packages": [
{
"name": "aws/aws-crt-php",
@@ -62,16 +62,16 @@
},
{
"name": "aws/aws-sdk-php",
- "version": "3.325.3",
+ "version": "3.325.5",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
- "reference": "de0b289c7260fb19301ffa2eb724de2076daad74"
+ "reference": "195d003c902a741de53008c839cbcebddbe1f326"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/de0b289c7260fb19301ffa2eb724de2076daad74",
- "reference": "de0b289c7260fb19301ffa2eb724de2076daad74",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/195d003c902a741de53008c839cbcebddbe1f326",
+ "reference": "195d003c902a741de53008c839cbcebddbe1f326",
"shasum": ""
},
"require": {
@@ -154,9 +154,9 @@
"support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues",
- "source": "https://github.com/aws/aws-sdk-php/tree/3.325.3"
+ "source": "https://github.com/aws/aws-sdk-php/tree/3.325.5"
},
- "time": "2024-11-06T19:05:22+00:00"
+ "time": "2024-11-08T19:12:57+00:00"
},
{
"name": "aws/aws-sdk-php-laravel",
@@ -2299,16 +2299,16 @@
},
{
"name": "fleetbase/core-api",
- "version": "1.5.19",
+ "version": "1.5.20",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
- "reference": "71c27a5bdd2bf9f7ef2aea7578c1751db0e1103e"
+ "reference": "8a99eda59abc3a4ee39440475eabd46c293e2ab6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/core-api/zipball/71c27a5bdd2bf9f7ef2aea7578c1751db0e1103e",
- "reference": "71c27a5bdd2bf9f7ef2aea7578c1751db0e1103e",
+ "url": "https://api.github.com/repos/fleetbase/core-api/zipball/8a99eda59abc3a4ee39440475eabd46c293e2ab6",
+ "reference": "8a99eda59abc3a4ee39440475eabd46c293e2ab6",
"shasum": ""
},
"require": {
@@ -2390,22 +2390,22 @@
],
"support": {
"issues": "https://github.com/fleetbase/core-api/issues",
- "source": "https://github.com/fleetbase/core-api/tree/v1.5.19"
+ "source": "https://github.com/fleetbase/core-api/tree/v1.5.20"
},
- "time": "2024-11-07T09:41:07+00:00"
+ "time": "2024-11-09T06:01:44+00:00"
},
{
"name": "fleetbase/fleetops-api",
- "version": "0.5.13",
+ "version": "0.5.14",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/fleetops.git",
- "reference": "ffdccb90cd6b9468dfad1c4475190855c51dd8d8"
+ "reference": "d84cfb9ae2086022b11979d14e1c2c04b0e74e22"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/ffdccb90cd6b9468dfad1c4475190855c51dd8d8",
- "reference": "ffdccb90cd6b9468dfad1c4475190855c51dd8d8",
+ "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/d84cfb9ae2086022b11979d14e1c2c04b0e74e22",
+ "reference": "d84cfb9ae2086022b11979d14e1c2c04b0e74e22",
"shasum": ""
},
"require": {
@@ -2479,9 +2479,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/fleetops/issues",
- "source": "https://github.com/fleetbase/fleetops/tree/v0.5.13"
+ "source": "https://github.com/fleetbase/fleetops/tree/v0.5.14"
},
- "time": "2024-11-07T10:16:12+00:00"
+ "time": "2024-11-09T06:02:57+00:00"
},
{
"name": "fleetbase/laravel-mysql-spatial",
@@ -3392,23 +3392,23 @@
},
{
"name": "google/auth",
- "version": "v1.42.0",
+ "version": "v1.43.0",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-auth-library-php.git",
- "reference": "0c25599a91530b5847f129b271c536f75a7563f5"
+ "reference": "b6a80acd906492086db59aada9196dcfb9c512fe"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/0c25599a91530b5847f129b271c536f75a7563f5",
- "reference": "0c25599a91530b5847f129b271c536f75a7563f5",
+ "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/b6a80acd906492086db59aada9196dcfb9c512fe",
+ "reference": "b6a80acd906492086db59aada9196dcfb9c512fe",
"shasum": ""
},
"require": {
"firebase/php-jwt": "^6.0",
"guzzlehttp/guzzle": "^7.4.5",
"guzzlehttp/psr7": "^2.4.5",
- "php": "^8.0",
+ "php": "^8.1",
"psr/cache": "^2.0||^3.0",
"psr/http-message": "^1.1||^2.0"
},
@@ -3446,9 +3446,9 @@
"support": {
"docs": "https://googleapis.github.io/google-auth-library-php/main/",
"issues": "https://github.com/googleapis/google-auth-library-php/issues",
- "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.42.0"
+ "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.43.0"
},
- "time": "2024-08-26T18:33:48+00:00"
+ "time": "2024-11-07T19:35:20+00:00"
},
{
"name": "google/cloud-core",
@@ -5884,16 +5884,16 @@
},
{
"name": "lcobucci/jwt",
- "version": "5.4.1",
+ "version": "5.4.2",
"source": {
"type": "git",
"url": "https://github.com/lcobucci/jwt.git",
- "reference": "848815d2287abd5d3c285482f8e1f501b289a2e7"
+ "reference": "ea1ce71cbf9741e445a5914e2f67cdbb484ff712"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/lcobucci/jwt/zipball/848815d2287abd5d3c285482f8e1f501b289a2e7",
- "reference": "848815d2287abd5d3c285482f8e1f501b289a2e7",
+ "url": "https://api.github.com/repos/lcobucci/jwt/zipball/ea1ce71cbf9741e445a5914e2f67cdbb484ff712",
+ "reference": "ea1ce71cbf9741e445a5914e2f67cdbb484ff712",
"shasum": ""
},
"require": {
@@ -5941,7 +5941,7 @@
],
"support": {
"issues": "https://github.com/lcobucci/jwt/issues",
- "source": "https://github.com/lcobucci/jwt/tree/5.4.1"
+ "source": "https://github.com/lcobucci/jwt/tree/5.4.2"
},
"funding": [
{
@@ -5953,7 +5953,7 @@
"type": "patreon"
}
],
- "time": "2024-11-06T06:16:04+00:00"
+ "time": "2024-11-07T12:54:35+00:00"
},
{
"name": "league/commonmark",
@@ -10841,16 +10841,16 @@
},
{
"name": "spatie/laravel-permission",
- "version": "6.10.0",
+ "version": "6.10.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-permission.git",
- "reference": "2444bb914a52c570c00ae8c94e096a58e01b2317"
+ "reference": "8bb69d6d67387f7a00d93a2f5fab98860f06e704"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/2444bb914a52c570c00ae8c94e096a58e01b2317",
- "reference": "2444bb914a52c570c00ae8c94e096a58e01b2317",
+ "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/8bb69d6d67387f7a00d93a2f5fab98860f06e704",
+ "reference": "8bb69d6d67387f7a00d93a2f5fab98860f06e704",
"shasum": ""
},
"require": {
@@ -10912,7 +10912,7 @@
],
"support": {
"issues": "https://github.com/spatie/laravel-permission/issues",
- "source": "https://github.com/spatie/laravel-permission/tree/6.10.0"
+ "source": "https://github.com/spatie/laravel-permission/tree/6.10.1"
},
"funding": [
{
@@ -10920,7 +10920,7 @@
"type": "github"
}
],
- "time": "2024-11-05T17:30:49+00:00"
+ "time": "2024-11-08T18:45:41+00:00"
},
{
"name": "spatie/laravel-responsecache",
@@ -15729,16 +15729,16 @@
},
{
"name": "myclabs/deep-copy",
- "version": "1.12.0",
+ "version": "1.12.1",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c"
+ "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
- "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845",
+ "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845",
"shasum": ""
},
"require": {
@@ -15777,7 +15777,7 @@
],
"support": {
"issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0"
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1"
},
"funding": [
{
@@ -15785,7 +15785,7 @@
"type": "tidelift"
}
],
- "time": "2024-06-12T14:39:25+00:00"
+ "time": "2024-11-08T17:47:46+00:00"
},
{
"name": "myclabs/php-enum",
diff --git a/console/app/controllers/auth/reset-password.js b/console/app/controllers/auth/reset-password.js
index 19382dba..3fa4ed99 100644
--- a/console/app/controllers/auth/reset-password.js
+++ b/console/app/controllers/auth/reset-password.js
@@ -4,32 +4,9 @@ import { tracked } from '@glimmer/tracking';
import { task } from 'ember-concurrency';
export default class AuthResetPasswordController extends Controller {
- /**
- * Inject the `fetch` service
- *
- * @memberof AuthResetPasswordController
- */
@service fetch;
-
- /**
- * Inject the `notifications` service
- *
- * @memberof AuthResetPasswordController
- */
@service notifications;
-
- /**
- * Inject the `router` service
- *
- * @memberof AuthResetPasswordController
- */
@service router;
-
- /**
- * Inject the `intl` service
- *
- * @memberof AuthResetPasswordController
- */
@service intl;
/**
diff --git a/console/app/controllers/auth/verification.js b/console/app/controllers/auth/verification.js
index a44b2b1d..b67abafb 100644
--- a/console/app/controllers/auth/verification.js
+++ b/console/app/controllers/auth/verification.js
@@ -4,6 +4,7 @@ import { tracked } from '@glimmer/tracking';
import { action } from '@ember/object';
import { later } from '@ember/runloop';
import { not } from '@ember/object/computed';
+import { task } from 'ember-concurrency';
export default class AuthVerificationController extends Controller {
@service fetch;
diff --git a/console/app/routes/auth/forgot-password.js b/console/app/routes/auth/forgot-password.js
index 10bd6f42..51dac9a7 100644
--- a/console/app/routes/auth/forgot-password.js
+++ b/console/app/routes/auth/forgot-password.js
@@ -1,16 +1,9 @@
import Route from '@ember/routing/route';
-import { inject as service } from '@ember/service';
export default class AuthForgotPasswordRoute extends Route {
- @service store;
-
queryParams = {
email: {
refreshModel: false,
},
};
-
- model() {
- return this.store.findRecord('brand', 1);
- }
}
diff --git a/console/app/templates/auth/forgot-password.hbs b/console/app/templates/auth/forgot-password.hbs
index 2b6dee95..b1af1fdc 100644
--- a/console/app/templates/auth/forgot-password.hbs
+++ b/console/app/templates/auth/forgot-password.hbs
@@ -1,7 +1,7 @@
<div class="bg-white dark:bg-gray-800 py-8 px-4 shadow rounded-lg">
<div class="mb-4">
<LinkTo @route="console" class="flex items-center justify-center">
- <LogoIcon @brand={{@brand}} @size="12" class="rounded-md" />
+ <LogoIcon @size="12" class="rounded-md" />
</LinkTo>
<h2 class="text-center text-lg font-extrabold text-gray-900 dark:text-white truncate">
{{if this.isSent (t "auth.forgot-password.is-sent.title") (t "auth.forgot-password.not-sent.title")}}
@@ -9,26 +9,20 @@
</div>
{{#if this.isSent}}
- <div class="flex px-3 py-2 mb-4 rounded-md shadow-sm bg-green-200">
- <div>
- <FaIcon @icon="check-circle" @size="lg" class="text-green-900 mr-4" />
- </div>
- <p class="flex-1 text-sm text-green-900 dark:text-green-900">
+ <InfoBlock @type="success" @icon="info-circle" @iconSize="lg" @iconClass="mt-1" class="my-6">
+ <p>
{{t "auth.forgot-password.is-sent.message" htmlSafe=true}}
</p>
- </div>
- <div class="flex flex-row mt-4">
+ </InfoBlock>
+ <div class="flex flex-row">
<Button @icon="check" @type="primary" @text={{t "common.continue"}} @onClick={{transition-to "auth.login"}} />
</div>
{{else}}
- <div class="flex px-3 py-2 mb-6 rounded-md shadow-sm bg-blue-200">
- <div>
- <FaIcon @icon="info-circle" @size="lg" class="text-blue-900 mr-4" />
- </div>
- <p class="flex-1 text-sm text-blue-900 dark:text-blue-900">
+ <InfoBlock @icon="info-circle" @iconSize="lg" @iconClass="mt-1" class="my-6">
+ <p>
{{t "auth.forgot-password.not-sent.message" htmlSafe=true appName=(t "app.name")}}
</p>
- </div>
+ </InfoBlock>
<form class="space-y-6" {{on "submit" (perform this.sendSecureLink)}}>
<div>
diff --git a/console/package.json b/console/package.json
index c62188b9..e082e3a1 100644
--- a/console/package.json
+++ b/console/package.json
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/console",
- "version": "0.5.17",
+ "version": "0.5.18",
"private": true,
"description": "Modular logistics and supply chain operating system (LSOS)",
"repository": "https://github.com/fleetbase/fleetbase",
@@ -33,7 +33,7 @@
"@fleetbase/ember-core": "latest",
"@fleetbase/ember-ui": "latest",
"@fleetbase/fleetops-data": "latest",
- "@fleetbase/fleetops-engine": "^0.5.13",
+ "@fleetbase/fleetops-engine": "^0.5.14",
"@fleetbase/iam-engine": "^0.1.3",
"@fleetbase/leaflet-routing-machine": "^3.2.16",
"@fleetbase/registry-bridge-engine": "^0.0.18",
diff --git a/console/pnpm-lock.yaml b/console/pnpm-lock.yaml
index 0708f30a..4aa5c2a8 100644
--- a/console/pnpm-lock.yaml
+++ b/console/pnpm-lock.yaml
@@ -29,8 +29,8 @@ importers:
specifier: latest
'@fleetbase/fleetops-engine':
- specifier: ^0.5.13
+ specifier: ^0.5.14
'@fleetbase/iam-engine':
specifier: ^0.1.3
@@ -1558,8 +1558,8 @@ packages:
resolution: {integrity: sha512-SBiL992igloYgEGMbUX65uW95nv8k32u2QSoqVm7HrWfhCwMEeHubEOA916otDkBalkHNSE6QgWigaJDMNnW4A==}
engines: {node: '>= 18'}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-QGNGwtOT+h/x99mVM5sDdButoUeBmd3OuYx0x0VEvkVTYzgZArjE6T7lzhi1sQofO4/NS9iz3zkCM0VPmcsiLw==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-w0SOBDWOxzUk1BUPiQ6eHag6PHckwemz3sOiRHvgbDIFUTOHlFZG0UCQ1Exaf0fHtT2uh3CE4bqQxCTAU+5gYg==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -10617,7 +10617,7 @@ snapshots:
- utf-8-validate
- webpack
dependencies:
'@babel/core': 7.25.7
diff --git a/packages/core-api b/packages/core-api
index 71c27a5b..8a99eda5 160000
--- a/packages/core-api
+++ b/packages/core-api
@@ -1 +1 @@
-Subproject commit 71c27a5bdd2bf9f7ef2aea7578c1751db0e1103e
+Subproject commit 8a99eda59abc3a4ee39440475eabd46c293e2ab6
diff --git a/packages/fleetops b/packages/fleetops
index ffdccb90..d84cfb9a 160000
--- a/packages/fleetops
+++ b/packages/fleetops
@@ -1 +1 @@
-Subproject commit ffdccb90cd6b9468dfad1c4475190855c51dd8d8
+Subproject commit d84cfb9ae2086022b11979d14e1c2c04b0e74e22