Dmitry V. Alexeev
f2d2393de6
DocBlock fix for \yii\mail\MessageInterface ( #15671 ) [skip ci]
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Alexander Makarov
1f26db9fb7
Applied code style fixes
7 years ago
Carsten Brandt
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Robert Korulczyk
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
8 years ago
Alexander Makarov
c584acd296
Reverted accidental change
8 years ago
Alexander Makarov
edc62172fa
Fixes #12037 : Fixed 2.0.7 regression in memcahe/memcached cache backend
8 years ago
Evgeniy Tkachenko
d804950d09
Update phpDoc BaseMailer::compose()
9 years ago
Evgeniy Tkachenko
8f26e93b20
Update phpDoc MailerInterface::compose()
9 years ago
Alexander Makarov
5c4e2d4372
Removed unnecessary parentheses
9 years ago
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
9 years ago
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
9 years ago
Carsten Brandt
05cc9ae405
improved HTML to Text fallback in BaseMailer
...
fixes #6748
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Qiang Xue
a2a6028253
Fixes #3992
...
Fixes #4147
10 years ago
Serge Postrash
eb60aaecdf
Update BaseMessage.php
...
See 0ff0f9d32e
https://github.com/yiisoft/yii2/issues/4071
10 years ago
Alexander Makarov
2457e24795
Fixes #4071 : `mail` component renamed to `mailer`, `yii\log\EmailTarget::$mail` renamed to `yii\log\EmailTarget::$mailer`
10 years ago
Carsten Brandt
bc00449c5f
removed wrong use statement for MailEvent
10 years ago
Carsten Brandt
775141ab96
move mail event class
...
fixes #3899
10 years ago
armab
313139968e
Update BaseMailer.php
11 years ago
armab
cdadc01ba2
Update BaseMailer.php
11 years ago
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).
11 years ago
Carsten Brandt
3437c571a1
phpdoc controller did not find some setters
...
fixes #3255
11 years ago
Carsten Brandt
3fdcf11f24
updated phpdoc
11 years ago
Carsten Brandt
c93231e26b
improved session error handling
...
fixes #1946
11 years ago
Qiang Xue
92bd71cd84
Fixes #2912 : Relative view files will be looked for under the directory containing the view currently being rendered
11 years ago
Carsten Brandt
ccd16e184f
added mailer to the message when using compose
...
more expected behavior when chaining methods using
Mailser::compose()
fixes #2723
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Carsten Brandt
e2aacad8aa
Added links to PHP.net to apidoc
11 years ago
AlexGx
eaaa5b1bb5
fix code style
11 years ago
Qiang Xue
4e6aa21198
The directory holding email templates is renamed from `mails` to `mail`
11 years ago
Alexander Makarov
c9eca1d596
Fixed refactoring
11 years ago
Qiang Xue
0dfc8b1f7c
refactored BaseMailer about message file name generation.
11 years ago
Alexander Makarov
349f2c9e32
phpdoc fixes, unused variable
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago