Commit Graph

101 Commits

Author SHA1 Message Date
Jan Jakeš
e66c76133e Exclude MailPoet data structures from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
685b4885c0 Exclude WordPress and WooCommerce variables from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
3bbc8ea2af Convert variable names to camel case in strings
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
86675dfd4f Move Swiftmailer to vendor-prefixed
[MAILPOET-2363]
2019-10-02 09:30:49 +01:00
Jan Jakeš
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Amine Ben hammou
7a674e19b8 Add meta to extra_params
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
e9d12fb40e Move inline function to a private method
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Pavel Dohnal
47a51834f9 Use only one body for text emails
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Pavel Dohnal
b844d41fde Allow text mails to be send using PHPMail
[MAILPOET-2307]
2019-09-12 16:34:31 +02:00
Rami Yushuvaev
81079dcd7c Italicize the email too 2019-09-12 15:19:35 +02:00
Rami Yushuvaev
6e3faef6c3 i18n: Avoid using HTML tags in translation strings
Replace `<i>%s</i>` with a simple `%s`. Move the HTML tags outside the strings, to `sprintf()` parameter.
2019-09-12 15:19:35 +02:00
Jan Jakeš
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
wxa
7f40e5b512 Clean up unused imports [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
wxa
160d3d0607 Refactor mailer blacklist from trait to DI [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
wxa
26d7fb5468 Fix PR remarks [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
wxa
57b13c8896 Add blacklist to Mailer [MAILPOET-2176] 2019-07-11 06:53:10 -04:00
Jan Jakeš
a92a3de26d Improve MSS sending error message
[MAILPOET-2115]
2019-06-25 10:54:02 -04:00
Jan Jakeš
731ae6de98 Enforce base64 when email encoding needed for PHPMail & mail() function
[MAILPOET-2065]
2019-06-18 09:38:09 -04:00
Rostislav Wolny
f86c0c9612 Refactor authorized emails validation from Bridge to Controller
[MAILPOET-2022]
2019-06-03 12:54:24 -04:00
Rostislav Wolny
3aa382a060 Refactor resume sending js code out of PHP
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Rostislav Wolny
cf7c5475c3 Add authorized emails check on error from MSS
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Pavel Dohnal
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Amine Ben hammou
df587ca486 Move tags outside translatable string 2019-05-10 08:28:52 -04:00
Amine Ben hammou
e1f9c93276 Show the old admin notice when using free email 2019-05-10 08:28:52 -04:00
wxa
994fae79d2 Move Mailer error tests to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
Ján Mikláš
bce05ce486 Fix statically calling non-static method
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
Ján Mikláš
a8e3fe79c2 Remove unnecessary HTML elements from strings
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
Ján Mikláš
3ec5bf10bb Show different error message when sending from unauthorized *free* email address
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
Rostislav Wolny
d4abbf1fb6 Fix email authorization URL address
[MAILPOET-1876]
2019-03-11 09:47:06 -04:00
Amine Ben hammou
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
Ján Mikláš
bad69b0e24 Save translated message to logs, not just translation key
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
b95dc9296c Move generating 403 error messages to separate methods
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
5c78028232 Add rel="noopener noreferrer" to links
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
f5feb032fe Show error notice when email is sent from unauthorized email
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
91c88bc93f Better error code name when not able to send mails
[MAILPOET-1787]
2019-02-28 12:28:53 -05:00
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
a8972ca281 Add space between switch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
fba2914392 Add space between for and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Amine Ben hammou
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
Tautvidas Sipavičius
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
Amine Ben hammou
a46d98ec44 Refactor WPFunctions to be injectable with DI 2018-12-12 16:43:52 +01:00
Amine Ben hammou
160d4ae3ec Pause sending of spammer users [MAILPOET-1649] 2018-11-28 18:27:44 +01:00
Rostislav Wolny
f5c9d0f7db Remove unnecessary test_email extra parameter for mailer->send
It was used only to prevent appending unprocessed subscribers into error message.
Since the message is now composed by on demand by MailerError the parameter is not needed any more.

[MAILPOET-1154]
2018-09-13 11:12:38 +02:00