Commit Graph

13768 Commits

Author SHA1 Message Date
Pavel Dohnal
1c4bb7d22e Release 3.60.7 2021-04-07 09:35:59 +02:00
Jan Lysý
aaf85e0415 Fix reset subscriptions in SegmentsRepository
When we update subscriber segment status via executeUpdate,
we have to refresh state from the DB.

[MAILPOET-3551]
2021-04-06 13:51:50 +02:00
Jan Lysý
0ff3f9bf04 Add check that GET array key exists
[MAILPOET-3550]
2021-04-06 10:00:13 +02:00
Ján Mikláš
aad4ea3ece Update Storybook.js library
[MAILPOET-3546]
2021-04-05 11:14:27 +02:00
Jan Lysý
afd62b5b9e Add missing column collation detection for single sync
[MAILPOET-3543]
2021-04-05 10:58:30 +02:00
Jan Lysý
7ef0f7a600 Create simple router with newsletters redirect
[MAILPOET-3536]
2021-04-05 10:26:53 +02:00
Veljko
a6215e22ba Add clear field to fix the test 2021-03-31 13:20:35 +02:00
Rodrigo Primo
faf714e832 Remove more uses of the old models inside FormsTest
[MAILPOET-3036]
2021-03-31 11:37:07 +02:00
Rodrigo Primo
4b5f044f6b Use __() instead of \MailPoet\WP\Functions::__()
[MAILPOET-3036]
2021-03-31 11:37:07 +02:00
Rodrigo Primo
5f262e6b04 Update comment to explain empty methods
[MAILPOET-3036]
2021-03-31 11:37:07 +02:00
Rodrigo Primo
a18ae06f8a Rewrite Forms::listing() API to use Doctrine
This commit replaces the usage of Paris with Doctrine inside
MailPoet\API\JSON\v1\Forms::listing(). It also introduces a new class
MailPoet\Form\Listing\FormListingRepository that is used by listing() to
prepare the query that is executed by Doctrine and a new
MailPoet\API\JSON\ResponseBuilders\FormsResponseBuilder::buildForListing()
method to prepare the response that is returned by listing(). A few tests were
adjusted and new tests were added for the new class.

[MAILPOET-3036]
2021-03-31 11:37:07 +02:00
Rodrigo Primo
298b8730fe Updates parts of FormsTest to use Doctrine entities
This commit simply updates parts FormsTest to use Doctrine entities
instead of Paris objects.

[MAILPOET-3036]
2021-03-31 11:37:07 +02:00
Pavel Dohnal
4546b5be68 Fix links data
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
410a6ff626 Fix validating segments
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
db85b397a4 Rename selection
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
ae1a80ea25 Avoid unnecesary loads
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
f85850a19e Use correct value for searching for links
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
a864ec96ee Convert older data after loading
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
7d79c7d2b7 Remove window usage from component
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
5480ceb879 Fix tests
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
eef5ad9c9e Fix underscore dependency in newsletter editor
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
eaa79da756 Refactor form filters to a separate file
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
9496b9796a Refactor form filters to a separate file
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
0da7a91960 Refactor counting to work with the new form
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
28ce05276b Render form manually instead of using form.jsx
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
dd20f066e7 Refactor dynamic segments form to doctrind
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Pavel Dohnal
1e2d855138 Refactor segments form to functional component
[MAILPOET-3476]
2021-03-31 10:50:18 +02:00
Jan Lysý
cc1d70439c Add missing type for value in font selection format
[MAILPOET-3519]
2021-03-30 15:13:47 +02:00
Pavel Dohnal
ac39703fd0 Add linting rules to contributing.md
[MAILPOET-3531]
2021-03-30 14:11:07 +02:00
Jan Lysý
3917876b82 Improve comment for disabling eslint rule in useSegmentsContext.jsx
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
825e105145 Fix unused properties in Button component
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
c07cb227ab Add comments to eslint exceptions
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
410c25482a Fix code style by updated eslint
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
26f6dfa25d Update eslint
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
4dd5114b6a Update stylelint
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
09f536c622 Update html2canvas
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
6c1fd9be39 Update codemirror
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
ab6f875609 Update chai and simon dependencies
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
3fbfa234e1 Update autoprefixer
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
d2b944bd64 Update types
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
cec5a66c96 Update babel dependencies
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Jan Lysý
a317d13c80 Update storybook dependencies
[MAILPOET-3511]
2021-03-30 14:05:47 +02:00
Pavel Dohnal
0ebdc21a8b Fix flakey integration test
[MAILPOET-3489]
2021-03-30 12:05:47 +02:00
Tautvidas Sipavicius
249610828e Release 3.60.6 2021-03-30 13:02:03 +03:00
Pavel Dohnal
c9e063824e Remove duplicate warning
[MAILPOET-3460]
2021-03-29 15:53:31 +02:00
wxa
e55fa5e0b8 Remove unused imports
[MAILPOET-3420]
2021-03-29 15:40:30 +02:00
Pavel Dohnal
2360fe0a5a Check existence panels shen creating debugger
[MAILPOET-3420]
2021-03-29 15:40:30 +02:00
Pavel Dohnal
4bb44554c3 Prevent running old eslint for newer tests
[MAILPOET-3522]
2021-03-29 15:23:51 +02:00
Jan Lysý
8573d99441 Replace timeListener in tests instead of creating new
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
5045dd6aa7 Skip setting created at when is not empty in TimestampListener
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00