Jan Jakes
1f92ac551e
Use alias that is not a keyword
...
Together with fixing the MySQL platform detection this is not necessary,
but it's easy to use a safe alias that is not a keyword, in this case.
[MAILPOET-6232]
2024-09-17 09:37:58 +02:00
Jan Jakes
b512079ce2
Replace settings fetch() calls with cached get()
2024-09-13 10:34:55 +02:00
Jan Jakes
b32c6aa233
Remove no longer needed populator logic
2024-09-13 10:34:55 +02:00
Jan Jakes
a416cecddf
Optimize populating newsletter option fields
2024-09-13 10:34:55 +02:00
Jan Jakes
974add271a
Optimize populating newsletter templates
2024-09-13 10:34:55 +02:00
Jan Jakes
57bdfec18e
Replace WPDB with Doctrine DBAL query builder in populator
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Jakes
ab16f5be10
Remove ignores of WordPressDotOrg sniffs
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Lysý
b1248cca0d
Use placeholders and comments
...
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
Jan Jakes
f584a673cb
Temporarily skip queries incompatible with SQLite
...
[MAILPOET-6185]
2024-08-22 13:28:09 +02:00
Jan Jakes
4b69005900
Use subquery in DELETE for SQLite
...
[MAILPOET-6185]
2024-08-22 13:28:09 +02:00
Rostislav Wolny
33f4b2d729
Replace usage of WP's current_time without gmt parameter in libs
...
This commit replaces usages by Carbon::now or in case we need a timestamp it
keeps current_time but adds the gtm parameter as true.
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Rostislav Wolny
7f1c606040
Reintroduce legacy DB table name constants for backward compatibility
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Jan Jakes
569204b594
Remove PDO
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Jan Jakes
accdb64894
Split mutli-query into multiple statements
...
WPDB doesn't support multi queries.
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Jan Jakes
c25d7d6b53
Use single quotes for strings in SQL queries
...
This is more standard SQL and required by WPDB.
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Jan Jakes
805c752843
Remove all old models and their setup
...
[MAILPOET-6142]
2024-08-19 15:29:42 +02:00
Ján Mikláš
e640fa10cb
Add default value for opt-in position to Populator
...
[MAILPOET-5807]
2024-08-07 15:43:42 +02:00
Ján Mikláš
59733db6de
Fix hiding AutomateWoo opt-in checkbox when MailPoet opt-in is in different position
...
[MAILPOET-5807]
2024-08-07 15:43:42 +02:00
Ján Mikláš
02a148ef84
Use proper hook based on opt-in position setting
...
[MAILPOET-5807]
2024-08-07 15:43:42 +02:00
Ján Mikláš
334756d18f
Change the condition to check if opt-in on checkout is enabled to be easier to read
...
[MAILPOET-5807]
2024-08-07 15:43:42 +02:00
Jan Lysý
26a98f1000
Update composer package doctrine/dbal
...
We cannot update to the latest version of the dbal 3 because there is a another package conflict.
[MAILPOET-6101]
2024-06-17 12:38:08 +02:00
Pavel Dohnal
22da191032
Fix MailPoet marked as incompatible with Woo HPOS
...
[MAILPOET-6082]
2024-05-23 20:59:27 +02:00
Oluwaseun Olorunsola
d718441e1a
Deactivate MailPoet cron when the site is in maintenance mode
...
MAILPOET-6021
2024-05-17 12:53:19 +01:00
Oluwaseun Olorunsola
6d81a595d2
Deactivate MailPoet cron when plugin update is about to begin
...
MAILPOET-6021
2024-05-17 12:53:19 +01:00
Brezo Cordero
4d29faf998
Add permission level for the help page
...
[MAILPOET-6013]
2024-05-14 13:03:37 +02:00
Mike Jolley
2bf41c549d
Load blockTypesController before editor
2024-05-07 12:08:48 +01:00
Mike Jolley
6f5de68a9f
initialize block types controller elsewhere
2024-04-10 11:42:50 +02:00
Brezo Cordero
cbff461b4d
Display upgrade page if no valid premium key
...
[MAILPOET-5905]
2024-03-25 12:36:08 +01:00
Brezo Cordero
724681d3a7
Display upgrade page for Tier 1
...
[MAILPOET-5905]
2024-03-25 12:36:08 +01:00
Mike Jolley
435f638011
Apply rules on lib dir
2024-03-21 16:57:59 +01:00
Jan Jakes
3972a4d7e7
Remove automations beta badge
...
[MAILPOET-5936]
2024-03-14 11:09:12 +01:00
Rostislav Wolny
2012621791
Improve code comment when adding block editor class
...
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
Rostislav Wolny
cc8bb10d8b
Add proper body class for the email editor to mark it a block editor
...
This class is needed so that some CSS rules (e.g. white background, hidden footer)
are applied for WP admin.
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
Rostislav Wolny
414e540f33
Remove unnecessary code for highlighting MailPoet > Email menu
...
The code was needed when we used the post editor. After we switched to
the custom editor we don't need it any more.
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
Jan Lysý
38fcb7394d
Move hook adding MailPoet image size to NewsletterEditor admin page
...
[MAILPOET-5749]
2024-01-22 17:32:41 +01:00
Rostislav Wolny
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
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
Rostislav Wolny
c9c7146ef1
Improve table prefixing to allow Doctrine entities for WP tables
...
WordPress tables use only the DB prefix, but MailPoet tables use
DB prefix + plugin prefix (mailpoet).
This commit changes TablePrefixMetadataFactory to be able to distiguish
WP table for posts and adds proper prefix.
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Oluwaseun Olorunsola
074674a498
Properly format response from API
...
MAILPOET-5803
2023-12-19 13:27:21 +01:00
Jan Lysý
525c80bac4
Fix PHPStan warnings in lib
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Oluwaseun Olorunsola
fb257f7c01
Refactor the registering of Marketing channel to DI class
...
MAILPOET-5695
2023-11-27 10:25:09 +01:00
Jan Jakes
24dfd5c4c7
Fix deprecation error for pages hidden in menu
...
[MAILPOET-5718]
2023-11-23 10:50:33 +01:00
Oluwaseun Olorunsola
cca8f9fe31
Hide MailPoet Marketing MultiChannel behind feature flag
...
MAILPOET-5692
2023-11-23 10:40:43 +01:00
Oluwaseun Olorunsola
783fbd6c5c
Add MailPoet icon-white and use in MP Marketing Channel
...
MAILPOET-5692
2023-11-23 10:40:43 +01:00
Oluwaseun Olorunsola
90b9fd989b
Add MailPoet Marketing Channel support
...
MAILPOET-5692
2023-11-23 10:40:43 +01:00
Pavel Dohnal
b60da9faf6
Make sure offset is always number
...
We want to prevent an error 'Unsupported operand types: string * int'
[MAILPOET-5676]
2023-10-24 16:12:24 +02:00
John Oleksowicz
23806b6395
Schedule initial mixpanel task
...
MAILPOET-5161
2023-10-23 17:40:54 +02:00
David Remer
42113cbaed
Declare cart_checkout_blocks compatibility
...
[MAILPOET-5659]
2023-10-19 11:26:04 +02:00
Rostislav Wolny
4b2e5e8eae
Hotfix redirect when creating new email
...
[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