Commit Graph

6387 Commits

Author SHA1 Message Date
SilverFire - Dmitry Naumenko
e5bcbf4e1d Closes #11228: yii.activeForm.js - AJAX validation will not be triggered if client side validation failed 2016-04-06 23:53:52 +03:00
SilverFire - Dmitry Naumenko
36689a5239 fixed changelog markdown 2016-04-06 23:15:54 +03:00
Aleksei Vesnin
6745bdb65e Fixed yii\widgets\ActiveField to handle inputs AJAX validation with changed ID properly.
Tests for `yii\widgets\ActiveField` with custom input ID.
2016-04-06 23:08:23 +03:00
Klimov Paul
de3c7d9d27 Fix MigrateController 2016-04-06 16:28:13 +03:00
Klimov Paul
6e96d881fd Merge branch 'master' of github.com:yiisoft/yii2 into migrate-fields-refactoring 2016-04-06 16:03:05 +03:00
Angel Guevara
b923adf75c Enh: Support for useTablePrefix parameter in migrate command
Fixes #11166: migrate command new option `useTablePrefix`
2016-04-06 13:37:37 +03:00
Klimov Paul
a90ffecdb3 MigrateController refactored avoiding internal state changing 2016-04-06 13:37:03 +03:00
Alexander Makarov
48a2df5d52 Fixes #11283: ActiveRecord::unlink() is not setting FK to null before deleting itself anymore 2016-04-06 12:41:53 +03:00
Alexander Makarov
f312163258 Fixes #11220: NumberValidator now handles objects properly 2016-04-06 00:53:10 +03:00
Paul Klimov
b72524d490 Fixes #11280 migrate autogenerate breaks MongoDB migration
Fixes #11280: Descendants of `yii\console\controllers\BaseMigrateController`, like the one for MongoDB, unable to create new migration
2016-04-05 23:05:40 +03:00
Aris Karageorgos
6bffe761b1 Fixed Wording 2016-04-05 16:54:22 +07:00
Carsten Brandt
e05f55bd13 Update PgsqlMutex.php
fixed `@since` annotation.
2016-04-05 04:53:52 +02:00
Angel Guevara
49aec24ae1 Enh: Migrate command now supports foreign keys
Fixes #11207: migrate command can create foreign keys
2016-04-05 01:02:52 +03:00
Yaroslav Lukyanov
db1a96d876 Added tests for #8920, used 16bit integers to avoid out of range error 2016-04-05 00:57:52 +03:00
John Was
84f37705bf Fixes #8920: Added yii\mutex\PgsqlMutex which implements mutex "lock" mechanism via PgSQL locks 2016-04-05 00:56:38 +03:00
Misbahul D Munir
0e17d652dc Enhanced RBAC Rule assignment
* #11254 Enhanced RBAC Rule assignment

* Enhanced RBAC Rule assignment
2016-04-05 00:52:04 +03:00
Dmitry Naumenko
bfa7c7b13b Merge pull request #11262 from hiqsol/phar-compatibility
Enable use of yii2 inside of PHAR packaged console applications
2016-04-04 13:33:12 +03:00
Andrii Vasyliev
e8d30f0c51 enable use of yii2 inside of phar packaged console applications 2016-04-04 10:32:50 +00:00
Joel Waldock
20de74d343 Fix spelling in Controller.php 2016-04-04 06:21:33 +02:00
Robbert Jan van de Velde
d438c03dbc Bug #11223: Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0
* Bug #11223: Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0 (VirtualRJ)

* Added unit tests for #11223
2016-04-01 22:28:23 +03:00
Daniel Gomez Pan
5c38b93691 Fix changelog [skip ci] 2016-03-30 16:53:41 +02:00
Dmitrijs Goroščuks
cd47752e77 Fix LV translation in compare validator 2016-03-30 12:33:55 +03:00
Angel Guevara
0bd7bb961f [doc] link to unexistant class
`\yii\behaviors\Expression` to `\yii\db\Expression`
2016-03-29 20:29:26 -06:00
Alexander Makarov
cfbe50e96d Fixes #11026: Fixed StringHelper::truncateWords() to count words properly for non-English text 2016-03-30 00:26:56 +03:00
githubjeka
59fea15ee2 refactoring code 2016-03-29 18:33:00 +03:00
githubjeka
8e1ec62191 update BooleanValidator 2016-03-29 16:38:17 +03:00
Carsten Brandt
a46015124c improved docs for Html::a() and absolute URLs
fixes #11216
2016-03-28 16:33:30 +02:00
Carsten Brandt
79a4241fff fixed rest controller PHPdoc
fixes #11215
2016-03-28 16:00:16 +02:00
Nikola Kovacs
ff37be0fb8 add doc summary for getUniqueID
This way it won't be empty in the table of methods.
2016-03-28 15:06:13 +02:00
Evgeniy Tkachenko
4e59f92829 phpDoc updated 2016-03-28 10:24:53 +03:00
Carsten Brandt
608066b05f fixed ActiveForm tests for output buffering
related to  #8779, and 7dc984d359
2016-03-28 04:55:15 +02:00
Carsten Brandt
be3453fe1c improved HttpCache documentation 2016-03-28 04:15:11 +02:00
Daniel Gomez Pan
7dc984d359 Fixed #8779: Automatically set enctype form option when using file input field 2016-03-27 23:47:19 +03:00
Angel Guevara
3cbd64547a Additional phpdoc for #11187 2016-03-27 23:38:23 +03:00
particleflux
1dfab19b77 Fixes #11137: Added weak ETag support to yii\filters\HttpCache. It could be turned on via setting $weakEtag to true 2016-03-25 23:39:29 +03:00
Alexey
5e1e42839f Fixes #11188: Fixed wrong index usage in CaptchaAction when calling imagefilledrectangle 2016-03-25 23:28:23 +03:00
Damian Zajkowski
3fb85fb84e Fixing VarDumper for throwing PHP Fatal when dumping __PHP_Incomplete_Class. #11196 issue. 2016-03-25 15:54:15 +01:00
Alexander Makarov
706b98ee0f Changelog for #11187 2016-03-25 13:32:36 +03:00
Angel Guevara
2ccf9e46f8 documentation snippet 2016-03-24 18:13:25 -06:00
micro-maureen
e410562841 Update UrlRuleInterface.php
Fixed typo - missing word 'by'.
2016-03-24 12:42:38 +00:00
Carsten Brandt
e0e19aea64 fixed broken markdown in VerbFilter
fixes #11179
2016-03-23 18:16:08 +01:00
Evgeniy Tkachenko
aa0bf9a3c7 phpDoc: Added null to Controller::$layout 2016-03-23 16:37:42 +03:00
SilverFire - Dmitry Naumenko
7d263d2271 ArrayCache - updated PHPDoc 2016-03-23 09:31:27 +02:00
SilverFire - Dmitry Naumenko
2de79d7ee4 CHANGELOG reordered 2016-03-23 00:13:25 +02:00
SilverFire - Dmitry Naumenko
46a0f2ef50 Updated CHANGELOG 2016-03-23 00:08:07 +02:00
SilverFire - Dmitry Naumenko
9a73593908 yii\web\User - updated PHPDoc 2016-03-23 00:08:07 +02:00
Sam Mousa
c7436909f4 Added optional $checkHeader param to loginRequired for checking the Accept header; defaults to true.
Added changelog line.

Fixed DbSessionTest

Added version annotations.

Improvements to phpdoc and whitespace.
2016-03-23 00:08:01 +02:00
SilverFire - Dmitry Naumenko
3298ea6b31 Updated CHANGELOG 2016-03-22 23:48:05 +02:00
SilverFire - Dmitry Naumenko
5db2afbaeb Code style fixed, PHPDoc updated 2016-03-22 23:31:23 +02:00
mdmunir
67b5f4ea19 fix for unsafe validator
Closes #8145 #8139 #11153
2016-03-22 23:31:16 +02:00