Sam Najian
a2ab1a3cfd
Escape queries before passing to $wpdb methods
...
[MAILPOET-4219]
2022-04-04 17:12:33 +02:00
David Remer
a8d88beec9
Escape output according to WP sniffs
...
[MAILPOET-4129]
2022-04-04 17:12:33 +02:00
Rostislav Wolny
9b71a7804c
Update Monolog/Monolog from v1 to v2
...
[MAILPOET-4175]
2022-03-28 13:49:41 +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
fc5b25dd20
Force installing language packs updates on plugin activation
...
[MAILPOET-4144]
2022-03-17 14:51:09 +01:00
Rostislav Wolny
84b7ec709a
Fetch .com language packs info during plugin activation
...
[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
7791219d7d
Refactor processing translations API data in two methods
...
[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
Rostislav Wolny
ac17700995
Hook into translation update earlier in plugin initialisation
...
[MAILPOET-4144]
2022-03-17 14:51:09 +01:00
Jan Lysý
885209d9a3
Fix translation loading
...
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
Jan Lysý
40860d1d59
Increase minimal timeout for API requests and fix comment
...
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
Jan Lysý
dd54518933
Change timeout for translation API requests
...
[MAILPOET-3808]
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 Lysý
982a6ee073
Remove loading plugin translations
...
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
Jan Lysý
afebe36c81
Add automatic check for translations
...
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
Jan Lysý
75cbcacae2
Remove static usage of WP functions
...
[MAILPOET-3808]
2022-03-17 14:51:09 +01:00
Jan Jakes
f7866aab49
Initialize MailPoet integration for automation
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
3006804f11
Move automation engine initialization to init hook
...
We need to initialize it later so that automation integration
initialization hooks can be registered first.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
da2621230d
Move automation engine code under "Engine" namespace
...
This is to separate the engine itself from "integrations" that will be
built on top of the engine.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Rostislav Wolny
f6a6dc1802
Rename premium page to upgrade page
...
[MAILPOET-4164]
2022-02-28 16:49:26 +01:00
Jan Jakes
ddb04feef4
Add empty automation initializer
...
[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
Jan Jakes
9dc2809462
Add automation page
...
[MAILPOET-4135]
2022-02-21 09:56:26 +01:00
Rostislav Wolný
2beac94aa9
Revert "Remove static usage of WP functions"
...
This reverts commit 1c10add392
.
2022-02-16 12:49:35 +01:00
Rostislav Wolný
8fa78af75a
Revert "Add automatic check for translations"
...
This reverts commit 8c270ce2ac
.
2022-02-16 12:49:35 +01:00
Rostislav Wolný
7cdee0b047
Revert "Remove loading plugin translations"
...
This reverts commit a1b59ec609
.
2022-02-16 12:49:35 +01:00
Rostislav Wolný
ac73ed0e4d
Revert "Add integration test for TranslationUpdater"
...
This reverts commit d5a1d85ef4
.
2022-02-16 12:49:35 +01:00
Rostislav Wolný
74090615fe
Revert "Change timeout for translation API requests"
...
This reverts commit b678dcbac4
.
2022-02-16 12:49:35 +01:00
Rostislav Wolný
9b6b20203f
Revert "Increase minimal timeout for API requests and fix comment"
...
This reverts commit 4b692bb980
.
2022-02-16 12:49:35 +01:00
Rostislav Wolný
d424689701
Revert "Fix translation loading"
...
This reverts commit 6314f989e5
.
2022-02-16 12:49:35 +01:00
Jan Lysý
6314f989e5
Fix translation loading
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Jan Lysý
4b692bb980
Increase minimal timeout for API requests and fix comment
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Jan Lysý
b678dcbac4
Change timeout for translation API requests
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Jan Lysý
d5a1d85ef4
Add integration test for TranslationUpdater
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Jan Lysý
a1b59ec609
Remove loading plugin translations
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Jan Lysý
8c270ce2ac
Add automatic check for translations
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Jan Lysý
1c10add392
Remove static usage of WP functions
...
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00
Oluwaseun Olorunsola
28288bb927
Use shared config, remove usage of windows
...
[MAILPOET-3971]
2022-02-10 10:06:09 +01:00
Oluwaseun Olorunsola
978aa6552f
Fix phpstan error
...
[MAILPOET-3971]
2022-02-10 10:06:09 +01:00
Oluwaseun Olorunsola
3819dd774e
Use upgrade url
...
[MAILPOET-3971]
2022-02-10 10:06:09 +01:00
Oluwaseun Olorunsola
55a1fcc44e
Offer to download or activate the premium plugin or upgrade plan in premium banner
...
[MAILPOET-3971]
2022-02-10 10:06:09 +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
Sam NAjian
feb3cfb63c
Make sure user exists before setting sender defaults
...
[MAILPOET-4062]
2022-02-07 16:06:07 +01:00
John Oleksowicz
00f3e3787d
New service for handling setting changes
...
[MAILPOET-4061]
2022-02-07 14:37:08 +01:00
John Oleksowicz
82a6fb8ac7
Refactor migrator to be a DI service
...
[MAILPOET-4061]
2022-02-07 14:37:08 +01:00
John Oleksowicz
3cf92cb81e
Update setting type to match default
...
[MAILPOET-4061]
2022-02-07 14:37:08 +01:00
John Oleksowicz
ffb0416cf7
Update version check for consistency
...
[MAILPOET-4061]
2022-02-07 14:37:08 +01:00
John Oleksowicz
5e9728c91a
Migration and tests for new default value
...
[MAILPOET-4061]
2022-02-07 14:37:08 +01:00