Jan Jakes
dae575888a
Inline analytics JS
...
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
420a9c41e0
Use WP logic to enqueue Parsley validation strings
...
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
ed76bbf3d6
Invoke "mailpoet_scripts_admin_before" from the asset controller
...
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
2a676353aa
Render "after_javascript" block after other scripts
...
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
3106b19684
Remove translation blocks ("localize" now enqueues scrips directly)
...
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
54ebd5855a
Enqueue inline translations from Twig templates after mailpoet.js
...
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
282f7b8414
Enqueue all admin scripts using WP native functions
...
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
480d9f1239
Extract admin pages assets setup out of form assets controller
...
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
John Oleksowicz
fe58ed5c55
Convert to kebab case
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
b488691b47
Disable filter segment if subscriber limit reached
...
This also consolidates a couple of places where we are checking premium
status. One side effect is that the Google Analytics field will now also
be disabled if the subscriber limit has been reached, which I believe
is the desired behavior.
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
df27277ed6
Fix react warning with date field values
...
This isn't specific to this ticket but I noticed it while testing. React
is throwing a warning about the input switching from uncontrolled to
controlled after entering a value for an "in the last" or "not in the
last" date field. This is because segment.value is undefined at first.
Setting the default to an empty string instead prevents the issue.
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
36c2b7a82b
Update styles for filter segment
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
1858a38889
Disable filter segment if premium inactive
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
f5b3d1123d
Allow boolean or callback for disabled prop
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
d389a1d574
Replace existing send to fields with extracted version
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
6867190677
Extract send to fields and include filter segment
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
4bc6660eec
Create recipient count component
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
7b57db7385
Create filter segment component
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
087e776745
Update and fix types
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
673a1ab0fd
Ensure correct parameter types
...
It's not enough to just merge the parameters. Without merging types as
well, array parameters aren't handled correctly.
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
a2d04e93c5
Add endpoint to retrieve count for multiple segments
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
6b2b35b541
Add ability to get count filtered by segment
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
John Oleksowicz
fd1c476901
Update labels
...
MAILPOET-5510
2023-10-04 12:59:38 +02:00
David Remer
fc5a2c4168
Use kebab-case
...
[MAILPOET-5212]
2023-10-03 19:14:30 +02:00
David Remer
91e2ecded1
Report unique custom trigger and action hooks
...
[MAILPOET-5212]
2023-10-03 19:14:30 +02:00
David Remer
b92d026042
Improve wording of trigger description
...
[MAILPOET-5212]
2023-10-03 19:14:30 +02:00
David Remer
b9ecac91d4
Query all runs when no status has been added
...
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
David Remer
976ea06ebc
Add custom trigger and action hooks to reporter
...
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
David Remer
87206aa899
Expose WordPress Notices
...
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
David Remer
6ef3435a80
Remove segment as a required subject
...
If a segment is given, the subscriber needs to be subscribed to it, otherwise
the subscriber only needs to be globally subscribed
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
David Remer
fa5c12e584
Add Custom Trigger and Custom Action stubs
...
[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
John Oleksowicz
b2604e11ee
Convert to kebab case
...
MAILPOET-5511
2023-10-03 13:09:11 +02:00
John Oleksowicz
bac83fe47c
Ensure gap exists between sibling mailpoet-tags containers
...
MAILPOET-5511
2023-10-03 13:09:11 +02:00
John Oleksowicz
cdb9898dc8
Display filter segment in listings/stats
...
MAILPOET-5511
2023-10-03 13:09:11 +02:00
John Oleksowicz
c0c578ee05
Only show detailed stats if premium active
...
Without this check, if premium is present but not active, attempting to
view the stats page for a newsletter results in an "Invalid API
endpoint" error because it tries to retrieve detailed stats from a
premium endpoint.
MAILPOET-5511
2023-10-03 13:09:11 +02:00
John Oleksowicz
b19d067aa0
Make newsletters inherit filter segment ID
...
MAILPOET-5511
2023-10-03 13:09:11 +02:00
Rostislav Wolny
20983307e3
Release 4.30.0
2023-10-03 12:15:06 +02:00
Rostislav Wolny
eb12069122
Ensure the integer is returned when we call paginated wc_get_orders
...
In Woo 8.2.0-beta.1, the total value was null. In this commit I want to
make sure we always return an integer.
[MAILPOET-5621]
2023-10-03 10:00:56 +02:00
David Remer
787e4d32b2
Return parent product for variations
...
[MAILPOET-5553]
2023-10-02 14:24:42 +02:00
David Remer
978ca03189
Add wcGetProduct method
...
[MAiLPOET-5553]
2023-10-02 14:24:42 +02:00
David Remer
b2320d2982
Add test for OrderFieldFactory to check for variable products
...
[MAILPOET-5553]
2023-10-02 14:24:42 +02:00
Jan Jakes
4d2ec58b8e
Add eslint-plugin-check-file configuration
...
[MAILPOET-4938]
2023-10-02 13:05:20 +02:00
Jan Jakes
5688141ffe
Add eslint-plugin-check-file
...
[MAILPOET-4938]
2023-10-02 13:05:20 +02:00
Jan Jakes
49dd627a76
Update references to renamed files
...
[MAILPOET-4938]
2023-10-02 13:05:20 +02:00
Jan Jakes
d664f60e4b
Rename all non-snake-case JS/TS imports
...
[MAILPOET-4938]
2023-10-02 13:05:20 +02:00
Jan Jakes
c8fc6bf49a
Rename all non-snake-case JS/TS files
...
[MAILPOET-4938]
2023-10-02 13:05:20 +02:00
Jan Jakes
d058549851
Fix Prettier formatting
...
[MAILPOET-5620]
2023-10-02 12:52:45 +03:00
Jan Lysý
3a3c300e2c
Unify font-size in email-type-info
...
[MAILPOET-5562]
2023-10-02 10:28:26 +02:00
Jan Lysý
c0dfed8a1d
Move components related to sidebar to new directory
...
[MAILPOET-5562]
2023-10-02 10:28:26 +02:00
Jan Lysý
eab819bbb2
Move new email editor acceptance test to new directory
...
[MAILPOET-5562]
2023-10-02 10:28:26 +02:00