Commit Graph

8965 Commits

Author SHA1 Message Date
Cyrillos Jonua
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
Alexander Makarov
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
Alexander Makarov
3a8f702759 Adjusted code style for less conditions branching 2017-04-26 03:16:12 +03:00
Michaël Arnauts
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
Leandro Guindani Gehlen
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
Paul Klimov
3598f8180c Fixes #13087: Fixed getting active validators for safe attribute 2017-04-26 02:29:10 +03:00
sasha-ch
339c7663eb Fixes #10346: Fixed "DOMException: Invalid Character Error" in yii\web\XmlResponseFormatter::buildXml() 2017-04-26 02:06:36 +03:00
Alexander Makarov
99a0289221 Applied disambiguation to ExistValidator as well 2017-04-26 01:52:57 +03:00
Carsten Brandt
4af62a6bd7 improve session PHPdoc 2017-04-25 23:02:19 +02:00
Alexander Makarov
cf7f358093 Removed obsolete import 2017-04-25 23:30:53 +03:00
Alexander Makarov
ae59116e17 Removed unneeded changelog line [skip ci] 2017-04-25 23:26:27 +03:00
Alexander Makarov
7db93fc33d Refactored solution to be contained within ActiveQuery instead of helper 2017-04-25 23:24:27 +03:00
vladis84
8474927a55 Fixed ambiguous error sql while using unique validator 2017-04-25 23:24:12 +03:00
Sam Mousa
98871123c9 Fixed ignored params when using count in SqlDataProvider 2017-04-25 10:54:18 +02:00
depesr
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
Alexander Makarov
eed00dc33d Fixed PHP manual link language [skip ci] 2017-04-24 11:26:32 +03:00
Alexander Makarov
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
Insolita
28d8fa66fc Fixes #14012: yii\db\pgsql\Schema::findViewNames() was skipping materialized views 2017-04-21 02:23:51 +03:00
Alexander Makarov
079c5a41f7 Fixes #13362: Fixed return value of 2017-04-20 21:46:11 +03:00
Masterklavi
d077839d13 Changed return value in MemCache::setValues() 2017-04-20 21:42:55 +03:00
Nikolay Oleynikov
d0ce165ba6 Fixes #13728: Fixed the bug when yii\behaviors\SluggableBehavior wasn't preserving immutable slug values 2017-04-20 21:30:04 +03:00
PaulZi
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
Alexander Makarov
c35ddec09a Update composer fxp plugin version in docs and travis scripts 2017-04-19 02:55:31 +03:00
Carsten Brandt
02ffbb28ec update AR docs 2017-04-18 23:35:16 +02:00
SilverFire - Dmitry Naumenko
620ce9af19 Enhanced requirements memo for IPv6 2017-04-18 19:15:16 +03:00
SilverFire - Dmitry Naumenko
14a245a413 Added AF_INET6 to requirements 2017-04-18 19:12:40 +03:00
Mikk Tendermann
59d3292399 [IpValidator] disable ipv6 checks (#13984)
* disable ipv6 checks

* remove empty line

* updated CHANGELOG.md
2017-04-18 19:06:31 +03:00
Joel Small
cd8b98bb92 Added note to findOne and findAll docs (#14002) [skip ci]
Added note to findOne and findAll docs to clearly state that complex conditions are not supported.
2017-04-18 14:39:55 +03:00
Sergey Makinen
454f0a9301 Fixes #13807: Fixed yii\db\QueryBuilder to inherit subquery params when building a INSERT INTO ... SELECT query 2017-04-17 03:31:43 +03:00
micro-maureen
8eabff0698 #13975: make documentation of current behaviour more clear [skip ci] 2017-04-16 00:55:35 +03:00
Carsten Brandt
0fdd5b81dd Revert "update phpdoc annotation in BaseActiveRecord"
This reverts commit 0f78008bc7.

https://github.com/yiisoft/yii2-gii/pull/267#issuecomment-293965278
2017-04-13 19:21:40 +02:00
Carsten Brandt
dbfe36521e added upgrade note about yii\cache\Cache::getOrSet() 2017-04-13 19:02:06 +02:00
Carsten Brandt
0f78008bc7 update phpdoc annotation in BaseActiveRecord
https://github.com/yiisoft/yii2-gii/pull/267#issuecomment-293958830
2017-04-13 18:56:11 +02:00
SilverFire - Dmitry Naumenko
b0b55472da yii\caching\Cache::getOrSet() now supports both Closure and callable
Closes #13981
2017-04-13 15:07:30 +03:00
Vladimir Guts
d2fb17f444 Fixes #13961: RBAC Rules: PostgreSQL: PHP Warning "unserialize() expects parameter 1 to be string, resource given" was fixed 2017-04-12 21:48:16 +03:00
Nikolay Oleynikov
e1b1622244 Fix \yii\db\QueryInterface type hints (#13959) [skip ci] 2017-04-11 18:20:41 +03:00
Nikolay Oleynikov
11761ac42a Fix \yii\db\QueryTrait type hints (#13956) [skip ci] 2017-04-11 15:51:32 +03:00
Carsten Brandt
ed9912591e updated docs for base64UrlEncode()
as discussed in
https://github.com/yiisoft/yii2/pull/13411#issuecomment-285695112
2017-04-11 09:25:33 +02:00
Skiptir Engu
e62ea0136c Fixed phpdoc broken links to PHP manual pages [skip ci] 2017-04-11 00:43:38 +03:00
Alexander Makarov
3a6a590eae Fixes #13945: Removed Courier New from error page fonts list since it looks bad on Linux (#13947) 2017-04-09 22:51:02 +03:00
Alexander Makarov
b04ff959ce Fixed misleading docs about encoded URIs [skip ci] 2017-04-07 15:59:59 +03:00
Carsten Brandt
d9f592712b remove upgrade note for #13822 / #13829 2017-04-04 10:50:15 +02:00
Carsten Brandt
5bbf372f85 cleanup some phpdoc 2017-04-04 10:33:30 +02:00
Sergey Gonimar
14f629c7d4 Updated Tajik message translations [skip ci] (#13917) 2017-04-04 10:12:18 +02:00
Sam Mousa
8326a593ce Use ArrayHelper::getValue(). 2017-04-03 14:51:30 +02:00
Carsten Brandt
6301daecf7 reverted wrong phpdoc change from #13905 2017-04-03 14:27:04 +02:00
Sam Mousa
183ebc5985 Revert "Moved serialization of Cookie to Cookie. Added unit test for serialization / deserialization."
This reverts commit a2acd88efe.
2017-04-03 10:10:25 +02:00
Kolyunya
4eed7fb3da Fixes #13901: Fixed passing unused parameter to formatMessage() call in \yii\validators\IpValidator 2017-04-02 22:18:06 +03:00