Commit Graph

1360 Commits

Author SHA1 Message Date
Brezo Cordero
3cf95c7feb Attempt to convert dates using d/m/Y
[MAILPOET-3747]
2021-11-16 11:06:52 +01:00
Oluwaseun Olorunsola
274abc09fc Fixed failing test and default select uncheck not saving
[MAILPOET-3894]
2021-11-10 09:42:15 +01:00
Pavel Dohnal
b30a8de9ca Fix default confirmation message missing in new forms
[MAILPOET-3853]
2021-11-08 09:58:06 +01:00
Jan Lysý
8df2accf2e Add unit test for Scheduler
[MAILPOET-3818]
2021-11-03 13:34:35 +01:00
Jan Lysý
6a6dad5e67 Throw error when premium doesn't contain service
[MAILPOET-3833]
2021-11-03 13:34:15 +01:00
Jan Lysý
777a1bd90d Recreate entityManager in LogHandler when is closed
[MAILPOET-3833]
2021-11-03 13:34:15 +01:00
Jan Lysý
6e6ba3e7a1 Use new signature of the dynamicSegmentFilterData constructor
[MAILPOET-3427]
2021-10-27 15:45:17 +02:00
Pavel Dohnal
c4037776f7 Fix newly found phpstan errors
[MAILPOET-3792]
2021-10-27 13:29:12 +02:00
Jan Lysý
1701229a10 Add a full stop to messages where was missing
[MAILPOET-3846]
2021-10-18 11:03:50 +02:00
wxa
8b0a5bb8db Fix tests
[MAILPOET-3830]
2021-10-18 09:37:52 +02:00
Jan Lysý
1748573a91 Add test on spacing between elements
[MAILPOET-3474]
2021-10-04 10:19:39 +02:00
Pavel Dohnal
aced9ce0b7 Refactor form renderer to accept Form Entity
[MAILPOET-3644]
2021-09-22 15:37:24 +02:00
Brezo Cordero
3e306974ed Fix SMTPMapper test
[MAILPOET-3171]
2021-09-22 12:48:17 +02:00
Brezo Cordero
51a0899698 Mark most SMTP transport errors as soft
[MAILPOET-3171]
2021-09-22 12:48:17 +02:00
Jan Lysý
221d8843f5 Update unit test for MailpoetMapper
[MAILPOET-3667]
2021-09-13 15:34:10 +02:00
Rostislav Wolny
abc965e143 Add support for colors in column block in form editor
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
8d0d2e168b Add support for custom padding in form column
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
3700003e15 Don't render form column width style if only unit is saved
[MAILPOET-3654]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
e5c90821be Add support for isStackedOnMobile for columns
[MAILPOET-3564]
2021-08-30 12:10:55 +02:00
Rostislav Wolny
bd41098e5e Fix saving and rendering form columns widths
[MAILPOET-3654]
2021-08-30 12:10:55 +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
Rodrigo Primo
e59992cc16 Fix checkGenericClassInNonGenericObjectType PHPStan errors
This commit removes the checkGenericClassInNonGenericObjectType flag
from PHPStan configuration files and fixes all associated errors in our
code base.

[MAILPOET-3236]
2021-08-09 12:58:56 +02:00
Rostislav Wolny
65b834a9ff Update renamed NotCamelCaps rule
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
af8cda710e Update unit test for FilterDataMapper
[MAILPOET-3469]
2021-06-21 14:02:04 +02:00
Jan Lysý
accfafa2a9 Update dependecies in tests
[MAILPOET-3638]
2021-06-14 09:46:19 +02:00
Pavel Dohnal
e661d07acb Use doctrine to create logs
[MAILPOET-3624]
2021-06-07 14:41:14 +02:00
Pavel Dohnal
df7b961768 Fix 1px line rendering bug in Outlook 2016
[MAILPOET-3448]
2021-05-26 09:34:58 +02:00
Pavel Dohnal
13734f3e4e Use a filter for form display
[MAILPOET-3385]
2021-05-24 12:44:12 +02:00
Rostislav Wolny
47eb085d2a Add backend mapping and validation for customer country segment
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Pavel Dohnal
ddf80dc1f4 Add a unit test
[MAILPOET-3222]
2021-05-03 14:31:23 +02:00
Rostislav Wolny
d45fc34a4f Add clicked any action support to segment filter data mapper
[MAILPOET-3223]
2021-04-29 16:33:05 +02:00
Rostislav Wolny
cccafb1481 Update segments API data mapper to support subscriptions segments
[MAILPOET-3471]
2021-04-20 15:51:09 +02:00
Rodrigo Primo
4f3738b0b1 Implement new WooCommerce dynamic segment based on the number of orders
[MAILPOET-3228]
2021-04-20 08:42:21 +02:00
Pavel Dohnal
0153e63db0 Add invalid paths tests
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
deb6b9315e Add new segment to data mapper
[MAILPOET-3224]
2021-04-19 16:57:50 +02:00
Pavel Dohnal
65c9bad64c Fix pre-selecting date value
[MAILPOET-3470]
2021-04-15 15:47:57 +02:00
Jan Lysý
02e1ce7e4d Remove getFields method from FormEntity
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Rodrigo Primo
030bd8c1c8 Fix PHPStan parameter type error introduced after update to version 0.12.83
This commit fixes the following PHPStan errors introduced after the update to version 0.12.83:

```
 ------ ----------------------------------------------------------------------
  Line   lib/Newsletter/Renderer/Blocks/Footer.php
 ------ ----------------------------------------------------------------------
  18     Parameter #1 $html of method MailPoet\Util\pQuery\pQuery::parseStr()
         expects string, array|string|null given.
 ------ ----------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   lib/Newsletter/Renderer/Blocks/Header.php
 ------ ----------------------------------------------------------------------
  18     Parameter #1 $html of method MailPoet\Util\pQuery\pQuery::parseStr()
         expects string, array|string|null given.
 ------ ----------------------------------------------------------------------
```

[MAILPOET-3491]
2021-04-12 08:55:14 +02:00
Jan Lysý
933ef5e5c8 Add unit test on formatting value in SubscriberCustomFieldEntityTest
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
wxa
42adfa784a Remove old dynamic segments code
[MAILPOET-3484]
2021-03-29 14:31:44 +02:00
Pavel Dohnal
deb4d7833d Fix text align
[MAILPOET-3473]
2021-03-15 09:54:46 +01:00
Rostislav Wolny
1b74c3e195 Improve email action filter api data validation
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
64b078c7be Add dynamic segments filter data mapper
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
c1aef842d2 Fix rendering issues in form blocks
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
Jan Lysý
922c52f7df Remove phpstan errors from the rest of the tests
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
Rostislav Wolny
86add53c30 Always count WP user list towards the limit
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
Rostislav Wolny
af574f7e1b Refactor getting segments from form body to form entity
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
Rostislav Wolny
74e0fc6b52 Add getBlocksByType to Form entity
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
Pavel Dohnal
06dca19738 Add magic getters for backward compatibility
[MAILPOET-3333]
2020-12-03 14:11:53 +01:00