-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from dachcom-digital/p11
- Loading branch information
Showing
42 changed files
with
2,928 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
TEST_PROJECT_ROOT_DIR: "${{ github.workspace }}" | ||
|
||
PIMCORE_CODECEPTION_FRAMEWORK: "${{ github.workspace }}/pimcore-codeception-framework" | ||
PIMCORE_CODECEPTION_VERSION: "2.0" | ||
PIMCORE_CODECEPTION_VERSION: "3.0" | ||
|
||
APP_ENV: test | ||
PIMCORE_TEST_DB_DSN: "mysql://root:[email protected]:3306/dachcom_bundle_test" | ||
|
@@ -37,12 +37,12 @@ jobs: | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
strategy: | ||
matrix: | ||
php: [ 8.1 ] | ||
symfony: [ ^5.4 ] | ||
pimcore: [ ~10.6.0 ] | ||
php: [ 8.2 ] | ||
symfony: [ ^6.2 ] | ||
pimcore: [ ~11.0.0 ] | ||
include: | ||
- pimcore: ~10.6.0 | ||
template_tag: v10.2.5 | ||
- pimcore: ~11.0.0 | ||
template_tag: v11.0.0 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -105,7 +105,7 @@ jobs: | |
run: | | ||
composer config "minimum-stability" "dev" | ||
composer config "prefer-stable" true | ||
sed -i 's,\("dachcom-digital\/social-data"\): "\(.*\)",\1: "2.x-dev",g' ${{ github.workspace }}/lib/test-bundle/composer.json | ||
sed -i 's,\("dachcom-digital\/social-data"\): "\(.*\)",\1: "3.x-dev",g' ${{ github.workspace }}/lib/test-bundle/composer.json | ||
chmod +x ./pimcore-codeception-framework/src/_etc/scripts/composer.sh | ||
./pimcore-codeception-framework/src/_etc/scripts/composer.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
TEST_PROJECT_ROOT_DIR: "${{ github.workspace }}" | ||
|
||
PIMCORE_CODECEPTION_FRAMEWORK: "${{ github.workspace }}/pimcore-codeception-framework" | ||
PIMCORE_CODECEPTION_VERSION: "2.0" | ||
PIMCORE_CODECEPTION_VERSION: "3.0" | ||
|
||
APP_ENV: test | ||
PIMCORE_TEST_DB_DSN: "mysql://root:[email protected]:3306/dachcom_bundle_test" | ||
|
@@ -37,12 +37,12 @@ jobs: | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
strategy: | ||
matrix: | ||
php: [ 8.1 ] | ||
symfony: [ ^5.4 ] | ||
pimcore: [ ~10.6.0 ] | ||
php: [ 8.2 ] | ||
symfony: [ ^6.2 ] | ||
pimcore: [ ~11.0.0 ] | ||
include: | ||
- pimcore: ~10.6.0 | ||
template_tag: v10.2.5 | ||
- pimcore: ~11.0.0 | ||
template_tag: v11.0.0 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -105,7 +105,7 @@ jobs: | |
run: | | ||
composer config "minimum-stability" "dev" | ||
composer config "prefer-stable" true | ||
sed -i 's,\("dachcom-digital\/social-data"\): "\(.*\)",\1: "2.x-dev",g' ${{ github.workspace }}/lib/test-bundle/composer.json | ||
sed -i 's,\("dachcom-digital\/social-data"\): "\(.*\)",\1: "3.x-dev",g' ${{ github.workspace }}/lib/test-bundle/composer.json | ||
chmod +x ./pimcore-codeception-framework/src/_etc/scripts/composer.sh | ||
./pimcore-codeception-framework/src/_etc/scripts/composer.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
# Upgrade Notes | ||
|
||
## 2.0.1 | ||
- [BUGFIX] fix assoc array check [#3](https://github.com/dachcom-digital/pimcore-social-data-linkedin-connector/pull/3) | ||
- | ||
## Migrating from Version 1.x to Version 2.0.0 | ||
## Migrating from Version 2.x to Version 3.0.0 | ||
|
||
### Global Changes | ||
- PHP8 return type declarations added: you may have to adjust your extensions accordingly | ||
- Recommended folder structure by symfony adopted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
namespace SocialData\Connector\LinkedIn\EventListener\Admin; | ||
|
||
use Pimcore\Event\BundleManager\PathsEvent; | ||
use Pimcore\Event\BundleManagerEvents; | ||
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | ||
|
||
class AssetListener implements EventSubscriberInterface | ||
{ | ||
public static function getSubscribedEvents(): array | ||
{ | ||
return [ | ||
BundleManagerEvents::CSS_PATHS => 'addCssFiles', | ||
BundleManagerEvents::JS_PATHS => 'addJsFiles', | ||
]; | ||
} | ||
|
||
public function addCssFiles(PathsEvent $event): void | ||
{ | ||
$event->addPaths([ | ||
'/bundles/socialdatalinkedinconnector/css/admin.css' | ||
]); | ||
} | ||
|
||
public function addJsFiles(PathsEvent $event): void | ||
{ | ||
$event->addPaths([ | ||
'/bundles/socialdatalinkedinconnector/js/connector/linkedin-connector.js', | ||
'/bundles/socialdatalinkedinconnector/js/feed/linkedin-feed.js', | ||
]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
actor: FunctionalTester | ||
modules: | ||
enabled: | ||
- \Dachcom\Codeception\Support\Helper\PimcoreCore: | ||
connect_db: true | ||
rebootable_client: true | ||
- \Dachcom\Codeception\Support\Helper\PimcoreBundleCore: | ||
run_installer: true | ||
- \Dachcom\Codeception\Support\Helper\Browser\PhpBrowser: | ||
depends: \Dachcom\Codeception\Support\Helper\PimcoreCore | ||
- \Dachcom\Codeception\Support\Helper\PimcoreBackend | ||
- \Dachcom\Codeception\Support\Helper\PimcoreUser |
File renamed without changes.
Oops, something went wrong.