Commit Graph

15391 Commits

Author SHA1 Message Date
Angel Guevara
b49488b1f7 Enh new property skipUpdateOnClean for AttributeBehavior (#11302)
Fixes #11002: `AttributeBehavior::$skipUpdateOnClean` which determines whether to skip a behavior when the behavior owner has not been modified
2016-04-09 15:38:41 +03:00
Ivaylo Ushev
5921865459 Fixed: #11270 - Error when link record in one to many relation. (#11301)
Fixed: #11270 - Error when link record in one to many relation.
2016-04-08 10:36:38 +03:00
Arzamastsev Mikhail
59ed5e18d6 ErrorHandler HttpException message translation (#11303) 2016-04-07 19:26:25 +03:00
micro-maureen
b07c51dcb9 Update input-forms.md (#11304)
Fixed typo, made spelling of "drop-down" consistent with other documentation. Removed `use yii\helpers\ArrayHelper` from code example as ArrayHelper is no longer used in example.
2016-04-07 18:52:57 +03:00
SilverFire - Dmitry Naumenko
3b32359fa9 Updated ActiveRecordTestTrait to ensure nested relations work as expected 2016-04-07 14:50:09 +03:00
Dmitry Naumenko
12afe057de Merge pull request #11300 from mikk150/fix-11299
#11299 BaseInflector::singluarise singularises string Netherlands wrongly
2016-04-07 12:04:17 +03:00
Mikk Tendermann
2f9395bbd6 fix #11299 2016-04-07 10:52:43 +03:00
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
SilverFire - Dmitry Naumenko
8e856bbb5a Merge branch 'dizeee-7627-fix-ajax-validation' 2016-04-06 23:08:38 +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
8e50598515 Merge branch 'migrate-fields-refactoring'
Conflicts:
	framework/console/controllers/MigrateController.php
2016-04-06 16:30:13 +03:00
Klimov Paul
de3c7d9d27 Fix MigrateController 2016-04-06 16:28:13 +03:00
Paul Klimov
e2cdaa40a2 MigrateController refactored avoiding internal state changing 2016-04-06 16:18:12 +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
9b00e791ae Added note about not using yii\caching\Cache::exists() along with dependencies to data caching guide 2016-04-06 12:33:46 +03:00
Alexander Makarov
81b18e1538 Fixed variable name 2016-04-06 10:59:17 +03:00
Alexander Makarov
371440d59a More Security component enhancements
- Removed PHP version checks since both are met by default because Yii requires 5.4.0+.
- Limit PHP fread buffer in order to prevent entropy wasting.
- Fixed incorrect bytes to read calculation.
- Added more notes explaining decisions.
2016-04-06 03:35:52 +03:00
Tom Worster
c455a3c54b Security component enhancements
- Added tests for random key generation speed.
- Better generateRandomKey() performance for small reads because of using fopen + buffered read and local caching of source detection.
- Use /dev/random on FreeBSD.
2016-04-06 01:49:07 +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
Dmitry Naumenko
f5c4407993 Merge pull request #11277 from arisk/patch-7
Fixed Wording
2016-04-05 13:14:12 +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
SilverFire - Dmitry Naumenko
499ee6de9e Added CH test sentence to InflectorTest 2016-03-31 11:53:51 +03:00
Dmitry Naumenko
b9a5b76b5a Merge pull request #11235 from pana1990/fix-changelog
Fix changelog [skip ci]
2016-03-30 18:17:21 +03:00
Daniel Gomez Pan
5c38b93691 Fix changelog [skip ci] 2016-03-30 16:53:41 +02:00
Alexander Makarov
ebe4b8c634 Merge pull request #11233 from DMGPage/patch-1
Fix LV translation in compare validator [skip ci]
2016-03-30 14:04:42 +03:00
Dmitrijs Goroščuks
cd47752e77 Fix LV translation in compare validator 2016-03-30 12:33:55 +03:00
Dmitry Naumenko
c3bb3c40f0 Merge pull request #11227 from Faryshta/patch-6
[doc] link to unexistant class
2016-03-30 10:56:50 +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
Dmitry Naumenko
91bc1b518c Merge pull request #11225 from githubjeka/bool-validaor
update BooleanValidator
2016-03-29 19:26:36 +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
Alexander Makarov
f71eed7275 Merge pull request #11222 from yiijan/docs-ja-0329
docs/guide-ja updated [ci skip]
2016-03-29 16:18:16 +03:00
Nobuo Kihara
3085ec9962 docs/guide-ja updated [ci skip] 2016-03-29 22:06:05 +09:00
Carsten Brandt
a46015124c improved docs for Html::a() and absolute URLs
fixes #11216
2016-03-28 16:33:30 +02:00
Carsten Brandt
943f59cfd7 fixed links in CONTRIBUTING.md
fixes #11214
2016-03-28 16:14:59 +02:00