Commit Graph

24 Commits

Author SHA1 Message Date
Jan Jakes
7ce53adc33 Use static premium download URL instead of fetching it from bridge
This was causing HTTP requests to bridge on each page load for some of MP admin pages.

[MAILPOET-4416]
2022-08-24 12:18:44 +02:00
Rodrigo Primo
d874375c25 Remove MP2 migration main class and its test class
This commit removes the main MP2 migration class and its test class. It
also removes two SQL files that were used in the test class. One of
those files executed the following query:

`SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"`

Removing this query made the tests inside SubscriberSegmentTest fail
when running the whole integration test suite. To work around this, I
added the above mentioned query to SubscriberSegmentTest. I'm not sure
why this test class fails without this query when running all the tests
but it doesn't when it is executed alone. Probably there is another test
class changing the SQL_MODE. Since SubscriberSegmentTest is a test class
for a Paris model that we will eventually remove, I decided it was not
necessary to investigate this further.

[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
Rodrigo Primo
c30fe1305b Replace Paris models with Doctrine entities in Shortcodes
It was necessary to deprecate the filter
mailpoet_archive_email_subject and create a new one since the type
of one of the parameters passed to the filter had to change.

[MAILPOET-4307]
2022-08-01 09:57:10 +02:00
Rodrigo Primo
351c4ca565 Replace Paris models with Doctrine entities in ShortcodesTest
[MAILPOET-4307]
2022-08-01 09:57:10 +02:00
Sam Najian
a65bbb6904 Remove model usages from ShortCodesTest
[MAILPOET-4361]
2022-07-18 16:47:48 +02:00
David Remer
29dffe542e Fix testItUsesCorrectAssetsManifestFilenames test
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
a46514605e Fix tests
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
ea2e42592f Fix some tests
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
2f18032141 Fix Renderer in tests
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
David Remer
047040b0ed Prevent Google fonts from loading when they are disabled
[MAILPOET-4247]
2022-06-06 10:54:12 +02:00
Jan Jakes
d9c47a40f2 Add permissions to manage automations
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
Rostislav Wolny
00b0723f96 Refactor logic for detection of translations installed from .org
[MAILPOET-4144]
2022-03-17 14:51:09 +01:00
Rostislav Wolny
db14f851a1 Prevent installing translations from .org if they are available on .com
[MAILPOET-4144]
2022-03-17 14:51:09 +01:00
Rostislav Wolny
a21e31ca2d Make sure translations from .org are replaced by translations from .com
When the plugin is initially installed it may download translations from .org.
The translations from .org may have a newer date then translations from .com, but are incomplete.
This change ensures that translations installed from .org are always replaced by translations from .com.
[MAILPOET-4144]
2022-03-17 14:51:09 +01:00
Jan Lysý
6f020342c1 Add integration test for TranslationUpdater
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
Jan Jakes
9dc2809462 Add automation page
[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
Rostislav Wolný
ac73ed0e4d Revert "Add integration test for TranslationUpdater"
This reverts commit d5a1d85ef4.
2022-02-16 12:49:35 +01:00
Jan Lysý
d5a1d85ef4 Add integration test for TranslationUpdater
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Sam NAjian
b35006433d Use only an instance of NewsletterShortcodes class when rendering archiveSubject
- Based on how the NewsletterShortcodes service is implemented it's safer to instanciate
it inside the user method and not inject it in the class contructor
- Revert back the changes added to MailPoet\Newsletter\Shortcodes\Categories\Subscriber::process
[MAILPOET-4069]
2022-02-09 16:31:14 +01:00
Sam NAjian
43ecd4369b Add subscriber details to the to the archive subject in case subscriber is defined
[MAILPOET-4069]
2022-02-09 16:31:14 +01:00
Rostislav Wolny
1630da0917 Add processing of shortcode in subject in archive page
[MAILPOET-3965]
2022-02-09 16:31:14 +01:00
John Oleksowicz
82a6fb8ac7 Refactor migrator to be a DI service
[MAILPOET-4061]
2022-02-07 14:37:08 +01:00
Rostislav Wolny
dc55aaa566 Add email actions filters format migration
[MAILPOET-3951]
2022-01-19 16:18:08 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00