@fleetbase/storefront-engine 0.3.14 → 0.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/composer.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbase/storefront-api",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "Headless Commerce & Marketplace Extension for Fleetbase",
5
5
  "keywords": [
6
6
  "fleetbase-extension",
@@ -22,8 +22,8 @@
22
22
  ],
23
23
  "require": {
24
24
  "php": "^8.0",
25
- "fleetbase/core-api": "^1.5.3",
26
- "fleetbase/fleetops-api": "^0.5.6",
25
+ "fleetbase/core-api": "^1.5.9",
26
+ "fleetbase/fleetops-api": "^0.5.8",
27
27
  "geocoder-php/google-maps-places-provider": "^1.4",
28
28
  "laravel-notification-channels/apn": "^5.0",
29
29
  "laravel-notification-channels/fcm": "^4.1",
@@ -12,6 +12,12 @@ module.exports = function (environment) {
12
12
  categoryImage: getenv('DEFAULT_CATEGORY_IMAGE', 'https://flb-assets.s3.ap-southeast-1.amazonaws.com/images/fallback-placeholder-1.png'),
13
13
  placeholderImage: getenv('DEFAULT_PLACEHOLDER_IMAGE', 'https://flb-assets.s3.ap-southeast-1.amazonaws.com/images/fallback-placeholder-2.png'),
14
14
  },
15
+
16
+ 'ember-leaflet': {
17
+ excludeCSS: true,
18
+ excludeJS: true,
19
+ excludeImages: true,
20
+ },
15
21
  };
16
22
 
17
23
  return ENV;
package/extension.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "Storefront",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "Headless Commerce & Marketplace Extension for Fleetbase",
5
5
  "repository": "https://github.com/fleetbase/storefront",
6
6
  "license": "AGPL-3.0-or-later",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fleetbase/storefront-engine",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "Headless Commerce & Marketplace Extension for Fleetbase",
5
5
  "fleetbase": {
6
6
  "route": "storefront",
@@ -43,14 +43,15 @@
43
43
  "publish:github": "npm config set '@fleetbase:registry' https://npm.pkg.github.com/ && npm publish"
44
44
  },
45
45
  "dependencies": {
46
- "@fleetbase/ember-core": "^0.2.17",
47
- "@fleetbase/ember-ui": "^0.2.24",
48
- "@fleetbase/fleetops-data": "^0.1.17",
46
+ "@fleetbase/ember-core": "^0.2.19",
47
+ "@fleetbase/ember-ui": "^0.2.32",
48
+ "@fleetbase/fleetops-data": "^0.1.18",
49
49
  "@babel/core": "^7.23.2",
50
50
  "@fortawesome/ember-fontawesome": "^2.0.0",
51
51
  "@fortawesome/fontawesome-svg-core": "6.4.0",
52
52
  "@fortawesome/free-solid-svg-icons": "6.4.0",
53
53
  "@fortawesome/free-brands-svg-icons": "6.4.0",
54
+ "ember-auto-import": "^2.7.4",
54
55
  "ember-cli-babel": "^8.2.0",
55
56
  "ember-cli-htmlbars": "^6.3.0",
56
57
  "ember-intl": "6.3.2",
@@ -70,7 +71,6 @@
70
71
  "broccoli-funnel": "^3.0.8",
71
72
  "broccoli-merge-trees": "^4.2.0",
72
73
  "concurrently": "^8.2.2",
73
- "ember-auto-import": "^2.7.4",
74
74
  "ember-classic-decorator": "^3.0.0",
75
75
  "ember-cli": "~5.4.1",
76
76
  "ember-cli-clean-css": "^3.0.0",
@@ -24,6 +24,20 @@ if (env('APP_ENV') === 'local') {
24
24
  $mysql_options[PDO::ATTR_EMULATE_PREPARES] = true;
25
25
  }
26
26
 
27
+ if (extension_loaded('pdo_mysql')) {
28
+ if (env('MYSQL_ATTR_SSL_CA')) {
29
+ $mysql_options[PDO::MYSQL_ATTR_SSL_CA] = env('MYSQL_ATTR_SSL_CA');
30
+ }
31
+ if (env('MYSQL_ATTR_SSL_CERT')) {
32
+ $mysql_options[PDO::MYSQL_ATTR_SSL_CERT] = env('MYSQL_ATTR_SSL_CERT');
33
+ }
34
+ if (env('MYSQL_ATTR_SSL_KEY')) {
35
+ $mysql_options[PDO::MYSQL_ATTR_SSL_KEY] = env('MYSQL_ATTR_SSL_KEY');
36
+ }
37
+ // Setting default SSL verification behavior based on environment
38
+ $mysql_options[PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT] = env('MYSQL_ATTR_SSL_VERIFY_SERVER_CERT', env('APP_ENV') === 'production');
39
+ }
40
+
27
41
  /*
28
42
  |--------------------------------------------------------------------------
29
43
  | Database Connections
@@ -43,7 +57,7 @@ return [
43
57
  'storefront' => [
44
58
  'driver' => 'mysql',
45
59
  'host' => $host,
46
- 'port' => env('STOREFRONT_DB_PORT', '3306'),
60
+ 'port' => env('STOREFRONT_DB_PORT', env('DB_PORT', '3306')),
47
61
  'database' => $database . '_storefront',
48
62
  'username' => $username,
49
63
  'password' => $password,