From bb199cbab00a1771b326a8e3a6e7a61984fa798a Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Sat, 6 May 2023 23:26:21 +0000 Subject: [PATCH] chore: Build release --- .gitattributes | 3 - .github/workflows/pack-plugin.yml | 15 ----- .gitignore | 5 -- .shopware-extension.yml | 58 ------------------ .../frosh-platform-thumbnail-processor.css | 1 + .../js/frosh-platform-thumbnail-processor.js | 22 +++++++ src/Resources/store/de.md | 37 ----------- src/Resources/store/en.md | 36 ----------- src/Resources/store/icon.png | Bin 10151 -> 0 bytes src/Resources/store/images/0.jpg | Bin 35511 -> 0 bytes src/Resources/store/images/1.jpg | Bin 55888 -> 0 bytes 11 files changed, 23 insertions(+), 154 deletions(-) delete mode 100644 .gitattributes delete mode 100644 .github/workflows/pack-plugin.yml delete mode 100755 .gitignore delete mode 100644 .shopware-extension.yml create mode 100644 src/Resources/public/administration/css/frosh-platform-thumbnail-processor.css create mode 100644 src/Resources/public/administration/js/frosh-platform-thumbnail-processor.js delete mode 100644 src/Resources/store/de.md delete mode 100644 src/Resources/store/en.md delete mode 100644 src/Resources/store/icon.png delete mode 100644 src/Resources/store/images/0.jpg delete mode 100755 src/Resources/store/images/1.jpg diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index ceb9522..0000000 --- a/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -bin/ export-ignore -phpstan.neon.dist export-ignore -psalm.xml export-ignore diff --git a/.github/workflows/pack-plugin.yml b/.github/workflows/pack-plugin.yml deleted file mode 100644 index ea0c36e..0000000 --- a/.github/workflows/pack-plugin.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: PackPlugin -on: - push: - branches: - - main - -jobs: - build: - uses: FriendsOfShopware/actions/.github/workflows/store-shopware-cli.yml@main - with: - extensionName: FroshPlatformThumbnailProcessor - secrets: - accountUser: ${{ secrets.ACCOUNT_USER }} - accountPassword: ${{ secrets.ACCOUNT_PASSWORD }} - ghToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore deleted file mode 100755 index 7ce6938..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -vendor -frosh-platform-thumbnail-processor.css -frosh-platform-thumbnail-processor.js -node_modules -src/DependencyInjection/ThumbnailService.php diff --git a/.shopware-extension.yml b/.shopware-extension.yml deleted file mode 100644 index 80a065d..0000000 --- a/.shopware-extension.yml +++ /dev/null @@ -1,58 +0,0 @@ -store: - availabilities: - - German - - International - default_locale: en_GB - localizations: - - de_DE - - en_GB - categories: - - ConversionOptimierung - type: extension - icon: src/Resources/store/icon.png - automatic_bugfix_version_compatibility: false - description: - de: file:src/Resources/store/de.md - en: file:src/Resources/store/en.md - tags: - de: - - thumbnail - - performance - - storage - - webp - en: - - thumbnail - - performance - - storage - - webp - features: - de: - - Keine Thumbnail-Dateien mehr - - URL pro SalesChannel möglich - en: - - No more thumbnail files - - URL per SalesChannel possible - images: - - file: src/Resources/store/images/0.jpg - activate: - de: true - en: true - preview: - de: true - en: true - priority: 0 - - file: src/Resources/store/images/1.jpg - activate: - de: true - en: true - preview: - de: false - en: false - priority: 1 -build: - zip: - assets: - enable_es_build_for_admin: true - enable_es_build_for_storefront: true - - diff --git a/src/Resources/public/administration/css/frosh-platform-thumbnail-processor.css b/src/Resources/public/administration/css/frosh-platform-thumbnail-processor.css new file mode 100644 index 0000000..46be95f --- /dev/null +++ b/src/Resources/public/administration/css/frosh-platform-thumbnail-processor.css @@ -0,0 +1 @@ +.sw-system-config .frosh-thumbnail-processor-info-texts a,.sw-system-config .frosh-thumbnail-processor-info-texts a:visited{text-decoration:none;color:#189eff}.sw-system-config .frosh-thumbnail-processor-info-texts p{margin:revert} diff --git a/src/Resources/public/administration/js/frosh-platform-thumbnail-processor.js b/src/Resources/public/administration/js/frosh-platform-thumbnail-processor.js new file mode 100644 index 0000000..38b448c --- /dev/null +++ b/src/Resources/public/administration/js/frosh-platform-thumbnail-processor.js @@ -0,0 +1,22 @@ +(()=>{var t=`{% block frosh_thumbnail_processor_info_texts %} +
+ Hint: You can set the Configs per SalesChannel and you must not use all variables. +
+ +
+ Available variables for the ThumbnailPattern:
+ {mediaUrl}: f.e. https://cdn.test.de/
+ {mediaPath}: f.e. media/image/5b/6d/16/tea.png
+ {width}: f.e. 800
+
+ Find pattern in the discussions category at GitHub:
+
+ Github Category Patterns
+
+
`!KxO|OF=fCa3 CgDc_A gW4(Bq45@x0HLt4L4#LuemQ^#0e!B!w7_Df8Q_2gLioP`Lvu@LtaypU2yOU5cy+B_;p_M4pe+{2px~|*p^R=Id#3im?G@3
za$_o=wo8lR?tovC`{gIe3ndmgzf|2Fmse!}w&mgH893&bWhu9%kU4jML@T}g+*I2R
z>jCPV?F58S$HB_x5_7bB{ne-W>~iqe#ftzAz6gAN1)S79_tg3~1q?hab-M!sTEY&i
zcPASzyqk=98L|B1F#K-78gKR@jVbqSm
z)iLOVEt(TY$r>D}mAi{L_CT+IQ7?eW5TqF=A5v0TY0EVmFsC8&zdw38!M02d(klFH
zkwov#aGQ{4fg?B~hizPhElR;))f8jZzVBT>JcpeQ7;p>dL52>1YT|6A4gh%eBVhJv
zWGrZ-PD5-dbFbV=F%UA-ZvrDUfl*!*nH`1(;NRlAVT*O-Y?={nSbwF>We7djp-za`
zL`Lnk9B`B(G)QOM+FIbV>W5bm(c$$rUU7RmO&3V%OIA7W#>?%3EIMiR>N71}+hSZt
z+d0LlSV^w6KUr4%nm3c1tY9I>kXK|dww2r8HFeXnEP7d52s4`Sj{X=uU;LH#dcvB+
zE!ui4bWq=(gpRF>biYNXn1wK4bj`}gs$KNHw^UyWRe8Vt$BnWAs2J4|(Q)7mOPTPn
zkd$VaS5G92(6_N23CZ|+T}CU+q_HyOFbvu!ArLwRDmhP~-j<@ZvZr8kDLupetUzg5
zG{^uNs*FP<=-9piw~&-7Gwui^DWYrWAvjVg<7jV>cB8hE2oh9Ghiv7GSSg3hBciQ@
zY7JVnaN)cevw98kPTazzPd<~-{vU!rTUH$@PyF?{*<5@z1FGW;L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