Commit Graph

13505 Commits

Author SHA1 Message Date
Pavel Dohnal
a84471b65c Save user agent on open
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
4f37cde9f9 Create table for user agents
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Rodrigo Primo
fb01e86432 Update mocha to the latest version
[MAILPOET-3678]
2021-08-18 14:40:44 +02:00
Ján Mikláš
91d902d83f Release 3.67.0 2021-08-17 14:15:02 +02:00
Tautvidas Sipavicius
97347a9b0d Release 3.66.0 2021-08-17 07:36:06 +02:00
Jan Lysý
10397c6b16 Add symfony/polyfill-php80 dependency
The version 2.51.1 of nesbot/carbon uses PHP8 function str_starts_with

[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
3b0a3df437 Remove deleting polyfill-php80
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
cf8ec8a6ac Remove namespace prefix from symfony di replacements
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
a9621875bd Fix phpstan errors from new version
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
3ede4366b6 Update phpstan dependencies
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
42a3d01b77 Update CodeSniffer dependencies
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
08c1e8a288 Update tools in install.php
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
033d598a26 Update composer dev dependencies
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
b470e9266a Update symfony validator
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
7161964730 Update symfony/dependency-injection
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
237a518c40 Update nesbot/carbon
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Jan Lysý
6cf3412a08 Update doctrine/dbal
[MAILPOET-3725]
2021-08-16 15:56:39 +02:00
Rodrigo Primo
55dc8ac902 Protect against fatal error when rendering e-mail styles
This commit protects the code that renders styles for e-mails against a
fatal error that could happen if the variable $styles passed to Renderer::renderStyles()
is not an array of arrays. To do that, the code will now check if each value
of the array is an array. If not, we move on to the next value instead of
calling StylesHelper::setStyle(). I also added type hints to
StylesHelper::setStyle() and some of the methods that it calls to make
it more explicit what it expects to receive and what it returns.

[MAILPOET-3731]
2021-08-16 14:36:15 +02:00
Brezo Cordero
17c0777f96 Move calendarStartDay from DateText to DatePicker
[MAILPOET-3703]
2021-08-16 13:31:36 +02:00
Brezo Cordero
c3d34a91fe Set calendarStartDay in DateText to WP "week starts on"
Update also @types/react-datepicker to latest to include calendarStartDay.

[MAILPOET-3703]
2021-08-16 13:31:36 +02:00
Rostislav Wolny
e7f4a22dce Ignore lint rule name update in git blame
In the ignored commit we updated name of renamed a rule for came case variables
The name is used in many places in ignore comments
[MAILPOET-3658]
2021-08-16 12:51:20 +02:00
Jan Lysý
15211fbd5e Fix deleting Products block in the newsletter editor
[MAILPOET-3727]
2021-08-16 12:37:50 +02:00
Jan Lysý
41a3ac0268 Remove mso condition for include fonts for newsletters editor
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
f9a093c958 Add testing rendering button in post process
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
f6a881da98 Remove redundant important from style
We test stripping redundant from rendered emails. I removed redundant important option.
It is based on this article:
https://www.litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design/

[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
811b25673e Update newsletter ButtonTest.php
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
dfa0d03a67 Replace incorrect opening mso if in postProcessTemplate
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
75690d7a45 Add non mso condition around button
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
2165baa5ee Fix non mso condition in Menu
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Rodrigo Primo
7ffb85d1cf Update jsdom to version 16.7.0
This commits updates jsdom to version 16.7.0. It also updates
tests/javascript_newsletter_editor/mochaTestHelper.js to use the new
jsdom API as the old API was removed.

[MAILPOET-3678]
2021-08-16 11:00:54 +02:00
Brezo Cordero
44932d27c9 Allow import subscribers with empty IP address
Allow import subscribers with empty confirmed_ip or subscribed_ip when one of the columns is selected in the last step of the import.
Don't allow importing invalid IP addresses - still import the subscriber but remove the invalid IP address.

[MAILPOET-3665]
2021-08-16 10:37:31 +02:00
Jan Lysý
5e1f523c96 Improve code according the review
[MAILPOET-3708]
2021-08-16 10:25:37 +02:00
Jan Lysý
1a2c2746ca Add the subscribers recalculate component on the subscribers listing
[MAILPOET-3708]
2021-08-16 10:25:37 +02:00
Jan Lysý
74dc9fce53 Remove the character "~" from counts
[MAILPOET-3708]
2021-08-16 10:25:37 +02:00
Brezo Cordero
4120839102 Remove unnecessary casting to string on getNamesOfFormsForSegments
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
b2857cbf40 Refactor code that checks for list deletion with form
Move segment deletion to new function doTrash to avoid calling methods twice on individual segment deletion. Refactor acceptance test.

[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
711830d44d Add acceptance test for list with form deletion
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Brezo Cordero
d9186e4230 Prevent deleting a list if attached to a form
[MAILPOET-3661]
2021-08-16 09:42:08 +02:00
Jan Lysý
6dc0c62640 Fix getting NewsletterExporter instance in PersonalDataExporters
[MAILPOET-3702]
2021-08-11 15:18:58 +02:00
Jan Lysý
7783237203 Use entities instead of old models in link shortcode filter
[MAILPOET-3464]
2021-08-11 14:35:48 +02:00
Jan Lysý
d9f4a3f1d4 Add filter for displaying form on supported post types
[MAILPOET-3639]
2021-08-11 14:26:06 +02:00
Jan Lysý
e468663d15 Add job_listing into supported post types for forms
[MAILPOET-3639]
2021-08-11 14:26:06 +02:00
Rostislav Wolny
adcbcc9982 Add tests for existing subscribers subscribing on checkout page
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
35058bca63 Add unsubscribes tracking for WooCommerce checkout
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
774142dd01 Add test for subscriptions via Woo on my-account page
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
21c712c930 Fix issues in woocommerce_registration_errors callback
* After this change we will process only registrations without any errors.
* The filter expect that it returns $errors, but the callback was not returning anything. This was under some circumstances causing 500 error.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
61e61d4612 Enable registration on my-account page in acceptance tests
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
b7cdb71f18 Delete redundant WooCommerce customer lists tests
Same functionality is tested in newly added subscription tests
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
c110851a82 Add acceptance tests for registered customer subscriptions on checkout
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
3849b7fa33 Add acceptance tests for guest customers subscriptions on checkout
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00