Skip to content

Modular logistics and supply chain operating system (LSOS)

v0.7.52

Ronald A. Richardson705276d8b7ce
diff --git a/RELEASE.md b/RELEASE.md
index 7757881b..857f1c51 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -1,39 +1,70 @@
-> v0.7.51 ~ "AI prompt availability and DateTimeInput stability"
+> v0.7.52 ~ "Platform hardening, backend coverage, Taler lifecycle, and secure account updates"
---
## Highlights
-Fleetbase `0.7.51` is a focused stability release for Fleetbase AI runtime access and shared date-time input editing. This release updates Fleetbase Console `0.7.51`, AI `0.0.2`, and Ember UI `0.3.41`.
+Fleetbase `0.7.52` focuses on platform quality, security hardening, backend coverage, and payment/account workflow reliability. This release updates Fleetbase Console `0.7.52`, AI `0.0.3`, Storefront `0.4.17`, Fleet-Ops `0.6.58`, Ledger `0.0.8`, Core API `1.6.54`, and IAM Engine `0.1.11`.
---
## Component Versions
-- `console`: `0.7.51`
-- `ai`: `0.0.2`
-- `ember-ui`: `0.3.41`
+- `console`: `0.7.52`
+- `ai`: `0.0.3`
+- `storefront`: `0.4.17`
+- `fleetops`: `0.6.58`
+- `ledger`: `0.0.8`
+- `core-api`: `1.6.54`
+- `iam-engine`: `0.1.11`
---
-## Fleetbase AI
-- Added a non-admin runtime status endpoint so authenticated users can see and use the AI prompt when Fleetbase AI is enabled.
-- Kept provider configuration and admin metadata behind the existing admin-only config endpoint.
-- Added server-side guards so disabled AI blocks task creation, preview, and apply requests.
-- Updated the AI header tray button and AI service to use the runtime availability flow.
+## Platform Quality and Coverage
+- Added backend coverage baseline tooling, Pest runners, coverage summaries, and CI coverage reporting across AI, Storefront, Fleet-Ops, Core API, and Ledger.
+- Restored and stabilized backend package test harnesses, including custom vendor-path support, package bootstrapping, and CI runner fixes.
+- Added focused coverage for reporting contracts, resource shapes, validation behavior, support helpers, route helpers, currency behavior, tracking, telematics, and exports.
+- Updated Console localization content for this release.
---
-## Shared UI
-- Fixed `DateTimeInput` controlled editing so schedule fields do not reset while users type or select values.
-- Preserved ISO datetime string hydration for initial values.
-- Stopped emitting null callbacks for incomplete native date/time input states.
-- Added focused regression coverage for the DateTimeInput editing flow.
+## Core API Hardening
+- Added security advisory fixes for tenant-scoped internal endpoints, generic user access, template query execution, and platform-token-protected organization access.
+- Added organization name search and improved organization API protection.
+- Fixed public ID generation collisions and dynamic request resolution.
+- Improved SMPP configuration diagnostics and environment mapping.
+- Widened transaction settled currency support for settlement-related workflows.
+
+---
+## Ledger and Taler
+- Completed the GNU Taler payment gateway lifecycle with tenant-safe webhook routing, hosted sandbox defaults, diagnostics, webhook provisioning, settlement verification, and richer refund metadata.
+- Added gateway lifecycle fields for reconciliation, refund status, wallet refund state, settlement metadata, and raw Taler details.
+- Added invoice refund workflows, refund confirmation, reversal handling, and refund result UI.
+- Revamped Ledger payment gateway management with gateway catalog cards, diagnostics, setup, webhooks, details, and provider status surfaces.
+- Added Taler sandbox and settlement console commands plus focused driver, webhook, lifecycle, diagnostics, and refund coverage.
+
+---
+## Fleet-Ops and Storefront
+- Restored Fleet-Ops backend coverage and package test tooling for the `0.6.58` release.
+- Removed the organizations listing API endpoint from the Fleet-Ops release branch.
+- Stabilized Fleet-Ops backend tests around analytics, tracking, live queries, telematics, service rates, service areas, and assignment contracts.
+- Added Storefront backend coverage tooling, corrected backend PHPUnit paths, and refreshed checkout/order resource tests.
+
+---
+## IAM
+- Added a secure user email-change flow with a dedicated modal, controller wiring, confirmation copy, and translated UI strings.
+- Updated IAM dependency overrides and workspace metadata for the release.
---
## Bug Fixes
-- Fixed Fleetbase AI prompt availability for non-admin authenticated users when AI is enabled.
-- Fixed disabled AI allowing task creation, preview, or apply requests.
-- Fixed DateTimeInput resync behavior that could clear order schedule inputs during editing.
+- Fixed tenant-scoped access gaps in internal Core API endpoints.
+- Fixed Core API public ID collision handling.
+- Fixed Core API template query and report export formatting paths.
+- Fixed Ledger refund reversal handling and gateway route assertions.
+- Fixed Storefront checkout/order resource test contracts.
+- Fixed IAM change-email flow copy and form behavior.
---
## API Changes
-- Added a Fleetbase AI runtime status endpoint for authenticated users.
-- Added disabled-AI guards to AI task creation, preview, and apply endpoints.
+- Added Core API platform-token protection for trusted organization access.
+- Hardened Core API internal endpoint scoping and template query execution.
+- Removed the Fleet-Ops organizations listing API endpoint from the release branch.
+- Added Ledger Taler gateway diagnostics, webhook provisioning, settlement verification, refund workflow, and gateway transaction lifecycle fields.
+- Added IAM secure email-change flow support.
---
## Upgrade Steps
diff --git a/api/composer.json b/api/composer.json
index 31b17c84..a16084bb 100644
--- a/api/composer.json
+++ b/api/composer.json
@@ -18,15 +18,15 @@
}
],
"require": {
- "php": ">=8.0 <=8.2.31",
+ "php": ">=8.0 <=8.2.32",
"appstract/laravel-opcache": "^4.0",
- "fleetbase/core-api": "^1.6.53",
- "fleetbase/ai": "^0.0.2",
- "fleetbase/fleetops-api": "^0.6.57",
+ "fleetbase/core-api": "^1.6.54",
+ "fleetbase/ai": "^0.0.3",
+ "fleetbase/fleetops-api": "^0.6.58",
"fleetbase/registry-bridge": "^0.1.9",
"fleetbase/customer-portal-api": "^0.0.12",
- "fleetbase/storefront-api": "^0.4.16",
- "fleetbase/ledger-api": "^0.0.7",
+ "fleetbase/storefront-api": "^0.4.17",
+ "fleetbase/ledger-api": "^0.0.8",
"fleetbase/valhalla-api": "^0.0.4",
"fleetbase/vroom-api": "^0.0.4",
"guzzlehttp/guzzle": "^7.0.1",
diff --git a/api/composer.lock b/api/composer.lock
index b233acd2..636375b4 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": "ebe4fe577b90bcab7df30ca3a70e3c9e",
+ "content-hash": "9a942ea0dc2df85c658fc8ee4753eb76",
"packages": [
{
"name": "appstract/laravel-opcache",
@@ -124,16 +124,16 @@
},
{
"name": "aws/aws-sdk-php",
- "version": "3.387.1",
+ "version": "3.388.8",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
- "reference": "2e1a16e9c87f2a069aa8a0a14a314dd148de21e1"
+ "reference": "ff7499bfa2b987c8fbae495fe0e851cfdde6172f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2e1a16e9c87f2a069aa8a0a14a314dd148de21e1",
- "reference": "2e1a16e9c87f2a069aa8a0a14a314dd148de21e1",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/ff7499bfa2b987c8fbae495fe0e851cfdde6172f",
+ "reference": "ff7499bfa2b987c8fbae495fe0e851cfdde6172f",
"shasum": ""
},
"require": {
@@ -215,9 +215,9 @@
"support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues",
- "source": "https://github.com/aws/aws-sdk-php/tree/3.387.1"
+ "source": "https://github.com/aws/aws-sdk-php/tree/3.388.8"
},
- "time": "2026-07-01T18:10:42+00:00"
+ "time": "2026-07-16T18:07:15+00:00"
},
{
"name": "aws/aws-sdk-php-laravel",
@@ -2155,16 +2155,16 @@
},
{
"name": "fleetbase/ai",
- "version": "0.0.2",
+ "version": "0.0.3",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/ai.git",
- "reference": "9be5bc31cec79d965e6586da9f3385b7bfa4a89e"
+ "reference": "1738e40490542cb75ab9dbe644c7c769a0996980"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/ai/zipball/9be5bc31cec79d965e6586da9f3385b7bfa4a89e",
- "reference": "9be5bc31cec79d965e6586da9f3385b7bfa4a89e",
+ "url": "https://api.github.com/repos/fleetbase/ai/zipball/1738e40490542cb75ab9dbe644c7c769a0996980",
+ "reference": "1738e40490542cb75ab9dbe644c7c769a0996980",
"shasum": ""
},
"require": {
@@ -2215,22 +2215,22 @@
],
"support": {
"issues": "https://github.com/fleetbase/ai/issues",
- "source": "https://github.com/fleetbase/ai/tree/v0.0.2"
+ "source": "https://github.com/fleetbase/ai/tree/v0.0.3"
},
- "time": "2026-07-02T06:59:41+00:00"
+ "time": "2026-07-17T08:44:12+00:00"
},
{
"name": "fleetbase/core-api",
- "version": "1.6.53",
+ "version": "1.6.54",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
- "reference": "cc1981e6472d3662b954c3a2d1d5c5747e18fc21"
+ "reference": "b024182813515b9561647b53f8786151656fbe4f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/core-api/zipball/cc1981e6472d3662b954c3a2d1d5c5747e18fc21",
- "reference": "cc1981e6472d3662b954c3a2d1d5c5747e18fc21",
+ "url": "https://api.github.com/repos/fleetbase/core-api/zipball/b024182813515b9561647b53f8786151656fbe4f",
+ "reference": "b024182813515b9561647b53f8786151656fbe4f",
"shasum": ""
},
"require": {
@@ -2277,7 +2277,7 @@
"xantios/mimey": "^2.2.0"
},
"require-dev": {
- "friendsofphp/php-cs-fixer": "^3.34.1",
+ "friendsofphp/php-cs-fixer": "3.82.2",
"nunomaduro/collision": "^7.0",
"pestphp/pest": "^2.33.2",
"phpstan/phpstan": "^1.10.38",
@@ -2320,9 +2320,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/core-api/issues",
- "source": "https://github.com/fleetbase/core-api/tree/v1.6.53"
+ "source": "https://github.com/fleetbase/core-api/tree/v1.6.54"
},
- "time": "2026-06-23T15:27:08+00:00"
+ "time": "2026-07-17T09:10:47+00:00"
},
{
"name": "fleetbase/countries",
@@ -2460,16 +2460,16 @@
},
{
"name": "fleetbase/fleetops-api",
- "version": "0.6.57",
+ "version": "0.6.58",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/fleetops.git",
- "reference": "e59e9250b99a0cf4d79608c1ef933c817a7bb9a0"
+ "reference": "df0ed096c152a753daa39198bf73aaaba991af7f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/e59e9250b99a0cf4d79608c1ef933c817a7bb9a0",
- "reference": "e59e9250b99a0cf4d79608c1ef933c817a7bb9a0",
+ "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/df0ed096c152a753daa39198bf73aaaba991af7f",
+ "reference": "df0ed096c152a753daa39198bf73aaaba991af7f",
"shasum": ""
},
"require": {
@@ -2546,9 +2546,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/fleetops/issues",
- "source": "https://github.com/fleetbase/fleetops/tree/v0.6.57"
+ "source": "https://github.com/fleetbase/fleetops/tree/v0.6.58"
},
- "time": "2026-07-01T08:01:52+00:00"
+ "time": "2026-07-17T09:15:20+00:00"
},
{
"name": "fleetbase/laravel-mysql-spatial",
@@ -2618,16 +2618,16 @@
},
{
"name": "fleetbase/ledger-api",
- "version": "0.0.7",
+ "version": "0.0.8",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/ledger.git",
- "reference": "98cdb605888ba514b206e00171ca8bd265dcdc1d"
+ "reference": "9e7ddbcfc32514ba47810b7e91ec9ebcd872beb4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/ledger/zipball/98cdb605888ba514b206e00171ca8bd265dcdc1d",
- "reference": "98cdb605888ba514b206e00171ca8bd265dcdc1d",
+ "url": "https://api.github.com/repos/fleetbase/ledger/zipball/9e7ddbcfc32514ba47810b7e91ec9ebcd872beb4",
+ "reference": "9e7ddbcfc32514ba47810b7e91ec9ebcd872beb4",
"shasum": ""
},
"require": {
@@ -2690,9 +2690,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/ledger/issues",
- "source": "https://github.com/fleetbase/ledger/tree/v0.0.7"
+ "source": "https://github.com/fleetbase/ledger/tree/v0.0.8"
},
- "time": "2026-07-01T07:57:53+00:00"
+ "time": "2026-07-17T09:13:20+00:00"
},
{
"name": "fleetbase/registry-bridge",
@@ -2778,16 +2778,16 @@
},
{
"name": "fleetbase/storefront-api",
- "version": "0.4.16",
+ "version": "0.4.17",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/storefront.git",
- "reference": "912fca2b2d2d60c1365685b6ef99d45c3ca00878"
+ "reference": "86b61de21cd79d4b28e0cffaae4cb8c0e5ba7924"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/storefront/zipball/912fca2b2d2d60c1365685b6ef99d45c3ca00878",
- "reference": "912fca2b2d2d60c1365685b6ef99d45c3ca00878",
+ "url": "https://api.github.com/repos/fleetbase/storefront/zipball/86b61de21cd79d4b28e0cffaae4cb8c0e5ba7924",
+ "reference": "86b61de21cd79d4b28e0cffaae4cb8c0e5ba7924",
"shasum": ""
},
"require": {
@@ -2855,9 +2855,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/storefront/issues",
- "source": "https://github.com/fleetbase/storefront/tree/v0.4.16"
+ "source": "https://github.com/fleetbase/storefront/tree/v0.4.17"
},
- "time": "2026-06-12T11:24:08+00:00"
+ "time": "2026-07-17T09:14:36+00:00"
},
{
"name": "fleetbase/twilio",
@@ -3737,16 +3737,16 @@
},
{
"name": "google/apiclient-services",
- "version": "v0.448.0",
+ "version": "v0.450.0",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-api-php-client-services.git",
- "reference": "00c3d6814497ec09eaf29af42102455a85338507"
+ "reference": "4e5ffe870815596a1ab07cec9a4d87a073f2bedf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/00c3d6814497ec09eaf29af42102455a85338507",
- "reference": "00c3d6814497ec09eaf29af42102455a85338507",
+ "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/4e5ffe870815596a1ab07cec9a4d87a073f2bedf",
+ "reference": "4e5ffe870815596a1ab07cec9a4d87a073f2bedf",
"shasum": ""
},
"require": {
@@ -3775,9 +3775,9 @@
],
"support": {
"issues": "https://github.com/googleapis/google-api-php-client-services/issues",
- "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.448.0"
+ "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.450.0"
},
- "time": "2026-06-28T01:44:38+00:00"
+ "time": "2026-07-13T01:20:31+00:00"
},
{
"name": "google/auth",
@@ -3843,16 +3843,16 @@
},
{
"name": "google/cloud-core",
- "version": "v1.72.3",
+ "version": "v1.72.4",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-cloud-php-core.git",
- "reference": "2be1708d7a1f425551ec420e96f17cdbd0962497"
+ "reference": "d46317d5a9e779189513f89bfc3e4e9364b5eaf2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/2be1708d7a1f425551ec420e96f17cdbd0962497",
- "reference": "2be1708d7a1f425551ec420e96f17cdbd0962497",
+ "url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/d46317d5a9e779189513f89bfc3e4e9364b5eaf2",
+ "reference": "d46317d5a9e779189513f89bfc3e4e9364b5eaf2",
"shasum": ""
},
"require": {
@@ -3904,9 +3904,9 @@
],
"description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
"support": {
- "source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.72.3"
+ "source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.72.4"
},
- "time": "2026-06-17T23:07:32+00:00"
+ "time": "2026-07-07T16:28:46+00:00"
},
{
"name": "google/cloud-storage",
@@ -4027,20 +4027,20 @@
},
{
"name": "google/gax",
- "version": "v1.43.2",
+ "version": "v1.44.0",
"source": {
"type": "git",
"url": "https://github.com/googleapis/gax-php.git",
- "reference": "274943381e30ec88aea9f486de27a11054ee27fb"
+ "reference": "71e861ac7dc992c5847388b0b91b35e3b30ae4fa"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/googleapis/gax-php/zipball/274943381e30ec88aea9f486de27a11054ee27fb",
- "reference": "274943381e30ec88aea9f486de27a11054ee27fb",
+ "url": "https://api.github.com/repos/googleapis/gax-php/zipball/71e861ac7dc992c5847388b0b91b35e3b30ae4fa",
+ "reference": "71e861ac7dc992c5847388b0b91b35e3b30ae4fa",
"shasum": ""
},
"require": {
- "google/auth": "^1.49",
+ "google/auth": "^1.52",
"google/common-protos": "^4.4",
"google/grpc-gcp": "^0.4",
"google/longrunning": "~0.4",
@@ -4085,9 +4085,9 @@
],
"support": {
"issues": "https://github.com/googleapis/gax-php/issues",
- "source": "https://github.com/googleapis/gax-php/tree/v1.43.2"
+ "source": "https://github.com/googleapis/gax-php/tree/v1.44.0"
},
- "time": "2026-06-17T23:07:32+00:00"
+ "time": "2026-07-07T16:28:46+00:00"
},
{
"name": "google/grpc-gcp",
@@ -4286,16 +4286,16 @@
},
{
"name": "grpc/grpc",
- "version": "1.81.0",
+ "version": "1.82.0",
"source": {
"type": "git",
"url": "https://github.com/grpc/grpc-php.git",
- "reference": "47046d6b2a6cc7e68806a287d6a1fee57e0c40da"
+ "reference": "be984cb608f21e96453b3cfe54c748cc7b192250"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/grpc/grpc-php/zipball/47046d6b2a6cc7e68806a287d6a1fee57e0c40da",
- "reference": "47046d6b2a6cc7e68806a287d6a1fee57e0c40da",
+ "url": "https://api.github.com/repos/grpc/grpc-php/zipball/be984cb608f21e96453b3cfe54c748cc7b192250",
+ "reference": "be984cb608f21e96453b3cfe54c748cc7b192250",
"shasum": ""
},
"require": {
@@ -4324,9 +4324,9 @@
"rpc"
],
"support": {
- "source": "https://github.com/grpc/grpc-php/tree/v1.81.0"
+ "source": "https://github.com/grpc/grpc-php/tree/v1.82.0"
},
- "time": "2026-05-20T09:30:50+00:00"
+ "time": "2026-07-03T09:39:53+00:00"
},
{
"name": "guzzlehttp/guzzle",
@@ -4458,16 +4458,16 @@
},
{
"name": "guzzlehttp/promises",
- "version": "2.5.0",
+ "version": "2.5.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "4360e982f87f5f258bf872d094647791db2f4c8e"
+ "reference": "9ad1e4fc607446a055b95870c7f668e93b5cff29"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/4360e982f87f5f258bf872d094647791db2f4c8e",
- "reference": "4360e982f87f5f258bf872d094647791db2f4c8e",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/9ad1e4fc607446a055b95870c7f668e93b5cff29",
+ "reference": "9ad1e4fc607446a055b95870c7f668e93b5cff29",
"shasum": ""
},
"require": {
@@ -4522,7 +4522,7 @@
],
"support": {
"issues": "https://github.com/guzzle/promises/issues",
- "source": "https://github.com/guzzle/promises/tree/2.5.0"
+ "source": "https://github.com/guzzle/promises/tree/2.5.1"
},
"funding": [
{
@@ -4538,20 +4538,20 @@
"type": "tidelift"
}
],
- "time": "2026-06-02T12:23:43+00:00"
+ "time": "2026-07-08T15:48:39+00:00"
},
{
"name": "guzzlehttp/psr7",
- "version": "2.12.3",
+ "version": "2.13.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "7ec62dc3f44aa218487dbed81a9bf9bc647be55d"
+ "reference": "dad89620b7a6edb60c15858442eb2e408b45d8f4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/7ec62dc3f44aa218487dbed81a9bf9bc647be55d",
- "reference": "7ec62dc3f44aa218487dbed81a9bf9bc647be55d",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/dad89620b7a6edb60c15858442eb2e408b45d8f4",
+ "reference": "dad89620b7a6edb60c15858442eb2e408b45d8f4",
"shasum": ""
},
"require": {
@@ -4641,7 +4641,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/2.12.3"
+ "source": "https://github.com/guzzle/psr7/tree/2.13.0"
},
"funding": [
{
@@ -4657,7 +4657,7 @@
"type": "tidelift"
}
],
- "time": "2026-06-23T15:21:08+00:00"
+ "time": "2026-07-16T22:23:49+00:00"
},
{
"name": "guzzlehttp/uri-template",
@@ -6834,16 +6834,16 @@
},
{
"name": "league/flysystem",
- "version": "3.35.1",
+ "version": "3.35.2",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
- "reference": "f23af6c5aafd958a7593029a271d77baf5ed793c"
+ "reference": "b277b5dc3d56650b68904117124e79c851e12376"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f23af6c5aafd958a7593029a271d77baf5ed793c",
- "reference": "f23af6c5aafd958a7593029a271d77baf5ed793c",
+ "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/b277b5dc3d56650b68904117124e79c851e12376",
+ "reference": "b277b5dc3d56650b68904117124e79c851e12376",
"shasum": ""
},
"require": {
@@ -6911,9 +6911,9 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem/issues",
- "source": "https://github.com/thephpleague/flysystem/tree/3.35.1"
+ "source": "https://github.com/thephpleague/flysystem/tree/3.35.2"
},
- "time": "2026-06-25T06:52:23+00:00"
+ "time": "2026-07-06T14:42:07+00:00"
},
{
"name": "league/flysystem-aws-s3-v3",
@@ -7147,16 +7147,16 @@
},
{
"name": "league/mime-type-detection",
- "version": "1.16.0",
+ "version": "1.17.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/mime-type-detection.git",
- "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9"
+ "reference": "f5f47eff7c48ed1003069a2ca67f316fb4021c76"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/2d6702ff215bf922936ccc1ad31007edc76451b9",
- "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9",
+ "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/f5f47eff7c48ed1003069a2ca67f316fb4021c76",
+ "reference": "f5f47eff7c48ed1003069a2ca67f316fb4021c76",
"shasum": ""
},
"require": {
@@ -7166,7 +7166,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2",
"phpstan/phpstan": "^0.12.68",
- "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0"
+ "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0 || ^11.0 || ^12.0"
},
"type": "library",
"autoload": {
@@ -7187,7 +7187,7 @@
"description": "Mime-type detection for Flysystem",
"support": {
"issues": "https://github.com/thephpleague/mime-type-detection/issues",
- "source": "https://github.com/thephpleague/mime-type-detection/tree/1.16.0"
+ "source": "https://github.com/thephpleague/mime-type-detection/tree/1.17.0"
},
"funding": [
{
@@ -7199,7 +7199,7 @@
"type": "tidelift"
}
],
- "time": "2024-09-21T08:32:55+00:00"
+ "time": "2026-07-09T11:49:27+00:00"
},
{
"name": "lorisleiva/cron-translator",
@@ -7910,16 +7910,16 @@
},
{
"name": "mtdowling/jmespath.php",
- "version": "2.9.1",
+ "version": "2.9.2",
"source": {
"type": "git",
"url": "https://github.com/jmespath/jmespath.php.git",
- "reference": "9c208ba27ae7d90853c288b3795d6702eb251d34"
+ "reference": "2157c5e50e813ec6a96c1eed3be7f64a20fb32a8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/9c208ba27ae7d90853c288b3795d6702eb251d34",
- "reference": "9c208ba27ae7d90853c288b3795d6702eb251d34",
+ "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/2157c5e50e813ec6a96c1eed3be7f64a20fb32a8",
+ "reference": "2157c5e50e813ec6a96c1eed3be7f64a20fb32a8",
"shasum": ""
},
"require": {
@@ -7970,9 +7970,9 @@
],
"support": {
"issues": "https://github.com/jmespath/jmespath.php/issues",
- "source": "https://github.com/jmespath/jmespath.php/tree/2.9.1"
+ "source": "https://github.com/jmespath/jmespath.php/tree/2.9.2"
},
- "time": "2026-06-11T10:43:56+00:00"
+ "time": "2026-07-06T18:56:19+00:00"
},
{
"name": "nesbot/carbon",
@@ -11270,16 +11270,16 @@
},
{
"name": "sentry/sentry-laravel",
- "version": "4.26.0",
+ "version": "4.27.0",
"source": {
"type": "git",
"url": "https://github.com/getsentry/sentry-laravel.git",
- "reference": "8f2cc669ee99d3cda31a89f0a18197fd2efbd1b6"
+ "reference": "caa0ff39805a2eb8c70c4535a1443d7421c5a5b8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/8f2cc669ee99d3cda31a89f0a18197fd2efbd1b6",
- "reference": "8f2cc669ee99d3cda31a89f0a18197fd2efbd1b6",
+ "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/caa0ff39805a2eb8c70c4535a1443d7421c5a5b8",
+ "reference": "caa0ff39805a2eb8c70c4535a1443d7421c5a5b8",
"shasum": ""
},
"require": {
@@ -11292,6 +11292,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.11",
"guzzlehttp/guzzle": "^7.2",
+ "laravel/ai": "^0.1.5",
"laravel/folio": "^1.1",
"laravel/framework": "^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 | ^11.0 | ^12.0 | ^13.0",
"laravel/octane": "^2.15",
@@ -11345,7 +11346,7 @@
],
"support": {
"issues": "https://github.com/getsentry/sentry-laravel/issues",
- "source": "https://github.com/getsentry/sentry-laravel/tree/4.26.0"
+ "source": "https://github.com/getsentry/sentry-laravel/tree/4.27.0"
},
"funding": [
{
@@ -11357,7 +11358,7 @@
"type": "custom"
}
],
- "time": "2026-06-11T13:22:14+00:00"
+ "time": "2026-07-15T14:47:03+00:00"
},
{
"name": "spatie/browsershot",
@@ -12241,41 +12242,40 @@
},
{
"name": "spomky-labs/pki-framework",
- "version": "1.4.2",
+ "version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/Spomky-Labs/pki-framework.git",
- "reference": "aa576cbd07128075bef97ac2f8af9854e67513d8"
+ "reference": "e0d61661962560c1cedfef02b51b431e720aae78"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Spomky-Labs/pki-framework/zipball/aa576cbd07128075bef97ac2f8af9854e67513d8",
- "reference": "aa576cbd07128075bef97ac2f8af9854e67513d8",
+ "url": "https://api.github.com/repos/Spomky-Labs/pki-framework/zipball/e0d61661962560c1cedfef02b51b431e720aae78",
+ "reference": "e0d61661962560c1cedfef02b51b431e720aae78",
"shasum": ""
},
"require": {
- "brick/math": "^0.10|^0.11|^0.12|^0.13|^0.14|^0.15|^0.16|^0.17",
+ "brick/math": "^0.10|^0.11|^0.12|^0.13|^0.14|^0.15|^0.16|^0.17|^0.18",
"ext-mbstring": "*",
- "php": ">=8.1",
- "psr/clock": "^1.0"
+ "php": ">=8.1"
},
"require-dev": {
"ekino/phpstan-banned-code": "^1.0|^2.0|^3.0",
"ext-gmp": "*",
"ext-openssl": "*",
- "infection/infection": "^0.28|^0.29|^0.31|^0.32",
+ "infection/infection": "^0.28|^0.29|^0.31",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.3|^2.0",
"phpstan/phpstan": "^1.8|^2.0",
"phpstan/phpstan-deprecation-rules": "^1.0|^2.0",
"phpstan/phpstan-phpunit": "^1.1|^2.0",
"phpstan/phpstan-strict-rules": "^1.3|^2.0",
- "phpunit/phpunit": "^10.1|^11.0|^12.0|^13.0",
+ "phpunit/phpunit": "^10.1|^11.0|^12.0",
"rector/rector": "^1.0|^2.0",
"roave/security-advisories": "dev-latest",
"symfony/string": "^6.4|^7.0|^8.0",
"symfony/var-dumper": "^6.4|^7.0|^8.0",
- "symplify/easy-coding-standard": "^12.0|^13.0"
+ "symplify/easy-coding-standard": "^12.0 || ^13.0"
},
"suggest": {
"ext-bcmath": "For better performance (or GMP)",
@@ -12335,7 +12335,7 @@
],
"support": {
"issues": "https://github.com/Spomky-Labs/pki-framework/issues",
- "source": "https://github.com/Spomky-Labs/pki-framework/tree/1.4.2"
+ "source": "https://github.com/Spomky-Labs/pki-framework/tree/1.5.0"
},
"funding": [
{
@@ -12347,7 +12347,7 @@
"type": "patreon"
}
],
- "time": "2026-03-23T22:56:56+00:00"
+ "time": "2026-07-16T10:28:45+00:00"
},
{
"name": "sqids/sqids",
@@ -19179,7 +19179,7 @@
"prefer-stable": true,
"prefer-lowest": false,
"platform": {
- "php": ">=8.0 <=8.2.31"
+ "php": ">=8.0 <=8.2.32"
},
"platform-dev": {},
"plugin-api-version": "2.9.0"
diff --git a/console/app/components/configure/platform-api-token.hbs b/console/app/components/configure/platform-api-token.hbs
new file mode 100644
index 00000000..ba081e3e
--- /dev/null
+++ b/console/app/components/configure/platform-api-token.hbs
@@ -0,0 +1,79 @@
+<ContentPanel @title={{t "console.admin.platform-api-token.title"}} @open={{true}} @wrapperClass="bordered-classic">
+ {{#if this.loadStatus.isRunning}}
+ <div class="flex items-center justify-center p-4">
+ <Spinner @loadingMessage={{t "console.admin.platform-api-token.loading"}} @wrapperClass="flex flex-row" @iconClass="mr-2" />
+ </div>
+ {{else}}
+ <div class="space-y-6">
+ <div class="rounded-md border border-blue-200 bg-blue-50 px-4 py-3 text-blue-900 dark:border-blue-900 dark:bg-blue-900 dark:text-blue-100">
+ <div class="flex items-start">
+ <FaIcon @icon="circle-info" class="mt-0.5 mr-2 text-blue-600 dark:text-blue-200" />
+ <p class="text-sm leading-5">{{t "console.admin.platform-api-token.description"}}</p>
+ </div>
+ </div>
+
+ <div class="grid grid-cols-1 gap-3 md:grid-cols-3">
+ <div class="rounded-md border border-gray-200 bg-white px-3 py-2 dark:border-gray-700 dark:bg-gray-800">
+ <div class="text-xs font-semibold uppercase text-gray-500 dark:text-gray-400">{{t "console.admin.platform-api-token.status"}}</div>
+ <div class="mt-2 flex items-center text-sm font-semibold {{if this.isConfigured 'text-green-600 dark:text-green-300' 'text-yellow-600 dark:text-yellow-300'}}">
+ <FaIcon @icon={{if this.isConfigured "circle-check" "triangle-exclamation"}} class="mr-2" />
+ {{if this.isConfigured (t "console.admin.platform-api-token.configured") (t "console.admin.platform-api-token.not-configured")}}
+ </div>
+ </div>
+ <div class="rounded-md border border-gray-200 bg-white px-3 py-2 dark:border-gray-700 dark:bg-gray-800">
+ <div class="text-xs font-semibold uppercase text-gray-500 dark:text-gray-400">{{t "console.admin.platform-api-token.last-rotated"}}</div>
+ <div class="mt-2 text-sm font-medium text-gray-900 dark:text-gray-100">{{this.rotatedAt}}</div>
+ </div>
+ <div class="rounded-md border border-gray-200 bg-white px-3 py-2 dark:border-gray-700 dark:bg-gray-800">
+ <div class="text-xs font-semibold uppercase text-gray-500 dark:text-gray-400">{{t "console.admin.platform-api-token.last-used"}}</div>
+ <div class="mt-2 text-sm font-medium text-gray-900 dark:text-gray-100">{{this.lastUsedAt}}</div>
+ </div>
+ </div>
+
+ {{#if this.token}}
+ <div class="rounded-md border border-yellow-300 bg-yellow-50 p-4 text-yellow-900 dark:border-yellow-700 dark:bg-yellow-900 dark:text-yellow-100">
+ <div class="flex items-start">
+ <FaIcon @icon="triangle-exclamation" class="mt-0.5 mr-2 text-yellow-600 dark:text-yellow-200" />
+ <div class="w-full space-y-3">
+ <p class="text-sm font-semibold">{{t "console.admin.platform-api-token.one-time-warning"}}</p>
+ <div class="flex flex-col gap-2 md:flex-row md:items-center">
+ <Input @value={{this.token}} readonly={{true}} class="form-input w-full font-mono text-xs" />
+ <Button @icon="copy" @text={{t "common.copy"}} @onClick={{this.copyToken}} />
+ </div>
+ </div>
+ </div>
+ </div>
+ {{/if}}
+
+ <div class="flex flex-wrap gap-2">
+ {{#if this.isConfigured}}
+ <Button
+ @type="warning"
+ @icon="rotate"
+ @text={{t "console.admin.platform-api-token.rotate-token"}}
+ @onClick={{this.confirmRotateToken}}
+ @disabled={{or this.rotateToken.isRunning this.revokeToken.isRunning}}
+ @isLoading={{this.rotateToken.isRunning}}
+ />
+ <Button
+ @type="danger"
+ @icon="trash"
+ @text={{t "console.admin.platform-api-token.revoke-token"}}
+ @onClick={{this.confirmRevokeToken}}
+ @disabled={{or this.rotateToken.isRunning this.revokeToken.isRunning}}
+ @isLoading={{this.revokeToken.isRunning}}
+ />
+ {{else}}
+ <Button
+ @type="primary"
+ @icon="key"
+ @text={{t "console.admin.platform-api-token.generate-token"}}
+ @onClick={{this.generateToken}}
+ @disabled={{this.rotateToken.isRunning}}
+ @isLoading={{this.rotateToken.isRunning}}
+ />
+ {{/if}}
+ </div>
+ </div>
+ {{/if}}
+</ContentPanel>
diff --git a/console/app/components/configure/platform-api-token.js b/console/app/components/configure/platform-api-token.js
new file mode 100644
index 00000000..15774dc7
--- /dev/null
+++ b/console/app/components/configure/platform-api-token.js
@@ -0,0 +1,122 @@
+import Component from '@glimmer/component';
+import { inject as service } from '@ember/service';
+import { tracked } from '@glimmer/tracking';
+import { action } from '@ember/object';
+import { task } from 'ember-concurrency';
+import { format as formatDate } from 'date-fns';
+
+export default class ConfigurePlatformApiTokenComponent extends Component {
+ @service fetch;
+ @service intl;
+ @service modalsManager;
+ @service notifications;
+
+ @tracked status = null;
+ @tracked token = null;
+
+ constructor() {
+ super(...arguments);
+ this.loadStatus.perform();
+ }
+
+ get isConfigured() {
+ return Boolean(this.status?.configured);
+ }
+
+ get rotatedAt() {
+ return this.formatDate(this.status?.rotated_at);
+ }
+
+ get lastUsedAt() {
+ return this.formatDate(this.status?.last_used_at);
+ }
+
+ @action copyToken() {
+ if (!this.token) {
+ return;
+ }
+
+ navigator.clipboard?.writeText(this.token);
+ this.notifications.success(this.intl.t('console.admin.platform-api-token.copied'));
+ }
+
+ @action generateToken() {
+ this.rotateToken.perform(false).catch((error) => {
+ this.notifications.serverError(error);
+ });
+ }
+
+ @action confirmRotateToken() {
+ this.modalsManager.confirm({
+ title: this.intl.t('console.admin.platform-api-token.rotate-confirm-title'),
+ body: this.intl.t('console.admin.platform-api-token.rotate-warning'),
+ acceptButtonText: this.intl.t('console.admin.platform-api-token.rotate-token'),
+ acceptButtonScheme: 'warning',
+ confirm: async (modal) => {
+ modal.startLoading();
+
+ try {
+ await this.rotateToken.perform(true);
+ return modal.done();
+ } catch (error) {
+ modal.stopLoading();
+ return this.notifications.serverError(error);
+ }
+ },
+ });
+ }
+
+ @action confirmRevokeToken() {
+ this.modalsManager.confirm({
+ title: this.intl.t('console.admin.platform-api-token.revoke-confirm-title'),
+ body: this.intl.t('console.admin.platform-api-token.revoke-warning'),
+ acceptButtonText: this.intl.t('console.admin.platform-api-token.revoke-token'),
+ acceptButtonScheme: 'danger',
+ confirm: async (modal) => {
+ modal.startLoading();
+
+ try {
+ await this.revokeToken.perform();
+ return modal.done();
+ } catch (error) {
+ modal.stopLoading();
+ return this.notifications.serverError(error);
+ }
+ },
+ });
+ }
+
+ @task *loadStatus() {
+ try {
+ this.status = yield this.fetch.get('settings/platform-api-token');
+ } catch (error) {
+ this.notifications.serverError(error);
+ }
+ }
+
+ @task *rotateToken(isRotation = false) {
+ const response = yield this.fetch.post('settings/platform-api-token');
+ this.status = {
+ configured: response.configured,
+ rotated_at: response.rotated_at,
+ last_used_at: response.last_used_at,
+ };
+ this.token = response.token;
+ this.notifications.success(this.intl.t(isRotation ? 'console.admin.platform-api-token.rotated' : 'console.admin.platform-api-token.generated'));
+ }
+
+ @task *revokeToken() {
+ const response = yield this.fetch.delete('settings/platform-api-token');
+ this.status = response;
+ this.token = null;
+ this.notifications.success(this.intl.t('console.admin.platform-api-token.revoked'));
+ }
+
+ formatDate(value) {
+ if (!value) {
+ return this.intl.t('console.admin.platform-api-token.never');
+ }
+
+ return formatDate(new Date(value), 'PP p');
+ }
+}
diff --git a/console/app/components/configure/services.hbs b/console/app/components/configure/services.hbs
index e7ad4cb4..5f084675 100644
--- a/console/app/components/configure/services.hbs
+++ b/console/app/components/configure/services.hbs
@@ -68,10 +68,30 @@
<InputGroup @name="SMPP Password" @value={{this.selectedSmsProviderConfig.password}} {{on "input" (fn this.updateSmsProviderField "smpp" "password")}} disabled={{this.isLoading}} />
<InputGroup @name="SMPP Source Address" @value={{this.selectedSmsProviderConfig.source_addr}} {{on "input" (fn this.updateSmsProviderField "smpp" "source_addr")}} disabled={{this.isLoading}} />
<InputGroup @name="SMPP Bind Type" @value={{this.selectedSmsProviderConfig.bind_type}} {{on "input" (fn this.updateSmsProviderField "smpp" "bind_type")}} disabled={{this.isLoading}} />
- <label class="flex flex-row items-center text-sm mt-2">
- <Input @type="checkbox" @checked={{this.selectedSmsProviderConfig.tls}} {{on "change" (fn this.updateSmsProviderChecked "smpp" "tls")}} />
+ <label class="flex flex-row items-center text-sm my-2">
+ <Input @type="checkbox" @checked={{this.selectedSmsProviderConfig.tls}} {{on "change" (fn this.updateSmsProviderChecked "smpp" "tls")}} class="fleetbase-checkbox form-checkbox" />
<span class="ml-2">Use TLS</span>
</label>
+ {{!-- <Checkbox @label="Use TLS" @value={{this.selectedSmsProviderConfig.tls}} @onToggle={{fn this.updateSmsProviderChecked "smpp" "tls"}} @wrapperClass="my-2" /> --}}
+ <button type="button" class="text-xs px-2 py-1 rounded-md border border-gray-200 dark:border-gray-700 flex items-center w-full" data-test-smpp-advanced-toggle {{on "click" this.toggleSmppAdvancedSettings}}>
+ <FaIcon @icon="sliders" class="mr-1" /> <span>{{if this.isSmppAdvancedSettingsVisible "Hide Advanced Settings" "Advanced Settings"}}</span>
+ </button>
+ {{#if this.isSmppAdvancedSettingsVisible}}
+ <div class="mt-1 mb-2 rounded-md border border-gray-200 dark:border-gray-700 px-2 py-2">
+ <div class="grid grid-cols-2 gap-2" data-test-smpp-advanced-settings>
+ <InputGroup @name="Bind TON" @value={{this.selectedSmsProviderConfig.addr_ton}} data-test-smpp-addr-ton {{on "input" (fn this.updateSmsProviderNumberField "smpp" "addr_ton")}} disabled={{this.isLoading}} />
+ <InputGroup @name="Bind NPI" @value={{this.selectedSmsProviderConfig.addr_npi}} data-test-smpp-addr-npi {{on "input" (fn this.updateSmsProviderNumberField "smpp" "addr_npi")}} disabled={{this.isLoading}} />
+ <InputGroup @name="Source TON" @value={{this.selectedSmsProviderConfig.source_addr_ton}} data-test-smpp-source-ton {{on "input" (fn this.updateSmsProviderNumberField "smpp" "source_addr_ton")}} disabled={{this.isLoading}} />
+ <InputGroup @name="Source NPI" @value={{this.selectedSmsProviderConfig.source_addr_npi}} data-test-smpp-source-npi {{on "input" (fn this.updateSmsProviderNumberField "smpp" "source_addr_npi")}} disabled={{this.isLoading}} />
+ <InputGroup @name="Destination TON" @value={{this.selectedSmsProviderConfig.dest_addr_ton}} data-test-smpp-dest-ton {{on "input" (fn this.updateSmsProviderNumberField "smpp" "dest_addr_ton")}} disabled={{this.isLoading}} />
+ <InputGroup @name="Destination NPI" @value={{this.selectedSmsProviderConfig.dest_addr_npi}} data-test-smpp-dest-npi {{on "input" (fn this.updateSmsProviderNumberField "smpp" "dest_addr_npi")}} disabled={{this.isLoading}} />
+ <InputGroup @name="Registered Delivery" @value={{this.selectedSmsProviderConfig.registered_delivery}} data-test-smpp-registered-delivery {{on "input" (fn this.updateSmsProviderNumberField "smpp" "registered_delivery")}} disabled={{this.isLoading}} />
+ <InputGroup @name="Data Coding" @value={{this.selectedSmsProviderConfig.data_coding}} data-test-smpp-data-coding {{on "input" (fn this.updateSmsProviderNumberField "smpp" "data_coding")}} disabled={{this.isLoading}} />
+ </div>
+ <InputGroup @name="SMPP Service Type" @value={{this.selectedSmsProviderConfig.service_type}} data-test-smpp-service-type {{on "input" (fn this.updateSmsProviderField "smpp" "service_type")}} disabled={{this.isLoading}} />
+ <InputGroup @name="SMPP Address Range" @value={{this.selectedSmsProviderConfig.address_range}} data-test-smpp-address-range {{on "input" (fn this.updateSmsProviderField "smpp" "address_range")}} disabled={{this.isLoading}} />
+ </div>
+ {{/if}}
{{/if}}
{{#if (eq this.smsSelectedProvider "custom_http")}}
diff --git a/console/app/components/configure/services.js b/console/app/components/configure/services.js
index 073bfbf9..290f6c24 100644
--- a/console/app/components/configure/services.js
+++ b/console/app/components/configure/services.js
@@ -37,6 +37,7 @@ export default class ConfigureServicesComponent extends Component {
@tracked customHttpHeadersText = '{}';
@tracked customHttpQueryParamsText = '{}';
@tracked customHttpBodyText = '{}';
+ @tracked isSmppAdvancedSettingsVisible = false;
/** sentry service */
@tracked sentryDsn = null;
@@ -105,6 +106,16 @@ export default class ConfigureServicesComponent extends Component {
});
}
+ @action updateSmsProviderNumberField(provider, field, event) {
+ this.sms = this.updateSmsProvider(provider, {
+ [field]: Number.parseInt(event.target.value, 10) || 0,
+ });
+ }
+
+ @action toggleSmppAdvancedSettings() {
+ this.isSmppAdvancedSettingsVisible = !this.isSmppAdvancedSettingsVisible;
+ }
+
@action updateSmsProviderJsonField(provider, field, event) {
if (field === 'headers') {
this.customHttpHeadersText = event.target.value;
@@ -263,7 +274,19 @@ export default class ConfigureServicesComponent extends Component {
vonage: {},
messagebird: {},
aws_sns: {},
- smpp: {},
+ smpp: {
+ bind_type: 'transceiver',
+ addr_ton: 0,
+ addr_npi: 0,
+ source_addr_ton: 5,
+ source_addr_npi: 0,
+ dest_addr_ton: 1,
+ dest_addr_npi: 1,
+ registered_delivery: 1,
+ data_coding: 0,
+ service_type: '',
+ address_range: '',
+ },
custom_http: {
method: 'POST',
headers: {},
@@ -284,6 +307,21 @@ export default class ConfigureServicesComponent extends Component {
from: providers.twilio.from ?? this.twilioFrom,
};
+ providers.smpp = {
+ bind_type: 'transceiver',
+ addr_ton: 0,
+ addr_npi: 0,
+ source_addr_ton: 5,
+ source_addr_npi: 0,
+ dest_addr_ton: 1,
+ dest_addr_npi: 1,
+ registered_delivery: 1,
+ data_coding: 0,
+ service_type: '',
+ address_range: '',
+ ...providers.smpp,
+ };
+
return {
defaultProvider: sms.defaultProvider || 'twilio',
routingRules: sms.routingRules || {},
diff --git a/console/app/components/modals/validate-password.hbs b/console/app/components/modals/validate-password.hbs
index 4fbc7dd7..c62e8432 100644
--- a/console/app/components/modals/validate-password.hbs
+++ b/console/app/components/modals/validate-password.hbs
@@ -1,5 +1,5 @@
<Modal::Default @modalIsOpened={{@modalIsOpened}} @options={{@options}} @confirm={{@onConfirm}} @decline={{@onDecline}}>
- <div class="px-5">
+ <div class="px-5 pb-4">
{{#if @options.body}}
<p class="dark:text-gray-400 text-gray-700 mb-4">{{@options.body}}</p>
{{/if}}
diff --git a/console/app/controllers/auth/confirm-email-change.js b/console/app/controllers/auth/confirm-email-change.js
new file mode 100644
index 00000000..3021bc50
--- /dev/null
+++ b/console/app/controllers/auth/confirm-email-change.js
@@ -0,0 +1,52 @@
+import Controller from '@ember/controller';
+import { inject as service } from '@ember/service';
+import { tracked } from '@glimmer/tracking';
+import { task } from 'ember-concurrency';
+
+export default class AuthConfirmEmailChangeController extends Controller {
+ @service fetch;
+ @service notifications;
+ @service router;
+ @service intl;
+ @service session;
+
+ /**
+ * The verification code query param.
+ *
+ * @memberof AuthConfirmEmailChangeController
+ */
+ @tracked code;
+
+ /**
+ * Query parameters.
+ *
+ * @memberof AuthConfirmEmailChangeController
+ */
+ queryParams = ['code'];
+
+ /**
+ * The confirm email change task.
+ *
+ * @memberof AuthConfirmEmailChangeController
+ */
+ @task *confirmEmailChange(event) {
+ event?.preventDefault();
+
+ const { code } = this;
+ const { id } = this.model;
+
+ try {
+ yield this.fetch.post('auth/confirm-email-change', { link: id, code });
+ } catch (error) {
+ return this.notifications.serverError(error);
+ }
+
+ this.notifications.success(this.intl.t('auth.confirm-email-change.success-message'));
+
+ if (this.session.isAuthenticated) {
+ return this.router.transitionTo('console');
+ }
+
+ return this.router.transitionTo('auth.login');
+ }
+}
diff --git a/console/app/controllers/console/account/auth.js b/console/app/controllers/console/account/auth.js
index e618c539..0800aacc 100644
--- a/console/app/controllers/console/account/auth.js
+++ b/console/app/controllers/console/account/auth.js
@@ -12,11 +12,26 @@ import getTwoFaMethods from '@fleetbase/console/utils/get-two-fa-methods';
* @extends Controller
*/
export default class ConsoleAccountAuthController extends Controller {
+ @service currentUser;
@service fetch;
@service notifications;
@service router;
@service modalsManager;
+ /**
+ * The new email address the user wants to verify.
+ *
+ * @type {string}
+ */
+ @tracked newEmail;
+
+ /**
+ * The current password used to authorize an email change.
+ *
+ * @type {string}
+ */
+ @tracked currentPassword;
+
/**
* The new password the user intends to set.
*
@@ -105,6 +120,30 @@ export default class ConsoleAccountAuthController extends Controller {
this.saveUserTwoFaSettings.perform(this.twoFaSettings);
}
+ /**
+ * Initiates the task to request an email change for the current user.
+ *
+ * @method changeEmail
+ */
+ @task *changeEmail(event) {
+ if (event instanceof Event) {
+ event.preventDefault();
+ }
+
+ try {
+ yield this.fetch.post('users/change-email', {
+ email: this.newEmail,
+ password: this.currentPassword,
+ });
+
+ this.notifications.success('Email change verification sent. Confirm the new address before your login email changes.');
+ this.newEmail = undefined;
+ this.currentPassword = undefined;
+ } catch (error) {
+ this.notifications.serverError(error, 'Failed to request email change.');
+ }
+ }
+
/**
* Initiates the task to change the user's password asynchronously.
*
diff --git a/console/app/controllers/console/account/index.js b/console/app/controllers/console/account/index.js
index a70b6d2b..bf71ff5a 100644
--- a/console/app/controllers/console/account/index.js
+++ b/console/app/controllers/console/account/index.js
@@ -1,9 +1,9 @@
import Controller from '@ember/controller';
import { tracked } from '@glimmer/tracking';
-import { inject as service } from '@ember/service';
import { action } from '@ember/object';
import { alias } from '@ember/object/computed';
import { debug } from '@ember/debug';
+import { inject as service } from '@ember/service';
import { task } from 'ember-concurrency';
export default class ConsoleAccountIndexController extends Controller {
@@ -28,13 +28,6 @@ export default class ConsoleAccountIndexController extends Controller {
*/
@service notifications;
- /**
- * Inject the `modalsManager` service.
- *
- * @memberof ConsoleAccountIndexController
- */
- @service modalsManager;
-
/**
* Alias to the currentUser service user record.
*
@@ -93,44 +86,15 @@ export default class ConsoleAccountIndexController extends Controller {
event.preventDefault();
}
- let canUpdateProfile = true;
- // If email has been changed prompt for password validation
- if (this.changedUserAttribute('email')) {
- canUpdateProfile = yield this.validatePassword.perform();
- }
-
- if (canUpdateProfile === true) {
- try {
- const user = yield this.user.save();
- this.notifications.success('Profile changes saved.');
- this.currentUser.set('user', user);
- } catch (error) {
- this.notifications.serverError(error);
- }
- } else {
- this.user.rollbackAttributes();
+ try {
+ const user = yield this.user.save();
+ this.notifications.success('Profile changes saved.');
+ this.currentUser.set('user', user);
+ } catch (error) {
+ this.notifications.serverError(error);
}
}
- /**
- * Task to validate current password
- *
- * @return {boolean}
- * @memberof ConsoleAccountIndexController
- */
- @task *validatePassword() {
- let isPasswordValid = false;
-
- yield this.modalsManager.show('modals/validate-password', {
- body: 'You must validate your password to update the account email address.',
- onValidated: (isValid) => {
- isPasswordValid = isValid;
- },
- });
-
- return isPasswordValid;
- }
-
/**
* Load all available timezones from lookup.
*
@@ -143,16 +107,4 @@ export default class ConsoleAccountIndexController extends Controller {
debug(`Unable to load timezones : ${error.message}`);
}
}
-
- /**
- * Checks if any user attribute has been changed
- *
- * @param {string} attributeKey
- * @return {boolean}
- * @memberof ConsoleAccountIndexController
- */
- changedUserAttribute(attributeKey) {
- const changedAttributes = this.user.changedAttributes();
- return changedAttributes[attributeKey] !== undefined;
- }
}
diff --git a/console/app/controllers/console/admin.js b/console/app/controllers/console/admin.js
index 76f6b464..25ef6c08 100644
--- a/console/app/controllers/console/admin.js
+++ b/console/app/controllers/console/admin.js
@@ -41,6 +41,13 @@ export default class ConsoleAdminController extends Controller {
route: 'console.admin.two-fa-settings',
keywords: ['two factor', '2fa', 'security', 'mfa'],
},
+ {
+ label: this.intl.t('console.admin.menu.platform-api-token'),
+ description: 'Manage the platform API token used by trusted platform integrations.',
+ icon: 'key',
+ route: 'console.admin.platform-api-token',
+ keywords: ['platform', 'api', 'token', 'security', 'organizations'],
+ },
{
label: this.intl.t('console.admin.schedule-monitor.schedule-monitor'),
description: 'Review scheduled tasks and their recent execution logs.',
diff --git a/console/app/controllers/console/admin/platform-api-token.js b/console/app/controllers/console/admin/platform-api-token.js
new file mode 100644
index 00000000..5a1454a7
--- /dev/null
+++ b/console/app/controllers/console/admin/platform-api-token.js
@@ -0,0 +1,3 @@
+import Controller from '@ember/controller';
+
+export default class ConsoleAdminPlatformApiTokenController extends Controller {}
diff --git a/console/app/routes/auth/confirm-email-change.js b/console/app/routes/auth/confirm-email-change.js
new file mode 100644
index 00000000..2eb7def8
--- /dev/null
+++ b/console/app/routes/auth/confirm-email-change.js
@@ -0,0 +1,30 @@
+import Route from '@ember/routing/route';
+import { inject as service } from '@ember/service';
+import { action } from '@ember/object';
+import removeBootLoader from '../../utils/remove-boot-loader';
+
+export default class AuthConfirmEmailChangeRoute extends Route {
+ @service store;
+ @service fetch;
+ @service router;
+ @service notifications;
+ @service intl;
+
+ @action activate() {
+ removeBootLoader();
+ }
+
+ async model({ id }) {
+ return this.fetch.get('auth/validate-verification', { id, for: 'email_change' });
+ }
+
+ async setupController(controller, model) {
+ super.setupController(...arguments);
+ if (model.is_valid === false) {
+ this.notifications.warning(this.intl.t('auth.confirm-email-change.invalid-verification-code'));
+ return this.router.transitionTo('auth.login');
+ }
+
+ controller.brand = await this.store.findRecord('brand', 1);
+ }
+}
diff --git a/console/app/routes/auth/forgot-password.js b/console/app/routes/auth/forgot-password.js
index 51dac9a7..b7ff18b5 100644
--- a/console/app/routes/auth/forgot-password.js
+++ b/console/app/routes/auth/forgot-password.js
@@ -1,4 +1,5 @@
import Route from '@ember/routing/route';
+import removeBootLoader from '../../utils/remove-boot-loader';
export default class AuthForgotPasswordRoute extends Route {
queryParams = {
diff --git a/console/app/routes/auth/login.js b/console/app/routes/auth/login.js
index dd450c58..a6a8dd88 100644
--- a/console/app/routes/auth/login.js
+++ b/console/app/routes/auth/login.js
@@ -1,5 +1,7 @@
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
+import { action } from '@ember/object';
+import removeBootLoader from '../../utils/remove-boot-loader';
export default class AuthLoginRoute extends Route {
@service session;
@@ -7,6 +9,10 @@ export default class AuthLoginRoute extends Route {
@service installation;
@service router;
+ @action activate() {
+ removeBootLoader();
+ }
+
/**
* If user is authentication redirect to console.
*
diff --git a/console/app/routes/auth/reset-password.js b/console/app/routes/auth/reset-password.js
index 5017543c..588306b3 100644
--- a/console/app/routes/auth/reset-password.js
+++ b/console/app/routes/auth/reset-password.js
@@ -1,5 +1,7 @@
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
+import { action } from '@ember/object';
+import removeBootLoader from '../../utils/remove-boot-loader';
export default class AuthResetPasswordRoute extends Route {
@service store;
@@ -8,6 +10,10 @@ export default class AuthResetPasswordRoute extends Route {
@service notifications;
@service intl;
+ @action activate() {
+ removeBootLoader();
+ }
+
async model({ id }) {
return this.fetch.get('auth/validate-verification', { id });
}
diff --git a/console/app/routes/auth/two-fa.js b/console/app/routes/auth/two-fa.js
index c2e2f0d1..e4170adb 100644
--- a/console/app/routes/auth/two-fa.js
+++ b/console/app/routes/auth/two-fa.js
@@ -1,40 +1,14 @@
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
+import { action } from '@ember/object';
+import removeBootLoader from '../../utils/remove-boot-loader';
export default class AuthTwoFaRoute extends Route {
- /**
- * Fetch service for making HTTP requests.
- *
- * @var {Service}
- */
@service fetch;
-
- /**
- * Notifications service for handling notifications.
- *
- * @var {Service}
- */
@service notifications;
-
- /**
- * Router service.
- *
- * @var {Service}
- */
@service router;
-
- /**
- * Session service for managing user sessions.
- *
- * @var {Service}
- */
@service session;
- /**
- * Query parameters for the route.
- *
- * @var {Object}
- */
queryParams = {
token: {
refreshModel: false,
@@ -46,12 +20,10 @@ export default class AuthTwoFaRoute extends Route {
},
};
- /**
- * Executes before the model is loaded, used for validating 2FA session with the server.
- *
- * @param {Object} transition - The transition object representing the route transition.
- * @return {Promise} A promise that resolves if the 2FA session is valid, and rejects with an error otherwise.
- */
+ @action activate() {
+ removeBootLoader();
+ }
+
beforeModel(transition) {
// validate 2fa session with server
let { token, clientToken } = transition.to.queryParams;
@@ -84,11 +56,6 @@ export default class AuthTwoFaRoute extends Route {
});
}
- /**
- * Sets up the controller, including client token and session expiration details.
- *
- * @param {Object} controller - The controller for the route.
- */
setupController(controller) {
super.setupController(...arguments);
@@ -100,15 +67,13 @@ export default class AuthTwoFaRoute extends Route {
});
}
- invalidateTwoFaSession(token, identity) {
+ async invalidateTwoFaSession(token, identity) {
this.notifications.error('2FA authentication session has expired.');
- return this.fetch
- .post('two-fa/invalidate', {
- token,
- identity,
- })
- .then(() => {
- return this.router.transitionTo('auth.login');
- });
+ await this.fetch.post('two-fa/invalidate', {
+ token,
+ identity,
+ });
+
+ return this.router.transitionTo('auth.login');
}
}
diff --git a/console/app/routes/auth/verification.js b/console/app/routes/auth/verification.js
index 49d1c01d..24e16454 100644
--- a/console/app/routes/auth/verification.js
+++ b/console/app/routes/auth/verification.js
@@ -1,11 +1,17 @@
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
+import { action } from '@ember/object';
+import removeBootLoader from '../../utils/remove-boot-loader';
export default class AuthVerificationRoute extends Route {
@service session;
@service fetch;
@service router;
+ @action activate() {
+ removeBootLoader();
+ }
+
queryParams = {
token: {
refreshModel: false,
diff --git a/console/app/routes/console/admin/platform-api-token.js b/console/app/routes/console/admin/platform-api-token.js
new file mode 100644
index 00000000..b246867a
--- /dev/null
+++ b/console/app/routes/console/admin/platform-api-token.js
@@ -0,0 +1,3 @@
+import Route from '@ember/routing/route';
+
+export default class ConsoleAdminPlatformApiTokenRoute extends Route {}
diff --git a/console/app/templates/auth/confirm-email-change.hbs b/console/app/templates/auth/confirm-email-change.hbs
new file mode 100644
index 00000000..7a9fe549
--- /dev/null
+++ b/console/app/templates/auth/confirm-email-change.hbs
@@ -0,0 +1,31 @@
+<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={{this.brand}} @size="12" class="rounded-md" />
+ </LinkTo>
+ <h2 class="text-center text-lg font-extrabold text-gray-900 dark:text-white truncate">
+ {{t "auth.confirm-email-change.title"}}
+ </h2>
+ </div>
+
+ <InfoBlock @type="info" @icon="envelope-circle-check" @iconSize="lg">
+ {{t "auth.confirm-email-change.message-text"}}
+ </InfoBlock>
+
+ <form class="mt-8 space-y-6" {{on "submit" (perform this.confirmEmailChange)}}>
+ <InputGroup @name={{t "auth.confirm-email-change.form.code.label"}} @value={{this.code}} @inputClass="form-input-lg" @helpText={{t "auth.confirm-email-change.form.code.help-text"}} />
+
+ <div class="flex space-x-2">
+ <Button
+ @icon="check"
+ @size="lg"
+ @type="primary"
+ @buttonType="submit"
+ @text={{t "auth.confirm-email-change.form.submit-button"}}
+ @onClick={{perform this.confirmEmailChange}}
+ @isLoading={{not this.confirmEmailChange.isIdle}}
+ />
+ <Button @size="lg" @buttonType="button" @text={{t "auth.confirm-email-change.form.back-button"}} @onClick={{fn (transition-to "auth.login")}} @disabled={{not this.confirmEmailChange.isIdle}} />
+ </div>
+ </form>
+</div>
diff --git a/console/app/templates/console/account/auth.hbs b/console/app/templates/console/account/auth.hbs
index e37e73d5..16466c16 100644
--- a/console/app/templates/console/account/auth.hbs
+++ b/console/app/templates/console/account/auth.hbs
@@ -4,14 +4,40 @@
<Layout::Section::Body class="overflow-y-scroll h-full">
<div class="container mx-auto h-screen">
<div class="max-w-3xl my-10 mx-auto space-y-6">
+ <ContentPanel @title="Change Email" @open={{true}} @wrapperClass="bordered-classic">
+ <form id="change-email-form" aria-label="change-email" {{on "submit" (perform this.changeEmail)}}>
+ <legend class="mb-3">Change Email</legend>
+ <p class="text-sm text-gray-700 dark:text-gray-300 mb-4">
+ Enter a new email address and your current password. Your login email changes only after you confirm the verification email sent to the new address.
+ </p>
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-2">
+ <InputGroup @name="Current Email" @type="email" @value={{this.currentUser.user.email}} @disabled={{true}} />
+ <InputGroup @name="New Email" @type="email" @value={{this.newEmail}} />
+ <InputGroup @name="Current Password" @type="password" @value={{this.currentPassword}} @wrapperClass="lg:col-span-2" />
+ </div>
+ <div class="mt-3">
+ <Button
+ @type="primary"
+ @buttonType="submit"
+ @text="Send Verification Email"
+ @icon="envelope"
+ @disabled={{not (and this.newEmail this.currentPassword)}}
+ @isLoading={{this.changeEmail.isRunning}}
+ {{on "click" (perform this.changeEmail)}}
+ />
+ </div>
+ </form>
+ </ContentPanel>
+
<ContentPanel @title="Change Password" @open={{true}} @wrapperClass="bordered-classic">
<form id="change-password-form" aria-label="change-password" {{on "submit" (perform this.changePassword)}}>
- <legend class="mb-3">Change Password</legend>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-4">
<InputGroup @name="Enter new Password" @type="password" @value={{this.newPassword}} />
<InputGroup @name="Confirm Password" @type="password" @value={{this.newConfirmPassword}} />
</div>
- <Button @type="primary" @buttonType="submit" @text="Confirm & Change Password" @icon="save" {{on "click" (perform this.changePassword)}} />
+ <div class="mt-3">
+ <Button @type="primary" @buttonType="submit" @text="Confirm & Change Password" @icon="save" @disabled={{not (and this.newPassword this.newConfirmPassword)}} {{on "click" (perform this.changePassword)}} />
+ </div>
</form>
</ContentPanel>
@@ -19,14 +45,26 @@
<ContentPanel @title="2FA Settings" @open={{true}} @wrapperClass="bordered-classic">
<div class="mb-3">
{{#if this.loadUserTwoFaSettings.isIdle}}
- <TwoFaSettings @twoFaMethods={{this.methods}} @twoFaSettings={{this.twoFaSettings}} @onTwoFaToggled={{this.onTwoFaToggled}} @onTwoFaMethodSelected={{this.onTwoFaMethodSelected}} />
+ <TwoFaSettings
+ @twoFaMethods={{this.methods}}
+ @twoFaSettings={{this.twoFaSettings}}
+ @onTwoFaToggled={{this.onTwoFaToggled}}
+ @onTwoFaMethodSelected={{this.onTwoFaMethodSelected}}
+ />
{{else}}
<div class="flex items-center justify-center p-4">
<Spinner @loadingMessage="Loading User 2FA Settings..." @wrapperClass="flex flex-row" @iconClass="mr-2" />
</div>
{{/if}}
</div>
- <Button @type="primary" @buttonType="submit" @text="Save 2FA Settings" @icon="save" @onClick={{this.saveTwoFactorAuthSettings}} @isLoading={{this.saveUserTwoFaSettings.isRunning}} />
+ <Button
+ @type="primary"
+ @buttonType="submit"
+ @text="Save 2FA Settings"
+ @icon="save"
+ @onClick={{this.saveTwoFactorAuthSettings}}
+ @isLoading={{this.saveUserTwoFaSettings.isRunning}}
+ />
</ContentPanel>
{{/if}}
</div>
diff --git a/console/app/templates/console/account/index.hbs b/console/app/templates/console/account/index.hbs
index 6c373c15..daf00d03 100644
--- a/console/app/templates/console/account/index.hbs
+++ b/console/app/templates/console/account/index.hbs
@@ -34,7 +34,7 @@
<div class="flex-1">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-2 text-xs dark:text-gray-100">
<InputGroup @name={{t "common.name"}} @value={{this.user.name}} />
- <InputGroup @name={{t "common.email"}} @type="email" @value={{this.user.email}} />
+ <InputGroup @name={{t "common.email"}} @type="email" @value={{this.user.email}} @disabled={{true}} />
<InputGroup @name={{t "common.phone"}} @helpText={{t "console.account.index.phone"}}>
<PhoneInput @value={{this.user.phone}} @onInput={{fn (mut this.user.phone)}} class="form-input input-lg w-full" />
</InputGroup>
@@ -72,4 +72,4 @@
</div>
</div>
<Spacer @height="500px" />
-</Layout::Section::Body>
\ No newline at end of file
+</Layout::Section::Body>
diff --git a/console/app/templates/console/admin/platform-api-token.hbs b/console/app/templates/console/admin/platform-api-token.hbs
new file mode 100644
index 00000000..c0776cfc
--- /dev/null
+++ b/console/app/templates/console/admin/platform-api-token.hbs
@@ -0,0 +1,11 @@
+{{page-title (t "console.admin.platform-api-token.title")}}
+<Layout::Section::Header @title={{t "console.admin.platform-api-token.title"}} />
+
+<Layout::Section::Body class="overflow-y-scroll h-full">
+ <div class="container mx-auto h-screen">
+ <div class="max-w-3xl my-10 mx-auto space-y-6">
+ <Configure::PlatformApiToken />
+ </div>
+ </div>
+ <Spacer @height="300px" />
+</Layout::Section::Body>
diff --git a/console/app/templates/console/settings/index.hbs b/console/app/templates/console/settings/index.hbs
index 46ca8fc5..7c052dcb 100644
--- a/console/app/templates/console/settings/index.hbs
+++ b/console/app/templates/console/settings/index.hbs
@@ -14,11 +14,25 @@
<CurrencySelect @currency={{@model.currency}} @onCurrencyChange={{fn (mut @model.currency)}} @triggerClass="w-full form-select" />
</InputGroup>
<InputGroup @name={{t "common.timezone"}} @helpText={{t "console.settings.index.organization-timezone"}}>
- <Select @value={{@model.timezone}} @options={{this.timezones}} @onSelect={{fn (mut @model.timezone)}} @placeholder={{t "console.settings.index.select-timezone"}} class="w-full form-select" />
+ <div class="fleetbase-model-select fleetbase-power-select ember-model-select">
+ <PowerSelect
+ @options={{this.timezones}}
+ @selected={{@model.timezone}}
+ @onChange={{fn (mut @model.timezone)}}
+ @searchEnabled={{true}}
+ @placeholder={{t "console.settings.index.select-timezone"}}
+ @triggerClass="form-select form-input"
+ as |tz|
+ >
+ <div class="text-sm">
+ <div class="normalize-in-trigger">{{tz}}</div>
+ </div>
+ </PowerSelect>
+ </div>
</InputGroup>
<InputGroup @name={{t "console.settings.index.organization-id"}} @value={{@model.public_id}} @disabled={{true}} />
<div class="mt-3 flex items-center justify-end">
- <Button @buttonType="submit" @type="primary" @size="lg" @icon="save" @text="{{t "common.save-changes"}}" @isLoading={{this.saveSettings.isRunning}} />
+ <Button @buttonType="submit" @type="primary" @size="lg" @icon="save" @text="{{t 'common.save-changes'}}" @isLoading={{this.saveSettings.isRunning}} />
</div>
</form>
</ContentPanel>
@@ -26,7 +40,12 @@
<ContentPanel @title={{t "console.settings.index.organization-branding"}} @open={{true}} @wrapperClass="bordered-classic">
<InputGroup @name={{t "console.settings.index.logo"}} @helpText={{t "console.settings.index.logo-help-text"}}>
<div class="flex flex-row items-center">
- <Image src={{@model.logo_url}} @fallbackSrc={{config "defaultValues.placeholderImage"}} alt={{concat @model.name " logo"}} class="h-20 w-64 border dark:border-gray-900 rounded-md mr-4" />
+ <Image
+ src={{@model.logo_url}}
+ @fallbackSrc={{config "defaultValues.placeholderImage"}}
+ alt={{concat @model.name " logo"}}
+ class="h-20 w-64 border dark:border-gray-900 rounded-md mr-4"
+ />
<FileUpload @name={{t "console.settings.index.logo"}} @accept="image/*" @onFileAdded={{fn this.uploadFile "logo"}} as |queue|>
<a tabindex={{0}} class="flex items-center px-0 mt-2 text-xs no-underline truncate btn btn-sm btn-default">
{{#if queue.files.length}}
@@ -47,7 +66,12 @@
<InputGroup @name={{t "console.settings.index.backdrop"}} @helpText={{t "console.settings.index.backdrop-help-text"}}>
<div class="flex flex-row items-center">
- <Image src={{@model.backdrop_url}} @fallbackSrc={{config "defaultValues.placeholderImage"}} alt={{concat @model.name " backdrop"}} class="h-20 w-64 border dark:border-gray-900 rounded-md mr-4" />
+ <Image
+ src={{@model.backdrop_url}}
+ @fallbackSrc={{config "defaultValues.placeholderImage"}}
+ alt={{concat @model.name " backdrop"}}
+ class="h-20 w-64 border dark:border-gray-900 rounded-md mr-4"
+ />
<FileUpload @name={{t "console.settings.index.backdrop"}} @accept="image/*" @onFileAdded={{fn this.uploadFile "backdrop"}} as |queue|>
<a tabindex={{0}} class="flex items-center px-0 mt-2 text-xs no-underline truncate btn btn-sm btn-default">
{{#if queue.files.length}}
diff --git a/console/package.json b/console/package.json
index 2863e274..efd9e30a 100644
--- a/console/package.json
+++ b/console/package.json
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/console",
- "version": "0.7.51",
+ "version": "0.7.52",
"private": true,
"description": "Modular logistics and supply chain operating system (LSOS)",
"repository": "https://github.com/fleetbase/fleetbase",
@@ -33,18 +33,18 @@
},
"dependencies": {
"@ember/legacy-built-in-components": "^0.4.2",
- "@fleetbase/ai-engine": "^0.0.2",
+ "@fleetbase/ai-engine": "^0.0.3",
"@fleetbase/customer-portal-engine": "^0.0.12",
"@fleetbase/dev-engine": "^0.2.14",
"@fleetbase/ember-core": "^0.3.24",
"@fleetbase/ember-ui": "^0.3.41",
"@fleetbase/fleetops-data": "^0.1.40",
- "@fleetbase/fleetops-engine": "^0.6.57",
- "@fleetbase/iam-engine": "^0.1.10",
+ "@fleetbase/fleetops-engine": "^0.6.58",
+ "@fleetbase/iam-engine": "^0.1.11",
"@fleetbase/leaflet-routing-machine": "^3.2.17",
- "@fleetbase/ledger-engine": "^0.0.7",
+ "@fleetbase/ledger-engine": "^0.0.8",
"@fleetbase/registry-bridge-engine": "^0.1.9",
- "@fleetbase/storefront-engine": "^0.4.16",
+ "@fleetbase/storefront-engine": "^0.4.17",
"@fleetbase/valhalla-engine": "^0.0.4",
"@fleetbase/vroom-engine": "^0.0.4",
"@formatjs/intl-datetimeformat": "^6.18.2",
diff --git a/console/pnpm-lock.yaml b/console/pnpm-lock.yaml
index 1dd5bf18..db8a1fdd 100644
--- a/console/pnpm-lock.yaml
+++ b/console/pnpm-lock.yaml
@@ -17,8 +17,8 @@ importers:
specifier: ^0.4.2
'@fleetbase/ai-engine':
- specifier: ^0.0.2
- version: 0.0.2(47001768392269870195224ea32348e1)
+ specifier: ^0.0.3
+ version: 0.0.3(47001768392269870195224ea32348e1)
'@fleetbase/customer-portal-engine':
specifier: ^0.0.12
version: 0.0.12(abaf0c2a8c51c5147c2d07c08c7af87d)
@@ -35,23 +35,23 @@ importers:
specifier: ^0.1.40
'@fleetbase/fleetops-engine':
- specifier: ^0.6.57
- version: 0.6.57(abaf0c2a8c51c5147c2d07c08c7af87d)
+ specifier: ^0.6.58
+ version: 0.6.58(abaf0c2a8c51c5147c2d07c08c7af87d)
'@fleetbase/iam-engine':
- specifier: ^0.1.10
- version: 0.1.10(abaf0c2a8c51c5147c2d07c08c7af87d)
+ specifier: ^0.1.11
+ version: 0.1.11(abaf0c2a8c51c5147c2d07c08c7af87d)
'@fleetbase/leaflet-routing-machine':
specifier: ^3.2.17
version: 3.2.17
'@fleetbase/ledger-engine':
- specifier: ^0.0.7
- version: 0.0.7(abaf0c2a8c51c5147c2d07c08c7af87d)
+ specifier: ^0.0.8
+ version: 0.0.8(abaf0c2a8c51c5147c2d07c08c7af87d)
'@fleetbase/registry-bridge-engine':
specifier: ^0.1.9
version: 0.1.9(abaf0c2a8c51c5147c2d07c08c7af87d)
'@fleetbase/storefront-engine':
- specifier: ^0.4.16
- version: 0.4.16(abaf0c2a8c51c5147c2d07c08c7af87d)
+ specifier: ^0.4.17
+ version: 0.4.17(abaf0c2a8c51c5147c2d07c08c7af87d)
'@fleetbase/valhalla-engine':
specifier: ^0.0.4
version: 0.0.4(abaf0c2a8c51c5147c2d07c08c7af87d)
@@ -1544,8 +1544,8 @@ packages:
'@event-calendar/[email protected]':
resolution: {integrity: sha512-ms9MQagthrmRO+ytZD5dDQHjBb+r/6mwld4/psZRaBI6bciIEsmphCrxFaF9HnGvLW0htSa973TVbYMbDsDtVA==}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-8TzOUJZmyx0N53jOuiu9FoJNVHnIvRi89INnVBKJeamlhC01pU6b2tEPssnecDt3dMbcyQsm0n17vXuvuZbEng==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-WtXe/tghtyLfGDOe+dSO6MJzcvoA+J0x9C+r0Ju9WBWW6EllgliJaAAc6C2F1j5D9qPaFjB4V8SWKB/unaNalA==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -1580,14 +1580,14 @@ packages:
resolution: {integrity: sha512-bp4tWaS2cpnitjtmH9hm3T7milwSqgt4j3T/KA8cvsFpbg7p303ADb5CNml5RsribgdBcRYtMsLEFYeYnU9dpg==}
engines: {node: '>= 18'}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-34g1fvg25htzZdedwgJOllUhMIExFSoBwIDzbx6TOCAwObI4MnrZ64quQ+ExYUi8OAJHpM+fce3gqc2zCboH4A==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-xl31MdOI77Ul3Yk+n8F1BFS4HbNvg3NB01a4A3dPRGDLlcurVsUkePsPZIx2ttN4dygiVzYcsz03cuEIXGcb4g==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-x4LEUt80OooOQHSCeEvK7nPJi4kmpb/HO/7DCnNxIsaYoHZ5q2PpI5wD2YnSGRUZwC9eMK5YyqV0vQU1nP/YvA==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-kBPpfgB1qktpAe/t1V76qcz8g8wIPprNW+V9qdlXdob/DoN8dVChX78NOtRJ2946vLtPoKUEu+NDtop7ChBb7A==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -1599,8 +1599,8 @@ packages:
'@fleetbase/[email protected]':
resolution: {integrity: sha512-2S/XLPzf25ZKV7cFJwfeu4voYQboF9JiDfpRUTrif4XCfgdrQ2Zim7O5iTpoNv2l8Ne8D+Ed7BGJsKWjJFLcsw==}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-Mpp3GmD6b3WfdzaaI9F8OVuQClUybxYUo3sEVi87+gNitmLKu8wMbK2YXaf8NAu0nRYHAKaeAGIyxafQ2bErKA==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-WO5aRiL1rYmj0mDGQcZN9xwWGrDCoiFWl+18nFlyesZVETGD2igKQptwbL3V1X7LllLodxUZf9krW9PFKn5JTg==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -1611,8 +1611,8 @@ packages:
peerDependencies:
ember-engines: ^0.9.0
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-5Ik5H+H8ixZgyKW+NJLzSrSAyAxH/Wss2bM6BMnp0ePJnVeoUoyh8lCQXsR2KUeXB6xzEq9893PCuVhGWoxMfA==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-RTF1rngNkeTvHB0Yg4ErDu5MU5szTT3oe7xNWgGFUJkt2yeyUAdcx5Ay+EbxZCQ0zao92/u+SuVmE+AzqXWjRg==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -10876,7 +10876,7 @@ snapshots:
transitivePeerDependencies:
- '@typescript-eslint/types'
- '@fleetbase/[email protected](47001768392269870195224ea32348e1)':
+ '@fleetbase/[email protected](47001768392269870195224ea32348e1)':
dependencies:
'@babel/core': 7.29.7
@@ -11202,7 +11202,7 @@ snapshots:
- utf-8-validate
- webpack
- '@fleetbase/[email protected](abaf0c2a8c51c5147c2d07c08c7af87d)':
+ '@fleetbase/[email protected](abaf0c2a8c51c5147c2d07c08c7af87d)':
dependencies:
'@babel/core': 7.29.7
@@ -11272,7 +11272,7 @@ snapshots:
- webpack-command
- yaml
- '@fleetbase/[email protected](abaf0c2a8c51c5147c2d07c08c7af87d)':
+ '@fleetbase/[email protected](abaf0c2a8c51c5147c2d07c08c7af87d)':
dependencies:
'@babel/core': 7.29.7
@@ -11336,7 +11336,7 @@ snapshots:
'@mapbox/polyline': 0.2.0
osrm-text-instructions: 0.13.4
- '@fleetbase/[email protected](abaf0c2a8c51c5147c2d07c08c7af87d)':
+ '@fleetbase/[email protected](abaf0c2a8c51c5147c2d07c08c7af87d)':
dependencies:
'@babel/core': 7.29.7
@@ -11448,7 +11448,7 @@ snapshots:
- webpack-command
- yaml
- '@fleetbase/[email protected](abaf0c2a8c51c5147c2d07c08c7af87d)':
+ '@fleetbase/[email protected](abaf0c2a8c51c5147c2d07c08c7af87d)':
dependencies:
'@babel/core': 7.29.7
diff --git a/console/router.map.js b/console/router.map.js
index d300f136..9c1c1216 100644
--- a/console/router.map.js
+++ b/console/router.map.js
@@ -51,6 +51,7 @@ Router.map(function () {
});
this.route('branding');
this.route('two-fa-settings');
+ this.route('platform-api-token');
this.route('virtual', { path: '/:slug' });
this.route('organizations', function () {
this.route('index', { path: '/' });
diff --git a/console/tests/integration/components/configure/services-test.js b/console/tests/integration/components/configure/services-test.js
index 75806b7e..66987adb 100644
--- a/console/tests/integration/components/configure/services-test.js
+++ b/console/tests/integration/components/configure/services-test.js
@@ -32,6 +32,14 @@ class FetchStub extends Service {
originator: 'Fleetbase',
base_url: 'https://rest.messagebird.com/messages',
},
+ smpp: {
+ host: 'smpp.example.test',
+ port: 2775,
+ system_id: 'fleetbase',
+ password: 'secret',
+ source_addr: 'FLEETBASE',
+ bind_type: 'transceiver',
+ },
custom_http: {
method: 'POST',
url: 'https://sms-gateway.test/send',
@@ -150,4 +158,54 @@ module('Integration | Component | configure/services', function (hooks) {
},
});
});
+
+ test('it configures smpp advanced submit parameters', async function (assert) {
+ await render(hbs`<Configure::Services />`);
+ await waitFor('[data-test-sms-default-provider]');
+
+ await select('[data-test-sms-default-provider]', 'smpp');
+ assert.dom('[data-test-sms-configure-provider]').hasValue('smpp');
+ assert.dom('[data-test-smpp-advanced-settings]').doesNotExist();
+ assert.dom('[data-test-smpp-advanced-toggle]').hasText('Advanced Settings');
+
+ await click('[data-test-smpp-advanced-toggle]');
+ assert.dom('[data-test-smpp-advanced-settings]').exists();
+ assert.dom('[data-test-smpp-advanced-toggle]').hasText('Hide Advanced Settings');
+
+ await fillIn('[data-test-smpp-addr-ton]', '1');
+ await fillIn('[data-test-smpp-addr-npi]', '0');
+ await fillIn('[data-test-smpp-source-ton]', '1');
+ await fillIn('[data-test-smpp-source-npi]', '0');
+ await fillIn('[data-test-smpp-dest-ton]', '1');
+ await fillIn('[data-test-smpp-dest-npi]', '0');
+
+ await click('[data-test-smpp-advanced-toggle]');
+ assert.dom('[data-test-smpp-advanced-settings]').doesNotExist();
+ assert.dom('[data-test-smpp-advanced-toggle]').hasText('Advanced Settings');
+
+ await fillIn('[data-test-sms-test-phone]', '+15551234567');
+ await click('[data-test-sms-test-button]');
+
+ const fetch = this.owner.lookup('service:fetch');
+
+ assert.strictEqual(fetch.lastPost.url, 'settings/test-sms-provider-config');
+ assert.deepEqual(fetch.lastPost.payload.config, {
+ host: 'smpp.example.test',
+ port: 2775,
+ system_id: 'fleetbase',
+ password: 'secret',
+ source_addr: 'FLEETBASE',
+ bind_type: 'transceiver',
+ addr_ton: 1,
+ addr_npi: 0,
+ source_addr_ton: 1,
+ source_addr_npi: 0,
+ dest_addr_ton: 1,
+ dest_addr_npi: 0,
+ registered_delivery: 1,
+ data_coding: 0,
+ service_type: '',
+ address_range: '',
+ });
+ });
});
diff --git a/console/translations/ar-ae.yaml b/console/translations/ar-ae.yaml
index 5a49ce08..c2f10153 100644
--- a/console/translations/ar-ae.yaml
+++ b/console/translations/ar-ae.yaml
@@ -587,6 +587,18 @@ auth:
help-text: أدخل كلمة مرور لا تقل عن 6 أحرف للمتابعة.
submit-button: إعادة تعيين كلمة المرور
back-button: عودة
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: إنشاء أو الانضمام إلى منظمة
diff --git a/console/translations/bg-bg.yaml b/console/translations/bg-bg.yaml
index 89a30783..dcc2ad52 100644
--- a/console/translations/bg-bg.yaml
+++ b/console/translations/bg-bg.yaml
@@ -593,6 +593,18 @@ auth:
help-text: Въведете парола с поне 6 символа, за да продължите.
submit-button: Нулиране на паролата
back-button: Назад
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Създайте или се присъединете към организация
diff --git a/console/translations/de-de.yaml b/console/translations/de-de.yaml
index 2ee7fb95..d04d75f0 100644
--- a/console/translations/de-de.yaml
+++ b/console/translations/de-de.yaml
@@ -624,6 +624,18 @@ auth:
submit-button: Passwort zurücksetzen
back-button: Zurück
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Organisation erstellen oder beitreten
diff --git a/console/translations/en-us.yaml b/console/translations/en-us.yaml
index 2a4ee387..e368bd5f 100644
--- a/console/translations/en-us.yaml
+++ b/console/translations/en-us.yaml
@@ -633,6 +633,18 @@ auth:
submit-button: Reset Password
back-button: Back
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Create or join a organization
@@ -658,6 +670,7 @@ console:
organizations: Organizations
branding: Branding
2fa-config: 2FA Config
+ platform-api-token: Platform API Token
schedule-monitor: Schedule Monitor
services: Services
mail: Mail
@@ -696,6 +709,28 @@ console:
title: Services Configuration
socket:
title: Socket Configuration
+ platform-api-token:
+ title: Platform API Token
+ description: Manage the platform API token used by trusted integrations to access protected platform endpoints such as the organization directory.
+ loading: Loading platform API token status...
+ status: Status
+ configured: Configured
+ not-configured: Not configured
+ last-rotated: Last rotated
+ last-used: Last used
+ never: Never
+ generate-token: Generate Token
+ rotate-token: Rotate Token
+ revoke-token: Revoke Token
+ one-time-warning: Copy this token now. It will not be shown again.
+ rotate-confirm-title: Rotate platform API token?
+ rotate-warning: Rotating this token immediately invalidates integrations using the previous token.
+ revoke-confirm-title: Revoke platform API token?
+ revoke-warning: Revoking disables platform-token access to protected platform endpoints.
+ generated: Platform API token generated.
+ rotated: Platform API token rotated.
+ revoked: Platform API token revoked.
+ copied: Platform API token copied to clipboard.
branding:
title: Branding
icon-text: Icon
diff --git a/console/translations/es-es.yaml b/console/translations/es-es.yaml
index b1cc8d8b..e8f2c976 100644
--- a/console/translations/es-es.yaml
+++ b/console/translations/es-es.yaml
@@ -596,6 +596,18 @@ auth:
help-text: Introduce una contraseña de al menos 6 caracteres para continuar.
submit-button: Restablecer contraseña
back-button: Volver
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Crear o unirse a una organización
diff --git a/console/translations/es-mx.yaml b/console/translations/es-mx.yaml
index 0d3cf4b0..c9bf8b29 100644
--- a/console/translations/es-mx.yaml
+++ b/console/translations/es-mx.yaml
@@ -628,6 +628,18 @@ auth:
submit-button: Restablecer contraseña
back-button: Volver
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Crear o unirse a una organización
diff --git a/console/translations/fa-ir.yaml b/console/translations/fa-ir.yaml
index 953b6611..9804143d 100644
--- a/console/translations/fa-ir.yaml
+++ b/console/translations/fa-ir.yaml
@@ -577,6 +577,18 @@ auth:
help-text: برای ادامه، رمزی با حداقل 6 کاراکتر وارد کنید
submit-button: بازنشانی رمز عبور
back-button: بازگشت
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: ایجاد یا پیوستن به یک سازمان
diff --git a/console/translations/fr-fr.yaml b/console/translations/fr-fr.yaml
index 0067b613..bb3d401b 100644
--- a/console/translations/fr-fr.yaml
+++ b/console/translations/fr-fr.yaml
@@ -597,6 +597,18 @@ auth:
help-text: Entrez un mot de passe d'au moins 6 caractères pour continuer.
submit-button: Réinitialiser le mot de passe
back-button: Retour
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Créer ou rejoindre une organisation
diff --git a/console/translations/mn-mn.yaml b/console/translations/mn-mn.yaml
index 164a3ec7..f302ac89 100644
--- a/console/translations/mn-mn.yaml
+++ b/console/translations/mn-mn.yaml
@@ -596,6 +596,18 @@ auth:
help-text: Үргэлжлүүлэхийн тулд дор хаяж 6 тэмдэгт бүхий нууц үг оруулна уу.
submit-button: Нууц үг сэргээх
back-button: Буцах
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Байгууллага үүсгэх эсвэл нэгдэх
diff --git a/console/translations/pt-br.yaml b/console/translations/pt-br.yaml
index de489065..97c31b2f 100644
--- a/console/translations/pt-br.yaml
+++ b/console/translations/pt-br.yaml
@@ -591,6 +591,18 @@ auth:
help-text: Digite uma senha com pelo menos 6 caracteres para continuar.
submit-button: Redefinir senha
back-button: Voltar
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Criar ou entrar em uma organização
diff --git a/console/translations/ru-ru.yaml b/console/translations/ru-ru.yaml
index 48e02fa7..05a56af2 100644
--- a/console/translations/ru-ru.yaml
+++ b/console/translations/ru-ru.yaml
@@ -592,6 +592,18 @@ auth:
help-text: Введите пароль длиной не менее 6 символов для продолжения.
submit-button: Сбросить пароль
back-button: Назад
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Создать или присоединиться к организации
diff --git a/console/translations/uz-uz.yaml b/console/translations/uz-uz.yaml
index 47784dff..d9eae26a 100644
--- a/console/translations/uz-uz.yaml
+++ b/console/translations/uz-uz.yaml
@@ -607,6 +607,18 @@ auth:
submit-button: Parolni tiklash
back-button: Orqaga
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Tashkilot yaratish yoki unga qo'shilish
diff --git a/console/translations/vi-vn.yaml b/console/translations/vi-vn.yaml
index f2a04046..9bf5e4d1 100644
--- a/console/translations/vi-vn.yaml
+++ b/console/translations/vi-vn.yaml
@@ -596,6 +596,18 @@ auth:
help-text: Nhập mật khẩu ít nhất 6 ký tự để tiếp tục.
submit-button: Đặt lại mật khẩu
back-button: Quay lại
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: Tạo hoặc tham gia tổ chức
diff --git a/console/translations/zh-cn.yaml b/console/translations/zh-cn.yaml
index 9da17fb6..01d4b9a1 100644
--- a/console/translations/zh-cn.yaml
+++ b/console/translations/zh-cn.yaml
@@ -570,6 +570,18 @@ auth:
help-text: 请输入至少6个字符的密码以继续。
submit-button: 重置密码
back-button: 返回
+ confirm-email-change:
+ success-message: Your email address has been updated.
+ invalid-verification-code: This email change link is invalid or expired.
+ title: Confirm email change
+ message-text: Confirm this change to update the login email for your Fleetbase account.
+ form:
+ code:
+ label: Confirmation code
+ help-text: The confirmation code from your email.
+ submit-button: Confirm Email Change
+ back-button: Back
+
console:
create-or-join-organization:
modal-title: 创建或加入组织
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 886fb157..56f61f18 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -23,6 +23,7 @@ RUN install-php-extensions \
# geos \
sockets \
pcntl \
+ xdebug \
@composer
# Install build dependencies for GEOS
@@ -75,7 +76,7 @@ ENV QUEUE_CONNECTION=redis
ENV CADDYFILE_PATH=/fleetbase/Caddyfile
ENV CONSOLE_PATH=/fleetbase/console
ENV OCTANE_SERVER=frankenphp
-ENV FLEETBASE_VERSION=0.7.51
+ENV FLEETBASE_VERSION=0.7.52
# Set environment
ARG ENVIRONMENT=production
diff --git a/packages/ai b/packages/ai
index 9be5bc31..1738e404 160000
--- a/packages/ai
+++ b/packages/ai
@@ -1 +1 @@
-Subproject commit 9be5bc31cec79d965e6586da9f3385b7bfa4a89e
+Subproject commit 1738e40490542cb75ab9dbe644c7c769a0996980
diff --git a/packages/core-api b/packages/core-api
index cc1981e6..b0241828 160000
--- a/packages/core-api
+++ b/packages/core-api
@@ -1 +1 @@
-Subproject commit cc1981e6472d3662b954c3a2d1d5c5747e18fc21
+Subproject commit b024182813515b9561647b53f8786151656fbe4f
diff --git a/packages/fleetops b/packages/fleetops
index e59e9250..df0ed096 160000
--- a/packages/fleetops
+++ b/packages/fleetops
@@ -1 +1 @@
-Subproject commit e59e9250b99a0cf4d79608c1ef933c817a7bb9a0
+Subproject commit df0ed096c152a753daa39198bf73aaaba991af7f
diff --git a/packages/iam-engine b/packages/iam-engine
index 77700172..86fd73a5 160000
--- a/packages/iam-engine
+++ b/packages/iam-engine
@@ -1 +1 @@
-Subproject commit 7770017299e9dd59a596ee62bfd4dc74c19d9107
+Subproject commit 86fd73a5fed7dd8db5da691800e60ee859be163b
diff --git a/packages/ledger b/packages/ledger
index 98cdb605..9e7ddbcf 160000
--- a/packages/ledger
+++ b/packages/ledger
@@ -1 +1 @@
-Subproject commit 98cdb605888ba514b206e00171ca8bd265dcdc1d
+Subproject commit 9e7ddbcfc32514ba47810b7e91ec9ebcd872beb4
diff --git a/packages/storefront b/packages/storefront
index 912fca2b..86b61de2 160000
--- a/packages/storefront
+++ b/packages/storefront
@@ -1 +1 @@
-Subproject commit 912fca2b2d2d60c1365685b6ef99d45c3ca00878
+Subproject commit 86b61de21cd79d4b28e0cffaae4cb8c0e5ba7924