Commit Graph

1274 Commits

Author SHA1 Message Date
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
Pavel Dohnal
44c27a9e89 Never activate the plugin for a user
[MAILPOET-3315]
2020-11-26 11:16:17 +01:00
Pavel Dohnal
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
Rostislav Wolny
645f888186 Refactor WP Users segment controller to injectable service
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
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
Pavel Dohnal
e0981ff044 Rename templates
[MAILPOET-3182]
2020-10-29 15:43:35 +01:00
Pavel Dohnal
5e633d7726 Rename thumbnails
[MAILPOET-3182]
2020-10-29 15:43:35 +01:00
Pavel Dohnal
babdc7f570 Add cart contents block to email templates
[MAILPOET-3182]
2020-10-29 15:43:35 +01:00
Ján Mikláš
bca228f985 Don't pre-select 3rd party libraries in wizard
[MAILPOET-3073]
2020-10-29 14:09:37 +01:00
Rostislav Wolny
0bbe65fab7 Remove default form
[MAILPOET-3238]
2020-10-27 17:34:43 +01:00
Pavel Dohnal
d9c73692d9 Set default value for 3rd party libraries
[MAILPOET-3128]
2020-10-19 17:49:18 +02:00
Rostislav Wolny
1f363c838f Update form template page title
[MAILPOET-2988]
2020-10-01 15:44:41 +02:00
Rostislav Wolny
814686e8d2 Refactor mailpoet_get_segment_filters to direct calls
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
wxa
fc31567b39 Add hooks for changing Twig cache path and disabling cache (for WP Engine) [MAILPOET-3157] 2020-09-23 10:03:04 +02:00
Rostislav Wolny
6fb755eda7 Refactor CDN assets URL to separate service
[MAILPOET-3076]
2020-09-14 14:22:11 +02:00
wxa
b0e7a486ff Remove new-default-list-name feature flag [MAILPOET-3004] 2020-09-08 14:44:45 +02:00
Rostislav Wolny
3095d946d4 Update DB migration version check
[MAILPOET-3072]
2020-09-07 08:54:34 +02:00
Pavel Dohnal
987a243a66 Increase version
[MAILPOET-3072]
2020-09-02 13:17:44 +02:00
Pavel Dohnal
193149781b Unset old properties
[MAILPOET-3072]
2020-09-02 13:17:44 +02:00
Pavel Dohnal
401b780dce Use refactored in form displaying
[MAILPOET-3072]
2020-09-02 13:17:44 +02:00
Pavel Dohnal
e15426635e Migrate placement data to the new structure
[MAILPOET-3072]
2020-09-02 13:17:44 +02:00
Pavel Dohnal
e591ab1040 Remove uneeded dependency
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Pavel Dohnal
1a3ea15817 Update plugin version
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Pavel Dohnal
b1e9c1a4a9 Add placement enabled settings
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Pavel Dohnal
f0127cd68b Add column that enables/disables the form
[MAILPOET-3075]
2020-08-12 16:35:28 +02:00
Amine Ben hammou
c5f4da57c9 Add missing header translations 2020-08-04 15:09:09 +02:00
Amine Ben hammou
0a0dbf0fa1 Fix code style 2020-08-04 15:09:09 +02:00