Commit Graph

3175 Commits

Author SHA1 Message Date
Alexander Makarov
d1cf0527ce Fixes #645: CDbConnection now throws CDbException when failed to open DB connection instead of failing with a warning 2013-01-08 02:12:58 +04:00
Alexander Makarov
f4534cb476 added changelog, fixed code formatting and docs 2013-01-08 01:42:50 +04:00
Alexander Makarov
20c5342e42 Merge branch 'CPasswordManager' of git://github.com/tom--/yii into tom---CPasswordManager 2013-01-08 01:26:57 +04:00
Alexander Makarov
ece7f7d277 Merge branch 'cwidget-issue-150' of git://github.com/antonCPU/yii into antonCPU-cwidget-issue-150 2013-01-08 01:08:17 +04:00
Alexander Makarov
6e5ba54082 Fixes #1847: Added COutputCache::varyByLanguage to generate separate cache for different laguages 2013-01-08 01:04:36 +04:00
Alexander Makarov
2a23f47f91 Merge branch 'varyByLanguage' of git://github.com/Obramko/yii into Obramko-varyByLanguage 2013-01-08 01:01:03 +04:00
Alexander Makarov
be34d29ed5 modified search() description, applied changes to cli generator 2013-01-08 00:46:16 +04:00
Alexander Makarov
0e2d037e1f Merge branch 'patch-1' of git://github.com/hijarian/yii into hijarian-patch-1 2013-01-08 00:36:54 +04:00
gsoro
c7feb41493 Fix issue #1896 2013-01-07 19:43:43 +01:00
Maurizio Domba
4523fe3ac2 Merge pull request #1926 from francistm/issue-1920
fix Issue 1920
[ci skip]
2013-01-06 09:56:15 -08:00
Vasileios Lourdas
5e13635c62 Greek: Fixed a typo regarding size units. 2013-01-06 17:53:26 +02:00
francis
13c62c1cce correct mistake of comment, fix #1920 2013-01-06 22:25:12 +08:00
antoncpu
09bbf001fd fixed init in case of disabled pagination 2013-01-02 22:03:35 +02:00
antoncpu
ae608d46b6 Merge branch 'master' of git://github.com/yiisoft/yii into cwidget-issue-150 2013-01-02 20:00:32 +02:00
Qiang Xue
8afee6565d prepare for next release 2012-12-30 13:50:04 -05:00
Qiang Xue
e9e4a0d5be Prepare for 1.1.13 release. 2012-12-30 13:45:45 -05:00
Qiang Xue
d505aadfdb Fixed CTestCase for PHPUnit 3.7.10.
Fixed errors in generating guide PDFs.
2012-12-27 22:27:32 -05:00
Saphronov Mark
dd8aa5ed93 Improved understandability of the model template
I propose the following improvements in the default Gii template for model:

1. Auxiliary appendixes which are `model` and `getDbConnection` should be in very bottom of the model class and not in the very top, because on top of class definition should reside the most important features, which here undoubtedly are `tableName`, `rules` and `relations`.
2. Docblock for `search` method includes the explanations about it, because it's not immediately clear for a newcomer why this method exists and how it should be used.

By the way, this `search` method is a clear violation of single responsibility principle anyway, because it forces a model to search for set of other models of the same class, and ActiveRecord is not about it.
2012-12-26 16:20:51 +04:00
Vasileios Lourdas
2f7978a179 Minor typo. 2012-12-25 00:02:41 +02:00
Vasileios Lourdas
473e38ec6a Greek language strings update. 2012-12-24 23:57:47 +02:00
resurtm
3f3f520917 Added NULL check into CHtml::value(), $attribute. 2012-12-23 14:12:49 +06:00
Maurizio Domba
97b7f950fd Merge pull request #1880 from softark/docs-ja
messages/ja/yii.php updated
[ci skip]
2012-12-22 08:37:12 -08:00
Maurizio Domba
6f7e143e0f Merge pull request #1881 from Yasen/master
Filled out missing Bulgarian yii core translation messages.
[ci skip]
2012-12-22 08:36:07 -08:00
Yasen Petrov
2f15103752 Filled out missing Bulgarian yii core translation messages. 2012-12-22 16:56:46 +02:00
softark
d0870bcbca messages/ja/yii.php updated 2012-12-22 23:20:54 +09:00
resurtm
694dcb885c Second parameter of the CHtml::value() doesn't support functions created by "create_function" anymore. 2012-12-21 21:19:26 +06:00
resurtm
fd5672978e Fixes CHtml::value() bug. 2012-12-21 17:04:09 +06:00
resurtm
d900fa4144 Additional PHPDoc for #1872. 2012-12-20 19:46:19 +06:00
resurtm
575d25ed7d Changed exception string. 2012-12-20 18:50:14 +06:00
resurtm
9f1a34c35a Changelog line changed, exception throwing removed from CAssetManager::init(). 2012-12-20 18:02:21 +06:00
resurtm
9248d669a4 Fixes #1853. CAssetManager: $forceCopy and $linkAssets cannot be true at the same time anymore. 2012-12-20 17:53:26 +06:00
resurtm
fd9fb10904 Reverted PHPDoc typenames and added extra space for better readability. 2012-12-19 20:41:33 +06:00
resurtm
a6d98dc7ed #1861: PHP 5.2 testing issues and forgot about create_function. 2012-12-19 20:12:42 +06:00
resurtm
321e812e24 Fixes #1861. CHtml::value() didn't worked properly with array-typed $model parameter and integer-typed $attribute parameter. 2012-12-19 19:37:39 +06:00
Maurizio Domba
34052364b9 Merge pull request #1865 from lliehu/proofread-fi-tl
Proofread Finnish translation
[ci skip]
2012-12-17 11:25:38 -08:00
Alexander Makarov
914b9ce8d8 Added @method phpdoc for magic CAction::run 2012-12-17 01:43:01 +04:00
slavcopost
c25dd2645e typo fix in CBaseUserIdentity 2012-12-16 16:39:20 +02:00
slavcopost
9724dd5f35 typo fix in CBaseUserIdentity 2012-12-16 15:48:20 +02:00
Lasse Liehu
b6c6b0f8ce Proofread Finnish translation 2012-12-14 08:37:41 +02:00
Vadym Abramchuk
37b7132ff8 Fixed code style 2012-12-12 14:41:13 +02:00
Vadym Abramchuk
6429cb471a Vary COutputCache by language 2012-12-12 13:50:52 +02:00
Leo R. Lundgren
459895b4d0 Fix #1839: Make whitespace coherent in phpdoc for CAccessControlFilter. 2012-12-11 00:43:13 +01:00
Leo R. Lundgren
60094db9d2 Fix #1839: Add more whitespace to phpdoc for CAccessControlFilter. 2012-12-11 00:08:02 +01:00
Alexander Makarov
ba319d98c6 Merge pull request #1832 from resurtm/1821-imagick-captcha
Fixes #1821: ImageMagick checking code now takes into account supported image files.
2012-12-10 04:23:06 -08:00
andredelorme
74d6ecc67c Update framework/messages/pt_br/yii.php
Minor translation error.
2012-12-09 13:17:24 -02:00
resurtm
c089442867 ImageMagick checking code now takes into account supported image files. 2012-12-09 20:11:36 +06:00
Gustavo Salomé Silva
ec544eb8cc Fixed documentation error in CAccessControlFilter 2012-12-07 15:19:48 -02:00
apychan
1fcfc0cfbf Update framework/messages/zh_tw/yii.php
Better translation
2012-12-07 23:39:32 +08:00
François Gannaz
e45af0fba0 Issue 1792: clear CWebUser access cache on logout
Closes issue #1792 "Control Access still persists after logout".

CWebUser::checkAccess() uses an internal cache that wasn't emptied on
logout. This created wrong access permissions when 2 identities were
used in a single application run.
2012-12-06 13:50:21 +01:00
resurtm
b16561bd05 Kazakh messages updated. 2012-12-06 14:07:07 +06:00