Commit Graph

269 Commits

Author SHA1 Message Date
Jan Lysý
52c6f698c9 Add WP CLI command for creating testing email template
[MAILPOET-5971]
2024-04-22 10:32:47 +02:00
David Remer
630b633eed Move campaign data in own class 2024-04-22 10:06:12 +02:00
Mike Jolley
3f2b96f3a6 Introduce block to handle email content 2024-04-10 11:42:50 +02:00
Mike Jolley
0cd85dc1b3 Utility class to get template from file system 2024-04-10 11:42:50 +02:00
Rostislav Wolny
4071175178 Move ContentRenderer to the Renderer/ContentRenderer namespace
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
Rostislav Wolny
2c5857e89b Split renderer into content renderer and renderer
Content renderer - renders the content of the email post
Renderer - places the content into the email HTML template and generates text version
[MAILPOET-5798]
2024-03-15 10:28:48 +01:00
Brezo Cordero
931fae7691 Add basic capabilities manager class
Backwards compatibility will be handled later

[MAILPOET-5898]
2024-03-13 11:54:37 +01:00
John Oleksowicz
a9140a702e Add backend logic for purchase with tag filter
MAILPOET-4985
2024-03-13 10:24:42 +01:00
John Oleksowicz
bfa3770d99 Add backend logic for purchase by attribute filter
MAILPOET-5467
2024-03-11 10:52:30 +01:00
Rostislav Wolny
8faaa174bc Add post processor for replacing CSS variables with values
[MAILPOET-5918]
2024-03-05 16:03:49 +01:00
Rostislav Wolny
b724ef4ac2 Extract Theme related methods from SettingsController as ThemeController
I want to avoid the SettingsController becoming some kind of a god class
so in this step, I extracted themejson-related stuff to an extra class.

In the future, we should also move methods for manipulating CSS to a helper.
[MAILPOET-5741]
2024-02-28 09:01:20 +01:00
Jan Lysý
dc96fa2b1c Add postprocessor for replacing mark tag to span
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Jan Lysý
9b54217049 Rename PreprocessManager class to ProcessManager
As we want to add rendering postprocessing, it's better to use a different name for this class.
[MAILPOET-5809]
2024-02-19 11:18:58 +01:00
Pavel Dohnal
7a0cad8abf Update post status when email is sent
[MAILPOET-5851]
2024-02-15 10:43:46 +01:00
Jan Jakes
d6da2af55b Extract newsletter bulk delete logic to a controller
Repositories shouldn't inject other repositories. Also, this solves circular DI dependency.

[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Lysý
48b4388992 Add block spacing preprocessing
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
Rodrigo Primo
33769e703c Replace StatisticsNewsletters model with Doctrine in SendingQueue
[MAILPOET-5737]
2024-01-17 22:32:37 +05:00
Brezo Cordero
4323723fd4 Remove DmarcPolicyChecker
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
John Oleksowicz
0d83836b68 Add banner notices for unverified sender domains
MAILPOET-5783
2024-01-03 18:54:01 +01:00
Jan Lysý
525c80bac4 Fix PHPStan warnings in lib
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Jakes
0d2e3e4f19 Add API endpoint to fetch automation template data
[MAILPOET-4537]
2023-12-11 20:51:12 +01:00
Oluwaseun Olorunsola
246f54d799 Refactor MPMarketingChannel.
The aim is to make both the MPMarketingChannelController and the MPMarketingChannel class lighter by moving most of the data request feature to the MPMarketingChannelDataController class

MAILPOET-5698
2023-12-11 10:58:22 +01:00
Oluwaseun Olorunsola
fb257f7c01 Refactor the registering of Marketing channel to DI class
MAILPOET-5695
2023-11-27 10:25:09 +01:00
David Remer
0450d06883 Add wcs_get_subscription
[PREMIUM-256]

Add helper for woocommerce-subscriptions

[PREMIUM-256]
2023-11-19 18:39:16 +01:00
Jan Lysý
2ce6fd8688 Remove BlocksRenderer and fix tests
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
0ac72d43e6 Merge StylesController to SettingsController
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
1626cf2ad9 Add TypographyPreprocessor
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
2b69acf0d5 Add preprocessor for calculating block width
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
fe5eabfe49 Add Preprocessor for removing unwanted blocks
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
Jan Lysý
c1768fd0b2 Refactor Preprocessor to more classes
[MAILPOET-5591]
2023-11-09 09:06:33 +01:00
David Remer
042daf934e Add NewsletterLinkSubject
[PREMIUM-243]
2023-11-08 13:42:36 +01:00
David Remer
1d885ea238 Add order created|cancelled|completed triggers
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
David Remer
d4ea49d09a Move OrderStatusChangeTrigger into own namespace
[MAILPOET-5661]
2023-11-06 12:57:56 +01:00
John Oleksowicz
c775a3abd2 Update pending approval message in email preview
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
4a4ecc8204 Consistent pending approval message
MAILPOET-5631
2023-11-02 18:15:55 +01:00
David Remer
59e4688799 Add comment fields
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
0c4b743247 Add CommentToPost subject transformer
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
e0b871454b Add PostSubject
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
8f529491e8 Move WordPress context factory to free plugin
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
e465f5a5bb Add new classes to DI container
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
John Oleksowicz
9985405d82 Add backend logic for number of clicks filter
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
c28eed2388 Backend logic for number of emails received
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
10f593bf2c Backend logic for first order filter
MAILPOET-5577
2023-10-30 10:51:04 +01:00
Rodrigo Primo
d4a80c7230 Move SendingQueueEntity::toArray() to SendingQueuesResponseBuilder::build()
Based on a suggestion during the review of the PR, it was decided that
it makes more sense for the code that was created as
SendingQueueEntity::toArray() tp be moved to
SendingQueuesResponseBuilder::build(). It is used only to build the
format that is send in the API response.

[MAILPOET-4368]
2023-10-25 21:09:39 +02:00
John Oleksowicz
933fb27265 Create cron worker for reporting mixpanel data
MAILPOET-5161
2023-10-23 17:40:54 +02:00
Jan Jakes
d0726e348e Implement if/else action
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
Rostislav Wolny
399ed61503 Introduce SettingsController for managing editor settings
[MAILPOET-5637]
2023-10-17 16:06:06 +02:00
Rostislav Wolny
e9a5658be5 Cleanup post editor approach code
[MAILPOET-5637]
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
Jan Jakes
480d9f1239 Extract admin pages assets setup out of form assets controller
[MAILPOET-5118]
2023-10-04 15:05:38 +02:00