Commit Graph

1296 Commits

Author SHA1 Message Date
65b834a9ff Update renamed NotCamelCaps rule
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
8af9b412ad Switch to built in PDO driver
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
2b43531c59 Use try-finally for delete transient on error
[MAILPOET-3656]
2021-06-14 14:56:26 +02:00
a5b964c785 Add try-catch for activation hook
[MAILPOET-3656]
2021-06-14 14:56:26 +02:00
d5f6f63ebe Use option filters instead of synchronization Woo email styles
With this change the Woo template editor will never overwrite Woo commerce settings,
but replace values of those settings using hooks.
[MAILPOET-3645]
2021-06-14 14:30:01 +02:00
611b860317 Add migration for missing updated_at on scheduled_task_subscribers
[MAILPOET-3651]
2021-06-14 13:06:58 +02:00
d7724c5768 Register NewslettersExporter as service
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
aeeceeeb8d Use Newsletter\Url as service
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
30d42972ff Remove updatingSuccess message for old versions
[MAILPOET-3643]
2021-06-07 14:14:50 +02:00
7d00568dc8 Add comment with units
[MAILPOET-3537]
2021-05-24 14:59:40 +02:00
c7e4fa32b0 Rename method in initializer
[MAILPOET-3537]
2021-05-24 14:59:40 +02:00
a0a0313c46 Use WP transient for lock running migrations
[MAILPOET-3537]
2021-05-24 14:59:40 +02:00
ea1a946a7b Use WP connection db port if missing in config
[MAILPOET-3580]
2021-05-24 13:23:41 +02:00
4103a02651 Add columns for average score into segments
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
3d34f7e5ac Enable automatic scheduling in SubscribersEngagementScore
[MAILPOET-3585]
2021-05-03 11:23:47 +02:00
43058ce38a Add index on engagement_score_updated_at in subscribers
[MAILPOET-3585]
2021-05-03 11:23:47 +02:00
be589e79bd Add action for hook woocommerce_created_customer
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
0ed3412667 Add methods for extend WC registration form into hooks for WC
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
b7bfef90c9 Add opt-in checkbox into the WooCommerce registration form
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
3f91c40594 Round score to 1 decimal instead of 0
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
c1f7fb6cd4 Create a worker for initial score calculation
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
5d4916efc3 Create score columns
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
5347714bbe Use AssetsLoader for enqueue css in formEditor
[MAILPOET-3556]
2021-04-21 14:19:27 +02:00
9bca7cc169 Prevent breaking woocommerce in hooks
[MAILPOET-3563]
2021-04-19 11:59:19 +02:00
b739d44f1b Add usage StatisticsForms from Populator
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
0ff3f9bf04 Add check that GET array key exists
[MAILPOET-3550]
2021-04-06 10:00:13 +02:00
7ef0f7a600 Create simple router with newsletters redirect
[MAILPOET-3536]
2021-04-05 10:26:53 +02:00
95825793c0 Use doctrine for populator query
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
7987f2d873 Pause old tasks
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
dffaab10a2 Use getCurrentWPUser from SubscribersRepository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
89f5da7b76 Change url slug
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
de47ec9c7f Add an empty logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
cb0d3c70ad Use Doctrine for update success message in Settings
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
fb68f1a7d8 Fix count returned from shortcode mailpoet_subscribers_count
[MAILPOET-3424]
2021-03-08 10:24:59 +01:00
653d832ee9 Drop MailPoet tables when a site is deleted in a multisite install
This commit makes sure MailPoet tables are dropped when a site is
deleted in a multisite install. It uses the filter `wpmu_drop_tables`
to add the list of MailPoet tables to the list of tables that WP drops
whenever a site is deleted in a multisite install. $wpdb is used instead
of Doctrine entity manager as the latter is not affected by calls to
switch_to_blog() which is used in this case to switch from the main site
to the site being deleted.

This will only work if MailPoet is network active. If it is not,
MailPoet code is not executed inside the WP network admin panel,
and thus our filter is not added to wpmu_drop_tables, and MP tables
are not deleted.

[MAILPOET-3265]
2021-03-03 09:26:03 +01:00
8698fd944f Remove the Update page
[MAILPOET-3406]
2021-02-08 13:01:06 +01:00
4390a1932d Remove phpstan errors from the rest of the code
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
bdb6477b4b Replace usages of Subscriber::getTotalCount by Subscribers service
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
11c9c3cd93 Missing i18n namespace in checkout optin label 2021-01-11 11:46:09 +01:00
6c63a562d1 Validate bounce email on import from MP2
[MAILPOET-2933]
2021-01-11 11:37:33 +01:00
51877fe1eb Reactor loading of wp-admin/includes/plugin.php
Requiring WordPress PHP file within Initializer was causing errors in static analysis that runs without WordPress source.
[MAILPOET-2837]
2021-01-04 12:28:53 +01:00
wxa
0931d0b770 Keep custom unsubscribe confirmation page setting [MAILPOET-3242] 2021-01-04 10:00:01 +01:00
bf13d08a22 Download premium plugin
[MAILPOET-3315]
2020-11-26 11:16:17 +01:00
44c27a9e89 Never activate the plugin for a user
[MAILPOET-3315]
2020-11-26 11:16:17 +01:00
a751a2a459 Add custom Doctrine Driver
[MAILPOET-3150]
2020-11-16 09:41:13 +01:00
wxa
9359143346 Do not call hooks on repeated getAutomaticEmails calls (e.g. in editor) [MAILPOET-2433] 2020-11-11 14:27:36 +01:00
wxa
4661eab49e Merge WC email initialization into newsletters listing page [MAILPOET-2433] 2020-11-11 14:27:36 +01:00
wxa
56868ce0db Remove unnecessary template inclusion, fix automatic email step name in email editor [MAILPOET-2433] 2020-11-11 14:27:36 +01:00
645f888186 Refactor WP Users segment controller to injectable service
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
54e3c52630 Require dbDelta in Migrator function just in time
This change needs to be done so that PHPStan can run analysis
without actually loading whole site.

wp-admin/includes/upgrade.php has some side effects
that require other WP functions to be loaded in runtime.

[MAILPOET-3029]
2020-11-09 11:04:32 +01:00