Commit Graph

86 Commits

Author SHA1 Message Date
Jan Jakes
efd32043e3 Add workflow count to automation listing page
[MAILPOET-4540]
2022-10-19 08:09:17 +03:00
Jan Jakes
dd033d2f78 Use workflow mapper on automation editor page
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
David Remer
96ade7327e Provide statistics via endpoint and admin page
[MAILPOET-4673]
2022-10-12 10:24:58 +02:00
David Remer
ad6f457861 Introduce hook before editor loads
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
Jan Lysý
4b03ba6e40 Add tags to the MailPoet object
[MAILPOET-4557]
2022-09-28 11:42:51 +02:00
David Remer
a69b1264c9 Preload segments
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
David Remer
b0514a1366 Expose user roles to JavaScript
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
Jan Lysý
f2e355f7d5 Refactor building newsletters lists
Because some customers have a memory issue when we load all newsletters.
I used partial loading newsletters to prevent this error that was caused by json in the newsletter body.
[MAILPOET-4646]
2022-09-19 14:32:55 +02:00
David Remer
b237503883 Do not enqueue wp-components styles
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
227b0a9b81 Activate mailpoet-automation submenu
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
eb5b21410e Link automation templates
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
9f24579155 Add template listing page
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
David Remer
6da06c2e5e Add URL to the automation editor to access in JS
[MAILPOET-4533]
2022-09-15 08:08:07 +02:00
Jan Jakes
1677cc2842 Save and load workflows in the new format, update API
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
John Oleksowicz
b3cef92147 Redirect to trash if attempting to edit trashed workflow
[MAILPOET-4532]
2022-09-08 10:41:45 +02:00
Jan Jakes
7aa1fa775d Add automation registry context to editor state
[PREMIUM-194]
2022-09-08 09:20:20 +02:00
David Remer
5f07b2a2b2 Add urls property to MailPoet object
In order to redirect to the listing page after trashing a workflow
we need the URL of that page. This URL will be stored in
MailPoet.urls.automationListing

[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
ffc7773a6a Communicate workflow author to editor
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
David Remer
8861909859 Communicate activated_at to editor
[MAILPOET-4417]
2022-08-24 14:02:08 +02:00
Jan Jakes
5547613f31 Remove full settings from the MailPoet JS object
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
6342402e41 Move subscribers count to layout
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
7ce53adc33 Use static premium download URL instead of fetching it from bridge
This was causing HTTP requests to bridge on each page load for some of MP admin pages.

[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
84ca7143ff Move some more general properties to layout
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Jan Jakes
5c08d22736 Move all premium & plan upgrade info to root layout, remove duplicities
[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Sam Najian
e30e1847e2 Move buildTaskData tests to AdminPages/HelpTest.php
[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
Sam Najian
73d15c8c44 Move getLatestTasks to ScheduledTasksRepository
- Move the method
- Adjust the usages
- Adjust and update tests

[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
Sam Najian
bf1ddbedbc Move getCountsPerStatus to ScheduledTasksRepository
- Move getCountsPerStatus
- Defined test for getCountsPerStatus
- Update usage

[MAILPOET-4355]
2022-08-22 11:24:06 +02:00
David Remer
24849afb7a Make name a property of Step.args instead of Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
David Remer
4a19e4db46 Share Step name with editor application
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
Rodrigo Primo
d828754f94 Remove MP2 migration admin page
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rodrigo Primo
fdbc6ea603 Remove MP2 migration code from the welcome wizard
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rostislav Wolny
67b6d2279f Fetch authorized domains and emails for JS Apps only when MSS is active
This prevents calling bridge API in cases when user use different sending methods.
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
aba68d2305 Add mailpoet_all_sender_domains to Newsletter and settings
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
370de8050a Add mailpoet_verified_sender_domains to newsletters and settings page
Update tests

MAILPOET-4302
2022-08-11 12:36:23 +02:00
David Remer
97e160bf67 Fix WordPress.WP.I18n.MissingArgDomain
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
b05e6d414c Remove WP\Functions::__ and other translate functions
Under the new sniffer rules, those functions produce errors and, when those methods
are used, the sniffer can not properly be applied.

[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
Jan Jakes
4aa323b612 Extract data-carrying classes to dedicated namespace
We need a separation of "Step" as an interface vs. "Step" as a serializable data structure.

[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Rostislav Wolny
d3e2bcdf34 Refactor daemon trigger and daemon run actions to extra classes
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
Rostislav Wolny
b02aa1e1a6 Add Action scheduler status into on help page
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
Jan Lysý
9644e908a9 Add tags into template
[PREMIUM-196]
2022-07-25 09:32:02 +02:00
Jan Lysý
0b1a1d781a Remove old model from Subscribers admin page
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
Jan Lysý
1a58842c26 Remove old model from Segments admin page
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
Jan Lysý
53a935fae9 Remove old model from Newsletters admin page
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
Jan Lysý
72d9ed794a Remove old model from Forms admin page
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
Oluwaseun Olorunsola
c7712abc56 Add authorized_emails to newsletters data
MAILPOET-4245
2022-07-12 14:21:15 +02:00
Jan Jakes
ce5bbc6c15 Use single quotes
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
3a2c4924d9 Handle workflow not found state in workflow editor
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Lysý
5cc41c4c62 Remove enqueue wp-component styles
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
a4b45368de Add loading tags into subscriber edit form
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
Jan Lysý
32ad2f7939 Add tokenField component to the subscribers form
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00