Commit Graph

5761 Commits

Author SHA1 Message Date
Daniel Gomez Pan
b647bac451 Schema is never used 2015-09-24 12:44:20 +02:00
Alexander Makarov
13a2b70a65 Fixes #9758: phpdoc correction 2015-09-24 00:48:31 +03:00
Boudewijn Vahrmeijer
dd818e17df Fixes #9754: Fixed \yii\web\Request error when path info is empty 2015-09-23 15:06:23 +03:00
trbsi
56400add97 Added Croatian language
close #9739
2015-09-21 15:03:58 +02:00
Carsten Brandt
4e7adc13ea adjusted docs about Query::from() and subqueries
also added a  test to verify behavior

close #9720
close #9266
2015-09-19 17:41:45 +02:00
namlier
cf2c722a1f update comments in \yii\base\Controller
I had problems with understanding of why AccessControll filter didn't work, as i wish, with PageCache. Then i remembered the quote "The validation rules are evaluated in the order they are listed." from guide http://www.yiiframework.com/doc-2.0/guide-input-validation.html#declaring-rules, but when i tried to redirect some certain user using beforeAction(), as you advised, it didn't work.

close #9717
2015-09-19 17:09:35 +02:00
Alexandr
ded75253ca Change 'de' to 'en' in comments of Formatter.php 2015-09-18 02:16:17 +07:00
Alexander Makarov
b53bbb34e9 Fixed typo 2015-09-16 17:38:02 +03:00
Alexander Makarov
2506bc2b1f Merge pull request #9674 from lichunqiang/translate-for-zh-TW
Update the yii.php for zh-TW translation [skip ci]
2015-09-14 02:12:35 +03:00
Alexander Makarov
97f2fca72f Fixes #9678: I18N::format() wasn't able to handle named placeholder in "selectordinal" 2015-09-14 00:42:33 +03:00
lichunqiang
a31f77abca Update the yii.php for zh-TW translation 2015-09-13 10:49:00 +08:00
Alexander Makarov
d43ebdd773 Merge pull request #9655 from arogachev/9635-action-column-add-header-class
Closed #9635: Added default CSS class for ActionColumn header
2015-09-10 15:22:14 +03:00
Alexander Makarov
776f029845 Clarified that IDs in AccessRule::$controllers should be prefixed with module ID 2015-09-10 15:03:20 +03:00
Alexey Rogachev
ad69fb9c7e Closed #9635: Added default CSS class for \yii\grid\ActionColumn header 2015-09-10 18:01:30 +06:00
Boudewijn Vahrmeijer
b4da7b570c Better fix for #9288 2015-09-08 15:25:56 +03:00
Alexander Makarov
2595d10eb9 Merge pull request #9630 from dynasource/i18n-hour-nl-bug
Dutch I18n fixes [skip ci]
2015-09-08 00:37:06 +03:00
Boudewijn Vahrmeijer
08ae0b7388 Update yii.php
another fix
2015-09-07 19:53:52 +02:00
Boudewijn Vahrmeijer
e2fc0cb3cf Update yii.php
dutch translation for multiple hours is incorrect
2015-09-07 19:49:47 +02:00
bpteam
703f374a85 Fixes #9596: Fixed \yii\web\UrlManager::createAbsoluteUrl(['site/index', '#' => 'testHash']) losing hash 2015-09-05 11:40:45 +03:00
Nikola Kovacs
4c0bcaf12e Fixes #8822, fixes #9298. Clientside validator docs enhancements. 2015-09-05 02:15:08 +03:00
Alexander Makarov
a0df32fd0e Fixes #9319: added ext-ctype to composer requirements 2015-09-05 02:12:22 +03:00
Alexander Makarov
3a207b7559 Fixes #9323: Fixed yii\console\controllers\MessageController not using database connection specified in config 2015-09-05 01:58:03 +03:00
Alexander Makarov
6b2748a0b3 Code formatting for #9288 2015-09-05 01:41:52 +03:00
Boudewijn Vahrmeijer
4d21c48bc4 Fixes #9288: Fixed FileHelper::createDirectory directory creation to be concurrency friendly 2015-09-05 01:39:27 +03:00
Hesam Khaki
5569eaae06 Fixes #9314: Fixed yii\rbac\DbManager::getPermissionsByUser() not returning permissions directly assigned to a user 2015-09-05 01:31:10 +03:00
Alexander Makarov
fbce0c0450 Fixes #9591: Fixed yii.validation.js code so it is compressable by YUICompressor 2015-09-05 00:29:33 +03:00
Carsten Brandt
1706a9ee4f updated DbMessageSource PHPdoc
fixes #9532
for deprecation see #9533
2015-08-28 15:36:29 +02:00
Alexander Makarov
71b728225b Fixes #9532: improved DbMessageSource::$cache phpdoc 2015-08-27 17:57:10 +03:00
Carsten Brandt
cd84f6c4c5 typo in DateValidator docs 2015-08-27 16:36:59 +02:00
Alexey Rogachev
760cc03194 Removed extra line break
Caused by #9440
2015-08-25 09:54:18 +06:00
Aleksandr Golovko
a2f70f6484 Update Query doc return type
When used ActiveQuery chain call after call any of join type IDE cannot resolve ActiveQuery methods such an asArray
Example:
SomeActiveRecordModel::find()
            ->select('...') // return ActiveQuery
            ->leftJoin('...', '...') // return Query
            ->asArray() // it's become undefined
            ->column();
2015-08-21 17:14:00 +03:00
AIZAWA, Hina
0f2a77ed36 Fixes #9442: Fixed yii\db\Migration::renameTable() caused fatal error when using SQLite driver 2015-08-18 11:52:48 +03:00
Alexey Rogachev
777c45a653 Removed yii\db\Schema from use section
Declaration of yii\db\Schema is not needed by default. Migration can be related with changing data or renaming column, so user should explicitly add it when it's needed.
2015-08-17 15:42:06 +06:00
Carsten Brandt
60af9d07fb proper fix and changelog for #9108
close #9437
fixes #9108
2015-08-16 23:16:29 +02:00
nxnx
b562b50658 fix #9108 ( Negative number results in no formatting when using asSize or asShortSize ) 2015-08-16 22:39:50 +02:00
Carsten Brandt
620ec4d132 added missing namespace on Exception in transaction docs
fixes #9429
2015-08-16 14:13:51 +02:00
Carsten Brandt
8fb1b56e34 Update CHANGELOG.md 2015-08-14 12:31:01 +02:00
Carsten Brandt
34d5b45b35 proper fix for #8844, convert array before using it
fixes #9415
2015-08-14 12:26:36 +02:00
Alexander Makarov
43918f2ef6 Fixes #9411: DetailView now automatically sets container tag ID in case it's not specified 2015-08-14 01:53:57 +03:00
RomeroMsk
6f0e635360 Change Russian translation for unique message 2015-08-13 16:56:38 +05:00
Toleugazy
4926148f96 correct typo in kazakh 2015-08-13 13:14:12 +06:00
Carsten Brandt
00a8a6270e revised docs about Model::load()
thanks to @tom-- for review.
2015-08-12 16:01:41 +02:00
Гонимар Сергей
5e4d2183e2 Georgian translation 2015-08-12 15:35:33 +03:00
Dmitry Kushnikov
19fdd4f96d Fix problem, that Application::getUser can return null 2015-08-12 11:36:13 +03:00
Taras Gudz
14fe0c3f80 Fixes #9382 2015-08-12 08:30:18 +03:00
Alexander Kochetov
223b0bea5d Fixes #9369: Yii::$app->user->can() now returns false instead of erroring in case authManager component is not configured 2015-08-11 11:16:21 +03:00
Klimov Paul
3f2f7111df BaseVarDumper::export() object to string fallback fixed 2015-08-09 20:51:38 +03:00
Klimov Paul
d9eb660df3 BaseVarDumper::export() object to string fallback fixed 2015-08-09 19:30:36 +03:00
Klimov Paul
16e1e8fe28 Fallback for objects at yii\helpers\VarDumper::export() advanced 2015-08-09 15:02:48 +03:00
Carsten Brandt
2ff5997b69 prepare for next release 2015-08-06 00:04:24 +02:00