Commit Graph

223 Commits

Author SHA1 Message Date
Jan Jakes
ef8d7bf264 Remove automation hiding logic
This was introduced in:

https://github.com/mailpoet/mailpoet/pull/4917
https://github.com/mailpoet/mailpoet/pull/5171

[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Jan Jakes
b774fff3b9 Add legacy automation count to automation total count
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Jan Jakes
92aef9ea05 Add description for legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Jan Jakes
29430db641 Add description for legacy welcome emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Jan Jakes
abe7c0e49c Add notice about legacy automatic emails
[MAILPOET-5779]
2024-01-10 19:12:39 +05:00
Rostislav Wolny
966014d71d Improve name of a getter for campaign name or subject on NewsletterEntity
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Rostislav Wolny
b8b5696ab1 Use campaign name if available in newsletters listing in segment editor
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Jan Lysý
aa40d7eb7b Set BlockList layout
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Jakes
d5aa68ed8a Fix filters list to work in automation template previews
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
068f99bdbe Add automation context and registry to listing and templates pages
[MAILPOET-4537]
2023-12-11 20:51:12 +01:00
Oluwaseun Olorunsola
2a714511c2 Add tracking for users arriving to the wizard from WooCommerce Marketing Dashboard
Users can click on the Finish setup button on the WooCommerce Multichannel Marketing Dashboard which would redirect them to the MailPoet welcome wizard.

 We want to track users that arrive to the MP wizard from
WooCommerce but at this point tracking is not enabled. So we store the
information in a setting, and send the tracking event to Mixpanel, if it
is enabled, after the user completes the wizard.

MAILPOET-5695
2023-11-27 10:25:09 +01:00
Jan Jakes
d220f05840 Move automation template categories to registry
This will also allow 3rd parties adding new categories in the future.

[MAILPOET-4676]
2023-11-20 14:30:05 +01:00
David Remer
df2fe0b0b8 Add new boolean for woocommerce-subscriptions being active
[PREMIUM-256]
2023-11-19 18:39:16 +01:00
Jan Lysý
91094fad7c Use layoutStyles in email editor
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Jakes
b5552a5a5e Remove usages of MailPoet\Tasks\Sending from Help page
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
John Oleksowicz
c6a6d7d8e1 Automatically opt in to tracking if wpcom
MAILPOET-5549
2023-11-01 12:24:46 +01:00
Rostislav Wolny
554b862bf3 Enable media upload
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
afe2cd562a Remove unnecessary CSS queueing for the email editor
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Jan Jakes
62f2d1e773 Add registry subjects to automation analytics
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Rostislav Wolny
399ed61503 Introduce SettingsController for managing editor settings
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
3a88989a84 Rename custom email editor to email editor
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
4646214c62 Add send email preview to custom editor
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
c04658d9c0 Skip page renderer when rendering email editor
As for now, we will not load mailpoet admin scripts for MailPoet
and other default variables that are used in MailPoet Layout.
This is to prevent unwanted dependencies on the MailPoet plugin.

[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
4b2e5e8eae Hotfix redirect when creating new email
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Jan Lysý
a07a744707 Rename folders and files by the new lint rule
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
c770901c4f Ensure post exists when loading editor page without postId
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
796df6e1b9 Adjust visual editor css
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
07576b9f79 Render basic block editor with header
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
1919d58973 Add JS build and an index file for the editor app
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
debbeaafdc Add EmailEditor page into MailPoet admin
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
Jan Jakes
d1be5887c2 Ensure Lodash doesn't override Undesrcore on "window._"
This is a better fix than the previous ones in JS, as it should cover all assets
that can use Lodash, and it reverts back to the WP Underscore instance.

[MAILPOET-5653]
2023-10-17 12:41:28 +02:00
John Oleksowicz
b1dd110bf8 Add lookup data retrieval for used shipping method
For ease of lookup, I changed the helper to return an array with keys
corresponding to the instanceId of the shipping methods. I couldn't see
anywhere else in the codebase where the keys would have mattered.

MAILPOET-5625
2023-10-13 11:21:42 +02:00
Jan Jakes
9e825d9157 Keep entrypoint asset name as script name, remove unnecessary check
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
0411ed2c37 Enqueue Parsley translation strings in after "admin_vendor"
This is a better place and it corresponds to the current logic.

[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
16c51717b7 Fix timing of "mailpoet_scripts_admin_before" actioon trigger
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
113d710eb4 Call "mailpoet_styles_admin_after" from page renderer
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00
Jan Jakes
312f85efdd Enqueue all styles using WP native functions
[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
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
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
Brezo Cordero
c12438db08 Add filter to remove restriction on Woo Express
[MAILPOET-5573]
2023-09-25 07:02:19 -07:00
Jan Lysý
191bd69fac Remove coupons from dynamic segments page
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
Jan Lysý
019b9ec3fa Remove coupons loading from NewsletterEditor
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
Jan Lysý
2ebad5f7fb Add new filter for hidding DocsBot widget
[MAILPOET-5559]
2023-09-11 11:29:55 +02:00
Brezo Cordero
7e0a361b03 Rename HelpScout/Beacon
One of the hardest problems in programming. Name changed to represent what the class is for now that we have removed the beacon. Hopefully.

[MAILPOET-5551]
2023-09-07 14:50:35 +02:00
David Remer
fad0880436 Dynamically add user name and email when not yet populated
[MAILPOET-5550]
2023-08-30 12:53:11 +02:00
John Oleksowicz
ecde4c10e3 Populate store with coupon data
MAILPOET-5007
2023-08-14 13:49:55 +02:00
Jan Jakes
c9e95c6c66 Add links to analytics page
[MAILPOET-5093]
2023-08-14 10:48:24 +02:00