Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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ý
afebe36c81 Add automatic check for translations
[MAILPOET-3808]
2022-03-17 14:51:09 +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ý
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
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ý
8c270ce2ac Add automatic check for translations
[MAILPOET-3808]
2022-02-14 11:53:32 +01:00