Commit Graph

15684 Commits

Author SHA1 Message Date
Pavel Dohnal
04424f6389 Fix a conflict when a phpmailer is already defined
[MAILPOET-3769]
2021-08-25 12:45:57 +02:00
Pavel Dohnal
e87885bdd0 Use number comparasion
[MAILPOET-3626]
2021-08-25 09:22:44 +02:00
Pavel Dohnal
e4aca4f6de Refactor endpoint to doctrine
[MAILPOET-3626]
2021-08-25 09:22:44 +02:00
Pavel Dohnal
285b76162c Run the test only if premium plugin is not present
[MAILPOET-3723]
2021-08-24 14:18:12 +02:00
Pavel Dohnal
8745208813 Release 3.67.1 2021-08-24 12:15:39 +02:00
Jan Lysý
ee84dc382b Change user_agent_type column to tinyint
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
292f075abe Improve user agent overriding
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
ed46c48706 Calculate statistics only from data with type human
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
a22ab943be Add integration tests for statistic user agent update
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
71ce62d027 Set user agent type in statistic tables
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
34ad21187d Add userAgentType property to statistics entities
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
9192602adf Add a new column user_agent_type to statistics tables
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Jan Lysý
f6513ab2b7 Add user-agent type detection
[MAILPOET-3736]
2021-08-23 16:37:59 +02:00
Pavel Dohnal
5d967f3457 Use a single string instead of array of strings
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
3b7752daed Refactor creating new list to Doctrine
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
3d1e2c5a2e Refactor setupWooCommerceInitialImport to Doctrine
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Pavel Dohnal
e31707903e Refactor import export test to doctrine
[MAILPOET-3625]
2021-08-23 14:18:57 +02:00
Ján Mikláš
0daaac8abf Ignore Html2Text::convert errors in confirmation email
[MAILPOET-3756]
2021-08-23 11:33:57 +02:00
Rodrigo Primo
5e73b78840 Remove extra space after opening parenthesis
[MAILPOET-3682]
2021-08-23 10:57:41 +02:00
Brezo Cordero
e6fbf98da8 Fix generate data command
[MAILPOET-3682]
2021-08-23 10:57:41 +02:00
Jan Lysý
79a2d1f934 Check that data are not array before base64 decoding
[MAILPOET-3699]
2021-08-23 09:51:29 +02:00
Brezo Cordero
d2570001db Add test for orphan SubscriberSegments deletion
[MAILPOET-3652]
2021-08-19 09:04:31 +02:00
Brezo Cordero
67b88b862e Delete old orphan SubscriberSegments
On PreFlush we clean up old SubscriberSegments referencing deleted segments. This prevents errors when updating subscribers.

[MAILPOET-3652]
2021-08-19 09:04:31 +02:00
Brezo Cordero
43d47bd0fb Refactor translation strings
[MAILPOET-2844]
2021-08-18 15:52:13 +02:00
Brezo Cordero
f66656b38b Unify duplicated API error notices
[MAILPOET-2844]
2021-08-18 15:52:13 +02:00
Pavel Dohnal
bb52329168 Track user agent on click
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
0b675680ef Refactor click tracking to Doctrine
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
7197be3116 Override user agent on open
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
9f672adad4 Add test for existing user agent
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
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