Alexander Makarov
13f27e4d92
Fix #18817 : Use paragonie/random_compat for random bytes and int generation
2021-08-09 10:25:36 +03:00
Alexander Makarov
4e2045c040
release version 2.0.41
2021-03-04 00:51:35 +03:00
Alexander Makarov
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
Robert Korulczyk
fe8a0a6a2e
Enable no_useless_else rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
2017-06-02 10:45:20 +02:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
Alexander Makarov
c584acd296
Reverted accidental change
2016-07-29 00:57:10 +03:00
Alexander Makarov
edc62172fa
Fixes #12037 : Fixed 2.0.7 regression in memcahe/memcached cache backend
2016-07-28 23:35:31 +03:00
Evgeniy Tkachenko
d804950d09
Update phpDoc BaseMailer::compose()
2016-02-20 18:44:29 +03:00
Alexander Makarov
5c4e2d4372
Removed unnecessary parentheses
2016-02-16 14:08:43 +03:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Carsten Brandt
05cc9ae405
improved HTML to Text fallback in BaseMailer
...
fixes #6748
2015-01-10 15:07:12 +01:00
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
Qiang Xue
a2a6028253
Fixes #3992
...
Fixes #4147
2014-07-01 14:45:44 -04:00
Carsten Brandt
bc00449c5f
removed wrong use statement for MailEvent
2014-06-25 23:12:11 +02:00
armab
313139968e
Update BaseMailer.php
2014-05-02 18:34:13 +03:00
armab
cdadc01ba2
Update BaseMailer.php
2014-05-02 17:33:25 +03:00
armab
a324b26c7f
BaseMailer: strip <style> content from TextBody fix
...
If ```$htmlLayout``` contains <style> tags with CSS rules,
strip_tags here: https://github.com/yiisoft/yii2/blob/master/framework/mail/BaseMailer.php#L189
won't clean those CSS rules.
Actual html:
```html
<html>
<head>
<style>
.text-secondary {color: #93959A;}
[...]
[Other CSS rules]
[...]
</style>
</head>
<body>
<div>Some content</div>
</body>
</html>
```
Will look this way in TEXT version of Email:
```
.text-secondary {color: #93959A;}
[...]
[Other CSS rules]
[...]
Some content
```
--------------
If TEXT version of Email differs drastically from visible content of HTML version,
it can be result that some penalty points will apply to such mails:
http://wiki.apache.org/spamassassin/Rules/MPART_ALT_DIFF_COUNT
Since it's default behaviour for both yii2-app-advanced and yii2-app-basic (where stripped from tags html used for TextBody),
I believe people will stumble in this for sure, without even knowing that their emails can be penalized.
You can reproduce it by placing CSS styles in email view or layout
and test it here: http://www.mail-tester.com/ (SpamAssassin section).
2014-05-02 17:01:03 +03:00
Carsten Brandt
3437c571a1
phpdoc controller did not find some setters
...
fixes #3255
2014-04-26 13:03:08 +02:00
Carsten Brandt
3fdcf11f24
updated phpdoc
2014-04-09 18:51:45 +02:00
Qiang Xue
92bd71cd84
Fixes #2912 : Relative view files will be looked for under the directory containing the view currently being rendered
2014-03-28 21:54:32 -04:00
Carsten Brandt
ccd16e184f
added mailer to the message when using compose
...
more expected behavior when chaining methods using
Mailser::compose()
fixes #2723
2014-03-25 15:05:34 +01:00
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Carsten Brandt
e2aacad8aa
Added links to PHP.net to apidoc
2014-03-07 19:41:43 +01:00
AlexGx
eaaa5b1bb5
fix code style
2014-03-04 06:12:30 +02:00
Qiang Xue
4e6aa21198
The directory holding email templates is renamed from mails to mail
2014-02-12 15:01:01 -05:00
Alexander Makarov
c9eca1d596
Fixed refactoring
2014-01-25 13:35:27 +04:00
Qiang Xue
0dfc8b1f7c
refactored BaseMailer about message file name generation.
2014-01-24 11:48:20 -05:00
Alexander Makarov
349f2c9e32
phpdoc fixes, unused variable
2014-01-12 23:40:21 +04:00
Qiang Xue
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00