Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbe1987 committed Oct 11, 2024
2 parents 878c5db + cb97dd3 commit bf4514d
Show file tree
Hide file tree
Showing 124 changed files with 1,407 additions and 16,153 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## 1.8.0
* removed deprecated SOAP API integration
* improved naming for DHL settings in Admin panel

## 1 7.7
* fix category model inheritance

Expand Down
29 changes: 29 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Combined License "MIT License" with mediaopt's additional condition:

MIT License

Copyright (c) 2024 mediaopt:

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

mediaopt's additional condition to use the Software:

The permission to use the Software is granted only under the additional condition that
mediaopt's API Key `kAPjq3yHFgY6QD3sHEtv61dQCAgoXLyK` (represented by `DHL_DEVELOPER_API_KEY` in `src/modules/mo/mo_dhl/Adapter/DHLConfigurator.php`) is kept not only at the Copyright Notice
but is forwarded at each deployment of the DHL Oxid module.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
},
"require": {
"php": ">=7.1",
"php": ">=7.4",
"monolog/monolog": "^1.12",
"guzzlehttp/guzzle": "^7.0",
"ext-json": "*",
Expand Down
2 changes: 1 addition & 1 deletion project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"pathToModule": "copy_this/modules/mo/mo_dhl",
"prefix": "mo_",
"suffix": "",
"version": "1.7.7",
"version": "1.8.0",
"compatibility": {
"minimumVersion": "6.0",
"maximumVersion": null,
Expand Down
9 changes: 0 additions & 9 deletions src/modules/mo/mo_dhl/Adapter/DHLAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* @copyright 2016 Mediaopt GmbH
*/

use Mediaopt\DHL\Api\GKV;
use Mediaopt\DHL\Api\Standortsuche;
use Mediaopt\DHL\Api\Wunschpaket;
use Mediaopt\DHL\Main;
Expand Down Expand Up @@ -202,14 +201,6 @@ public function buildStandortsuche()
return $this->getSdk()->buildStandortsuche();
}

/**
* @return GKV
*/
public function buildGKV()
{
return $this->getSdk()->buildGKV();
}

/**
* @return \Mediaopt\DHL\Api\ParcelShipping\Client
*/
Expand Down
4 changes: 2 additions & 2 deletions src/modules/mo/mo_dhl/Adapter/DHLConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ class DHLConfigurator extends \Mediaopt\DHL\Configurator

const TEST_GKV_USERNAME = '2222222222_01';

const TEST_GKV_PASSWORD = 'pass';
const TEST_GKV_PASSWORD = 'SandboxPasswort2023!';

const TEST_PARCEL_SHIPPING_USERNAME = 'sandy_sandbox';
const TEST_PARCEL_SHIPPING_USERNAME = 'user-valid';

const TEST_PARCEL_SHIPPING_PASSWORD = self::TEST_GKV_PASSWORD;

Expand Down

This file was deleted.

Loading

0 comments on commit bf4514d

Please sign in to comment.