7419 Commits

Author SHA1 Message Date
7b2df5554c Fixes #14072: Fixed a bug where \yii\db\Command::createTable(), addForeignKey(), dropForeignKey(), addCommentOnColumn(), and dropCommentFromColumn() weren't refreshing the table cache on yii\db\Schema 2017-05-02 18:26:02 +02:00
7a2737105b Updated PHPdoc 2017-05-01 15:59:37 +03:00
2d0e3fb9ef Fixed Oracle SQL queries with IN condition and more than 1000 parameters 2017-05-01 15:59:37 +03:00
533da6240e Update phpdoc, \yii\db\ActiveRecord => \yii\db\ActiveRecordInterface [skip ci] (#14076) 2017-04-30 21:14:58 +02:00
78446e9ed4 Fixes #13086, Fixes #13656: Fixed bug with optional parameters at the beginning of pattern in yii\web\UrlRule 2017-04-28 22:42:05 +02:00
33140546cc Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes 2017-04-28 06:38:44 -07:00
f14d4c767f fixed missing changelog and missing @since 2017-04-28 10:49:07 +02:00
be3f3e0bb1 Merge branch 'master' into schema-cache-fixes 2017-04-27 13:53:05 -07:00
2d28b585a0 Merge branch 'master' into 13614-add-a-failing-test-for-url-rule 2017-04-27 22:07:55 +02:00
6c03216aab Reordered CHANGELOG 2017-04-27 23:02:53 +03:00
e8e48e4820 Fixed CHANGELOG 2017-04-27 23:02:34 +03:00
fce20a3020 Renamed ActiveForm::registerJs() to registerClientScript(), added tests 2017-04-27 22:27:59 +03:00
a480d70875 More control over ActiveForm widget
If part of a form is rendered separately (e.g. in ajax request), it's not easy to apply JS validation to it.
By moving JS registration to a separate method this problem could be solved much more easier.
2017-04-27 22:27:59 +03:00
4a17032717 Fix validators documentation 2017-04-27 21:50:51 +03:00
96dae1cebc file will not loaded
https://github.com/yiisoft/yii2/tree/master/framework/test
2017-04-27 20:51:56 +03:00
60fac269cb Reorder changelog 2017-04-27 10:37:23 -07:00
15acf45ab2 Merge branch 'master' of https://github.com/yiisoft/yii2 into schema-cache-fixes 2017-04-27 10:35:30 -07:00
e242e9b0ee Fixes #14072: clear table schema cache for all methods that affect cache 2017-04-27 10:34:08 -07:00
da6eada8c8 Fix an invalid phpDocumentor annotation
Fixed an invalid phpDocumentor annotation of `yii\data\DataProviderInterface::getPagination()`.
2017-04-27 17:46:46 +03:00
94eda9bd52 Add phpdoc. [skip ci] 2017-04-26 20:24:07 +02:00
d7fad8a555 Fixes #14059: Removed unused AR instantiating for calling of static methods 2017-04-26 16:09:55 +03:00
375ea7a847 Fixes #13951: renamed get-method which was conflicting with existing property (#14055) 2017-04-26 13:32:58 +03:00
705dae9964 Fixes #14052: Fixed processing parse errors on PHP 7 since these are instances of \ParseError 2017-04-26 12:56:54 +03:00
a3a123077f Fixes #13790: Fixed error in \yii\widgets\MaskedInput JavaScript by raising version required 2017-04-26 12:52:49 +03:00
c1fbd52c52 Adjusted changelog [skip ci] 2017-04-26 12:09:37 +03:00
100213d9b2 Removed redundant else 2017-04-26 12:02:17 +03:00
1e65fc29ed Fixes #14033: Fixed yii\filters\AccessRule::matchIp() erroring in case IP is not defined under HHVM 2017-04-26 11:53:42 +03:00
6792099bcc Fixes #13689: Fixed handling of errors in closures 2017-04-26 03:34:25 +03:00
db0e7a6c8f Fixes #13848: yii\di\Instance::ensure() wasn't throwing an exception when $type is specified and $reference object isn't instance of $type 2017-04-26 03:28:05 +03:00
70cd75c84e Fixes #13226: yii cache command now warns about the fact that it's not able to flush APC cache from console 2017-04-26 03:19:49 +03:00
3a8f702759 Adjusted code style for less conditions branching 2017-04-26 03:16:12 +03:00
70dc2fa33b Fixes #11719: Fixed yii\db\Connection::$enableQueryCache caused infinite loop when the same connection was used for yii\caching\DbCache 2017-04-26 03:15:14 +03:00
385eb88048 Added yii\data\Sort::parseSortParams
allowing customize other params request formats in descendant class.

close #13170
2017-04-26 01:42:45 +02:00
3598f8180c Fixes #13087: Fixed getting active validators for safe attribute 2017-04-26 02:29:10 +03:00
339c7663eb Fixes #10346: Fixed "DOMException: Invalid Character Error" in yii\web\XmlResponseFormatter::buildXml() 2017-04-26 02:06:36 +03:00
4af62a6bd7 improve session PHPdoc 2017-04-25 23:02:19 +02:00
98871123c9 Fixed ignored params when using count in SqlDataProvider 2017-04-25 10:54:18 +02:00
6ce6385094 Updated slovak localization
Fixed missing translation for '{attribute} must be an integer.' string
2017-04-25 09:45:29 +02:00
bda091bbb2 yii\filters\RateLimiter refactored (#13994)
Refactored yii\filters\RateLimiter and added tests
2017-04-24 22:20:46 +03:00
eed00dc33d Fixed PHP manual link language [skip ci] 2017-04-24 11:26:32 +03:00
38488ca55b Fixes #13694: yii\widgets\Pjax now sends X-Pjax-Url header with response to fix redirect 2017-04-24 11:24:52 +03:00
28d8fa66fc Fixes #14012: yii\db\pgsql\Schema::findViewNames() was skipping materialized views 2017-04-21 02:23:51 +03:00
079c5a41f7 Fixes #13362: Fixed return value of 2017-04-20 21:46:11 +03:00
d077839d13 Changed return value in MemCache::setValues() 2017-04-20 21:42:55 +03:00
d0ce165ba6 Fixes #13728: Fixed the bug when yii\behaviors\SluggableBehavior wasn't preserving immutable slug values 2017-04-20 21:30:04 +03:00
224201950d Fixes #13911: Significantly enhanced MSSQL schema reading performance 2017-04-19 13:05:46 +03:00
0cf236ec66 Fixes #13963: Added tests for yii\behaviors\TimestampBehavior 2017-04-19 12:38:47 +03:00
c35ddec09a Update composer fxp plugin version in docs and travis scripts 2017-04-19 02:55:31 +03:00
02ffbb28ec update AR docs 2017-04-18 23:35:16 +02:00
620ce9af19 Enhanced requirements memo for IPv6 2017-04-18 19:15:16 +03:00