Commit Graph

15684 Commits

Author SHA1 Message Date
Pavel Dohnal
b12ab9ba66 Remove NewsletterPost model
[MAILPOET-3027]
2021-03-16 14:40:18 +01:00
Pavel Dohnal
ee41046b8e Use Doctrine in the posts task
[MAILPOET-3027]
2021-03-16 14:40:18 +01:00
wxa
309ab2b3c0 Trigger error when calling the deprecated getCurrentWPUser() function
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Jan Lysý
3b0af31b10 Mark Subscriber::getCurrentWPUser as deprecated
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Jan Lysý
6f5f3bc6c5 Remove usage of old model from SubscriptionTest
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Jan Lysý
529ff8969b Add method for getWooCommerceSegment to Segment repository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Jan Lysý
6469e0bf5b Fix response in NewsletterEditor
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Jan Lysý
7968db94ff Update integration tests for usage SubscribersRepository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Jan Lysý
dffaab10a2 Use getCurrentWPUser from SubscribersRepository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Jan Lysý
97dd881e8d Add method getCurrentWPUser to SubscribersRepository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Pavel Dohnal
233ca0b5f3 Include boundary dates when listing logs
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
61c8b3702a Add offset/limit to logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
89f5da7b76 Change url slug
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
c85a05cad6 Fix reseting dates
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
2fd1bcbed6 Fix reseting search
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
4481444282 Filter data
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
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