ready for new release with notification tray and settings

This commit is contained in:
Ronald A. Richardson
2023-10-30 19:37:37 +08:00
parent b728b366a0
commit cb1aec40fd
8 changed files with 16297 additions and 196 deletions

View File

@@ -9,9 +9,9 @@
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
"fleetbase/core-api": "^1.3.1",
"fleetbase/fleetops-api": "^0.2.9",
"fleetbase/storefront-api": "^0.2.0",
"fleetbase/core-api": "^1.3.2",
"fleetbase/fleetops-api": "^0.3.1",
"fleetbase/storefront-api": "^0.2.2",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.75",

289
api/composer.lock generated
View File

@@ -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": "265e49a3b34040f5a2056d4674b0ca83",
"content-hash": "b0027cddeec04c6a3cf96cd1d5d761d0",
"packages": [
{
"name": "aloha/twilio",
@@ -138,16 +138,16 @@
},
{
"name": "aws/aws-crt-php",
"version": "v1.2.2",
"version": "v1.2.3",
"source": {
"type": "git",
"url": "https://github.com/awslabs/aws-crt-php.git",
"reference": "2f1dc7b7eda080498be96a4a6d683a41583030e9"
"reference": "5545a4fa310aec39f54279fdacebcce33b3ff382"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/2f1dc7b7eda080498be96a4a6d683a41583030e9",
"reference": "2f1dc7b7eda080498be96a4a6d683a41583030e9",
"url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/5545a4fa310aec39f54279fdacebcce33b3ff382",
"reference": "5545a4fa310aec39f54279fdacebcce33b3ff382",
"shasum": ""
},
"require": {
@@ -186,26 +186,26 @@
],
"support": {
"issues": "https://github.com/awslabs/aws-crt-php/issues",
"source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.2"
"source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.3"
},
"time": "2023-07-20T16:49:55+00:00"
"time": "2023-10-16T20:10:06+00:00"
},
{
"name": "aws/aws-sdk-php",
"version": "3.283.3",
"version": "3.283.14",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "4cc8d6c7e856de80d9316f659c4c626d3713f6c1"
"reference": "331894cd4751a06a4e5b3e4e2918a9233c9568dc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/4cc8d6c7e856de80d9316f659c4c626d3713f6c1",
"reference": "4cc8d6c7e856de80d9316f659c4c626d3713f6c1",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/331894cd4751a06a4e5b3e4e2918a9233c9568dc",
"reference": "331894cd4751a06a4e5b3e4e2918a9233c9568dc",
"shasum": ""
},
"require": {
"aws/aws-crt-php": "^1.0.4",
"aws/aws-crt-php": "^1.2.3",
"ext-json": "*",
"ext-pcre": "*",
"ext-simplexml": "*",
@@ -281,9 +281,9 @@
"support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.283.3"
"source": "https://github.com/aws/aws-sdk-php/tree/3.283.14"
},
"time": "2023-10-12T18:14:56+00:00"
"time": "2023-10-27T18:06:59+00:00"
},
{
"name": "aws/aws-sdk-php-laravel",
@@ -2002,16 +2002,16 @@
},
{
"name": "fleetbase/core-api",
"version": "1.3.1",
"version": "1.3.2",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/core-api.git",
"reference": "0b0fb9cde5e82caaf2b51f68960908f3c9a35a82"
"reference": "e10f6e69d1604a4fa58257017d845e0d9b72e1c6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fleetbase/core-api/zipball/0b0fb9cde5e82caaf2b51f68960908f3c9a35a82",
"reference": "0b0fb9cde5e82caaf2b51f68960908f3c9a35a82",
"url": "https://api.github.com/repos/fleetbase/core-api/zipball/e10f6e69d1604a4fa58257017d845e0d9b72e1c6",
"reference": "e10f6e69d1604a4fa58257017d845e0d9b72e1c6",
"shasum": ""
},
"require": {
@@ -2086,29 +2086,29 @@
],
"support": {
"issues": "https://github.com/fleetbase/core-api/issues",
"source": "https://github.com/fleetbase/core-api/tree/v1.3.1"
"source": "https://github.com/fleetbase/core-api/tree/v1.3.2"
},
"time": "2023-10-10T12:35:05+00:00"
"time": "2023-10-30T10:40:02+00:00"
},
{
"name": "fleetbase/fleetops-api",
"version": "0.2.9",
"version": "0.3.1",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/fleetops.git",
"reference": "49cbcd58ad141ac778bdd20af4b28732abef57d2"
"reference": "47ef5f40ea9c9070c1926fd315bd0b10390754af"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fleetbase/fleetops/zipball/49cbcd58ad141ac778bdd20af4b28732abef57d2",
"reference": "49cbcd58ad141ac778bdd20af4b28732abef57d2",
"url": "https://api.github.com/repos/fleetbase/fleetops/zipball/47ef5f40ea9c9070c1926fd315bd0b10390754af",
"reference": "47ef5f40ea9c9070c1926fd315bd0b10390754af",
"shasum": ""
},
"require": {
"barryvdh/laravel-dompdf": "^2.0",
"brick/geo": "0.7.2",
"cknow/laravel-money": "^7.1",
"fleetbase/core-api": "^1.3.1",
"fleetbase/core-api": "^1.3.2",
"geocoder-php/google-maps-places-provider": "^1.4",
"giggsey/libphonenumber-for-php": "^8.13",
"league/geotools": "^1.1.0",
@@ -2174,27 +2174,27 @@
],
"support": {
"issues": "https://github.com/fleetbase/fleetops/issues",
"source": "https://github.com/fleetbase/fleetops/tree/v0.2.9"
"source": "https://github.com/fleetbase/fleetops/tree/v0.3.1"
},
"time": "2023-10-13T09:16:35+00:00"
"time": "2023-10-30T11:00:21+00:00"
},
{
"name": "fleetbase/storefront-api",
"version": "0.2.0",
"version": "0.2.2",
"source": {
"type": "git",
"url": "https://github.com/fleetbase/storefront.git",
"reference": "cbc8c467f4a1934bbf61b02125e00eb999308659"
"reference": "affa19ebee088001aae3c77fbf013e5027f4cc09"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fleetbase/storefront/zipball/cbc8c467f4a1934bbf61b02125e00eb999308659",
"reference": "cbc8c467f4a1934bbf61b02125e00eb999308659",
"url": "https://api.github.com/repos/fleetbase/storefront/zipball/affa19ebee088001aae3c77fbf013e5027f4cc09",
"reference": "affa19ebee088001aae3c77fbf013e5027f4cc09",
"shasum": ""
},
"require": {
"fleetbase/core-api": "^1.3.1",
"fleetbase/fleetops-api": "^0.2.8",
"fleetbase/fleetops-api": "^0.3.0",
"geocoder-php/google-maps-places-provider": "^1.4",
"laravel-notification-channels/apn": "^3.8",
"laravel-notification-channels/fcm": "^2.7",
@@ -2255,9 +2255,9 @@
],
"support": {
"issues": "https://github.com/fleetbase/storefront/issues",
"source": "https://github.com/fleetbase/storefront/tree/v0.2.0"
"source": "https://github.com/fleetbase/storefront/tree/v0.2.2"
},
"time": "2023-10-10T13:07:00+00:00"
"time": "2023-10-27T01:59:15+00:00"
},
{
"name": "fruitcake/laravel-cors",
@@ -2865,16 +2865,16 @@
},
{
"name": "google/auth",
"version": "v1.31.0",
"version": "v1.32.1",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-auth-library-php.git",
"reference": "22209fddd0c06f3f8e3cb4aade0b352aa00f9888"
"reference": "999e9ce8b9d17914f04e1718271a0a46da4de2f3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/22209fddd0c06f3f8e3cb4aade0b352aa00f9888",
"reference": "22209fddd0c06f3f8e3cb4aade0b352aa00f9888",
"url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/999e9ce8b9d17914f04e1718271a0a46da4de2f3",
"reference": "999e9ce8b9d17914f04e1718271a0a46da4de2f3",
"shasum": ""
},
"require": {
@@ -2917,22 +2917,22 @@
"support": {
"docs": "https://googleapis.github.io/google-auth-library-php/main/",
"issues": "https://github.com/googleapis/google-auth-library-php/issues",
"source": "https://github.com/googleapis/google-auth-library-php/tree/v1.31.0"
"source": "https://github.com/googleapis/google-auth-library-php/tree/v1.32.1"
},
"time": "2023-10-05T20:39:00+00:00"
"time": "2023-10-17T21:13:22+00:00"
},
{
"name": "google/cloud-core",
"version": "v1.52.6",
"version": "v1.52.7",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-cloud-php-core.git",
"reference": "71f092f4dab880515917da64423656ed3d6aefc2"
"reference": "f79480d1e2b31a695ae98b42ca10b67b41da9fb1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/71f092f4dab880515917da64423656ed3d6aefc2",
"reference": "71f092f4dab880515917da64423656ed3d6aefc2",
"url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/f79480d1e2b31a695ae98b42ca10b67b41da9fb1",
"reference": "f79480d1e2b31a695ae98b42ca10b67b41da9fb1",
"shasum": ""
},
"require": {
@@ -2948,7 +2948,7 @@
"require-dev": {
"erusev/parsedown": "^1.6",
"google/cloud-common-protos": "^0.4",
"google/gax": "^1.19.1",
"google/gax": "^1.24.0",
"opis/closure": "^3",
"phpdocumentor/reflection": "^5.0",
"phpspec/prophecy-phpunit": "^2.0",
@@ -2982,26 +2982,26 @@
],
"description": "Google Cloud PHP shared dependency, providing functionality useful to all components.",
"support": {
"source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.6"
"source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.52.7"
},
"time": "2023-10-06T21:49:26+00:00"
"time": "2023-10-16T22:54:31+00:00"
},
{
"name": "google/cloud-storage",
"version": "v1.33.3",
"version": "v1.33.4",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-cloud-php-storage.git",
"reference": "e22877e96c3f5c4f53b0fb2077834fb6d64d0fca"
"reference": "02f53c6cbbc18c4ee8f5d12cbd7887ceec575724"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/googleapis/google-cloud-php-storage/zipball/e22877e96c3f5c4f53b0fb2077834fb6d64d0fca",
"reference": "e22877e96c3f5c4f53b0fb2077834fb6d64d0fca",
"url": "https://api.github.com/repos/googleapis/google-cloud-php-storage/zipball/02f53c6cbbc18c4ee8f5d12cbd7887ceec575724",
"reference": "02f53c6cbbc18c4ee8f5d12cbd7887ceec575724",
"shasum": ""
},
"require": {
"google/cloud-core": "^1.51.3",
"google/cloud-core": "^1.52.7",
"php": ">=7.4",
"ramsey/uuid": "^4.2.3"
},
@@ -3038,9 +3038,9 @@
],
"description": "Cloud Storage Client for PHP",
"support": {
"source": "https://github.com/googleapis/google-cloud-php-storage/tree/v1.33.3"
"source": "https://github.com/googleapis/google-cloud-php-storage/tree/v1.33.4"
},
"time": "2023-09-30T16:50:41+00:00"
"time": "2023-10-16T22:54:31+00:00"
},
{
"name": "graham-campbell/manager",
@@ -4604,16 +4604,16 @@
},
{
"name": "laravel/serializable-closure",
"version": "v1.3.1",
"version": "v1.3.2",
"source": {
"type": "git",
"url": "https://github.com/laravel/serializable-closure.git",
"reference": "e5a3057a5591e1cfe8183034b0203921abe2c902"
"reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/e5a3057a5591e1cfe8183034b0203921abe2c902",
"reference": "e5a3057a5591e1cfe8183034b0203921abe2c902",
"url": "https://api.github.com/repos/laravel/serializable-closure/zipball/076fe2cf128bd54b4341cdc6d49b95b34e101e4c",
"reference": "076fe2cf128bd54b4341cdc6d49b95b34e101e4c",
"shasum": ""
},
"require": {
@@ -4660,7 +4660,7 @@
"issues": "https://github.com/laravel/serializable-closure/issues",
"source": "https://github.com/laravel/serializable-closure"
},
"time": "2023-07-14T13:56:28+00:00"
"time": "2023-10-17T13:38:16+00:00"
},
{
"name": "laravel/tinker",
@@ -5294,16 +5294,16 @@
},
{
"name": "league/mime-type-detection",
"version": "1.13.0",
"version": "1.14.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/mime-type-detection.git",
"reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96"
"reference": "b6a5854368533df0295c5761a0253656a2e52d9e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/a6dfb1194a2946fcdc1f38219445234f65b35c96",
"reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96",
"url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b6a5854368533df0295c5761a0253656a2e52d9e",
"reference": "b6a5854368533df0295c5761a0253656a2e52d9e",
"shasum": ""
},
"require": {
@@ -5334,7 +5334,7 @@
"description": "Mime-type detection for Flysystem",
"support": {
"issues": "https://github.com/thephpleague/mime-type-detection/issues",
"source": "https://github.com/thephpleague/mime-type-detection/tree/1.13.0"
"source": "https://github.com/thephpleague/mime-type-detection/tree/1.14.0"
},
"funding": [
{
@@ -5346,20 +5346,20 @@
"type": "tidelift"
}
],
"time": "2023-08-05T12:09:49+00:00"
"time": "2023-10-17T14:13:20+00:00"
},
{
"name": "maatwebsite/excel",
"version": "3.1.48",
"version": "3.1.49",
"source": {
"type": "git",
"url": "https://github.com/SpartnerNL/Laravel-Excel.git",
"reference": "6d0fe2a1d195960c7af7bf0de760582da02a34b9"
"reference": "769209f49ebe3419017114f98bd61e2a7d9af259"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/6d0fe2a1d195960c7af7bf0de760582da02a34b9",
"reference": "6d0fe2a1d195960c7af7bf0de760582da02a34b9",
"url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/769209f49ebe3419017114f98bd61e2a7d9af259",
"reference": "769209f49ebe3419017114f98bd61e2a7d9af259",
"shasum": ""
},
"require": {
@@ -5414,7 +5414,7 @@
],
"support": {
"issues": "https://github.com/SpartnerNL/Laravel-Excel/issues",
"source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.48"
"source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.49"
},
"funding": [
{
@@ -5426,7 +5426,7 @@
"type": "github"
}
],
"time": "2023-02-22T21:01:38+00:00"
"time": "2023-10-26T09:01:33+00:00"
},
{
"name": "maennchen/zipstream-php",
@@ -5842,16 +5842,16 @@
},
{
"name": "monolog/monolog",
"version": "2.9.1",
"version": "2.9.2",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
"reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1"
"reference": "437cb3628f4cf6042cc10ae97fc2b8472e48ca1f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1",
"reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/437cb3628f4cf6042cc10ae97fc2b8472e48ca1f",
"reference": "437cb3628f4cf6042cc10ae97fc2b8472e48ca1f",
"shasum": ""
},
"require": {
@@ -5928,7 +5928,7 @@
],
"support": {
"issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/2.9.1"
"source": "https://github.com/Seldaek/monolog/tree/2.9.2"
},
"funding": [
{
@@ -5940,7 +5940,7 @@
"type": "tidelift"
}
],
"time": "2023-02-06T13:44:46+00:00"
"time": "2023-10-27T15:25:26+00:00"
},
{
"name": "mtdowling/jmespath.php",
@@ -7204,31 +7204,26 @@
},
{
"name": "php-http/promise",
"version": "1.1.0",
"version": "1.2.0",
"source": {
"type": "git",
"url": "https://github.com/php-http/promise.git",
"reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88"
"reference": "ef4905bfb492ff389eb7f12e26925a0f20073050"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-http/promise/zipball/4c4c1f9b7289a2ec57cde7f1e9762a5789506f88",
"reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88",
"url": "https://api.github.com/repos/php-http/promise/zipball/ef4905bfb492ff389eb7f12e26925a0f20073050",
"reference": "ef4905bfb492ff389eb7f12e26925a0f20073050",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"require-dev": {
"friends-of-phpspec/phpspec-code-coverage": "^4.3.2",
"phpspec/phpspec": "^5.1.2 || ^6.2"
"friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3",
"phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1-dev"
}
},
"autoload": {
"psr-4": {
"Http\\Promise\\": "src/"
@@ -7255,9 +7250,9 @@
],
"support": {
"issues": "https://github.com/php-http/promise/issues",
"source": "https://github.com/php-http/promise/tree/1.1.0"
"source": "https://github.com/php-http/promise/tree/1.2.0"
},
"time": "2020-07-07T09:29:14+00:00"
"time": "2023-10-24T09:20:26+00:00"
},
{
"name": "phpoffice/phpspreadsheet",
@@ -7441,16 +7436,16 @@
},
{
"name": "phrity/net-stream",
"version": "1.2.0",
"version": "1.3.0",
"source": {
"type": "git",
"url": "https://github.com/sirn-se/phrity-net-stream.git",
"reference": "83435f3103016dfd45ded39040190a7f505ea264"
"reference": "9105931b65ad90c75f4885a40b268b0f65802e3e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sirn-se/phrity-net-stream/zipball/83435f3103016dfd45ded39040190a7f505ea264",
"reference": "83435f3103016dfd45ded39040190a7f505ea264",
"url": "https://api.github.com/repos/sirn-se/phrity-net-stream/zipball/9105931b65ad90c75f4885a40b268b0f65802e3e",
"reference": "9105931b65ad90c75f4885a40b268b0f65802e3e",
"shasum": ""
},
"require": {
@@ -7495,9 +7490,9 @@
],
"support": {
"issues": "https://github.com/sirn-se/phrity-net-stream/issues",
"source": "https://github.com/sirn-se/phrity-net-stream/tree/1.2.0"
"source": "https://github.com/sirn-se/phrity-net-stream/tree/1.3.0"
},
"time": "2023-07-05T13:31:05+00:00"
"time": "2023-10-22T10:47:03+00:00"
},
{
"name": "phrity/net-uri",
@@ -8535,16 +8530,16 @@
},
{
"name": "psy/psysh",
"version": "v0.11.21",
"version": "v0.11.22",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
"reference": "bcb22101107f3bf770523b65630c9d547f60c540"
"reference": "128fa1b608be651999ed9789c95e6e2a31b5802b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/bcb22101107f3bf770523b65630c9d547f60c540",
"reference": "bcb22101107f3bf770523b65630c9d547f60c540",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/128fa1b608be651999ed9789c95e6e2a31b5802b",
"reference": "128fa1b608be651999ed9789c95e6e2a31b5802b",
"shasum": ""
},
"require": {
@@ -8573,7 +8568,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "0.11.x-dev"
"dev-0.11": "0.11.x-dev"
},
"bamarni-bin": {
"bin-links": false,
@@ -8609,9 +8604,9 @@
],
"support": {
"issues": "https://github.com/bobthecow/psysh/issues",
"source": "https://github.com/bobthecow/psysh/tree/v0.11.21"
"source": "https://github.com/bobthecow/psysh/tree/v0.11.22"
},
"time": "2023-09-17T21:15:54+00:00"
"time": "2023-10-14T21:56:36+00:00"
},
{
"name": "ralouphie/getallheaders",
@@ -9219,16 +9214,16 @@
},
{
"name": "sentry/sentry",
"version": "3.21.0",
"version": "3.22.0",
"source": {
"type": "git",
"url": "https://github.com/getsentry/sentry-php.git",
"reference": "624aafc22b84b089ffa43b71fb01e0096505ec4f"
"reference": "c0e3df5a5c1d133cd9461e7672568ff07042c19d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/getsentry/sentry-php/zipball/624aafc22b84b089ffa43b71fb01e0096505ec4f",
"reference": "624aafc22b84b089ffa43b71fb01e0096505ec4f",
"url": "https://api.github.com/repos/getsentry/sentry-php/zipball/c0e3df5a5c1d133cd9461e7672568ff07042c19d",
"reference": "c0e3df5a5c1d133cd9461e7672568ff07042c19d",
"shasum": ""
},
"require": {
@@ -9246,7 +9241,7 @@
"psr/http-factory": "^1.0",
"psr/http-factory-implementation": "^1.0",
"psr/log": "^1.0|^2.0|^3.0",
"symfony/options-resolver": "^3.4.43|^4.4.30|^5.0.11|^6.0",
"symfony/options-resolver": "^3.4.43|^4.4.30|^5.0.11|^6.0|^7.0",
"symfony/polyfill-php80": "^1.17"
},
"conflict": {
@@ -9303,7 +9298,7 @@
],
"support": {
"issues": "https://github.com/getsentry/sentry-php/issues",
"source": "https://github.com/getsentry/sentry-php/tree/3.21.0"
"source": "https://github.com/getsentry/sentry-php/tree/3.22.0"
},
"funding": [
{
@@ -9315,7 +9310,7 @@
"type": "custom"
}
],
"time": "2023-07-31T15:31:24+00:00"
"time": "2023-10-23T20:34:53+00:00"
},
{
"name": "sentry/sentry-laravel",
@@ -9636,16 +9631,16 @@
},
{
"name": "spatie/laravel-permission",
"version": "5.11.0",
"version": "5.11.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-permission.git",
"reference": "0a35e99da4cb6f85b07b3b58b718ff659c39a009"
"reference": "7090824cca57e693b880ce3aaf7ef78362e28bbd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-permission/zipball/0a35e99da4cb6f85b07b3b58b718ff659c39a009",
"reference": "0a35e99da4cb6f85b07b3b58b718ff659c39a009",
"url": "https://api.github.com/repos/spatie/laravel-permission/zipball/7090824cca57e693b880ce3aaf7ef78362e28bbd",
"reference": "7090824cca57e693b880ce3aaf7ef78362e28bbd",
"shasum": ""
},
"require": {
@@ -9706,7 +9701,7 @@
],
"support": {
"issues": "https://github.com/spatie/laravel-permission/issues",
"source": "https://github.com/spatie/laravel-permission/tree/5.11.0"
"source": "https://github.com/spatie/laravel-permission/tree/5.11.1"
},
"funding": [
{
@@ -9714,7 +9709,7 @@
"type": "github"
}
],
"time": "2023-08-30T23:41:24+00:00"
"time": "2023-10-25T05:12:01+00:00"
},
{
"name": "spatie/laravel-responsecache",
@@ -10047,16 +10042,16 @@
},
{
"name": "symfony/cache",
"version": "v5.4.29",
"version": "v5.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
"reference": "e29c5a97bc2d81269973c3e1d7ceb9d48b4d5151"
"reference": "2742d1b595927210546bb7a0887094cf1494de21"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/cache/zipball/e29c5a97bc2d81269973c3e1d7ceb9d48b4d5151",
"reference": "e29c5a97bc2d81269973c3e1d7ceb9d48b4d5151",
"url": "https://api.github.com/repos/symfony/cache/zipball/2742d1b595927210546bb7a0887094cf1494de21",
"reference": "2742d1b595927210546bb7a0887094cf1494de21",
"shasum": ""
},
"require": {
@@ -10084,7 +10079,7 @@
"require-dev": {
"cache/integration-tests": "dev-master",
"doctrine/cache": "^1.6|^2.0",
"doctrine/dbal": "^2.13.1|^3.0",
"doctrine/dbal": "^2.13.1|^3|^4",
"predis/predis": "^1.1",
"psr/simple-cache": "^1.0|^2.0",
"symfony/config": "^4.4|^5.0|^6.0",
@@ -10124,7 +10119,7 @@
"psr6"
],
"support": {
"source": "https://github.com/symfony/cache/tree/v5.4.29"
"source": "https://github.com/symfony/cache/tree/v5.4.30"
},
"funding": [
{
@@ -10140,7 +10135,7 @@
"type": "tidelift"
}
],
"time": "2023-09-19T13:25:51+00:00"
"time": "2023-10-17T14:17:25+00:00"
},
{
"name": "symfony/cache-contracts",
@@ -10922,16 +10917,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v5.4.28",
"version": "v5.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2"
"reference": "671769f79de0532da1478c60968b42506e185d2e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/365992c83a836dfe635f1e903ccca43ee03d3dd2",
"reference": "365992c83a836dfe635f1e903ccca43ee03d3dd2",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/671769f79de0532da1478c60968b42506e185d2e",
"reference": "671769f79de0532da1478c60968b42506e185d2e",
"shasum": ""
},
"require": {
@@ -10978,7 +10973,7 @@
"description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-foundation/tree/v5.4.28"
"source": "https://github.com/symfony/http-foundation/tree/v5.4.30"
},
"funding": [
{
@@ -10994,20 +10989,20 @@
"type": "tidelift"
}
],
"time": "2023-08-21T07:23:18+00:00"
"time": "2023-10-28T23:35:12+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v5.4.29",
"version": "v5.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "f53265fc6bd2a7f3a4ed4e443b76e750348ac3f7"
"reference": "16b9b36f81631155546d9f05271dd027c83c3dd4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/f53265fc6bd2a7f3a4ed4e443b76e750348ac3f7",
"reference": "f53265fc6bd2a7f3a4ed4e443b76e750348ac3f7",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/16b9b36f81631155546d9f05271dd027c83c3dd4",
"reference": "16b9b36f81631155546d9f05271dd027c83c3dd4",
"shasum": ""
},
"require": {
@@ -11090,7 +11085,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/v5.4.29"
"source": "https://github.com/symfony/http-kernel/tree/v5.4.30"
},
"funding": [
{
@@ -11106,7 +11101,7 @@
"type": "tidelift"
}
],
"time": "2023-09-30T06:31:17+00:00"
"time": "2023-10-29T00:07:40+00:00"
},
{
"name": "symfony/mime",
@@ -12493,16 +12488,16 @@
},
{
"name": "symfony/serializer",
"version": "v5.4.29",
"version": "v5.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/serializer.git",
"reference": "b893175000155839170d589f3a3593f2ce601829"
"reference": "ceadb4e08830e69738d313b667cfb426269f67f6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/serializer/zipball/b893175000155839170d589f3a3593f2ce601829",
"reference": "b893175000155839170d589f3a3593f2ce601829",
"url": "https://api.github.com/repos/symfony/serializer/zipball/ceadb4e08830e69738d313b667cfb426269f67f6",
"reference": "ceadb4e08830e69738d313b667cfb426269f67f6",
"shasum": ""
},
"require": {
@@ -12576,7 +12571,7 @@
"description": "Handles serializing and deserializing data structures, including object graphs, into array structures or other formats like XML and JSON.",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/serializer/tree/v5.4.29"
"source": "https://github.com/symfony/serializer/tree/v5.4.30"
},
"funding": [
{
@@ -12592,7 +12587,7 @@
"type": "tidelift"
}
],
"time": "2023-09-20T07:40:46+00:00"
"time": "2023-10-25T18:53:19+00:00"
},
{
"name": "symfony/service-contracts",
@@ -12765,16 +12760,16 @@
},
{
"name": "symfony/translation",
"version": "v5.4.24",
"version": "v5.4.30",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "de237e59c5833422342be67402d487fbf50334ff"
"reference": "8560dc532e4e48d331937532a7cbfd2a9f9f53ce"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/de237e59c5833422342be67402d487fbf50334ff",
"reference": "de237e59c5833422342be67402d487fbf50334ff",
"url": "https://api.github.com/repos/symfony/translation/zipball/8560dc532e4e48d331937532a7cbfd2a9f9f53ce",
"reference": "8560dc532e4e48d331937532a7cbfd2a9f9f53ce",
"shasum": ""
},
"require": {
@@ -12842,7 +12837,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v5.4.24"
"source": "https://github.com/symfony/translation/tree/v5.4.30"
},
"funding": [
{
@@ -12858,7 +12853,7 @@
"type": "tidelift"
}
],
"time": "2023-05-19T12:34:17+00:00"
"time": "2023-10-28T09:19:54+00:00"
},
{
"name": "symfony/translation-contracts",

View File

@@ -1,6 +1,6 @@
import Model, { attr } from '@ember-data/model';
import { computed, action } from '@ember/object';
import { getOwner } from '@ember/application';
import { computed } from '@ember/object';
import { format, formatDistanceToNow } from 'date-fns';
export default class NotificationModel extends Model {
@@ -37,8 +37,8 @@ export default class NotificationModel extends Model {
return this.read_at instanceof Date;
}
@computed('read') get unread() {
return !this.isRead;
@computed('isRead') get unread() {
return !this.get('isRead');
}
/** @actions */
@@ -46,8 +46,8 @@ export default class NotificationModel extends Model {
if (this.isRead) {
return;
}
this.read_at = new Date();
this.set('read_at', new Date());
return this.save();
}
}

View File

@@ -42,39 +42,8 @@ Router.map(function () {
this.route('socket');
});
this.route('branding');
this.route('virtual', { path: '/:slug/:view' });
this.route('notifications');
});
this.mount('@fleetbase/dev-engine', {
as: 'developers',
path: 'developers'
});
this.mount('@fleetbase/fleetops-engine', {
as: 'fleet-ops',
path: 'fleet-ops'
});
this.mount('@fleetbase/flespi-engine', {
as: 'flespi',
path: 'flespi'
});
this.mount('@fleetbase/fleetops-engine', {
as: 'fleet-ops',
path: 'fleet-ops',
});
this.mount('@fleetbase/iam-engine', {
as: 'iam',
path: 'iam'
});
this.mount('@fleetbase/storefront-engine', {
as: 'storefront',
path: 'storefront',
path: 'storefront'
this.route('virtual', { path: '/:slug/:view' });
});
});
this.route('install');

View File

@@ -7,7 +7,7 @@
<Layout::Section::Body class="h-full w-full">
<div class="max-h-[calc(100vh-10rem)] h-full w-full overflow-y-scroll">
<div class="h-full w-full">
{{#each @model as |notification index|}}
{{#each @model as |notification|}}
<div class="flex flex-row justify-between px-4 py-3 text-black dark:text-white border-b dark:border-gray-800 border-gray-200 text-sm hover:opacity-60 {{if notification.read_at 'bg-gray-100 dark:bg-gray-900' 'bg-white dark:bg-gray-800'}}">
<div class="flex flex-row flex-1">
<div class="flex items-center justify-center mr-6">

View File

@@ -3,6 +3,6 @@ import { camelize } from '@ember/string';
export default function createNotificationKey(definition, name) {
const withoutSlashes = definition.replace(/[\W_]+/g, '');
const key = `${camelize(withoutSlashes)}__${camelize(name)}`;
return key;
}

View File

@@ -1,6 +1,6 @@
{
"name": "@fleetbase/console",
"version": "0.2.6",
"version": "0.2.7",
"private": true,
"description": "Fleetbase Console",
"repository": "",
@@ -26,10 +26,10 @@
"dependencies": {
"@ember/legacy-built-in-components": "^0.4.1",
"@fleetbase/ember-core": "^0.1.6",
"@fleetbase/ember-ui": "^0.2.1",
"@fleetbase/ember-ui": "^0.2.2",
"@fleetbase/dev-engine": "^0.1.9",
"@fleetbase/iam-engine": "^0.0.7",
"@fleetbase/fleetops-engine": "^0.3.0",
"@fleetbase/fleetops-engine": "^0.3.1",
"@fleetbase/fleetops-data": "^0.1.1",
"@fleetbase/storefront-engine": "^0.2.2",
"@fleetbase/leaflet-routing-machine": "^3.2.16",
@@ -126,8 +126,8 @@
"pnpm": {
"overrides": {
"@fleetbase/fleetops-data": "^0.1.1",
"@fleetbase/ember-core": "^0.1.6",
"@fleetbase/ember-ui": "^0.2.1"
"@fleetbase/ember-core": "^0.1.5",
"@fleetbase/ember-ui": "^0.2.2"
}
},
"prettier": {
@@ -145,4 +145,4 @@
}
]
}
}
}

16137
console/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff