b6103b4581
Rename files in email editor package by WP Coding Standard
...
[MAILPOET-6240]
2024-11-08 14:06:45 +01:00
7f1c606040
Reintroduce legacy DB table name constants for backward compatibility
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
805c752843
Remove all old models and their setup
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
22da191032
Fix MailPoet marked as incompatible with Woo HPOS
...
[MAILPOET-6082]
2024-05-23 20:59:27 +02:00
2bf41c549d
Load blockTypesController before editor
2024-05-07 12:08:48 +01:00
6f5de68a9f
initialize block types controller elsewhere
2024-04-10 11:42:50 +02:00
b35e0af691
Remove old code that was handling creating emails for the new editor
...
The code is no longer needed because the new emails are created via API.
[MAILPOET-5810]
2024-01-14 19:43:26 +05:00
4b2e5e8eae
Hotfix redirect when creating new email
...
[MAILPOET-5603]
2023-10-17 16:06:06 +02:00
1bc331760e
Add also catching of other exceptions when running migrations
...
[MAILPOET-5627]
2023-10-09 12:24:15 +02:00
7d96cada42
Catch activation in progress exception when it runs on version check
...
[MAILPOET-5627]
2023-10-09 12:24:15 +02:00
af32b36af2
Initialize editor hooks only if the new editor feature is active
...
[MAILPOET-5624]
2023-10-09 11:33:11 +02:00
125d5e9d1f
Fix Redirect to the landing page after activation
...
When the plugin was not activated on the WP plugins page (e.g., via WC NUX)
we forgot to clean the activation flag. That caused us to redirect
to the landing page on a subsequent plugin activation, even if the user activated
a different plugin.
This commit fixes the issue by making sure the PLUGIN_ACTIVATED flag is unset even when plugin
is not activated from WP plugins page.
[MAILPOET-5221]
2023-09-27 18:58:04 +02:00
bd539e386b
Add initialization for core blocks renderers
...
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
b70ad064c7
Refactor initialization of the email editor
...
This changes how the editor is initialized. The integration initialization class
doesn't get the engine class anymore, but integration is initialized via
mailpoet_email_editor_initialized action triggered from the engine.
This allows multiple integrations to hook into the engine.
[MAILPOET-5540]
2023-09-21 14:20:35 +02:00
3104b61005
Remove data-beacon-article
...
[MAILPOET-5551]
2023-09-07 14:50:35 +02:00
f43486971d
Rename maybeDbUpdate() to maybeRunActivator()
...
Changing the name as this method might change other things besides just
the database.
[MAILPOET-5564]
2023-09-07 11:02:05 +02:00
1f05bfb238
Move maybeDbUpdate() to its own action to run it earlier
...
Before this commit, maybeDbUpdate() was called inside Initializer::initialize(). This method is called using the WP `init` hook with a priority of `10`. To avoid running into situations where MailPoet code is executed before database changes are applied, we need to run maybeDbUpdate() as early as possible. To achieve this, this commit moves maybeDbUpdate() to its own action still using the `init` hook but with a priority of PHP_MIN_INT.
For more information of the potential problems of running the database changes too late check this example: pcNwfB-2V6-p2.
[MAILPOET-5564]
2023-09-07 11:02:05 +02:00
68e833f80c
Refactor email editor PHP and JS code to follow automations namespacing
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
c7f1ecfb5e
Add EmailEditor class with basic registration of CPT for emails
...
The idea is that there is a core class
Mailpoet\MailPoet\EmailEditor\Core\EmailEditor which will contain common email editor related stuff
that can be used and shared between projects.
Mailpoet\MailPoet\EmailEditor\Integration\EmailEditor which contains MailPoet specific settings and and extra modifications
specific for MailPoet.
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
4b2892ad35
Fix Redirecting to MailPoet Homepage after activating other plugins
...
MAILPOET-5417
2023-06-26 12:32:09 +02:00
e140dc6d4e
Add WooCommerce integration and order status trigger backend
...
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
956d693454
Skip redirecting to MailPoet landing page when activated from WooCommerce setup wizard
...
MAILPOET-5058
2023-02-13 16:23:59 +01:00
5885bd7f84
Add deactivation poll initialization
...
[MAILPOET-4686]
2023-01-23 17:01:13 +01:00
f85bd8622f
Add comment explaining the usage of the method
...
MAILPOET-4795
2023-01-06 18:29:46 +01:00
d9eca55189
Redirect to Landing page after plugin activation
...
MAILPOET-4795
2023-01-06 18:29:46 +01:00
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
725e0ecb00
Remove automation feature flag
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
3dd6ef3da7
Implement WP CLI command to run migrations
...
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
6dfeb7a100
Prevent enabling Woo Blocks integration for older versions
...
Version 8.0.0 was shipped with WooCommerce 6.8.0 which is the oldest currently supported Woo version.
[MAILPOET-4774]
2022-11-03 15:16:43 +01:00
ba35ddf6e6
Extract automation API to MailPoet REST API
...
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
16807fe9e3
Update and fix comments related to usage of Action Scheduler in cron
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
869697e025
Allow Action Scheduler Cron trigger in cli environment
...
We don't want our loopback cron to run in cli environment
but we want to allow the action scheduler so that we can use it via wp cli
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
b525f9f876
Deactivate action scheduler actions when another method is active
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
272e875643
Deactivate action scheduler recurring actions on plugin deactivation
...
We need to cleanup these recurring actions otherwise they would be rescheduled indefinitely.
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
e3fbf2421d
Move action scheduler initialization to Initializer as one of first actions
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
6b12255bb8
Move PersonalDataExporters to DI
...
[MAILPOET-4348]
2022-08-01 14:18:59 +02:00
cb55cae1b2
Escape SQL queries following wp org sniffs
...
[MAILPOET-4129]
2022-04-04 17:12:33 +02:00
ac17700995
Hook into translation update earlier in plugin initialisation
...
[MAILPOET-4144]
2022-03-17 14:51:09 +01:00
afebe36c81
Add automatic check for translations
...
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
75cbcacae2
Remove static usage of WP functions
...
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
f7866aab49
Initialize MailPoet integration for automation
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
3006804f11
Move automation engine initialization to init hook
...
We need to initialize it later so that automation integration
initialization hooks can be registered first.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
da2621230d
Move automation engine code under "Engine" namespace
...
This is to separate the engine itself from "integrations" that will be
built on top of the engine.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
ddb04feef4
Add empty automation initializer
...
[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
2beac94aa9
Revert "Remove static usage of WP functions"
...
This reverts commit 1c10add392
.
2022-02-16 12:49:35 +01:00
8fa78af75a
Revert "Add automatic check for translations"
...
This reverts commit 8c270ce2ac
.
2022-02-16 12:49:35 +01:00
8c270ce2ac
Add automatic check for translations
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
1c10add392
Remove static usage of WP functions
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
a6d37f8cce
Enable subscriber activity tracking
...
[MAILPOET-3897]
2022-02-07 09:38:25 +01:00
3f07e591c8
Fix integration tests compatibility with PHP 8.1
...
[MAILPOET-4053]
2022-01-19 13:14:42 +01:00