68da540abd
Convert affected files to ts
...
[MAILPOET-4214]
2022-06-09 11:52:29 +02:00
f1941bc4da
Add support for overriding cron site url via constant
...
This allows to configure a special URL base for cron.
Cases here are dev environments, but also potentially intranet sites or anything else with an atypical network layout
[MAILPOET-4406]
2022-06-09 09:31:56 +02:00
4eabbbee33
Handle inaccessible cron url exception on the help page
...
[MAILPOET-4406]
2022-06-09 09:31:56 +02:00
f2edddfbff
Handle inaccessible cron URL error when generating Beacon data
...
The unhandled exception in this place was causing that all MailPoet
admin pages were blank.
[MAILPOET-4406]
2022-06-09 09:31:56 +02:00
0d4048b682
Remove WordPress from build process
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
566cef6ef8
Instantiate CdnAssetUrl late
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
2b63b0ed45
Use a more descriptive method name for retrieving the anayltics class
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
467ed02043
Add short doc to explain, why the methods where altered.
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
29dffe542e
Fix testItUsesCorrectAssetsManifestFilenames test
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
47011ddc70
tmpfs uploads/mailpoet
2022-06-08 15:25:41 +02:00
d15be7555c
Add hbs and txt files
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
f149e9b746
Build templates in build process
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
a46514605e
Fix tests
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
ea2e42592f
Fix some tests
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
6a7b2f3952
Try to create the temporary folder
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
31171a1999
Add twig:generate-cache to build script
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
378515bd0e
Remove cache path from docker-compose
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
9f3476e4cb
Fix CdnAssetUrl instantiation
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
d5b25ac28f
Add getTwig method
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
8273fa5e19
Fix templates
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
2f18032141
Fix Renderer in tests
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
7f13cdb34e
Fix Renderer in Widget
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
4ffb4e0dc2
Rename temp folder creation method
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
afb03bd83f
Add twig:generate-cache command
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
e18b562212
Load dependencies late
...
When we create the templates, we are not in the WordPress environment and do not
have a connection to the database. Therefore, we need to instantiate our dependencies
later, so they get only invoked once they are needed, which is, when we are
in the WordPress environment again.
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
4b7ecfba94
Use newly introduced twig classes
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
052d5e4531
Change path to cached templates
...
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
382ae901cc
Introduce TwigFileSystemCache
...
The original FileSystemCache of twig generates the key depending on PHP_VERSION.
We need to produce the same key regardless of PHP_VERSION. Therefore
TwigFileSystemCache overwrites this method.
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
89b871775a
Introduce TwigEnvironment
...
This commit introduces our own TwigEnvironment class which extends the original Twig\Environment.
The original class produced a different templateClass depending on the PHP version and
the selected options. As we can not rely on PHP version, this would have produced different
template hash keys in the end and Twig would have attempted to store new templates
on the disk, which we want to prevent.
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
455e463916
Better naming
...
MAILPOET-4264
2022-06-08 13:14:11 +02:00
6687a291f0
Use random string util for IDs
...
MAILPOET-4264
2022-06-08 13:14:11 +02:00
12b677ce5e
Change default workflow status to draft
...
MAILPOET-4264
2022-06-08 13:14:11 +02:00
2bf59eab9a
Create templated workflows in draft status
...
MAILPOET-4264
2022-06-08 13:14:11 +02:00
25b9f3a876
Create a workflow from a PHP template
...
MAILPOET-4264
2022-06-08 13:14:11 +02:00
ea9ba9272f
Release 3.89.4
2022-06-07 12:49:56 +02:00
609d80ca05
Fix issue of getting none-customer subs for # order filter
...
[MAILPOET-4390]
2022-06-06 12:06:07 +02:00
3d1365595b
Remove catch block and change quotes
...
Remove catch block to log unexpected exceptions and change quotes for consistency on error message.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
53b9f79e65
Catch the correct Exception when creating a list on import
...
This is not part of this issue but found it when looking at the Exception types.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
2e5e8e808f
Verify that new email is unique when editing a subscriber
...
Throws an exception with information message if email already exists.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
978afcdc1c
Fix condition for authentication
...
[MAILPOET-4398]
2022-06-06 11:16:07 +02:00
d3f2eb650a
Check existance of custom field block before removing
...
[MAILPOET-4341]
2022-06-06 11:11:15 +02:00
185b57d9b6
Fix issue with checking response error
...
[MAILPOET-4341]
2022-06-06 11:11:15 +02:00
246268e00d
Fix logic operator when detecting newsletter-editor page
...
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
b79fe582ad
Hide custom fonts optgroup when no custom fonts available
...
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
da49da80bd
Do not show Custom Fonts in the editor, when they are not enabled
...
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
047040b0ed
Prevent Google fonts from loading when they are disabled
...
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
c73982b414
Respect 3rd party library setting when displaying custom fonts
...
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
fe44d4c233
Respect mailpoet_display_custom_fonts filter in Iframe
...
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
116354c3b0
Add nicer error when downloading zip for deleted branch
...
[MAILPOET-4399]
2022-06-06 09:35:00 +02:00
75a6c66cb8
Update Circle CI Api from v1.1 to v2
...
The v1.1 API is deprecated and will be discontinued by the end of the year.
Instead of a single request on v1.1 we now need to fetch pipeline, then workflow and then jobs.
[MAILPOET-4399]
2022-06-06 09:35:00 +02:00