Commit Graph

15402 Commits

Author SHA1 Message Date
Alexander Makarov
77996374a4 Fixes #10617: Fixed yii\web\Request::getBodyParams() returned null instead of empty array if request body is empty and content type is application/json 2016-04-12 02:32:00 +03:00
maine-mike
ad6047e09f Fixes #10480: Fixed removing old identity cookie when loggin in as another user without logging out first 2016-04-12 02:19:34 +03:00
kidol
ff55874457 Fixes #11132: Fixed yii\widgets\FragmentCache not handling empty content correctly in all cases 2016-04-12 02:03:27 +03:00
Alexander Makarov
7976aaeb59 Merge pull request #11285 from yiisoft/security-enhancements
Security enhancements
2016-04-12 02:02:18 +03:00
Alexander Makarov
6b00d3519c Added changelog 2016-04-12 02:01:41 +03:00
Angel Guevara
02329a4f65 [docs] pjax examples and explanations (#11316)
* [docs] pjax examples and explanations

* minor fixes

* other minor changes

* documentation for pjax and activeform

* style fix

* fix #2414 small change

* gramatic changes
2016-04-11 23:35:47 +03:00
Alexandr
0d81e351f0 Changed new instance creation style 2016-04-11 19:39:50 +03:00
Bizley
88d79f78eb Guide pl (#11321)
* caching fragment

* guide PL

Previous sections update
Tutorial: shared hosting
2016-04-10 21:09:46 +03:00
Nobuo Kihara
5d80efee5c updated docs/guide-ja [skip ci] (#11319) 2016-04-10 16:05:40 +03:00
SilverFire - Dmitry Naumenko
83fc2446cf Fixed CHANGELOG lines duplication 2016-04-09 20:48:33 +03:00
mdmunir
d437c4bd37 Add session migration 2016-04-09 20:45:59 +03:00
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