Skip to content

Commit

Permalink
chore: Build release
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Jul 24, 2023
1 parent 2df85b6 commit 4f53adf
Show file tree
Hide file tree
Showing 25 changed files with 164 additions and 746 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/unit.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions .shopware-extension.yml

This file was deleted.

36 changes: 36 additions & 0 deletions CHANGELOG_en-GB.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 2.0.2
- [fix: tag a new version](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/2df85b6)
- [fix: admin error in mail template module, fixes #50 (#53)](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/4695b4d)
- [run ci (#52)](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/480e658)
- [Update TestBootstrap.php](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/a9f15c3)
- [fix: mail template module in administration in production mode](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/ab92c00)
- [ci: update ci config](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/5d341cf)
- [chore: prepare release](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/b04a844)
- [refactor: add more code coverage](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/9ece7fd)
- [fix: phpunit tests](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/4002436)
- [feat: shopware 6.5](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/b0a6640)
- [fix: build assets while build](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/775844d)
- [feat: remove subscriber generator](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/6f39ec5)
- [Update unit.yml](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/fe2b62e)
- [Update build.yml](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/1d7ecce)
- [Add tests](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/da29f95)
- [fix for store](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/e7e1ff3)
- [increase version](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/f1cba40)
- [fix tests](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/c84eb30)
- [remove qodana](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/49e8bb7)
- [simplify command](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/926c515)
- [remove qodana](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/a8f35aa)
- [Update .gitpod.yml](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/8722ceb)
- [add gitpod badge](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/5113ee7)
- [add basic dev environment](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/bb8a786)
- [Changed SQL to work with prepared statements](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/6a05042)
- [Added code cleanup](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/4440dce)
- [Added adaptions for new features of mail theme and for review](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/6f79e91)
- [Fixed semantics](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/be8e24c)
- [Added sort to load mail templates from selected theme first, if exists](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/791f733)
- [improved mail template component to show if a template is loaded from the theme](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/b4eaa0f)
- [Implement command to export existing mail templates to disk.](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/a7d1b41)
- [fix: getSalesChannelId usage, fixes #33](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/01e73cd)
- [chore: add .shopware-extension.yml](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/84f4a0e)
- [chore: release 0.4.4](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/4d14e99)
- [chore: update workflow](https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/commit/b578b92)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.sw-mail-template-detail__options-info-wrapper .sw-field,.sw-mail-template-detail .sw-code-editor{margin-bottom:5px}.sw-mail-template-detail .sw-code-editor+.sw-label{margin-bottom:32px}
127 changes: 127 additions & 0 deletions src/Resources/public/administration/js/frosh-platform-template-mail.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
(()=>{var l=`{% block sw_mail_template_list_grid %}
<sw-card
:title="$tc('sw-mail-template.list.titleMailTemplateList')"
position-identifier="sw-mail-template-list"
>
<template>
{% block sw_mail_template_list_grid_empty_state %}
<sw-empty-state
v-if="!isLoading && !showListing"
:title="$tc('sw-mail-template.list.emptyStateTitle')"
:subline="$tc('sw-mail-template.list.emptyStateSubTitle')"
:absolute="false"
>
{% block sw_mail_template_list_grid_empty_state_icon %}
<template #icon>
<img
:src="'/administration/static/img/empty-states/settings-empty-state.svg' | asset"
alt=""
>
</template>
{% endblock %}
</sw-empty-state>
{% endblock %}
</template>
<template #grid>
<sw-entity-listing
v-if="isLoading || showListing"
id="mailTemplateGrid"
class="sw-mail-templates-list-grid"
detail-route="sw.mail.template.detail"
identifier="sw-mail-template-list"
:items="mailTemplates"
:columns="getListColumns()"
:repository="mailTemplateRepository"
:full-page="false"
:is-loading="isLoading"
:allow-view="acl.can('mail_templates.viewer')"
:allow-edit="acl.can('mail_templates.editor')"
:allow-delete="acl.can('mail_templates.deleter')"
:show-selection="acl.can('mail_templates.deleter')"
:skeleton-item-amount="skeletonItemAmount"
@update-records="updateRecords"
>
{% block sw_mail_template_list_grid_columns_frosh_template_mail %}
<template #column-froshTemplateMail="{ item }">
<sw-label
appearance="circle"
:variant="item.extensions.froshTemplateMail.subject ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('subject', item.extensions.froshTemplateMail.subject)"
>
<sw-icon name="regular-exclamation-s" small />
</sw-label>
<sw-label
appearance="circle"
:variant="item.extensions.froshTemplateMail.plain ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('plain', item.extensions.froshTemplateMail.plain)"
>
<sw-icon name="regular-align-left" small />
</sw-label>
<sw-label
appearance="circle"
:variant="item.extensions.froshTemplateMail.html ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('html', item.extensions.froshTemplateMail.html)"
>
<sw-icon name="regular-code" small />
</sw-label>
</template>
{% endblock %}
{% block sw_mail_template_list_grid_columns_technical_name %}
<template #column-technicalName="{ item }">
{{ item.extensions.froshTemplateMail.technicalName }}
</template>
{% endblock %}
<template #more-actions="{ item }">
{% block sw_mail_template_list_grid_columns_actions_duplicate %}
<sw-context-menu-item
class="sw-mail-template-list-grid__duplicate-action"
:disabled="!acl.can('mail_templates.creator')"
@click="onDuplicate(item.id)"
>
{{ $tc('sw-mail-template.list.contextMenuDuplicate') }}
</sw-context-menu-item>
{% endblock %}
</template>
</sw-entity-listing>
</template>
</sw-card>
{% endblock %}
`;Shopware.Component.override("sw-mail-template-list",{template:l,methods:{getListColumns(){let e=this.$super("getListColumns");return e.unshift({property:"froshTemplateMail",label:"sw-mail-template.list.columnTemplateMail",allowResize:!0},{property:"technicalName",label:"sw-mail-template.list.columnTechnicalName",allowResize:!0,visible:!1}),e},getFroshTooltip(e,t){return{message:t?this.$t(`sw-mail-template.frosh.${e}`,{folder:t}):this.$t("sw-mail-template.frosh.noTemplate")}}}});var a=`{% block sw_mail_template_options_form_subject_field %}
{% parent %}
<sw-label
appearance="circle"
:variant="mailTemplate.extensions.froshTemplateMail.subject ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('subject', mailTemplate.extensions.froshTemplateMail.subject)"
>
<sw-icon name="regular-exclamation-s" small />
</sw-label>
{% endblock %}
{% block sw_mail_template_mail_text_form_content_plain_field %}
{% parent %}
<sw-label
appearance="circle"
:variant="mailTemplate.extensions.froshTemplateMail.plain ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('plain', mailTemplate.extensions.froshTemplateMail.plain)"
>
<sw-icon name="regular-align-left" small />
</sw-label>
{% endblock %}
{% block sw_mail_template_mail_text_form_content_html_field %}
{% parent %}
<sw-label
appearance="circle"
:variant="mailTemplate.extensions.froshTemplateMail.html ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('html', mailTemplate.extensions.froshTemplateMail.html)"
>
<sw-icon name="regular-code" small />
</sw-label>
{% endblock %}
`;Shopware.Component.override("sw-mail-template-detail",{template:a,methods:{getFroshTooltip(e,t){return{message:t?this.$t(`sw-mail-template.frosh.${e}`,{folder:t}):this.$t("sw-mail-template.frosh.noTemplate")}}}});})();
20 changes: 0 additions & 20 deletions src/Resources/store/de.md

This file was deleted.

19 changes: 0 additions & 19 deletions src/Resources/store/en.md

This file was deleted.

Binary file removed src/Resources/store/icon.png
Binary file not shown.
Binary file removed src/Resources/store/images/1.png
Binary file not shown.
45 changes: 0 additions & 45 deletions tests/Command/ExportCommandTest.php

This file was deleted.

42 changes: 0 additions & 42 deletions tests/DependencyInjection/CacheCompilerPassTest.php

This file was deleted.

Loading

0 comments on commit 4f53adf

Please sign in to comment.