Commit Graph

13768 Commits

Author SHA1 Message Date
Pavel Dohnal
8bdcfebee8 Prefil filter values
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
3d72194646 Add filtering options
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
47cbbdbc11 Create filtering elements
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
42f1aabfd6 Move DatePicker translations to layout
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
960f4e821b Display full message on click
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
f1b2f01fee Refactor logs to javascript
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
1d8a5d42ee Format the date
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
4b4c218f40 Use translations for header
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
a164ce8c8a Display shorter message
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
74367ae40e Display data in table
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
dbbea72ef3 Create table in view
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
7f599dbf8a Pass data to template
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
c3372dfee8 Load logs
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
174583cc84 Create repository for logs
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
9fe84dd42d Add a link to the logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
de47ec9c7f Add an empty logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Jan Lysý
a9584fe8a9 Release 3.60.4 2021-03-16 13:56:56 +01:00
Rodrigo Primo
a49bf8118a Attempt to fix a flaky integration test
This commit attempts to fix the integration test
SubscriberListingRepositoryTest::testReturnsCorrectCountForSubscribersInDynamicSegment()
that was failing sometimes on CircleCI. My theory is that the test was
failing because we were using created_at to order the subscribers in the
query that is used to get subscribers in a given dynamic segment, but
there is a chance the the value of this field is the same for all the
three subscribers that are created in this test. As this could lead to a
situation where the order of the returned subscribers changes, causing
the test to fail. To work around that, I changed the test to order the
results by ID. This way we should always get the subscribers in the same
order.

[MAILPOET-3451]
2021-03-15 14:33:59 +01:00
Pavel Dohnal
deb4d7833d Fix text align
[MAILPOET-3473]
2021-03-15 09:54:46 +01:00
Jan Lysý
13a2dce867 Allow styles on WP.com styles in ConflictResolver
[MAILPOET-3456]
2021-03-15 09:05:21 +01:00
Jan Lysý
4c999068da Allow Jetpack styles in ConflictResolver
[MAILPOET-3456]
2021-03-15 09:05:21 +01:00
Jan Lysý
9434ef2375 Add tests for methods moved from endpoint to controller
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
Jan Lysý
cb0d3c70ad Use Doctrine for update success message in Settings
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
Jan Lysý
90295b3c3a Use Doctrine for update ScheduledTask in Settings
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
Jan Lysý
bf63e5b38e Include WP multisite function in IntegrationTester
[MAILPOET-3478]
2021-03-11 11:45:54 +01:00
wxa
3fd379a72d Hide recaptcha in manage subscription form
[MAILPOET-3459]
2021-03-11 09:03:02 +01:00
Rostislav Wolny
2566ebb13c Disable WordPress core autoupdate in acceptance tests
The auto-update process collides with test bootstrap resulting in random errors.
[MAILPOET-3475]
2021-03-11 07:11:37 +01:00
Rostislav Wolny
4a6e85bb04 Remove useless backup of wp-config
[MAILPOET-3475]
2021-03-11 07:11:37 +01:00
wxa
67824f9eb1 Set task status to invalid instead of deleting
[MAILPOET-3359]
2021-03-10 18:24:21 +01:00
wxa
a0ad4ffb20 Log errors when saving sending task
[MAILPOET-3379]
2021-03-10 18:24:21 +01:00
wxa
3f7b809bd4 Delete tasks without queues when fetching sending tasks
[MAILPOET-3379]
2021-03-10 18:24:21 +01:00
Rodrigo Primo
bf121c20b5 Preserve new key when saving settings
This commit fixes a bug in the code where a user could override their
key if, after validating a new key, they went to a different settings tab
and clicked "Save settings". When reloading the page, they would see the
old key instead of the new one.

This was happening because the function verifyPremiumKey() was updating
the key in the backend but was not updating the settings object in the
frontend. So when the user switched to another settings tab and clicked
on the "Save settings" button, the function saveSettings() was setting
to the backend a settings object containing the old key instead of the
new one.

To fix this problem, this commit updates the settings object with the
new premium key whenever a new key is validated.

[MAILPOET-3447]
2021-03-10 15:56:33 +01:00
Pavel Dohnal
323b4a908d Fix type in prop types
[MAILPOET-3441]
2021-03-10 15:49:03 +01:00
Pavel Dohnal
91b468fabf Make dates in newsletter listings and help consistent
[MAILPOET-3441]
2021-03-10 15:49:03 +01:00
Rostislav Wolny
aff4c9d5b7 Fix dynamic segments filtering in subscriber export
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
1b74c3e195 Improve email action filter api data validation
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
6bc557ecb0 Refactor dynamic segments bulk actions endpoint
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
2db223daf7 Refactor dynamic segments delete endpoint
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
e1eea57d32 Refactor dynamic segments trash and restore
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
de9b3689bd Use correct exception in dynamic segment filter handler
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
51f8b30355 Remove unused old dynamic segments services
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
f5df2601ef Refactor segment test data factories to work with Doctrine
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
9fdebdb4d7 Refactor api for creating/updating dynamic segments
[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
ccd9041b79 Fix typo in segment save controller name
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
40c9f047be Refactor segment filter data to embedded object
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
bd63ae508f Refactor dynamic segments get endpoint to doctrine
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
d42752fa99 Add test for dynamic segments listing response builder
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Pavel Dohnal
8608bc7875 Use newsletter sent at in dates shortcode
[MAILPOET-3375]
2021-03-10 14:38:05 +01:00
wxa
e71e063ef0 Use same query logic for counting and exporting subs w/o lists
[MAILPOET-3462]
2021-03-10 13:16:48 +01:00