Commit Graph

7316 Commits

Author SHA1 Message Date
Agrumas
f5e5ffa3b1 Merge branch 'master' of https://github.com/yiisoft/yii2 2014-05-04 19:25:34 +03:00
Alexander Makarov
4e5079abd8 Fix #3327: "Unable to find debug data" when logging objects with circular references 2014-05-04 20:02:06 +04:00
Alexander Makarov
0b7f649148 Fixed setting defaults in User model of advanced app, see bb145f5067 2014-05-04 19:42:35 +04:00
Alexander Makarov
18e441959f Merge pull request #3343 from Aoseala/patch-1
[ci skip] Fixes example code symbol errors
2014-05-04 19:14:55 +04:00
Aoseala
f9370204d8 Fixes example code symbol errors 2014-05-04 23:11:10 +08:00
Alexander Makarov
94d4dd2491 Merge branch 'origin/master' 2014-05-04 18:16:52 +04:00
Alexander Makarov
150eb6b855 Fixes #2018: Adjusted changelog 2014-05-04 18:16:14 +04:00
Alexander Makarov
e6cd179da1 Merge branch 'johonunu-2018-fix-gii-crud' 2014-05-04 18:02:09 +04:00
Alexander Makarov
82dcbfffa1 Merge branch '2018-fix-gii-crud' of github.com:johonunu/yii2 into johonunu-2018-fix-gii-crud 2014-05-04 18:01:48 +04:00
Carsten Brandt
e005017ab2 typo 2014-05-04 16:01:28 +02:00
Carsten Brandt
f4cbb1ce93 note about advanced app custom aliaes
fixes #3342
2014-05-04 16:00:50 +02:00
Alexander Makarov
44ab042fa9 Merge pull request #3339 from creocoder/advanced-app-init-typo-fix
Advanced app `init` usage example typo fix
2014-05-04 14:03:40 +04:00
Alexander Kochetov
c19035a874 Advanced app init usage example typo fix 2014-05-04 10:44:02 +04:00
Carsten Brandt
39a2e1efd7 adjusted guide renderer to new guide structure 2014-05-04 07:04:43 +02:00
Qiang Xue
bfaa5f3101 anchor. [skip ci] 2014-05-03 23:45:28 -04:00
Qiang Xue
f97eece921 minor touchup [skip ci] 2014-05-03 23:44:53 -04:00
Qiang Xue
e8228600bd Finished autoloading chapter [skip ci] 2014-05-03 23:16:55 -04:00
Qiang Xue
29973c57f5 added anchors to guide. [skip ci] 2014-05-03 20:50:23 -04:00
Qiang Xue
80564a9a69 fixed wrong file name. 2014-05-03 15:15:29 -04:00
Qiang Xue
56c46f6221 renamed basic concept chapter names. 2014-05-03 09:10:32 -04:00
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