Commit Graph

1303 Commits

Author SHA1 Message Date
Pavel Dohnal
a84471b65c Save user agent on open
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Pavel Dohnal
4f37cde9f9 Create table for user agents
[MAILPOET-3735]
2021-08-18 14:41:20 +02:00
Jan Lysý
41a3ac0268 Remove mso condition for include fonts for newsletters editor
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
2165baa5ee Fix non mso condition in Menu
[MAILPOET-3468]
2021-08-16 11:44:41 +02:00
Jan Lysý
6dc0c62640 Fix getting NewsletterExporter instance in PersonalDataExporters
[MAILPOET-3702]
2021-08-11 15:18:58 +02:00
Rostislav Wolny
21c712c930 Fix issues in woocommerce_registration_errors callback
* After this change we will process only registrations without any errors.
* The filter expect that it returns $errors, but the callback was not returning anything. This was under some circumstances causing 500 error.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Brezo Cordero
1909950353 Remove the poll on plugin deactivation
Remove the poll asking for deactivation reasons as we are no longer using the data.

[MAILPOET-3705]
2021-08-09 11:33:14 +02:00
Rostislav Wolny
65b834a9ff Update renamed NotCamelCaps rule
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Rostislav Wolny
8af9b412ad Switch to built in PDO driver
[MAILPOET-3658]
2021-07-06 13:29:00 +02:00
Jan Lysý
2b43531c59 Use try-finally for delete transient on error
[MAILPOET-3656]
2021-06-14 14:56:26 +02:00
Jan Lysý
a5b964c785 Add try-catch for activation hook
[MAILPOET-3656]
2021-06-14 14:56:26 +02:00
Rostislav Wolny
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
Rostislav Wolny
611b860317 Add migration for missing updated_at on scheduled_task_subscribers
[MAILPOET-3651]
2021-06-14 13:06:58 +02:00
Jan Lysý
d7724c5768 Register NewslettersExporter as service
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
aeeceeeb8d Use Newsletter\Url as service
[MAILPOET-3269]
2021-06-14 10:12:34 +02:00
Jan Lysý
30d42972ff Remove updatingSuccess message for old versions
[MAILPOET-3643]
2021-06-07 14:14:50 +02:00
Jan Lysý
7d00568dc8 Add comment with units
[MAILPOET-3537]
2021-05-24 14:59:40 +02:00
Jan Lysý
c7e4fa32b0 Rename method in initializer
[MAILPOET-3537]
2021-05-24 14:59:40 +02:00
Jan Lysý
a0a0313c46 Use WP transient for lock running migrations
[MAILPOET-3537]
2021-05-24 14:59:40 +02:00
Pavel Dohnal
ea1a946a7b Use WP connection db port if missing in config
[MAILPOET-3580]
2021-05-24 13:23:41 +02:00
Jan Lysý
4103a02651 Add columns for average score into segments
[MAILPOET-3533]
2021-05-12 14:42:22 +02:00
Jan Lysý
3d34f7e5ac Enable automatic scheduling in SubscribersEngagementScore
[MAILPOET-3585]
2021-05-03 11:23:47 +02:00
Jan Lysý
43058ce38a Add index on engagement_score_updated_at in subscribers
[MAILPOET-3585]
2021-05-03 11:23:47 +02:00
Jan Lysý
be589e79bd Add action for hook woocommerce_created_customer
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
Jan Lysý
0ed3412667 Add methods for extend WC registration form into hooks for WC
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
Jan Lysý
b7bfef90c9 Add opt-in checkbox into the WooCommerce registration form
[MAILPOET-3483]
2021-05-03 10:24:25 +02:00
Pavel Dohnal
3f91c40594 Round score to 1 decimal instead of 0
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
c1f7fb6cd4 Create a worker for initial score calculation
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Pavel Dohnal
5d4916efc3 Create score columns
[MAILPOET-3525]
2021-04-26 13:46:23 +02:00
Jan Lysý
5347714bbe Use AssetsLoader for enqueue css in formEditor
[MAILPOET-3556]
2021-04-21 14:19:27 +02:00
Pavel Dohnal
9bca7cc169 Prevent breaking woocommerce in hooks
[MAILPOET-3563]
2021-04-19 11:59:19 +02:00
Jan Lysý
b739d44f1b Add usage StatisticsForms from Populator
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
Jan Lysý
0ff3f9bf04 Add check that GET array key exists
[MAILPOET-3550]
2021-04-06 10:00:13 +02:00
Jan Lysý
7ef0f7a600 Create simple router with newsletters redirect
[MAILPOET-3536]
2021-04-05 10:26:53 +02:00
Pavel Dohnal
95825793c0 Use doctrine for populator query
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
Pavel Dohnal
7987f2d873 Pause old tasks
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
Jan Lysý
dffaab10a2 Use getCurrentWPUser from SubscribersRepository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Pavel Dohnal
89f5da7b76 Change url slug
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Pavel Dohnal
de47ec9c7f Add an empty logs page
[MAILPOET-3135]
2021-03-16 14:29:18 +01:00
Jan Lysý
cb0d3c70ad Use Doctrine for update success message in Settings
[MAILPOET-3034]
2021-03-11 11:46:16 +01:00
Jan Lysý
fb68f1a7d8 Fix count returned from shortcode mailpoet_subscribers_count
[MAILPOET-3424]
2021-03-08 10:24:59 +01:00
Rodrigo Primo
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
Pavel Dohnal
8698fd944f Remove the Update page
[MAILPOET-3406]
2021-02-08 13:01:06 +01:00
Jan Lysý
4390a1932d Remove phpstan errors from the rest of the code
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
Rostislav Wolny
bdb6477b4b Replace usages of Subscriber::getTotalCount by Subscribers service
[MAILPOET-3143]
2021-01-11 14:55:44 +01:00
Barry Ceelen
11c9c3cd93 Missing i18n namespace in checkout optin label 2021-01-11 11:46:09 +01:00
Rostislav Wolny
6c63a562d1 Validate bounce email on import from MP2
[MAILPOET-2933]
2021-01-11 11:37:33 +01:00
Rostislav Wolny
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
Pavel Dohnal
bf13d08a22 Download premium plugin
[MAILPOET-3315]
2020-11-26 11:16:17 +01:00