Commit Graph

7547 Commits

Author SHA1 Message Date
Qiang Xue
e645b8372b Finished alias guide. 2014-05-03 09:04:46 -04:00
Qiang Xue
035dd58637 Merge pull request #3334 from deerawan/master
Update broken links in db-active-record.md
2014-05-03 07:50:04 -04:00
Budi Irawan
1a68d02557 Update broken links in db-active-record.md
- update link to query builder guide
- update link to model guide
- update link to behaviors guide
- update link to database basic guide
2014-05-03 10:29:41 +07:00
Qiang Xue
48b53da854 minor doc fix [skip ci] 2014-05-02 16:46:01 -04:00
Qiang Xue
e614a8fa3a Finished components guide. [skip ci] 2014-05-02 16:43:12 -04:00
Qiang Xue
800ff8ef96 Merge branch 'master' of git://github.com/yiisoft/yii2 2014-05-02 15:35:49 -04:00
Qiang Xue
041e163bce Added environment constants description. [skip ci] 2014-05-02 15:35:24 -04:00
Qiang Xue
3cbc8df0bb Merge pull request #3331 from robregonm/patch-1
Fixed typo in tutorial-template-engines.md
2014-05-02 14:15:11 -04:00
Ricardo Obregón
0cd2707dff Fixed typo in tutorial-template-engines.md 2014-05-02 13:10:47 -05:00
Qiang Xue
3e09adbe97 guide toc udpate [skip ci] 2014-05-02 13:31:33 -04:00
Qiang Xue
7450c0d9d4 changelog update. [skip ci] 2014-05-02 13:03:35 -04:00
Qiang Xue
802bda92f5 Merge branch 'master' of git://github.com/yiisoft/yii2 2014-05-02 13:01:18 -04:00
Qiang Xue
38098b20fc reorganized guide toc [skip ci] 2014-05-02 13:01:10 -04:00
Qiang Xue
9662fdde6e Merge pull request #3328 from armab/patch-1
BaseMailer: strip <style> content from TextBody fix
2014-05-02 12:50:10 -04: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
Alexander Makarov
d43f1c1b3c Update git-workflow.md 2014-05-02 15:55:59 +04:00
Alexander Makarov
a4c644d3a3 Fixes #3325: fixed generated markup for conditional comments
No changelog line since feature was introduced after beta
2014-05-02 15:29:26 +04:00
Alexander Makarov
009238156e Fixed slashed to match guide 2014-05-02 14:47:19 +04:00
Alexander Makarov
7f74e95320 Merge pull request #3322 from vova07/rbac-docs-fix
[skip ci] Сheck if user is authenticated in RBAC UserGroupRule.
2014-05-02 12:30:35 +04:00
vova07
2098c6243f Сheck if user is authenticated in RBAC UserGroupRule. 2014-05-02 11:11:36 +03:00
Qiang Xue
0880656be3 Fixes #3311. 2014-05-01 22:19:48 -04:00
Qiang Xue
9cdfb35fa3 Fixes #3312. 2014-05-01 22:16:40 -04:00
Qiang Xue
ad31cf6fd2 Finished configuration chapter. 2014-05-01 22:08:16 -04:00
Alexander Makarov
dacd11eaef Merge pull request #3318 from netyum/patch-1
[ci skip] Update document for BaseYii::setAlias method.
2014-05-02 01:52:54 +04:00
Yeung Song
9dcdbd5e30 update document for BaseYii::setAlias method.
update
2014-05-02 05:42:30 +08:00
Qiang Xue
b48cc01510 minor doc update. [skip ci] 2014-05-01 12:33:40 -04:00
Carsten Brandt
5d002f0889 typos
[ci skip]
2014-05-01 15:09:02 +02:00
Alexander Makarov
a5bf2834ad Fixes #3315: added new PHP features reading list to upgrading from 1.1 guide 2014-05-01 16:28:10 +04:00
johonunu
c63edd3181 Reformating code. Removed \t signs, using spaces. Edited Changelog. 2014-05-01 10:08:11 +02:00
Qiang Xue
ab7c5440ec typo [skip ci] 2014-04-30 21:48:39 -04:00
Qiang Xue
aa5ee3f943 updated outdated read me. 2014-04-30 21:48:02 -04:00
Qiang Xue
48c7e328c9 Finished behavior guide [skip ci] 2014-04-30 21:21:53 -04:00
johonunu
6f9aee90ea Search model not required anymore in crud generator 2014-05-01 00:15:36 +02:00
Carsten Brandt
2e892c42e4 added docs about build automation tool
fixes #2852
2014-04-30 23:44:56 +02:00
Carsten Brandt
d239029df9 removed obsolete internal docs 2014-04-30 23:36:13 +02:00
Carsten Brandt
6c4046da49 defer loading of search index in api doc
fixes #3289
2014-04-30 23:18:36 +02:00
Carsten Brandt
cb8100d76f improved apidoc property detection
do not allow empty property name
fixes #3297
2014-04-30 22:04:22 +02:00
Qiang Xue
353cf8919a Merge pull request #3304 from Ragazzo/migration_command_docs_added
migration docs adjusted
2014-04-30 09:42:51 -04:00
Mark
bf28d8290b note in migration docs about additional custom options 2014-04-30 17:29:27 +04:00
Qiang Xue
5b6e79dc14 Fixes #3298: Supported configuring View::theme using a class name 2014-04-30 08:36:28 -04:00
Carsten Brandt
f1742e5b7b typo 2014-04-30 14:01:00 +02:00
Carsten Brandt
c144d8b7ba added docs about array attributes to the guide
fixes #3302
2014-04-30 13:53:05 +02:00
Alexander Makarov
6bad24365b Fixed arguments order in RBAC guide 2014-04-30 14:09:58 +04:00
Alexander Makarov
1530cdb5a7 Changed suggested naming for guide translations to use - 2014-04-30 14:00:56 +04:00
Alexander Makarov
cda44475d9 Fixed wording in upgrade guide 2014-04-30 03:55:50 +04:00
Alexander Makarov
9c9ff87182 Added docs about translation command 2014-04-30 03:55:38 +04:00
Alexander Makarov
3b29001ef5 #2677: added 1.1 port of translations command 2014-04-30 03:29:42 +04:00
Qiang Xue
7d31cba3a8 Finished event guide. [skip ci] 2014-04-29 19:03:06 -04:00