Fernando
ce0f73aa9b
Refactor `MerchantEmailNotifications` ( https://github.com/woocommerce/woocommerce-admin/pull/8304 )
...
* Refactor `MerchantEmailNotifications`
* Rename `NotificationEmail`
* Add changelog
* Add folder `Notes` to `Internal`
* Moved folder and the namespace was renamed
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-02-17 14:33:19 -03:00
louwie17
b29cd9a6c0
Add support for php8 unit tests (locally and in GH actions) ( https://github.com/woocommerce/woocommerce-admin/pull/6678 )
...
* Partial local version to run php8 unit tests
* Remove the post install scripts
* Remove tab
* Make sure woocommerce version contains patch number
* Remove unnecessary script
* Update bin settings and unit test script
* Remove phpunit binary
* Updated how php unit is being run
* Add specific phpunit version for php8
* Update bin phpunit composer.json
* Final cleanup of scripts
* Fix potential test where image is an object
* Move setting image below save
* Add changelog
* Do not convert obj/array to string for email_actions
* Remove some uses of tabs
* Set WP and WC version to minimum php 8 supported
* Remove unnecessary composer install within tests
2021-04-07 14:28:03 -03:00
Ilyas Foo
6296952949
Improve AddFirstProduct email note contents ( https://github.com/woocommerce/woocommerce-admin/pull/6617 )
...
* Add capability for merchant email note personalization, improve AddFirstProduct email note contents.
* Update heading
* Update readme and testing instructions
* Remove old image, fix typo and improve translation
2021-03-26 09:26:07 +08:00
Fernando
513173a9d9
Add merchant email notifications ( https://github.com/woocommerce/woocommerce-admin/pull/5922 )
...
* Added MerchantEmailNotifications class
* Added new type and Events refactor
# Conflicts:
# src/Events.php
* Added templates
* Refactored MerchantEmailNotifications and NotificationEmail
* Templates refactored
* Added email opening tracking endpoint
* Added templates handling
* Moved folder `MerchantEmailNotifications`
* Fixed template extensibility
* Fixed note `heading` check
* Added default type in `get_template_filename`
* Added tests
* Removed bypass
* Modified URL
* Added required noteTypes
* Added flag for functionallity
* Fixed plain link
* Fixed comment
* Turned email notifications on by default
This commit adds the code to turn email notifications on by default
* Fixed email styles
* Fixed typo
* Renamed method "possible_send" as "run"
* Removed unnecessary control
* Fixed another typo
* Renamed method as "get_notification_email_addresses"
* Refactored method "send_merchant_notification"
* Renamed plain-merchant-notification
* Fixed tests
* Merchant email notifications - Action triggering (https://github.com/woocommerce/woocommerce-admin/pull/5976 )
* Added templates
# Conflicts:
# includes/emails/plain-mechant-notification.php
# Conflicts:
# includes/emails/html-merchant-notification.php
* Added note action triggering
This commit adds the note actions triggering
# Conflicts:
# includes/emails/html-merchant-notification.php
* Fixed error handling
* Refactored "trigger_note_action" method
* Fixed actions url
* Fixed note URL
* Added external redirect
* Added image and html handling for email
* Fixed tests
* Fixed buttons style
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Add your first product: email notification (https://github.com/woocommerce/woocommerce-admin/pull/6024 )
* Added AddFirstProduct note
# Conflicts:
# src/Events.php
* Added "AddFirstProduct" email note
This commit adds the email note "AddFirstProduct"
* Fixed image
This commit removes the image img-product-light.svg to use a png instead. Otherwise, the gmail proxy would break the image
* Fixed readme.txt
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
* Added readme.txt
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-01-12 21:09:22 -03:00