Skip to content

Modular logistics and supply chain operating system (LSOS)

v0.7.42

Ronald A. Richardsond985009a3d38
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index aeac94a0..31576ccf 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -180,7 +180,7 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
- version: 11
+ version: latest
run_install: false
- name: Get pnpm Store Directory
diff --git a/.github/workflows/eks-cd.yml b/.github/workflows/eks-cd.yml
index 4c4c9e75..196431d2 100644
--- a/.github/workflows/eks-cd.yml
+++ b/.github/workflows/eks-cd.yml
@@ -120,7 +120,7 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
- version: 11
+ version: latest
run_install: false
- name: Get pnpm Store Directory
diff --git a/.github/workflows/gcp-cd.yml b/.github/workflows/gcp-cd.yml
index 91c54670..d7a101fa 100644
--- a/.github/workflows/gcp-cd.yml
+++ b/.github/workflows/gcp-cd.yml
@@ -136,7 +136,7 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
- version: 11
+ version: latest
run_install: false
- name: Get pnpm Store Directory
diff --git a/.gitignore b/.gitignore
index b7491940..12382693 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,7 @@ docker/database/mysql/*
verdaccio/minio
verdaccio/config/htpasswd
verdaccio/storage
+docker/vroom
# private packages
packages/billing
packages/flespi
diff --git a/RELEASE.md b/RELEASE.md
index 74eb02f0..62bd3065 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -1,107 +1,91 @@
-> v0.7.41 ~ "Live operations intelligence, dashboard reliability, and orchestrator allocation control"
+> v0.7.42 ~ "Customer APIs, multi-zone pricing, CLI installation, and operations hardening"
---
## ✨ Highlights
-This release focuses on FleetOps `0.6.49` and Ember UI `0.3.30`. It adds a new FleetOps dashboard widget suite backed by metric and analytics endpoints, sharpens live operations visibility with richer map context, operational alerts, and native telematics providers, expands orchestrator capacity-only allocation with vehicle packing controls, and hardens dashboard widget management so system dashboards, GridStack layouts, and default widgets behave reliably.
+This release updates Fleetbase Console `0.7.42`, FleetOps `0.6.50`, FleetOps Data `0.1.34`, Core API `1.6.49`, and Ember UI `0.3.32`. It adds a public FleetOps customer API for customer portals, first-class public order config discovery, multi-zone distance service-rate pricing, safer driver and vehicle availability defaults, hardened live-map viewport loading, and a new CLI-driven installation flow that replaces the old web-based installer with a not-configured landing page.
---
## 📦 Component Versions
-- `fleetops`: `0.6.49`
-- `ember-ui`: `0.3.30`
-- `core-api`: `1.6.47`
+- `console`: `0.7.42`
+- `fleetops`: `0.6.50`
+- `fleetops-data`: `0.1.34`
+- `ember-ui`: `0.3.32`
+- `core-api`: `1.6.49`
---
## 🚚 FleetOps
-### FleetOps dashboard widgets
-- Added a new FleetOps dashboard widget suite with individual KPI tiles, analytics panels, and a live fleet map widget.
-- Added KPI tile widgets for Earnings, Average Order Value, Distance Travelled, Active Orders, Drivers Online, and Open Issues, all backed by per-slug metric endpoints.
-- Added analytics widgets for Operations Pulse, Revenue Trend, Order Volume by Status, On-Time Delivery, Top Drivers, Fuel Cost & Efficiency, Issues Insights, Maintenance Overview, and Geofence Violations.
-- Added the Live Fleet Map widget for real-time driver positions and active route visibility directly on dashboards.
-- Kept the legacy Fleet-Ops Metrics widget registered for one release as `Fleet-Ops Metrics (Legacy)` while the new individual KPI widgets supersede it.
-- Added reusable `Widget::KpiTile` presentation and widget export shims so FleetOps widgets can be registered, discovered, and rendered through the shared dashboard picker.
+### Public customer API and order config discovery
+- Added a B2C FleetOps customer API under `/v1/customers/*` so customer portals can use a Fleetbase API credential directly, without Storefront publishable-key or Store/Network coupling.
+- Added public customer signup, verification-code, login, SMS login, password reset, logout, device registration, profile, saved-place, customer-order listing, customer-order create, and customer-order detail flows.
+- Added `Customer-Token` authentication backed by Sanctum personal access tokens, with company checks against the API credential session so tokens cannot cross company boundaries.
+- Added a FleetOps `Customer` contact specialization and customer auth helper for company-preferred token resolution.
+- Kept the API boundary canonical: customer place payloads use the standard Place shape, customer order creation mirrors the normal FleetOps order shape, and customer-created orders force `customer_uuid` from the token.
+- Added optional `service_quote` consumption on customer order creation so customer portals can submit selected quotes and lock purchase rates onto the resulting order.
+- Added public read-only `/v1/order-configs` and `/v1/order-configs/{id}` endpoints with a public-safe `OrderConfig` resource exposing activity flow metadata for portals, drivers, and integrations.
+- Added a `company` object to customer responses with public-safe company details and canonical transaction currency resolution.
-### Live map, alerts, and telematics
-- Enriched live-map vehicle and driver context across Leaflet and Google map renderers with readable popovers for status, assigned driver, active order reference, coordinates, speed, heading, and contact details.
-- Added shared live-map card content utilities so Google and Leaflet renderers use a consistent display model.
-- Added company tracking-alert settings for late departures, route deviations, and prolonged stoppages.
-- Added the scheduled `fleetops:process-operational-alerts` command plus notification classes for late departure, route deviation, and prolonged stoppage alerts.
-- Persisted driver license expiry and exposed it in FleetOps driver forms, driver detail views, and API resources.
-- Added native AFAQY and Safee Tracking telematics providers to FleetOps provider discovery and configuration.
-- Added explicit testing seeders for connectivity, fleet, maintenance, network, and order fixtures under `server/seeders/Testing` so realistic FleetOps demo data stays opt-in.
+### Multi-zone distance service rates
+- Added a generic `multi_zone_distance` service-rate calculation method for routes that cross multiple priced zones or service areas.
+- Added geographic pricing rule metadata on service-rate fees, including service area or zone references, labels, priority, and fallback behavior.
+- Priced route distance by sampling route legs against configured zone/service-area polygons and returning per-zone quote line items.
+- Added FleetOps service-rate form and detail UI support for configuring and reviewing multi-zone distance fees.
+- Fixed preliminary quote currency filtering so service quotes respect the submitted currency.
-### Order tracking intelligence
-- Replaced the old monolithic `OrderTracker` internals with a provider-neutral tracking intelligence layer.
-- Added the new tracking provider domain with context builders, provider registry/manager, provider capabilities, tracking options, normalized result DTOs, and tracking stop DTOs.
-- Added built-in `google_routes`, `osrm`, and `calculated` tracking providers so FleetOps can support route-aware providers without hard-coding OSRM as the only path.
-- Added company-level tracking settings and internal endpoints for reading and saving tracking provider configuration.
-- Updated order details, route lists, overlays, lookup views, progress cards, and tracking UI components to consume the canonical nested `tracker_data` shape.
-- Added a reusable tracking stop progress component and duration formatting helper for clearer order progress display.
-- Added live order query and active live order metric improvements, including a dedicated driver ping internal API path.
+### Operations workflow hardening
+- Hardened live-map viewport loading with SRID-safe coordinate predicates, validated viewport bounds, normalized bounds cache keys, result caps, debounced frontend reloads, and an explicit live-map resource limit.
+- Defaulted driver and vehicle availability to `available` across backend creation, frontend forms, dispatch/orchestrator lookups, seeders, and existing null or legacy `active` records.
+- Added order form required-field indicators backed by create-order validation, and updated multi-waypoint route rows to use RouteList-style markers.
+- Added driver assign/unassign quick actions from order rows and order details.
+- Improved multi-stop order activity flow behavior, activity-flow horizontal scrolling, order config flow normalization/rendering, route/tracking display, and order ETA gating by tracking lifecycle.
+- Fixed FleetOps order file/document handling, label rendering, vehicle assignment behavior, service area map context menus, and a broken `vehicle/pill` translation key.
+- Added customer contact user identity conflict handling and an audit command to surface customer/user type mismatches.
-### Orchestrator consumable API and capacity allocation
-- Added consumable API endpoints for orchestrator run and commit flows:
- - `POST /v1/orchestrator/run`
- - `POST /v1/orchestrator/commit`
-- Kept VROOM configuration settings-driven while exposing public API responses that use public IDs instead of internal UUIDs or database IDs.
-- Refactored VROOM payload generation around Fleetbase route semantics so pickup/dropoff, waypoint-only, and mixed route orders stay atomic during optimization.
-- Added VROOM capacity-only allocation for users who want vehicle allocation by capacity, skills, task limits, and workload constraints without requiring vehicle locations.
-- Added VROOM vehicle packing controls for capacity-only allocation so dispatchers can minimize vehicles by default, use balanced assignment, or disable the packing bias.
-- Added fixed vehicle costs to capacity-only VROOM payloads when minimizing vehicles so VROOM prefers filling feasible vehicles before opening another vehicle.
-- Added a native FleetOps `capacity` allocation engine for deterministic capacity-only assignment without routing.
-- Moved the VROOM orchestration seeder under `server/seeders/Testing` with an explicit run command so deploy-time seeding does not auto-discover test data.
-- Added orchestrator UI controls for allocation strategy and lightweight vehicle/driver position indicators that use the existing model coordinate validity helpers.
-- Passed the full order resource into `fleet-ops:component:order:form` registry components as both `@order` and `@resource`, restoring extension access to the current order model in custom form sections.
-
-### Customer contact/user invariant
-- Enforced the FleetOps customer invariant so contacts saved as `customer` keep the linked user type aligned as `customer`.
-- Prevented existing FleetOps customer contacts from being changed away from `customer` through the internal contact save flow.
-- Added an idempotent repair migration for historical customer contacts using strong Fleet-Ops Customer role hints as repair evidence.
+---
+## 🧩 FleetOps Data
+- Added model and serializer support for multi-zone distance service-rate rules.
+- Added service-rate-fee fields for zone/service-area references, labels, priority, fallback configuration, and embedded rule preservation.
+- Added service-rate helpers for detecting multi-zone distance rates, sorting rules, and creating default rules.
+- Defaulted FleetOps Data driver and vehicle model statuses to `available` so frontend data defaults match FleetOps backend behavior.
---
-## 🧪 Tests and Coverage
-- Added backend coverage for orchestrator consumable run/commit responses and public-ID serialization.
-- Added VROOM payload tests for route-task semantics, capacity-only request generation, vehicle packing fixed-cost behavior, assignment mapping, and unassigned order handling.
-- Added native capacity allocation tests for weight, volume, pallets, parcels, skills, task limits, and workload balancing behavior.
-- Added tracking intelligence tests, live order query tests, driver ping endpoint tests, and frontend tracking component coverage.
-- Added FleetOps integration coverage for enriched fleet listing/live-map display behavior.
-- Added backend coverage for FleetOps analytics routes and metric registry resolution.
-- Added frontend coverage for the reusable KPI tile widget loading, value, delta, and error states.
-- Added Ember UI dashboard service and widget-panel tests covering default widget identity, widget grouping, search, recommended filtering, and repeated widget badges.
+## 🧱 Core API and Console
+### CLI-driven installation flow
+- Removed the old web-based installer execution flow from Console and replaced it with a passive not-configured landing page that points operators to the local and cloud install docs.
+- Added a shared Console installation service that detects `fleetbase_not_configured` API responses, redirects to `/install`, checks onboarding state through `onboard/should-onboard`, and returns configured installs to onboarding or login.
+- Added install-completion socket listening on the `fleetbase.install` channel so open install pages refresh after CLI/container setup finishes.
+- Added the Core API `fleetbase:notify-installed` command and wired `api/deploy.sh` to broadcast install completion after migrations, caches, and registry initialization.
+- Removed internal web installer controller routes and shifted configuration guarding into Core API middleware for the new installer method.
+
+### Platform and integrations
+- Updated the CallPro.mn SMS integration to the new API base URL and refreshed SMS handling coverage.
+- Updated deployment workflows to install the latest pnpm action version during release builds.
---
-## 🧩 Ember UI
-### Dashboard widget picker and GridStack reliability
-- Reworked the dashboard widget picker into a compact overlay with sticky controls, All/Recommended/On Dashboard tabs, category grouping, search across name, description, and category, and reusable fixed-height `Dashboard::WidgetCard` cards.
-- Fixed dashboard widget identity-map collisions by storing registry slugs in `options.widget_key` instead of using them as Ember Data record IDs.
-- Locked edit/add/delete affordances on virtual system dashboards and replaced them with a create-to-customize hint to avoid backend 404s.
-- Remounted GridStack when switching dashboards so stale inline height and min-height styles do not leave empty bands between dashboards.
-- Compacted GridStack after widget removal so surrounding widgets fill the deleted widget's space.
-- Updated Ember UI CI to Node `22.x`, refreshed pnpm handling, and bumped `@fleetbase/ember-ui` to `0.3.30`.
+## 🧪 Tests and Coverage
+- Added FleetOps static-shape coverage for customer endpoints, customer order canonical fields, customer portal alias prevention, and public order config resources.
+- Added FleetOps coverage for live-map viewport bounds, driver/vehicle status defaults, order form required indicators, and multi-zone service-rate behavior.
+- Added FleetOps Data unit coverage for multi-zone rule sorting and default rule creation.
+- Added Core API unit coverage for the updated CallPro SMS service.
+- Added Console unit coverage for the installation service, application route error handling, login/onboarding redirects, and install route behavior.
---
## 🐛 Bug Fixes
-- Fixed order tracking architecture limitations that made OSRM the only first-class tracking provider.
-- Fixed active live order metric behavior and moved driver ping behavior to the internal API surface.
-- Fixed route summary stop count and tracking progress rail display issues.
-- Fixed purchase-rate component lint issues from the tracking release train.
-- Fixed live-map vehicle and driver hover content that blurred online connectivity, operational status, active order, and movement details together.
-- Fixed tracking alert repeat behavior by storing per-order notification markers under `order.meta.operational_alerts`.
-- Fixed extension form registry components receiving an undefined or stale order argument in the order form.
-- Fixed customer contacts that could be saved as FleetOps customers while their linked users remained generic users or contacts.
-- Fixed orchestrator VROOM behavior for Fleetbase payloads with pickup/dropoff only, waypoint-only routes, mixed route payloads, missing coordinates, and capacity-only allocation without vehicle positions.
-- Fixed VROOM capacity-only allocation spreading work across too many vehicles by adding an explicit vehicle packing bias.
-- Fixed dashboard widget picker usability, default widget duplication crashes, system dashboard edit actions, dashboard-switch layout residue, and widget removal gaps.
+- Fixed customer signup verification failures caused by unsaved verification subjects and guarded User fields.
+- Fixed customer signup/login idempotency, password mutator usage, and reset-password double hashing.
+- Fixed customer order creation so client-supplied dispatch, driver, vehicle, facilitator, and customer fields cannot override the authenticated customer context.
+- Fixed multi-zone fee persistence, embedded fee refresh after edit, duplicate fee serialization, geography inference, and quote breakdown labels.
+- Fixed live-map database errors and inefficient loading caused by envelope-based viewport filtering.
+- Fixed driver and vehicle records defaulting to legacy `active` or null statuses instead of the dispatch-ready `available` status.
+- Fixed order config flow serialization and frontend rendering drift.
+- Fixed install boot behavior so an unconfigured instance no longer attempts web-based install actions from the browser.
---
## 🔌 API Changes
-- Added `POST /v1/orchestrator/run` for consumable orchestration execution.
-- Added `POST /v1/orchestrator/commit` for committing public-ID orchestrator assignments.
-- Added internal tracking settings endpoints for tracking provider configuration.
-- Added internal driver ping API handling for live order tracking workflows.
-- Added `GET /fleet-ops/metrics/{slug}` for individual dashboard KPI tile metrics with period, comparison, and sparkline support.
-- Added internal FleetOps analytics endpoints for operations pulse, revenue trend, orders by status, on-time delivery, top drivers, fuel efficiency, issues insights, maintenance overview, geofence violations, and live fleet widgets.
-- Added internal settings support for operational tracking-alert configuration.
-- Added `drivers.license_expiry` persistence and resource serialization.
-- Extended live driver and vehicle index resources with richer map metadata, including current order reference and movement labels.
+- Added `POST /v1/customers/request-creation-code`.
+- Added `POST /v1/customers`, `POST /v1/customers/login`, `POST /v1/customers/login-with-sms`, `POST /v1/customers/verify-code`, `POST /v1/customers/forgot-password`, and `POST /v1/customers/reset-password`.
+- Added customer-token protected `GET/PUT /v1/customers/me`, `POST /v1/customers/logout`, `POST /v1/customers/logout-all`, `GET /v1/customers/places`, `GET/POST /v1/customers/orders`, `GET /v1/customers/orders/{id}`, and `POST /v1/customers/register-device`.
+- Added public read-only `GET /v1/order-configs` and `GET /v1/order-configs/{id}`.
+- Added Core API middleware behavior for unconfigured instances using the `fleetbase_not_configured` error code.
+- Removed the internal browser-driven installer API surface in favor of CLI/container installation and the install-completion notification command.
---
## 🔧 Upgrade Steps
diff --git a/api/composer.json b/api/composer.json
index b8d24716..853c5781 100644
--- a/api/composer.json
+++ b/api/composer.json
@@ -20,8 +20,8 @@
"require": {
"php": ">=8.0 <=8.2.30",
"appstract/laravel-opcache": "^4.0",
- "fleetbase/core-api": "^1.6.48",
- "fleetbase/fleetops-api": "^0.6.49",
+ "fleetbase/core-api": "^1.6.49",
+ "fleetbase/fleetops-api": "^0.6.50",
"fleetbase/registry-bridge": "^0.1.9",
"fleetbase/storefront-api": "^0.4.14",
"fleetbase/ledger-api": "^0.0.3",
diff --git a/api/composer.lock b/api/composer.lock
index b66034dc..7d08236d 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": "6f7c8923668693426a5e4e0ce05fd456",
+ "content-hash": "a127cbde4457ec8d9db829f2d2e37a58",
"packages": [
{
"name": "appstract/laravel-opcache",
@@ -124,16 +124,16 @@
},
{
"name": "aws/aws-sdk-php",
- "version": "3.381.3",
+ "version": "3.382.1",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
- "reference": "989f4776aed2a3b184a5b64046542e8fe66e99e2"
+ "reference": "d506bdaab8e29b18d31a46be4fe4314af5945432"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/989f4776aed2a3b184a5b64046542e8fe66e99e2",
- "reference": "989f4776aed2a3b184a5b64046542e8fe66e99e2",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/d506bdaab8e29b18d31a46be4fe4314af5945432",
+ "reference": "d506bdaab8e29b18d31a46be4fe4314af5945432",
"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.381.3"
+ "source": "https://github.com/aws/aws-sdk-php/tree/3.382.1"
},
- "time": "2026-05-18T18:21:09+00:00"
+ "time": "2026-05-26T18:24:13+00:00"
},
{
"name": "aws/aws-sdk-php-laravel",
@@ -2156,16 +2156,16 @@
},
{
"name": "fleetbase/core-api",
- "version": "1.6.48",
+ "version": "1.6.49",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
- "reference": "20a7b67affbd10e63e0dd2c2544b1e959db56b39"
+ "reference": "6995c83c907dd9d401ba1cc0f6f83e8383a11eba"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/core-api/zipball/20a7b67affbd10e63e0dd2c2544b1e959db56b39",
- "reference": "20a7b67affbd10e63e0dd2c2544b1e959db56b39",
+ "url": "https://api.github.com/repos/fleetbase/core-api/zipball/6995c83c907dd9d401ba1cc0f6f83e8383a11eba",
+ "reference": "6995c83c907dd9d401ba1cc0f6f83e8383a11eba",
"shasum": ""
},
"require": {
@@ -2255,9 +2255,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/core-api/issues",
- "source": "https://github.com/fleetbase/core-api/tree/v1.6.48"
+ "source": "https://github.com/fleetbase/core-api/tree/v1.6.49"
},
- "time": "2026-05-20T07:37:08+00:00"
+ "time": "2026-05-27T05:08:53+00:00"
},
{
"name": "fleetbase/countries",
@@ -2326,16 +2326,16 @@
},
{
"name": "fleetbase/fleetops-api",
- "version": "0.6.49",
+ "version": "0.6.50",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/fleetops.git",
- "reference": "4d30b769e9959d8938350668228eb93569e0d236"
+ "reference": "0b01ef4accbb7885082adaf7bb568d36e9fb304b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/4d30b769e9959d8938350668228eb93569e0d236",
- "reference": "4d30b769e9959d8938350668228eb93569e0d236",
+ "url": "https://api.github.com/repos/fleetbase/fleetops/zipball/0b01ef4accbb7885082adaf7bb568d36e9fb304b",
+ "reference": "0b01ef4accbb7885082adaf7bb568d36e9fb304b",
"shasum": ""
},
"require": {
@@ -2412,9 +2412,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/fleetops/issues",
- "source": "https://github.com/fleetbase/fleetops/tree/v0.6.49"
+ "source": "https://github.com/fleetbase/fleetops/tree/v0.6.50"
},
- "time": "2026-05-20T08:20:41+00:00"
+ "time": "2026-05-27T05:22:38+00:00"
},
{
"name": "fleetbase/laravel-mysql-spatial",
@@ -3603,16 +3603,16 @@
},
{
"name": "google/apiclient-services",
- "version": "v0.441.1",
+ "version": "v0.442.0",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-api-php-client-services.git",
- "reference": "b389588a2f9f375ec448d6cd8d0903d83c571ae0"
+ "reference": "3afe7b5c9d1cebf2a5be018820ce62eeb906b81f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/b389588a2f9f375ec448d6cd8d0903d83c571ae0",
- "reference": "b389588a2f9f375ec448d6cd8d0903d83c571ae0",
+ "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/3afe7b5c9d1cebf2a5be018820ce62eeb906b81f",
+ "reference": "3afe7b5c9d1cebf2a5be018820ce62eeb906b81f",
"shasum": ""
},
"require": {
@@ -3641,9 +3641,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.441.1"
+ "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.442.0"
},
- "time": "2026-05-17T01:38:24+00:00"
+ "time": "2026-05-25T01:34:24+00:00"
},
{
"name": "google/auth",
@@ -4039,16 +4039,16 @@
},
{
"name": "google/protobuf",
- "version": "v5.34.1",
+ "version": "v5.35.0",
"source": {
"type": "git",
"url": "https://github.com/protocolbuffers/protobuf-php.git",
- "reference": "da52fbc6bb574bfa6693ee2c86f9096f7b7f003b"
+ "reference": "d96ed77c7edaff3cd576a74173aa0b0655c87b1a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/da52fbc6bb574bfa6693ee2c86f9096f7b7f003b",
- "reference": "da52fbc6bb574bfa6693ee2c86f9096f7b7f003b",
+ "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/d96ed77c7edaff3cd576a74173aa0b0655c87b1a",
+ "reference": "d96ed77c7edaff3cd576a74173aa0b0655c87b1a",
"shasum": ""
},
"require": {
@@ -4077,9 +4077,9 @@
"proto"
],
"support": {
- "source": "https://github.com/protocolbuffers/protobuf-php/tree/v5.34.1"
+ "source": "https://github.com/protocolbuffers/protobuf-php/tree/v5.35.0"
},
- "time": "2026-03-19T20:51:56+00:00"
+ "time": "2026-05-19T22:13:40+00:00"
},
{
"name": "graham-campbell/result-type",
@@ -4189,16 +4189,16 @@
},
{
"name": "guzzlehttp/guzzle",
- "version": "7.10.0",
+ "version": "7.10.4",
"source": {
"type": "git",
"url": "https://github.com/guzzle/guzzle.git",
- "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4"
+ "reference": "aec528da477062d3af11f51e6b33402be233b21f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4",
- "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4",
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/aec528da477062d3af11f51e6b33402be233b21f",
+ "reference": "aec528da477062d3af11f51e6b33402be233b21f",
"shasum": ""
},
"require": {
@@ -4216,8 +4216,9 @@
"bamarni/composer-bin-plugin": "^1.8.2",
"ext-curl": "*",
"guzzle/client-integration-tests": "3.0.2",
+ "guzzlehttp/test-server": "^0.3.2",
"php-http/message-factory": "^1.1",
- "phpunit/phpunit": "^8.5.39 || ^9.6.20",
+ "phpunit/phpunit": "^8.5.52 || ^9.6.34",
"psr/log": "^1.1 || ^2.0 || ^3.0"
},
"suggest": {
@@ -4295,7 +4296,7 @@
],
"support": {
"issues": "https://github.com/guzzle/guzzle/issues",
- "source": "https://github.com/guzzle/guzzle/tree/7.10.0"
+ "source": "https://github.com/guzzle/guzzle/tree/7.10.4"
},
"funding": [
{
@@ -4311,20 +4312,20 @@
"type": "tidelift"
}
],
- "time": "2025-08-23T22:36:01+00:00"
+ "time": "2026-05-22T19:00:53+00:00"
},
{
"name": "guzzlehttp/promises",
- "version": "2.3.0",
+ "version": "2.4.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "481557b130ef3790cf82b713667b43030dc9c957"
+ "reference": "09e8a212562fb1fb6a512c4156ed71525969d6c2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957",
- "reference": "481557b130ef3790cf82b713667b43030dc9c957",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/09e8a212562fb1fb6a512c4156ed71525969d6c2",
+ "reference": "09e8a212562fb1fb6a512c4156ed71525969d6c2",
"shasum": ""
},
"require": {
@@ -4332,7 +4333,7 @@
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
- "phpunit/phpunit": "^8.5.44 || ^9.6.25"
+ "phpunit/phpunit": "^8.5.52 || ^9.6.34"
},
"type": "library",
"extra": {
@@ -4378,7 +4379,7 @@
],
"support": {
"issues": "https://github.com/guzzle/promises/issues",
- "source": "https://github.com/guzzle/promises/tree/2.3.0"
+ "source": "https://github.com/guzzle/promises/tree/2.4.1"
},
"funding": [
{
@@ -4394,20 +4395,20 @@
"type": "tidelift"
}
],
- "time": "2025-08-22T14:34:08+00:00"
+ "time": "2026-05-20T22:57:30+00:00"
},
{
"name": "guzzlehttp/psr7",
- "version": "2.10.0",
+ "version": "2.10.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "d5ddaf5743c42a61cb6100f83dc9d5a2bafe75ca"
+ "reference": "a1bbdc172f32a25fe999965b65b6e71fd87da9ed"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/d5ddaf5743c42a61cb6100f83dc9d5a2bafe75ca",
- "reference": "d5ddaf5743c42a61cb6100f83dc9d5a2bafe75ca",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/a1bbdc172f32a25fe999965b65b6e71fd87da9ed",
+ "reference": "a1bbdc172f32a25fe999965b65b6e71fd87da9ed",
"shasum": ""
},
"require": {
@@ -4495,7 +4496,7 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/2.10.0"
+ "source": "https://github.com/guzzle/psr7/tree/2.10.2"
},
"funding": [
{
@@ -4511,20 +4512,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-19T17:32:11+00:00"
+ "time": "2026-05-25T22:58:15+00:00"
},
{
"name": "guzzlehttp/uri-template",
- "version": "v1.0.5",
+ "version": "v1.0.6",
"source": {
"type": "git",
"url": "https://github.com/guzzle/uri-template.git",
- "reference": "4f4bbd4e7172148801e76e3decc1e559bdee34e1"
+ "reference": "eef7f87bab6f204eba3c39224d8075c70c637946"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/uri-template/zipball/4f4bbd4e7172148801e76e3decc1e559bdee34e1",
- "reference": "4f4bbd4e7172148801e76e3decc1e559bdee34e1",
+ "url": "https://api.github.com/repos/guzzle/uri-template/zipball/eef7f87bab6f204eba3c39224d8075c70c637946",
+ "reference": "eef7f87bab6f204eba3c39224d8075c70c637946",
"shasum": ""
},
"require": {
@@ -4533,7 +4534,7 @@
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
- "phpunit/phpunit": "^8.5.44 || ^9.6.25",
+ "phpunit/phpunit": "^8.5.52 || ^9.6.34",
"uri-template/tests": "1.0.0"
},
"type": "library",
@@ -4581,7 +4582,7 @@
],
"support": {
"issues": "https://github.com/guzzle/uri-template/issues",
- "source": "https://github.com/guzzle/uri-template/tree/v1.0.5"
+ "source": "https://github.com/guzzle/uri-template/tree/v1.0.6"
},
"funding": [
{
@@ -4597,7 +4598,7 @@
"type": "tidelift"
}
],
- "time": "2025-08-22T14:27:06+00:00"
+ "time": "2026-05-23T22:00:21+00:00"
},
{
"name": "hammerstone/fast-paginate",
@@ -6022,16 +6023,16 @@
},
{
"name": "laravel/octane",
- "version": "v2.17.3",
+ "version": "v2.17.4",
"source": {
"type": "git",
"url": "https://github.com/laravel/octane.git",
- "reference": "040bfbebfdf545a752376f4396d942cd6f7da036"
+ "reference": "ffeac11324accc6edf8df426ba4541f3171d494e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/octane/zipball/040bfbebfdf545a752376f4396d942cd6f7da036",
- "reference": "040bfbebfdf545a752376f4396d942cd6f7da036",
+ "url": "https://api.github.com/repos/laravel/octane/zipball/ffeac11324accc6edf8df426ba4541f3171d494e",
+ "reference": "ffeac11324accc6edf8df426ba4541f3171d494e",
"shasum": ""
},
"require": {
@@ -6107,7 +6108,7 @@
"issues": "https://github.com/laravel/octane/issues",
"source": "https://github.com/laravel/octane"
},
- "time": "2026-04-23T14:52:16+00:00"
+ "time": "2026-05-22T11:30:06+00:00"
},
{
"name": "laravel/prompts",
@@ -10302,16 +10303,16 @@
},
{
"name": "psy/psysh",
- "version": "v0.12.22",
+ "version": "v0.12.23",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
- "reference": "3be75d5b9244936dd4ac62ade2bfb004d13acf0f"
+ "reference": "4dcc0f08047d52bbde475eda481146fd8e27e1a4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/3be75d5b9244936dd4ac62ade2bfb004d13acf0f",
- "reference": "3be75d5b9244936dd4ac62ade2bfb004d13acf0f",
+ "url": "https://api.github.com/repos/bobthecow/psysh/zipball/4dcc0f08047d52bbde475eda481146fd8e27e1a4",
+ "reference": "4dcc0f08047d52bbde475eda481146fd8e27e1a4",
"shasum": ""
},
"require": {
@@ -10375,9 +10376,9 @@
],
"support": {
"issues": "https://github.com/bobthecow/psysh/issues",
- "source": "https://github.com/bobthecow/psysh/tree/v0.12.22"
+ "source": "https://github.com/bobthecow/psysh/tree/v0.12.23"
},
- "time": "2026-03-22T23:03:24+00:00"
+ "time": "2026-05-23T13:41:31+00:00"
},
{
"name": "ralouphie/getallheaders",
@@ -10781,16 +10782,16 @@
},
{
"name": "rize/uri-template",
- "version": "0.4.1",
+ "version": "0.4.2",
"source": {
"type": "git",
"url": "https://github.com/rize/UriTemplate.git",
- "reference": "abb53c8b73a5b6c24e11f49036ab842f560cad33"
+ "reference": "7ad22944daede547b4542e1c977ec4a81aa20832"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/rize/UriTemplate/zipball/abb53c8b73a5b6c24e11f49036ab842f560cad33",
- "reference": "abb53c8b73a5b6c24e11f49036ab842f560cad33",
+ "url": "https://api.github.com/repos/rize/UriTemplate/zipball/7ad22944daede547b4542e1c977ec4a81aa20832",
+ "reference": "7ad22944daede547b4542e1c977ec4a81aa20832",
"shasum": ""
},
"require": {
@@ -10825,7 +10826,7 @@
],
"support": {
"issues": "https://github.com/rize/UriTemplate/issues",
- "source": "https://github.com/rize/UriTemplate/tree/0.4.1"
+ "source": "https://github.com/rize/UriTemplate/tree/0.4.2"
},
"funding": [
{
@@ -10841,7 +10842,7 @@
"type": "open_collective"
}
],
- "time": "2025-12-02T15:19:04+00:00"
+ "time": "2026-05-07T15:30:40+00:00"
},
{
"name": "rlanvin/php-rrule",
@@ -11216,16 +11217,16 @@
},
{
"name": "spatie/browsershot",
- "version": "5.3.0",
+ "version": "5.4.0",
"source": {
"type": "git",
"url": "https://github.com/spatie/browsershot.git",
- "reference": "91ba83158c4c7cdee34562cca7936ed995b87f3e"
+ "reference": "dcf7a65fd1d0fc8fd113739b84982377728d0b2f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/browsershot/zipball/91ba83158c4c7cdee34562cca7936ed995b87f3e",
- "reference": "91ba83158c4c7cdee34562cca7936ed995b87f3e",
+ "url": "https://api.github.com/repos/spatie/browsershot/zipball/dcf7a65fd1d0fc8fd113739b84982377728d0b2f",
+ "reference": "dcf7a65fd1d0fc8fd113739b84982377728d0b2f",
"shasum": ""
},
"require": {
@@ -11272,7 +11273,7 @@
"webpage"
],
"support": {
- "source": "https://github.com/spatie/browsershot/tree/5.3.0"
+ "source": "https://github.com/spatie/browsershot/tree/5.4.0"
},
"funding": [
{
@@ -11280,7 +11281,7 @@
"type": "github"
}
],
- "time": "2026-04-27T08:01:04+00:00"
+ "time": "2026-05-26T13:13:33+00:00"
},
{
"name": "spatie/enum",
@@ -11583,16 +11584,16 @@
},
{
"name": "spatie/laravel-package-tools",
- "version": "1.93.0",
+ "version": "1.93.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-package-tools.git",
- "reference": "0d097bce95b2bf6802fb1d83e1e753b0f5a948e7"
+ "reference": "d5552849801f2642aea710557463234b59ef65eb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/0d097bce95b2bf6802fb1d83e1e753b0f5a948e7",
- "reference": "0d097bce95b2bf6802fb1d83e1e753b0f5a948e7",
+ "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/d5552849801f2642aea710557463234b59ef65eb",
+ "reference": "d5552849801f2642aea710557463234b59ef65eb",
"shasum": ""
},
"require": {
@@ -11632,7 +11633,7 @@
],
"support": {
"issues": "https://github.com/spatie/laravel-package-tools/issues",
- "source": "https://github.com/spatie/laravel-package-tools/tree/1.93.0"
+ "source": "https://github.com/spatie/laravel-package-tools/tree/1.93.1"
},
"funding": [
{
@@ -11640,7 +11641,7 @@
"type": "github"
}
],
- "time": "2026-02-21T12:49:54+00:00"
+ "time": "2026-05-19T14:06:37+00:00"
},
{
"name": "spatie/laravel-pdf",
@@ -12320,16 +12321,16 @@
},
{
"name": "symfony/cache",
- "version": "v7.4.10",
+ "version": "v7.4.12",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
- "reference": "8c5fbb4b5bc7a878f7ce66f1b7e29653c404984b"
+ "reference": "902d621e0b6ef0ebeaa133770b5c339a19328589"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/cache/zipball/8c5fbb4b5bc7a878f7ce66f1b7e29653c404984b",
- "reference": "8c5fbb4b5bc7a878f7ce66f1b7e29653c404984b",
+ "url": "https://api.github.com/repos/symfony/cache/zipball/902d621e0b6ef0ebeaa133770b5c339a19328589",
+ "reference": "902d621e0b6ef0ebeaa133770b5c339a19328589",
"shasum": ""
},
"require": {
@@ -12400,7 +12401,7 @@
"psr6"
],
"support": {
- "source": "https://github.com/symfony/cache/tree/v7.4.10"
+ "source": "https://github.com/symfony/cache/tree/v7.4.12"
},
"funding": [
{
@@ -12420,7 +12421,7 @@
"type": "tidelift"
}
],
- "time": "2026-05-05T08:23:16+00:00"
+ "time": "2026-05-20T07:20:23+00:00"
},
{
"name": "symfony/cache-contracts",
@@ -13388,16 +13389,16 @@
},
{
"name": "symfony/http-kernel",
- "version": "v6.4.39",
+ "version": "v6.4.40",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "79329748e3d8a9cd02ec1caedbf92601b269fe39"
+ "reference": "41dff5c3d03b3fa20947c552c5f6ba74ca43fa28"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/79329748e3d8a9cd02ec1caedbf92601b269fe39",
- "reference": "79329748e3d8a9cd02ec1caedbf92601b269fe39",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/41dff5c3d03b3fa20947c552c5f6ba74ca43fa28",
+ "reference": "41dff5c3d03b3fa20947c552c5f6ba74ca43fa28",
"shasum": ""
},
"require": {
@@ -13482,7 +13483,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/http-kernel/tree/v6.4.39"
+ "source": "https://github.com/symfony/http-kernel/tree/v6.4.40"
},
"funding": [
{
@@ -13502,20 +13503,20 @@
"type": "tidelift"
}
],
- "time": "2026-05-13T17:49:58+00:00"
+ "time": "2026-05-20T08:55:59+00:00"
},
{
"name": "symfony/mailer",
- "version": "v6.4.34",
+ "version": "v6.4.40",
"source": {
"type": "git",
"url": "https://github.com/symfony/mailer.git",
- "reference": "01b846f48e53ee4096692a383637a1fa4d577301"
+ "reference": "94fd44f3052e02340b0dd4447a7d7a5856e32da2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mailer/zipball/01b846f48e53ee4096692a383637a1fa4d577301",
- "reference": "01b846f48e53ee4096692a383637a1fa4d577301",
+ "url": "https://api.github.com/repos/symfony/mailer/zipball/94fd44f3052e02340b0dd4447a7d7a5856e32da2",
+ "reference": "94fd44f3052e02340b0dd4447a7d7a5856e32da2",
"shasum": ""
},
"require": {
@@ -13566,7 +13567,7 @@
"description": "Helps sending emails",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/mailer/tree/v6.4.34"
+ "source": "https://github.com/symfony/mailer/tree/v6.4.40"
},
"funding": [
{
@@ -13586,7 +13587,7 @@
"type": "tidelift"
}
],
- "time": "2026-02-24T09:34:36+00:00"
+ "time": "2026-05-19T20:33:22+00:00"
},
{
"name": "symfony/mailgun-mailer",
@@ -13659,16 +13660,16 @@
},
{
"name": "symfony/mime",
- "version": "v6.4.37",
+ "version": "v6.4.40",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
- "reference": "330077bc7fbe314758aff62834b758d06ac6d260"
+ "reference": "7ccfb0cc6ff707ac9ca34b6ddab0bc6187436cbe"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/mime/zipball/330077bc7fbe314758aff62834b758d06ac6d260",
- "reference": "330077bc7fbe314758aff62834b758d06ac6d260",
+ "url": "https://api.github.com/repos/symfony/mime/zipball/7ccfb0cc6ff707ac9ca34b6ddab0bc6187436cbe",
+ "reference": "7ccfb0cc6ff707ac9ca34b6ddab0bc6187436cbe",
"shasum": ""
},
"require": {
@@ -13724,7 +13725,7 @@
"mime-type"
],
"support": {
- "source": "https://github.com/symfony/mime/tree/v6.4.37"
+ "source": "https://github.com/symfony/mime/tree/v6.4.40"
},
"funding": [
{
@@ -13744,7 +13745,7 @@
"type": "tidelift"
}
],
- "time": "2026-04-29T09:53:28+00:00"
+ "time": "2026-05-19T20:33:22+00:00"
},
{
"name": "symfony/options-resolver",
@@ -13902,16 +13903,16 @@
},
{
"name": "symfony/polyfill-intl-grapheme",
- "version": "v1.37.0",
+ "version": "v1.38.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
- "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e"
+ "reference": "e9247d281d694a5120554d9afaf54e070e88a603"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/4864388bfbd3001ce88e234fab652acd91fdc57e",
- "reference": "4864388bfbd3001ce88e234fab652acd91fdc57e",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/e9247d281d694a5120554d9afaf54e070e88a603",
+ "reference": "e9247d281d694a5120554d9afaf54e070e88a603",
"shasum": ""
},
"require": {
@@ -13960,7 +13961,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.37.0"
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.38.1"
},
"funding": [
{
@@ -13980,20 +13981,20 @@
"type": "tidelift"
}
],
- "time": "2026-04-26T13:13:48+00:00"
+ "time": "2026-05-26T05:58:03+00:00"
},
{
"name": "symfony/polyfill-intl-icu",
- "version": "v1.37.0",
+ "version": "v1.38.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-icu.git",
- "reference": "3510b63d07376b04e57e27e82607d468bb134f78"
+ "reference": "445c90e341fccda10311019cf82ff73bb7343945"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/3510b63d07376b04e57e27e82607d468bb134f78",
- "reference": "3510b63d07376b04e57e27e82607d468bb134f78",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/445c90e341fccda10311019cf82ff73bb7343945",
+ "reference": "445c90e341fccda10311019cf82ff73bb7343945",
"shasum": ""
},
"require": {
@@ -14048,7 +14049,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-icu/tree/v1.37.0"
+ "source": "https://github.com/symfony/polyfill-intl-icu/tree/v1.38.0"
},
"funding": [
{
@@ -14068,20 +14069,20 @@
"type": "tidelift"
}
],
- "time": "2026-04-10T16:50:15+00:00"
+ "time": "2026-05-25T11:52:53+00:00"
},
{
"name": "symfony/polyfill-intl-idn",
- "version": "v1.37.0",
+ "version": "v1.38.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-idn.git",
- "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3"
+ "reference": "dc21118016c039a66235cf93d96b435ffb282412"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/9614ac4d8061dc257ecc64cba1b140873dce8ad3",
- "reference": "9614ac4d8061dc257ecc64cba1b140873dce8ad3",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/dc21118016c039a66235cf93d96b435ffb282412",
+ "reference": "dc21118016c039a66235cf93d96b435ffb282412",
"shasum": ""
},
"require": {
@@ -14135,7 +14136,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.37.0"
+ "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.38.1"
},
"funding": [
{
@@ -14155,20 +14156,20 @@
"type": "tidelift"
}
],
- "time": "2024-09-10T14:38:51+00:00"
+ "time": "2026-05-25T15:22:23+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
- "version": "v1.37.0",
+ "version": "v1.38.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
- "reference": "3833d7255cc303546435cb650316bff708a1c75c"
+ "reference": "2d446c214bdbe5b71bde5011b060a05fece3ae6b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c",
- "reference": "3833d7255cc303546435cb650316bff708a1c75c",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/2d446c214bdbe5b71bde5011b060a05fece3ae6b",
+ "reference": "2d446c214bdbe5b71bde5011b060a05fece3ae6b",
"shasum": ""
},
"require": {
@@ -14220,7 +14221,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.37.0"
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.38.0"
},
"funding": [
{
@@ -14240,20 +14241,20 @@
"type": "tidelift"
}
],
- "time": "2024-09-09T11:45:10+00:00"
+ "time": "2026-05-25T13:48:31+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.37.0",
+ "version": "v1.38.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "6a21eb99c6973357967f6ce3708cd55a6bec6315"
+ "reference": "14c5439eec4ccff081ac14eca2dc57feb2a66d92"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6a21eb99c6973357967f6ce3708cd55a6bec6315",
- "reference": "6a21eb99c6973357967f6ce3708cd55a6bec6315",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/14c5439eec4ccff081ac14eca2dc57feb2a66d92",
+ "reference": "14c5439eec4ccff081ac14eca2dc57feb2a66d92",
"shasum": ""
},
"require": {
@@ -14305,7 +14306,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.37.0"
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.38.1"
},
"funding": [
{
@@ -14325,7 +14326,7 @@
"type": "tidelift"
}
],
- "time": "2026-04-10T17:25:58+00:00"
+ "time": "2026-05-26T12:51:13+00:00"
},
{
"name": "symfony/polyfill-php80",
@@ -14413,16 +14414,16 @@
},
{
"name": "symfony/polyfill-php83",
- "version": "v1.37.0",
+ "version": "v1.38.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php83.git",
- "reference": "3600c2cb22399e25bb226e4a135ce91eeb2a6149"
+ "reference": "8339098cae28673c15cce00d80734af0453054e2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/3600c2cb22399e25bb226e4a135ce91eeb2a6149",
- "reference": "3600c2cb22399e25bb226e4a135ce91eeb2a6149",
+ "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/8339098cae28673c15cce00d80734af0453054e2",
+ "reference": "8339098cae28673c15cce00d80734af0453054e2",
"shasum": ""
},
"require": {
@@ -14469,7 +14470,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php83/tree/v1.37.0"
+ "source": "https://github.com/symfony/polyfill-php83/tree/v1.38.1"
},
"funding": [
{
@@ -14489,20 +14490,20 @@
"type": "tidelift"
}
],
- "time": "2026-04-10T17:25:58+00:00"
+ "time": "2026-05-26T12:51:13+00:00"
},
{
"name": "symfony/polyfill-php84",
- "version": "v1.37.0",
+ "version": "v1.38.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php84.git",
- "reference": "88486db2c389b290bf87ff1de7ebc1e13e42bb06"
+ "reference": "f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/88486db2c389b290bf87ff1de7ebc1e13e42bb06",
- "reference": "88486db2c389b290bf87ff1de7ebc1e13e42bb06",
+ "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa",
+ "reference": "f4e1dfaee5b74aba5964fe1fd4dfc7ba5e3085fa",
"shasum": ""
},
"require": {
@@ -14549,7 +14550,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php84/tree/v1.37.0"
+ "source": "https://github.com/symfony/polyfill-php84/tree/v1.38.1"
},
"funding": [
{
@@ -14569,7 +14570,7 @@
"type": "tidelift"
}
],
- "time": "2026-04-10T18:47:49+00:00"
+ "time": "2026-05-26T12:51:13+00:00"
},
{
"name": "symfony/polyfill-uuid",
@@ -15050,16 +15051,16 @@
},
{
"name": "symfony/routing",
- "version": "v6.4.37",
+ "version": "v6.4.40",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
- "reference": "48035d186798d27d375d95aad37db8fe097e4048"
+ "reference": "0cd0d2fb05382c95dff6b33c51a7c96cbdbc136d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/routing/zipball/48035d186798d27d375d95aad37db8fe097e4048",
- "reference": "48035d186798d27d375d95aad37db8fe097e4048",
+ "url": "https://api.github.com/repos/symfony/routing/zipball/0cd0d2fb05382c95dff6b33c51a7c96cbdbc136d",
+ "reference": "0cd0d2fb05382c95dff6b33c51a7c96cbdbc136d",
"shasum": ""
},
"require": {
@@ -15113,7 +15114,7 @@
"url"
],
"support": {
- "source": "https://github.com/symfony/routing/tree/v6.4.37"
+ "source": "https://github.com/symfony/routing/tree/v6.4.40"
},
"funding": [
{
@@ -15133,7 +15134,7 @@
"type": "tidelift"
}
],
- "time": "2026-04-18T13:45:55+00:00"
+ "time": "2026-05-19T20:33:22+00:00"
},
{
"name": "symfony/serializer",
@@ -16716,16 +16717,16 @@
},
{
"name": "laravel/sail",
- "version": "v1.59.0",
+ "version": "v1.61.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/sail.git",
- "reference": "a41abad557e487eaefde6c9873085ed086fdf47a"
+ "reference": "68ef35015630fe510432e63e11e21749006df688"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/sail/zipball/a41abad557e487eaefde6c9873085ed086fdf47a",
- "reference": "a41abad557e487eaefde6c9873085ed086fdf47a",
+ "url": "https://api.github.com/repos/laravel/sail/zipball/68ef35015630fe510432e63e11e21749006df688",
+ "reference": "68ef35015630fe510432e63e11e21749006df688",
"shasum": ""
},
"require": {
@@ -16775,7 +16776,7 @@
"issues": "https://github.com/laravel/sail/issues",
"source": "https://github.com/laravel/sail"
},
- "time": "2026-05-13T14:02:20+00:00"
+ "time": "2026-05-23T23:33:57+00:00"
},
{
"name": "mockery/mockery",
@@ -17675,6 +17676,7 @@
"type": "github"
}
],
+ "abandoned": true,
"time": "2023-02-03T06:58:43+00:00"
},
{
@@ -17730,6 +17732,7 @@
"type": "github"
}
],
+ "abandoned": true,
"time": "2023-02-03T06:59:15+00:00"
},
{
@@ -18903,16 +18906,16 @@
},
{
"name": "symfony/yaml",
- "version": "v7.4.11",
+ "version": "v7.4.12",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "e2eb64a57763815ccae07ac1c7653d6cc1c326fd"
+ "reference": "8b6952b56ca6417f25f7a65758cadd0ce02edc51"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/e2eb64a57763815ccae07ac1c7653d6cc1c326fd",
- "reference": "e2eb64a57763815ccae07ac1c7653d6cc1c326fd",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/8b6952b56ca6417f25f7a65758cadd0ce02edc51",
+ "reference": "8b6952b56ca6417f25f7a65758cadd0ce02edc51",
"shasum": ""
},
"require": {
@@ -18955,7 +18958,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/yaml/tree/v7.4.11"
+ "source": "https://github.com/symfony/yaml/tree/v7.4.12"
},
"funding": [
{
@@ -18975,7 +18978,7 @@
"type": "tidelift"
}
],
- "time": "2026-05-13T12:04:42+00:00"
+ "time": "2026-05-20T07:20:23+00:00"
},
{
"name": "theseer/tokenizer",
diff --git a/api/config/services.php b/api/config/services.php
index e272bbf6..3c6e5dcd 100644
--- a/api/config/services.php
+++ b/api/config/services.php
@@ -47,6 +47,6 @@ return [
'callpromn' => [
'api_key' => env('CALLPROMN_API_KEY', ''),
'from' => env('CALLPROMN_FROM', ''),
- 'base_url' => env('CALLPROMN_BASE_URL', 'https://api.messagepro.mn' ),
+ 'base_url' => env('CALLPROMN_BASE_URL', 'https://api-text.callpro.mn/v1/sms'),
],
];
diff --git a/api/deploy.sh b/api/deploy.sh
index 4ff661cc..efdc35e8 100755
--- a/api/deploy.sh
+++ b/api/deploy.sh
@@ -35,5 +35,8 @@ php artisan route:cache
# Initialize registry
php artisan registry:init
+# Notify open install pages that setup has completed
+php artisan fleetbase:notify-installed || true
+
# Restart octane
# php artisan octane:reload
diff --git a/console/app/controllers/install.js b/console/app/controllers/install.js
index 6c247cb4..7ca2d906 100644
--- a/console/app/controllers/install.js
+++ b/console/app/controllers/install.js
@@ -1,102 +1,13 @@
import Controller from '@ember/controller';
-import { tracked } from '@glimmer/tracking';
import { inject as service } from '@ember/service';
-import { action } from '@ember/object';
-import { task } from 'ember-concurrency';
export default class InstallController extends Controller {
- @service fetch;
- @service notifications;
- @service router;
- @tracked error;
- @tracked steps = [
- { task: 'createdb', name: 'Create Database', status: 'pending' },
- { task: 'migrate', name: 'Run Migrations', status: 'pending' },
- { task: 'seed', name: 'Seed Database', status: 'pending' },
- ];
+ @service installation;
- @action updateTask(task, properties = {}) {
- const steps = [...this.steps];
- const index = steps.findIndex((step) => step.task === task);
+ runningLocallyDocsUrl = 'https://www.fleetbase.io/docs/platform/quickstart/running-locally';
+ cloudDocsUrl = 'https://www.fleetbase.io/docs/platform/quickstart/deploy-in-cloud';
- if (index > -1) {
- steps[index] = { ...steps[index], ...properties };
- }
-
- this.steps = [...steps];
- }
-
- @action startInstall() {
- this.install.perform();
- }
-
- @action reset(options = {}) {
- const install = options.install === true;
-
- this.steps.forEach((step) => {
- this.updateTask(step.task, { status: 'pending' });
- });
-
- if (install) {
- this.install.perform();
- }
- }
-
- @action onInstallCompleted() {
- const isCompleted = this.steps.every(({ status }) => status === 'completed');
-
- if (isCompleted) {
- this.notifications.success('Install completed successfully!');
- return this.router.transitionTo('onboard');
- }
- }
-
- @task({ enqueue: true, maxConcurrency: 1 }) *install() {
- try {
- yield this.createdb.perform();
- yield this.migrate.perform();
- yield this.seed.perform();
- } catch (error) {
- this.error = error;
- return this.reset();
- }
-
- this.onInstallCompleted();
- }
-
- @task *createdb() {
- this.updateTask('createdb', { status: 'in_progress' });
-
- try {
- yield this.fetch.post('installer/createdb');
- this.updateTask('createdb', { status: 'completed' });
- } catch (error) {
- this.updateTask('createdb', { status: 'failed' });
- throw error;
- }
- }
-
- @task *migrate() {
- this.updateTask('migrate', { status: 'in_progress' });
-
- try {
- yield this.fetch.post('installer/migrate');
- this.updateTask('migrate', { status: 'completed' });
- } catch (error) {
- this.updateTask('migrate', { status: 'failed' });
- throw error;
- }
- }
-
- @task *seed() {
- this.updateTask('seed', { status: 'in_progress' });
-
- try {
- yield this.fetch.post('installer/seed');
- this.updateTask('seed', { status: 'completed' });
- } catch (error) {
- this.updateTask('seed', { status: 'failed' });
- throw error;
- }
+ get isRefreshing() {
+ return this.installation.isRefreshing;
}
}
diff --git a/console/app/router.js b/console/app/router.js
index 97c01a83..53ee0fc5 100644
--- a/console/app/router.js
+++ b/console/app/router.js
@@ -7,10 +7,10 @@ export default class Router extends EmberRouter {
}
Router.map(function () {
- this.route('virtual', { path: '/:slug' });
+ this.route('virtual', { path: '/~/:slug' });
this.route('install');
this.route('onboard', function () {
- this.route('verify-email');
+ this.route('index', { path: '/' });
});
this.route('auth', function () {
this.route('login', { path: '/' });
@@ -30,10 +30,12 @@ Router.map(function () {
this.route('account', function () {
this.route('virtual', { path: '/:slug' });
this.route('auth');
+ this.route('organizations');
});
this.route('settings', function () {
this.route('virtual', { path: '/:slug' });
this.route('two-fa');
+ this.route('notifications');
});
this.route('virtual', { path: '/:slug' });
this.route('admin', function () {
@@ -48,7 +50,6 @@ Router.map(function () {
this.route('socket');
});
this.route('branding');
- this.route('notifications');
this.route('two-fa-settings');
this.route('virtual', { path: '/:slug' });
this.route('organizations', function () {
diff --git a/console/app/routes/application.js b/console/app/routes/application.js
index 4f49096e..05ca975f 100644
--- a/console/app/routes/application.js
+++ b/console/app/routes/application.js
@@ -1,5 +1,4 @@
import Route from '@ember/routing/route';
-import { tracked } from '@glimmer/tracking';
import { inject as service } from '@ember/service';
import { action } from '@ember/object';
import isElectron from '@fleetbase/ember-core/utils/is-electron';
@@ -11,13 +10,12 @@ export default class ApplicationRoute extends Route {
@service('universe/extension-manager') extensionManager;
@service session;
@service theme;
- @service fetch;
@service urlSearchParams;
@service modalsManager;
@service intl;
@service currentUser;
@service router;
- @tracked defaultTheme;
+ @service installation;
/**
* Handle the transition into the application.
@@ -50,25 +48,18 @@ export default class ApplicationRoute extends Route {
}
/**
- * Check the installation status of Fleetbase and transition user accordingly.
+ * Handle application-level route errors.
*
- * @return {void|Transition}
+ * @param {Error|Object} error
+ * @return {boolean}
* @memberof ApplicationRoute
*/
- // eslint-disable-next-line ember/classic-decorator-hooks
- async init() {
- super.init(...arguments);
- const { shouldInstall, shouldOnboard, defaultTheme } = await this.checkInstallationStatus();
-
- this.defaultTheme = defaultTheme;
-
- if (shouldInstall) {
- return this.router.transitionTo('install');
+ @action error(error) {
+ if (this.installation.handleError(error)) {
+ return false;
}
- if (shouldOnboard) {
- return this.router.transitionTo('onboard');
- }
+ return true;
}
/**
@@ -104,8 +95,7 @@ export default class ApplicationRoute extends Route {
*
* This method prepares the theme by setting up an array of class names that should be applied to the
* application's body element. If the application is running inside an Electron environment, it adds the
- * `'is-electron'` class to the array. It then calls the `initialize` method of the `theme` service,
- * passing in the `bodyClassNames` array and the `defaultTheme` configuration.
+ * `'is-electron'` class to the array. It then calls the `initialize` method of the `theme` service.
*/
initializeTheme() {
const bodyClassNames = [];
@@ -114,7 +104,7 @@ export default class ApplicationRoute extends Route {
bodyClassNames.pushObject(['is-electron']);
}
- this.theme.initialize({ bodyClassNames, theme: this.defaultTheme });
+ this.theme.initialize({ bodyClassNames });
}
/**
@@ -128,14 +118,4 @@ export default class ApplicationRoute extends Route {
const locale = this.currentUser.getOption('locale', 'en-US');
this.intl.setLocale([locale]);
}
-
- /**
- * Checks to determine if Fleetbase should be installed or user needs to onboard.
- *
- * @return {Promise}
- * @memberof ApplicationRoute
- */
- checkInstallationStatus() {
- return this.fetch.get('installer/initialize');
- }
}
diff --git a/console/app/routes/auth/login.js b/console/app/routes/auth/login.js
index e6d85db4..dd450c58 100644
--- a/console/app/routes/auth/login.js
+++ b/console/app/routes/auth/login.js
@@ -4,6 +4,8 @@ import { inject as service } from '@ember/service';
export default class AuthLoginRoute extends Route {
@service session;
@service universe;
+ @service installation;
+ @service router;
/**
* If user is authentication redirect to console.
@@ -11,7 +13,17 @@ export default class AuthLoginRoute extends Route {
* @memberof AuthLoginRoute
* @void
*/
- beforeModel(transition) {
+ async beforeModel(transition) {
+ const { notConfigured, shouldOnboard, transition: installTransition } = await this.installation.checkOnboarding();
+
+ if (notConfigured) {
+ return installTransition;
+ }
+
+ if (shouldOnboard) {
+ return this.router.transitionTo('onboard');
+ }
+
this.session.prohibitAuthentication('console');
return this.universe.virtualRouteRedirect(transition, 'auth:login', 'virtual', { restoreQueryParams: true });
}
diff --git a/console/app/routes/install.js b/console/app/routes/install.js
index 3c0b1a84..144c734f 100644
--- a/console/app/routes/install.js
+++ b/console/app/routes/install.js
@@ -1,3 +1,23 @@
import Route from '@ember/routing/route';
+import { inject as service } from '@ember/service';
-export default class InstallRoute extends Route {}
+export default class InstallRoute extends Route {
+ @service installation;
+
+ beforeModel() {
+ return this.installation.redirectIfConfiguredFromInstall();
+ }
+
+ setupController(controller, model, transition) {
+ super.setupController(controller, model, transition);
+ this.installation.listenForInstallComplete();
+ }
+
+ resetController(controller, isExiting) {
+ super.resetController(controller, isExiting);
+
+ if (isExiting) {
+ this.installation.stopListeningForInstallComplete();
+ }
+ }
+}
diff --git a/console/app/services/installation.js b/console/app/services/installation.js
new file mode 100644
index 00000000..6b678539
--- /dev/null
+++ b/console/app/services/installation.js
@@ -0,0 +1,183 @@
+import Service from '@ember/service';
+import { inject as service } from '@ember/service';
+import { tracked } from '@glimmer/tracking';
+import { later, cancel } from '@ember/runloop';
+
+const NOT_CONFIGURED_ERROR = 'fleetbase_not_configured';
+const INSTALL_CHANNEL = 'fleetbase.install';
+const INSTALLED_EVENT = 'fleetbase.installed';
+
+export default class InstallationService extends Service {
+ @service fetch;
+ @service router;
+ @service socket;
+
+ @tracked status = 'unknown';
+ @tracked shouldOnboard = false;
+ @tracked isRefreshing = false;
+
+ installChannel = null;
+ listenRetry = null;
+
+ async checkOnboarding() {
+ try {
+ const { should_onboard: shouldOnboard = false } = await this.fetch.get('onboard/should-onboard', {}, { rawError: true });
+
+ this.status = 'configured';
+ this.shouldOnboard = shouldOnboard === true;
+
+ return {
+ notConfigured: false,
+ shouldOnboard: this.shouldOnboard,
+ };
+ } catch (error) {
+ const transition = this.handleNotConfigured(error);
+
+ if (transition) {
+ return {
+ notConfigured: true,
+ shouldOnboard: false,
+ transition,
+ };
+ }
+
+ throw error;
+ }
+ }
+
+ async redirectIfConfiguredFromInstall() {
+ try {
+ const { should_onboard: shouldOnboard = false } = await this.fetch.get('onboard/should-onboard', {}, { rawError: true });
+
+ this.status = 'configured';
+ this.shouldOnboard = shouldOnboard === true;
+
+ if (this.shouldOnboard) {
+ return this.router.transitionTo('onboard');
+ }
+
+ return this.router.transitionTo('auth.login');
+ } catch (error) {
+ if (this.isNotConfiguredError(error)) {
+ this.status = 'not-configured';
+ this.shouldOnboard = false;
+
+ return false;
+ }
+
+ throw error;
+ }
+ }
+
+ handleError(error) {
+ return this.handleNotConfigured(error);
+ }
+
+ handleNotConfigured(error) {
+ if (!this.isNotConfiguredError(error)) {
+ return false;
+ }
+
+ this.status = 'not-configured';
+ this.shouldOnboard = false;
+
+ return this.transitionToInstall();
+ }
+
+ transitionToInstall() {
+ if (this.router.currentRouteName === 'install') {
+ return true;
+ }
+
+ return this.router.transitionTo('install');
+ }
+
+ async listenForInstallComplete() {
+ if (this.installChannel || this.listenRetry) {
+ return;
+ }
+
+ try {
+ const socket = this.socket.instance();
+ const channel = socket.subscribe(INSTALL_CHANNEL);
+
+ this.installChannel = channel;
+
+ await channel.listener('subscribe').once();
+
+ for await (let payload of channel) {
+ this.handleInstallCompleteEvent(payload);
+ }
+ } catch (error) {
+ if (this.shouldRetrySocketListen(error)) {
+ this.scheduleListenRetry();
+ return;
+ }
+
+ if (!this.isDestroying && !this.isDestroyed) {
+ console.warn('[Install] Unable to listen for install completion:', error);
+ }
+ }
+ }
+
+ stopListeningForInstallComplete() {
+ if (this.listenRetry) {
+ cancel(this.listenRetry);
+ }
+
+ if (this.installChannel && typeof this.installChannel.close === 'function') {
+ this.installChannel.close();
+ }
+
+ this.installChannel = null;
+ this.listenRetry = null;
+ }
+
+ shouldRetrySocketListen(error) {
+ return !this.isDestroying && !this.isDestroyed && error instanceof ReferenceError && error.message?.includes('socketClusterClient');
+ }
+
+ scheduleListenRetry() {
+ this.listenRetry = later(
+ this,
+ () => {
+ this.listenRetry = null;
+ this.listenForInstallComplete();
+ },
+ 300
+ );
+ }
+
+ handleInstallCompleteEvent(payload) {
+ if (payload?.event !== INSTALLED_EVENT || payload?.installed !== true) {
+ return;
+ }
+
+ this.isRefreshing = true;
+ this.reloadConsole();
+ }
+
+ reloadConsole() {
+ window.location.reload();
+ }
+
+ isNotConfiguredError(error) {
+ if (!error) {
+ return false;
+ }
+
+ if (typeof error === 'string') {
+ return error === NOT_CONFIGURED_ERROR;
+ }
+
+ if (error.error === NOT_CONFIGURED_ERROR || error.code === NOT_CONFIGURED_ERROR || error.message === NOT_CONFIGURED_ERROR) {
+ return true;
+ }
+
+ if (Array.isArray(error.errors) && error.errors.some((entry) => this.isNotConfiguredError(entry))) {
+ return true;
+ }
+
+ return [error.payload, error.responseJSON, error.json].some((entry) => this.isNotConfiguredError(entry));
+ }
+}
diff --git a/console/app/templates/install.hbs b/console/app/templates/install.hbs
index 8f907141..41de7f33 100644
--- a/console/app/templates/install.hbs
+++ b/console/app/templates/install.hbs
@@ -1,34 +1,22 @@
-<div class="max-w-2xl m-auto h-screen overflow-y-scroll">
- <div class="h-full">
- <div class="border border-black bg-gray-900 shadow-md rounded-md p-5 mt-12">
- <div class="w-full flex-col items-center justify-center text-center mb-6">
- <img src="/images/icon.png" alt={{concat (t "app.name") " Install"}} class="w-12 h-12 mx-auto" width="48" height="48" />
- <h3 class="mt-2 text-gray-50 font-bold">{{t "app.name"}} {{t "install.installer-header"}}</h3>
- </div>
- <div class="space-y-4 mb-5">
- {{#each this.steps as |step|}}
- <div class="border {{if (eq step.status 'pending') 'border-black bg-gray-800'}} {{if (eq step.status 'in_progress') "border-blue-500 bg-blue-900"}} {{if (eq step.status 'completed') 'border-green-900 bg-green-800'}} {{if (eq step.status 'failed') 'border-red-900 bg-red-800'}} shadow-md px-4 py-2 flex flex-row items-center rounded-xl">
- <div class="w-12 flex flex-row items-center">
- <FaIcon @icon="circle-check" class="{{if (eq step.status 'pending') "text-gray-500"}} {{if (eq step.status 'in_progress') "text-blue-200"}} {{if (eq step.status 'completed') "text-green-400"}} {{if (eq step.status 'failed') "text-red-400"}}" />
- {{#if (eq step.status 'in_progress')}}
- <div class="ml-2 -mb-0.5">
- <Spinner />
- </div>
- {{/if}}
- </div>
- <span class="{{if (eq step.status 'pending') "text-gray-500"}} {{if (eq step.status 'in_progress') "text-blue-200"}} {{if (eq step.status 'completed') "text-green-400"}} {{if (eq step.status 'failed') "text-red-400"}} font-semibold">{{step.name}}</span>
- </div>
- {{/each}}
- </div>
- <div class="flex flex-col flex-1 my-1">
- {{#if this.error}}
- <div class="flex items-center border border-red-900 bg-red-800 text-red-100 px-4 py-1.5 rounded-lg mb-3 shadow-md">
- <FaIcon @icon="triangle-exclamation" class="text-red-100 mr-2" />
- <span>{{t "install.failed-message-sent"}}</span>
- </div>
- {{/if}}
- <Button @type="primary" @icon="play" @size="lg" @text={{if this.error (t "install.retry-install") (t "install.start-install") }} @wrapperClass="flex-1" class="w-full" @onClick={{this.startInstall}} @isLoading={{this.install.isRunning}} @disabled={{this.install.isRunning}} />
- </div>
+<div class="min-h-screen flex items-center justify-center px-6 py-12">
+ <div class="w-full max-w-xl border border-gray-800 bg-gray-900 shadow-md rounded-md p-8 text-center">
+ <img src="/images/icon.png" alt={{t "app.name"}} class="w-12 h-12 mx-auto" width="48" height="48" />
+ <h1 class="mt-4 text-2xl font-bold text-gray-50">{{t "install.not-configured-title"}}</h1>
+ <p class="mt-3 text-sm leading-6 text-gray-300">{{t "install.not-configured-message"}}</p>
+
+ {{#if this.isRefreshing}}
+ <p class="mt-4 text-sm font-medium text-sky-300">{{t "install.refreshing"}}</p>
+ {{/if}}
+
+ <div class="mt-8 flex flex-col sm:flex-row items-stretch sm:items-center justify-center gap-3">
+ <a href={{this.runningLocallyDocsUrl}} target="_blank" rel="noopener noreferrer" class="inline-flex items-center justify-center rounded-md bg-sky-600 px-4 py-2 text-sm font-semibold text-white shadow-sm hover:bg-sky-500">
+ <FaIcon @icon="book" class="mr-2" />
+ {{t "install.running-locally-docs"}}
+ </a>
+ <a href={{this.cloudDocsUrl}} target="_blank" rel="noopener noreferrer" class="inline-flex items-center justify-center rounded-md border border-gray-700 bg-gray-800 px-4 py-2 text-sm font-semibold text-gray-100 hover:bg-gray-700">
+ <FaIcon @icon="cloud" class="mr-2" />
+ {{t "install.cloud-docs"}}
+ </a>
</div>
</div>
-</div>
\ No newline at end of file
+</div>
diff --git a/console/package.json b/console/package.json
index 0e5c34a3..33c90ce9 100644
--- a/console/package.json
+++ b/console/package.json
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/console",
- "version": "0.7.41",
+ "version": "0.7.42",
"private": true,
"description": "Modular logistics and supply chain operating system (LSOS)",
"repository": "https://github.com/fleetbase/fleetbase",
@@ -35,9 +35,9 @@
"@ember/legacy-built-in-components": "^0.4.2",
"@fleetbase/dev-engine": "^0.2.13",
"@fleetbase/ember-core": "^0.3.19",
- "@fleetbase/ember-ui": "^0.3.31",
- "@fleetbase/fleetops-data": "^0.1.33",
- "@fleetbase/fleetops-engine": "^0.6.49",
+ "@fleetbase/ember-ui": "^0.3.32",
+ "@fleetbase/fleetops-data": "^0.1.34",
+ "@fleetbase/fleetops-engine": "^0.6.50",
"@fleetbase/iam-engine": "^0.1.9",
"@fleetbase/leaflet-routing-machine": "^3.2.17",
"@fleetbase/ledger-engine": "^0.0.3",
diff --git a/console/pnpm-lock.yaml b/console/pnpm-lock.yaml
index b011d30d..ed1b7b0d 100644
--- a/console/pnpm-lock.yaml
+++ b/console/pnpm-lock.yaml
@@ -5,9 +5,9 @@ settings:
excludeLinksFromLockfile: false
overrides:
- '@fleetbase/fleetops-data': ^0.1.33
+ '@fleetbase/fleetops-data': ^0.1.34
'@fleetbase/ember-core': ^0.3.19
- '@fleetbase/ember-ui': ^0.3.31
+ '@fleetbase/ember-ui': ^0.3.32
importers:
@@ -23,14 +23,14 @@ importers:
specifier: ^0.3.19
'@fleetbase/ember-ui':
- specifier: ^0.3.31
+ specifier: ^0.3.32
'@fleetbase/fleetops-data':
- specifier: ^0.1.33
+ specifier: ^0.1.34
'@fleetbase/fleetops-engine':
- specifier: ^0.6.49
- version: 0.6.49(b421113b8e787158f8d42852c5267750)
+ specifier: ^0.6.50
+ version: 0.6.50(b421113b8e787158f8d42852c5267750)
'@fleetbase/iam-engine':
specifier: ^0.1.9
version: 0.1.9(b421113b8e787158f8d42852c5267750)
@@ -1554,16 +1554,16 @@ packages:
resolution: {integrity: sha512-5phquVcfcpRtoxBvyAYDS9bmdPx5c46mXLrcvjmTFSdGElw9CZv44dRkuE8UTgpapMFfPc7vkA9/KwKFAgQ9JA==}
engines: {node: '>= 18'}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-gx0Hc8Y0rcCKodD110krroYjH+tKgUaHPZcUFAJiiedEsU0pRPoDoJX40+ZusiUTLAy9g8W33q7p1ETj3s2BTg==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-OPcFNwdQ4SBB0DryWbxbQ+WBMwr9Nl7MVg31r6qPAjmVLrL2MT22/BDH5jLNMHgyaLR5zJk0vtvl3SNX88TJzg==}
engines: {node: '>= 18'}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-uH52zftk0E8gK55hv3A2aNfrr0NRotbWjoj5TJgAsSR0RnmDh9ZXA1vrNfVyVImco/y6vNcNSr45+fipJYuAvQ==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-qIpLGtaOMopPaOlXql0bUlgK8dAtLcPHsPOiOniGhvUelagQiFuNAxEqJy3/kiQf++MqCx76z56VsqVqlgX6Og==}
engines: {node: '>= 18'}
- '@fleetbase/[email protected]':
- resolution: {integrity: sha512-8f6XJCPuLLp7GJ5tsK5QC0uvdMEXP+CId/aRKSnqNHdqszJzdRfYeRrSwYvZNr5OpQxSLpolMiSieNVjkebuiw==}
+ '@fleetbase/[email protected]':
+ resolution: {integrity: sha512-MJqqcI5tk0SgBzkbZMWcFS12ikD1QykKvtZXIzbo6fFYgNVSfKkwI19JJ9i9UD7HyC1L2FU3bpzFI1DkvmJK3w==}
engines: {node: '>= 18'}
peerDependencies:
ember-engines: ^0.9.0
@@ -10827,7 +10827,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -10908,7 +10908,7 @@ snapshots:
- utf-8-validate
- webpack
dependencies:
'@babel/core': 7.29.0
@@ -11014,7 +11014,7 @@ snapshots:
- webpack-command
- yaml
dependencies:
'@babel/core': 7.29.0
@@ -11034,12 +11034,12 @@ snapshots:
- utf-8-validate
- webpack
- '@fleetbase/[email protected](b421113b8e787158f8d42852c5267750)':
+ '@fleetbase/[email protected](b421113b8e787158f8d42852c5267750)':
dependencies:
'@babel/core': 7.29.0
'@fleetbase/leaflet-routing-machine': 3.2.17
'@fortawesome/fontawesome-svg-core': 6.4.0
@@ -11108,7 +11108,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -11172,8 +11172,8 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -11229,7 +11229,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -11284,8 +11284,8 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
@@ -11327,7 +11327,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@fleetbase/leaflet-routing-machine': 3.2.17
'@fortawesome/fontawesome-svg-core': 6.4.0
@@ -11382,7 +11382,7 @@ snapshots:
dependencies:
'@babel/core': 7.29.0
'@fortawesome/fontawesome-svg-core': 6.4.0
'@fortawesome/free-brands-svg-icons': 6.4.0
diff --git a/console/pnpm-workspace.yaml b/console/pnpm-workspace.yaml
index 1ee0cb04..1336d0e1 100644
--- a/console/pnpm-workspace.yaml
+++ b/console/pnpm-workspace.yaml
@@ -5,9 +5,9 @@ publicHoistPattern:
- "*ember-ui*"
- "*fleetops-data*"
overrides:
- "@fleetbase/fleetops-data": "^0.1.33"
+ "@fleetbase/fleetops-data": "^0.1.34"
"@fleetbase/ember-core": "^0.3.19"
- "@fleetbase/ember-ui": "^0.3.31"
+ "@fleetbase/ember-ui": "^0.3.32"
allowBuilds:
"@fortawesome/fontawesome-common-types": false
"@fortawesome/fontawesome-svg-core": false
diff --git a/console/tests/unit/controllers/install-test.js b/console/tests/unit/controllers/install-test.js
index a86ff81a..1e317be0 100644
--- a/console/tests/unit/controllers/install-test.js
+++ b/console/tests/unit/controllers/install-test.js
@@ -1,12 +1,33 @@
import { module, test } from 'qunit';
+import Service from '@ember/service';
import { setupTest } from '@fleetbase/console/tests/helpers';
module('Unit | Controller | install', function (hooks) {
setupTest(hooks);
- // TODO: Replace this with your real tests.
test('it exists', function (assert) {
let controller = this.owner.lookup('controller:install');
assert.ok(controller);
});
+
+ test('it exposes docs links without installer actions', function (assert) {
+ let controller = this.owner.lookup('controller:install');
+
+ assert.strictEqual(controller.runningLocallyDocsUrl, 'https://www.fleetbase.io/docs/platform/quickstart/running-locally');
+ assert.strictEqual(controller.cloudDocsUrl, 'https://www.fleetbase.io/docs/platform/quickstart/deploy-in-cloud');
+ assert.strictEqual(controller.startInstall, undefined);
+ assert.strictEqual(controller.install, undefined);
+ });
+
+ test('it exposes install refresh state from installation service', function (assert) {
+ class InstallationStub extends Service {
+ isRefreshing = true;
+ }
+
+ this.owner.register('service:installation', InstallationStub);
+
+ let controller = this.owner.lookup('controller:install');
+
+ assert.true(controller.isRefreshing);
+ });
});
diff --git a/console/tests/unit/routes/application-test.js b/console/tests/unit/routes/application-test.js
index 76276180..e5e93009 100644
--- a/console/tests/unit/routes/application-test.js
+++ b/console/tests/unit/routes/application-test.js
@@ -1,4 +1,5 @@
import { module, test } from 'qunit';
+import Service from '@ember/service';
import { setupTest } from '@fleetbase/console/tests/helpers';
module('Unit | Route | application', function (hooks) {
@@ -8,4 +9,46 @@ module('Unit | Route | application', function (hooks) {
let route = this.owner.lookup('route:application');
assert.ok(route);
});
+
+ test('it does not check installer status during app boot', function (assert) {
+ let route = this.owner.lookup('route:application');
+
+ assert.strictEqual(route.checkInstallationStatus, undefined);
+ assert.notOk('defaultTheme' in route);
+ });
+
+ test('it handles unconfigured Fleetbase route errors', function (assert) {
+ let handledError;
+
+ class InstallationStub extends Service {
+ handleError(error) {
+ handledError = error;
+ return true;
+ }
+ }
+
+ this.owner.register('service:installation', InstallationStub);
+
+ const route = this.owner.lookup('route:application');
+ const error = { error: 'fleetbase_not_configured' };
+ const result = route.error(error);
+
+ assert.false(result);
+ assert.strictEqual(handledError, error);
+ });
+
+ test('it bubbles route errors that are not configuration errors', function (assert) {
+ class InstallationStub extends Service {
+ handleError() {
+ return false;
+ }
+ }
+
+ this.owner.register('service:installation', InstallationStub);
+
+ const route = this.owner.lookup('route:application');
+ const result = route.error(new Error('server_error'));
+
+ assert.true(result);
+ });
});
diff --git a/console/tests/unit/routes/auth/login-test.js b/console/tests/unit/routes/auth/login-test.js
index 9781e376..0a6c89f3 100644
--- a/console/tests/unit/routes/auth/login-test.js
+++ b/console/tests/unit/routes/auth/login-test.js
@@ -1,4 +1,5 @@
import { module, test } from 'qunit';
+import Service from '@ember/service';
import { setupTest } from '@fleetbase/console/tests/helpers';
module('Unit | Route | auth/login', function (hooks) {
@@ -8,4 +9,96 @@ module('Unit | Route | auth/login', function (hooks) {
let route = this.owner.lookup('route:auth/login');
assert.ok(route);
});
+
+ test('it redirects to install when Fleetbase is not configured', async function (assert) {
+ class InstallationStub extends Service {
+ checkOnboarding() {
+ return Promise.resolve({
+ notConfigured: true,
+ shouldOnboard: false,
+ transition: 'install-transition',
+ });
+ }
+ }
+
+ this.owner.register('service:installation', InstallationStub);
+
+ const route = this.owner.lookup('route:auth/login');
+ const result = await route.beforeModel({});
+
+ assert.strictEqual(result, 'install-transition');
+ });
+
+ test('it redirects to onboard when onboarding is required', async function (assert) {
+ let transitionedTo;
+
+ class InstallationStub extends Service {
+ checkOnboarding() {
+ return Promise.resolve({
+ notConfigured: false,
+ shouldOnboard: true,
+ });
+ }
+ }
+
+ class RouterStub extends Service {
+ transitionTo(routeName) {
+ transitionedTo = routeName;
+ return 'onboard-transition';
+ }
+ }
+
+ this.owner.register('service:installation', InstallationStub);
+ this.owner.register('service:router', RouterStub);
+
+ const route = this.owner.lookup('route:auth/login');
+ const result = await route.beforeModel({});
+
+ assert.strictEqual(result, 'onboard-transition');
+ assert.strictEqual(transitionedTo, 'onboard');
+ });
+
+ test('it continues normal login flow when configured and onboarding is not required', async function (assert) {
+ let prohibitedRoute;
+ let virtualRedirect;
+
+ class InstallationStub extends Service {
+ checkOnboarding() {
+ return Promise.resolve({
+ notConfigured: false,
+ shouldOnboard: false,
+ });
+ }
+ }
+
+ class SessionStub extends Service {
+ prohibitAuthentication(routeName) {
+ prohibitedRoute = routeName;
+ }
+ }
+
+ class UniverseStub extends Service {
+ virtualRouteRedirect(transition, routeName, virtualRouteName, options) {
+ virtualRedirect = { transition, routeName, virtualRouteName, options };
+ return 'login-transition';
+ }
+ }
+
+ this.owner.register('service:installation', InstallationStub);
+ this.owner.register('service:session', SessionStub);
+ this.owner.register('service:universe', UniverseStub);
+
+ const transition = {};
+ const route = this.owner.lookup('route:auth/login');
+ const result = await route.beforeModel(transition);
+
+ assert.strictEqual(result, 'login-transition');
+ assert.strictEqual(prohibitedRoute, 'console');
+ assert.deepEqual(virtualRedirect, {
+ transition,
+ routeName: 'auth:login',
+ virtualRouteName: 'virtual',
+ options: { restoreQueryParams: true },
+ });
+ });
});
diff --git a/console/tests/unit/routes/install-test.js b/console/tests/unit/routes/install-test.js
index 9d6994f9..d8f4bacd 100644
--- a/console/tests/unit/routes/install-test.js
+++ b/console/tests/unit/routes/install-test.js
@@ -1,4 +1,5 @@
import { module, test } from 'qunit';
+import Service from '@ember/service';
import { setupTest } from '@fleetbase/console/tests/helpers';
module('Unit | Route | install', function (hooks) {
@@ -8,4 +9,44 @@ module('Unit | Route | install', function (hooks) {
let route = this.owner.lookup('route:install');
assert.ok(route);
});
+
+ test('it starts and stops the install completion listener', function (assert) {
+ let started = false;
+ let stopped = false;
+
+ class InstallationStub extends Service {
+ listenForInstallComplete() {
+ started = true;
+ }
+
+ stopListeningForInstallComplete() {
+ stopped = true;
+ }
+ }
+
+ this.owner.register('service:installation', InstallationStub);
+
+ let route = this.owner.lookup('route:install');
+ let controller = {};
+
+ route.setupController(controller, {});
+ route.resetController(controller, true);
+
+ assert.true(started);
+ assert.true(stopped);
+ });
+
+ test('it checks install route status before entering', function (assert) {
+ class InstallationStub extends Service {
+ redirectIfConfiguredFromInstall() {
+ return 'install-status-transition';
+ }
+ }
+
+ this.owner.register('service:installation', InstallationStub);
+
+ let route = this.owner.lookup('route:install');
+
+ assert.strictEqual(route.beforeModel(), 'install-status-transition');
+ });
});
diff --git a/console/tests/unit/services/installation-test.js b/console/tests/unit/services/installation-test.js
new file mode 100644
index 00000000..448c46ad
--- /dev/null
+++ b/console/tests/unit/services/installation-test.js
@@ -0,0 +1,242 @@
+import { module, test } from 'qunit';
+import Service from '@ember/service';
+import { setupTest } from '@fleetbase/console/tests/helpers';
+
+module('Unit | Service | installation', function (hooks) {
+ setupTest(hooks);
+
+ test('it detects Fleetbase not configured errors', function (assert) {
+ const service = this.owner.lookup('service:installation');
+
+ assert.true(service.isNotConfiguredError({ error: 'fleetbase_not_configured' }));
+ assert.true(service.isNotConfiguredError({ errors: ['fleetbase_not_configured'] }));
+ assert.true(service.isNotConfiguredError({ payload: { error: 'fleetbase_not_configured' } }));
+ assert.true(service.isNotConfiguredError(new Error('fleetbase_not_configured')));
+ assert.false(service.isNotConfiguredError({ error: 'server_error' }));
+ });
+
+ test('it checks onboarding state', async function (assert) {
+ let request;
+
+ class FetchStub extends Service {
+ get(path, query, options) {
+ request = { path, query, options };
+ return Promise.resolve({ should_onboard: true });
+ }
+ }
+
+ this.owner.register('service:fetch', FetchStub);
+
+ const service = this.owner.lookup('service:installation');
+ const result = await service.checkOnboarding();
+
+ assert.strictEqual(request.path, 'onboard/should-onboard');
+ assert.true(request.options.rawError);
+ assert.false(result.notConfigured);
+ assert.true(result.shouldOnboard);
+ assert.strictEqual(service.status, 'configured');
+ });
+
+ test('it redirects to install when onboarding check reports unconfigured state', async function (assert) {
+ let transitionedTo;
+
+ class FetchStub extends Service {
+ get() {
+ return Promise.reject({ error: 'fleetbase_not_configured' });
+ }
+ }
+
+ class RouterStub extends Service {
+ currentRouteName = 'auth.login';
+
+ transitionTo(routeName) {
+ transitionedTo = routeName;
+ return 'install-transition';
+ }
+ }
+
+ this.owner.register('service:fetch', FetchStub);
+ this.owner.register('service:router', RouterStub);
+
+ const service = this.owner.lookup('service:installation');
+ const result = await service.checkOnboarding();
+
+ assert.true(result.notConfigured);
+ assert.false(result.shouldOnboard);
+ assert.strictEqual(result.transition, 'install-transition');
+ assert.strictEqual(transitionedTo, 'install');
+ assert.strictEqual(service.status, 'not-configured');
+ });
+
+ test('it rethrows non configuration onboarding failures', async function (assert) {
+ const expectedError = new Error('server_error');
+
+ class FetchStub extends Service {
+ get() {
+ return Promise.reject(expectedError);
+ }
+ }
+
+ this.owner.register('service:fetch', FetchStub);
+
+ const service = this.owner.lookup('service:installation');
+
+ try {
+ await service.checkOnboarding();
+ assert.true(false, 'Expected checkOnboarding to reject');
+ } catch (error) {
+ assert.strictEqual(error, expectedError);
+ }
+ });
+
+ test('it redirects install route to onboard when onboarding is required', async function (assert) {
+ let transitionedTo;
+
+ class FetchStub extends Service {
+ get() {
+ return Promise.resolve({ should_onboard: true });
+ }
+ }
+
+ class RouterStub extends Service {
+ transitionTo(routeName) {
+ transitionedTo = routeName;
+ return 'onboard-transition';
+ }
+ }
+
+ this.owner.register('service:fetch', FetchStub);
+ this.owner.register('service:router', RouterStub);
+
+ const service = this.owner.lookup('service:installation');
+ const result = await service.redirectIfConfiguredFromInstall();
+
+ assert.strictEqual(result, 'onboard-transition');
+ assert.strictEqual(transitionedTo, 'onboard');
+ assert.true(service.shouldOnboard);
+ assert.strictEqual(service.status, 'configured');
+ });
+
+ test('it redirects install route to login when configured and onboarding is not required', async function (assert) {
+ let transitionedTo;
+
+ class FetchStub extends Service {
+ get() {
+ return Promise.resolve({ should_onboard: false });
+ }
+ }
+
+ class RouterStub extends Service {
+ transitionTo(routeName) {
+ transitionedTo = routeName;
+ return 'login-transition';
+ }
+ }
+
+ this.owner.register('service:fetch', FetchStub);
+ this.owner.register('service:router', RouterStub);
+
+ const service = this.owner.lookup('service:installation');
+ const result = await service.redirectIfConfiguredFromInstall();
+
+ assert.strictEqual(result, 'login-transition');
+ assert.strictEqual(transitionedTo, 'auth.login');
+ assert.false(service.shouldOnboard);
+ assert.strictEqual(service.status, 'configured');
+ });
+
+ test('it stays on install route when Fleetbase is not configured', async function (assert) {
+ class FetchStub extends Service {
+ get() {
+ return Promise.reject({ error: 'fleetbase_not_configured' });
+ }
+ }
+
+ this.owner.register('service:fetch', FetchStub);
+
+ const service = this.owner.lookup('service:installation');
+ const result = await service.redirectIfConfiguredFromInstall();
+
+ assert.false(result);
+ assert.false(service.shouldOnboard);
+ assert.strictEqual(service.status, 'not-configured');
+ });
+
+ test('it subscribes to install completion socket channel', async function (assert) {
+ assert.expect(3);
+
+ let subscribedChannel;
+
+ class SocketStub extends Service {
+ instance() {
+ return {
+ subscribe(channelId) {
+ subscribedChannel = channelId;
+
+ return {
+ listener(eventName) {
+ assert.strictEqual(eventName, 'subscribe');
+
+ return {
+ once() {
+ return Promise.resolve();
+ },
+ };
+ },
+ async *[Symbol.asyncIterator]() {},
+ };
+ },
+ };
+ }
+ }
+
+ this.owner.register('service:socket', SocketStub);
+
+ const service = this.owner.lookup('service:installation');
+
+ await service.listenForInstallComplete();
+
+ assert.strictEqual(subscribedChannel, 'fleetbase.install');
+ assert.ok(service.installChannel);
+ });
+
+ test('it reloads on install complete event only', function (assert) {
+ const service = this.owner.lookup('service:installation');
+ let reloadCount = 0;
+
+ service.reloadConsole = () => {
+ reloadCount++;
+ };
+
+ service.handleInstallCompleteEvent({ event: 'other.event', installed: true });
+ assert.strictEqual(reloadCount, 0);
+ assert.false(service.isRefreshing);
+
+ service.handleInstallCompleteEvent({ event: 'fleetbase.installed', installed: true });
+ assert.strictEqual(reloadCount, 1);
+ assert.true(service.isRefreshing);
+ });
+
+ test('it closes the install socket channel', function (assert) {
+ const service = this.owner.lookup('service:installation');
+ let closed = false;
+
+ service.installChannel = {
+ close() {
+ closed = true;
+ },
+ };
+
+ service.stopListeningForInstallComplete();
+
+ assert.true(closed);
+ assert.strictEqual(service.installChannel, null);
+ });
+
+ test('it retries when the socket client global is not ready', function (assert) {
+ const service = this.owner.lookup('service:installation');
+
+ assert.true(service.shouldRetrySocketListen(new ReferenceError('socketClusterClient is not defined')));
+ assert.false(service.shouldRetrySocketListen(new Error('socket unavailable')));
+ });
+});
diff --git a/console/translations/ar-ae.yaml b/console/translations/ar-ae.yaml
index 866013d0..5a49ce08 100644
--- a/console/translations/ar-ae.yaml
+++ b/console/translations/ar-ae.yaml
@@ -737,10 +737,11 @@ onboard:
resend-email: إعادة إرسال البريد الإلكتروني
send-by-sms: الإرسال عبر الرسائل النصية
install:
- installer-header: المثبت
- failed-message-sent: فشل التثبيت! اضغط الزر أدناه لإعادة محاولة التثبيت.
- retry-install: إعادة محاولة التثبيت
- start-install: بدء التثبيت
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/bg-bg.yaml b/console/translations/bg-bg.yaml
index 2d28bd87..89a30783 100644
--- a/console/translations/bg-bg.yaml
+++ b/console/translations/bg-bg.yaml
@@ -749,11 +749,11 @@ onboard:
resend-email: Изпрати имейл отново
send-by-sms: Изпрати чрез SMS
install:
- installer-header: Инсталатор
- failed-message-sent: Инсталацията неуспешна! Натиснете бутона по-долу, за да опитате
- отново.
- retry-install: Опитай отново инсталацията
- start-install: Започни инсталацията
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/en-us.yaml b/console/translations/en-us.yaml
index 2534e2d4..58285ad7 100644
--- a/console/translations/en-us.yaml
+++ b/console/translations/en-us.yaml
@@ -790,10 +790,11 @@ onboard:
send-by-sms: Send by SMS
install:
- installer-header: Installer
- failed-message-sent: The install failed! Click the button below to retry the install.
- retry-install: Retry Install
- start-install: Start Install
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
diff --git a/console/translations/es-es.yaml b/console/translations/es-es.yaml
index 9839e678..b1cc8d8b 100644
--- a/console/translations/es-es.yaml
+++ b/console/translations/es-es.yaml
@@ -753,11 +753,11 @@ onboard:
resend-email: Reenviar correo electrónico
send-by-sms: Enviar por SMS
install:
- installer-header: Instalador
- failed-message-sent: ¡La instalación falló! Haz clic en el botón de abajo para reintentar
- la instalación.
- retry-install: Reintentar instalación
- start-install: Iniciar instalación
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/es-mx.yaml b/console/translations/es-mx.yaml
index 992ac4e6..0d3cf4b0 100644
--- a/console/translations/es-mx.yaml
+++ b/console/translations/es-mx.yaml
@@ -801,11 +801,11 @@ onboard:
send-by-sms: Enviar por SMS
install:
- installer-header: Instalador
- failed-message-sent: ¡La instalación falló! Haz clic en el botón de abajo para reintentar
- la instalación.
- retry-install: Reintentar instalación
- start-install: Iniciar instalación
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
@@ -818,4 +818,3 @@ layout:
view-profile: Ver perfil
keyboard-shortcuts: Mostrar atajos de teclado
changelog: Registro de cambios
-
diff --git a/console/translations/fa-ir.yaml b/console/translations/fa-ir.yaml
index a2516e69..953b6611 100644
--- a/console/translations/fa-ir.yaml
+++ b/console/translations/fa-ir.yaml
@@ -724,10 +724,11 @@ onboard:
resend-email: ارسال مجدد ایمیل
send-by-sms: ارسال از طریق پیامک
install:
- installer-header: نصب‌کننده
- failed-message-sent: نصب ناموفق بود! برای تلاش مجدد روی دکمه زیر کلیک کنید
- retry-install: تلاش مجدد برای نصب
- start-install: شروع نصب
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/fr-fr.yaml b/console/translations/fr-fr.yaml
index 24ec03f2..0067b613 100644
--- a/console/translations/fr-fr.yaml
+++ b/console/translations/fr-fr.yaml
@@ -756,11 +756,11 @@ onboard:
resend-email: Renvoyer l'e-mail
send-by-sms: Envoyer par SMS
install:
- installer-header: Installateur
- failed-message-sent: L'installation a échoué ! Cliquez sur le bouton ci-dessous
- pour réessayer l'installation.
- retry-install: Réessayer l'installation
- start-install: Démarrer l'installation
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/mn-mn.yaml b/console/translations/mn-mn.yaml
index 723fdb56..164a3ec7 100644
--- a/console/translations/mn-mn.yaml
+++ b/console/translations/mn-mn.yaml
@@ -752,11 +752,11 @@ onboard:
resend-email: Имэйл дахин илгээх
send-by-sms: SMS-аар илгээх
install:
- installer-header: Суулгагч
- failed-message-sent: Суулгалт амжилтгүй боллоо! Дахин суулгахын тулд доорх товчийг
- дарна уу.
- retry-install: Суулгалтыг дахин оролдох
- start-install: Суулгалтыг эхлүүлэх
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/pt-br.yaml b/console/translations/pt-br.yaml
index c1e6aaf8..de489065 100644
--- a/console/translations/pt-br.yaml
+++ b/console/translations/pt-br.yaml
@@ -745,11 +745,11 @@ onboard:
resend-email: Reenviar E-mail
send-by-sms: Enviar por SMS
install:
- installer-header: Instalador
- failed-message-sent: A instalação falhou! Clique no botão abaixo para tentar instalar
- novamente.
- retry-install: Tentar Instalar Novamente
- start-install: Iniciar Instalação
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/ru-ru.yaml b/console/translations/ru-ru.yaml
index 243bae38..48e02fa7 100644
--- a/console/translations/ru-ru.yaml
+++ b/console/translations/ru-ru.yaml
@@ -748,11 +748,11 @@ onboard:
resend-email: Отправить письмо повторно
send-by-sms: Отправить по SMS
install:
- installer-header: Установщик
- failed-message-sent: Установка не удалась! Нажмите кнопку ниже, чтобы повторить
- установку.
- retry-install: Повторить установку
- start-install: Начать установку
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/uz-uz.yaml b/console/translations/uz-uz.yaml
index 8a8b3457..47784dff 100644
--- a/console/translations/uz-uz.yaml
+++ b/console/translations/uz-uz.yaml
@@ -759,10 +759,11 @@ onboard:
send-by-sms: SMS orqali yuborish
install:
- installer-header: O'rnatuvchi
- failed-message-sent: O'rnatish muvaffaqiyatsiz tugadi! O'rnatishni qayta urinish uchun quyidagi tugmani bosing.
- retry-install: Qayta o'rnatish
- start-install: O'rnatishni boshlash
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
diff --git a/console/translations/vi-vn.yaml b/console/translations/vi-vn.yaml
index 1abc49cc..f2a04046 100644
--- a/console/translations/vi-vn.yaml
+++ b/console/translations/vi-vn.yaml
@@ -751,10 +751,11 @@ onboard:
resend-email: Gửi lại Email
send-by-sms: Gửi qua SMS
install:
- installer-header: Trình cài đặt
- failed-message-sent: Cài đặt thất bại! Nhấn nút bên dưới để thử lại.
- retry-install: Thử cài đặt lại
- start-install: Bắt đầu cài đặt
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/console/translations/zh-cn.yaml b/console/translations/zh-cn.yaml
index 0654cd24..9da17fb6 100644
--- a/console/translations/zh-cn.yaml
+++ b/console/translations/zh-cn.yaml
@@ -717,10 +717,11 @@ onboard:
resend-email: 重新发送邮件
send-by-sms: 通过短信发送
install:
- installer-header: 安装程序
- failed-message-sent: 安装失败!点击下面的按钮重试安装。
- retry-install: 重试安装
- start-install: 开始安装
+ not-configured-title: Fleetbase is not installed or configured
+ not-configured-message: Complete setup from the Fleetbase CLI or application container, then reload this page once the database, migrations, and seed data are ready.
+ running-locally-docs: See running locally docs
+ cloud-docs: See cloud deployment docs
+ refreshing: Installation complete, refreshing...
layout:
header:
menus:
diff --git a/docker/Dockerfile b/docker/Dockerfile
index fd6adece..665ad895 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -75,7 +75,7 @@ ENV QUEUE_CONNECTION=redis
ENV CADDYFILE_PATH=/fleetbase/Caddyfile
ENV CONSOLE_PATH=/fleetbase/console
ENV OCTANE_SERVER=frankenphp
-ENV FLEETBASE_VERSION=0.7.41
+ENV FLEETBASE_VERSION=0.7.42
# Set environment
ARG ENVIRONMENT=production
diff --git a/packages/core-api b/packages/core-api
index 20a7b67a..6995c83c 160000
--- a/packages/core-api
+++ b/packages/core-api
@@ -1 +1 @@
-Subproject commit 20a7b67affbd10e63e0dd2c2544b1e959db56b39
+Subproject commit 6995c83c907dd9d401ba1cc0f6f83e8383a11eba
diff --git a/packages/ember-ui b/packages/ember-ui
index 9ca69172..0ba657d6 160000
--- a/packages/ember-ui
+++ b/packages/ember-ui
@@ -1 +1 @@
-Subproject commit 9ca69172f862f41b87440c82b6e283d626e2dd0c
+Subproject commit 0ba657d6becf8fbe10f565ffd992f0cb85754328
diff --git a/packages/fleetops b/packages/fleetops
index 4d30b769..0b01ef4a 160000
--- a/packages/fleetops
+++ b/packages/fleetops
@@ -1 +1 @@
-Subproject commit 4d30b769e9959d8938350668228eb93569e0d236
+Subproject commit 0b01ef4accbb7885082adaf7bb568d36e9fb304b
diff --git a/packages/fleetops-data b/packages/fleetops-data
index 1ded8c54..4aab4342 160000
--- a/packages/fleetops-data
+++ b/packages/fleetops-data
@@ -1 +1 @@
-Subproject commit 1ded8c54e8b30eb1503c403d57e4394f460bcd5f
+Subproject commit 4aab4342c0ff5d129dda668e310f899629c234a9