Commit Graph

18601 Commits

Author SHA1 Message Date
David Remer
c1692de029 Make analytics endpoint a GET endpoint
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
1336cb9086 Rename to Analytics
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
a60958aef6 Throw UnexpectedValueException instead of InvalidAgumentException
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
ed5e644834 Simplify fetching Automation
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
71c3f1b283 intend 2023-06-15 12:25:12 +02:00
David Remer
702b695de9 Allow the usage of only from or only to
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
0db89c151d Fix styles
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
327fe250fd Return zero if new or previous value is zero
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
a7637c82ca use wordpress/components tabs
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
2cc0a16956 Fix typo
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
Jan Jakes
367d0331e9 Fix loading external styles 2023-06-15 12:25:12 +02:00
David Remer
f10ef78825 Add Analytics Page and backend logic
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
8115ab0382 Add frontend
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
5710796fe9 Add date between options to statistics and select which statistics to grab in batch
[MAILPOET-5090]
2023-06-15 12:25:12 +02:00
David Remer
eadbe6b66b Add packages and expose for premium
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
Jan Jakes
e265469b2f Wait for the correct notice 2023-06-15 10:00:01 +02:00
John Oleksowicz
6a0b4e55f0 Avoid issue with multiple notices 2023-06-15 10:00:01 +02:00
John Oleksowicz
33c399be63 Cleanup segmentation frontend code
- Reorganize field files into directories
- Extract woo fields/validation to match how subscriber fields work
- Fix typo in a file name
- Create new FilterProps type instead of repeating it all over the place

MAILPOET-5227
2023-06-14 12:03:59 +02:00
Jan Jakes
16c46cea39 Release 4.18.1 2023-06-13 14:12:56 +02:00
Pavel Dohnal
a308c8f3e1 Fix this.activateMode is not a function
We need to make sure that the global _ is always underscore
In certain themes Lodash's global _ is overriding the Underscore.js global of the same name, so while this segment of code was written targeting Underscore, it's in-fact using Lodash:

6e7053a6df/src/wp-includes/js/media/views/frame.js\#L76-L78

Unlike Underscore.js's each method, Lodash's equivalent does not support the third context argument. Since the above code is dependent upon the context being provided for this to be bound correctly in the call to this.activeMode, it otherwise fails.

Fixes: #4708

[MAILPOET-5380]
2023-06-12 15:26:18 +02:00
Jan Jakes
1f8b59cca1 Ensure product variations use their parent categories and tags
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
07d186d85f Do not boot Woo integration when Woo is not active
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
4a4eb45267 Add customer product categories and tags fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
916aea1e8d Add customer review fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
d259f5948c Add customer order fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
4c1f4ba073 Add basic Woo customer fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
cb56ec74fc Add WP user to Woo customer transformer
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
46d3a814e5 Add WP user fields
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
88b23f6a59 Add subscriber to WP user subject transformer
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
b132405f42 Add WordPress user subject and payload
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
Jan Jakes
cc352e6e2d Add WordPress integration
[MAILPOET-5168]
2023-06-12 12:13:41 +02:00
 Ján Mikláš
21c8891b56 Fix translation string typo 2023-06-12 11:07:12 +03:00
 Ján Mikláš
3a7ac127a2 Add June sale info to repo description
[MAILPOET-5214]
2023-06-09 18:49:28 +02:00
 Ján Mikláš
e10684a18c Update 500,000 websites to 600,000 in WP.org description
[MAILPOET-5214]
2023-06-09 18:49:28 +02:00
Jan Lysý
8ab8890cb0 Add task list to GH pull-request template
[MAILPOET-5362]
2023-06-08 10:55:29 +02:00
Veljko
31d252eb87 Remove spaces since it is alphanumerical 2023-06-08 09:59:00 +02:00
Veljko
e5327598b2 Finalise the update of the test
[MAILPOET-5317]
2023-06-08 09:59:00 +02:00
Veljko
13e869d593 Update some scenarios
[MAILPOET-5374]
2023-06-08 09:59:00 +02:00
Pavel Dohnal
16a374cf42 Prevent page to break when iframe fails to load
[MAILPOET-5381]
2023-06-07 18:19:57 +03:00
Veljko
5880ce2b25 Add missing plus before the number 2023-06-07 16:01:02 +02:00
Veljko
ecf188c8b6 Change 26 to 25 hours in the future when scheduling
[MAILPOET-5374]
2023-06-07 16:01:02 +02:00
 Ján Mikláš
cda8d50a2a Capitalize plugin name, add Oxford comma
[MAILPOET-5371]
2023-06-07 09:41:38 +02:00
Pavel Dohnal
6d97e79576 Release 4.18.0 2023-06-06 13:38:36 +02:00
Veljko
d45ce86070 Update test with small changes
[MAILPOET-5321]
2023-06-05 23:13:57 +03:00
Veljko
e9db0b3bd7 Add test scenario for subscribing and seeing new page
[MAILPOET-5321]
2023-06-05 23:13:57 +03:00
Rodrigo Primo
de3d3a5fe2 Fix: subscriber segmentation can now target contacts who did not open any emails
There was a bug in the query that is used to get the subscribers that
opened emails that was preventing it from working when trying to get
subscribers that opened zero emails.

The problem was that we were adding the user_agent_type	as a condition
on the WHERE part of the clause. Meaning that it was being used to
filter the overall results and thus excluding all subscribers that had
no entries in the wp_mailpoet_statistics_opens table. By moving this
condition to the ON clause in the LEFT JOIN, we use the user_agent_type
field to match rows between tables. The value of this field will still
be taken into consideration when counting the number of opens as we are
counting the number of entries in the wp_mailpoet_statistics_opens
table.

[MAILPOET-5347]
2023-06-05 13:46:43 +02:00
Veljko
16390c0f2d Update methods in tester 2023-06-05 13:09:59 +02:00
Veljko
8f1017aa9b Change helper method name to amOnSiteHomepage
[MAILPOET-5312] & [MAILPOET-5313]
2023-06-05 13:09:59 +02:00
Veljko
3728421440 Updated 3 tests and added new methods to tester
[MAILPOET-5312] & [MAILPOET-5313]
2023-06-05 13:09:59 +02:00
Rostislav Wolny
fc7b4ccebb Fix alignment of buttons in error notices displayed on WPCOM
[MAILPOET-5367]
2023-06-05 13:08:58 +02:00