6609 Commits

Author SHA1 Message Date
ea2cab8876 adjusted ActiveRelationTrait phpdoc 2016-07-05 21:57:26 +02:00
1c20062628 fixed changelog position 2016-07-04 15:16:45 +02:00
bfba387653 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  Fixes #11212: Added headers to PO file in `yii\i18n\GettextPoFile::save()`
2016-07-04 15:13:25 +02:00
0f640c7138 Make sure inverseOf relations are also populated during dynamic relational queries
Refs #6347
2016-07-04 15:07:37 +02:00
8ca845b680 Fixes #11212: Added headers to PO file in yii\i18n\GettextPoFile::save() 2016-07-04 15:13:38 +03:00
43fddc74c9 remove unnecessary gettimeofday system call
close #9628
2016-07-04 12:41:58 +02:00
93f6ddfbe9 document the fact that widgets use output buffering
so they may break ob stack when end() and begin() are called in
different views.

close #11687
2016-07-04 12:12:44 +02:00
73bc7aab71 Fixes #11878: Fixed i18n gettext fallback language message loading 2016-07-04 12:53:54 +03:00
5992eea571 Fixes #11808: _table and _column suffixes are now required when generating migration 2016-07-04 12:50:37 +03:00
b0bb8649a3 HHVM compatible fix for messageformatter error
fixes #11528
2016-07-04 11:01:24 +02:00
91f1ac1d99 fixed exception on malformed message in Messageformatter
this exception is thrown since PHP7
fix is compatible with older versions.

close #11644
fixes #11528
2016-07-04 10:42:39 +02:00
d219b17e65 Test for MessageFormatter with broken pattern
close #11644
2016-07-04 10:42:39 +02:00
7126209037 make AccessRule::matchVerb() more reliable
related to #11857
2016-07-03 12:47:56 +02:00
c66121d2b6 update documentation fxp/composer-asset-plugin to version ^1.2.0 (#11876) 2016-07-03 12:05:42 +02:00
d9122a74a9 improved tests and docs for #11857 2016-07-03 11:02:25 +02:00
0895f212c6 improved docs about tag option in HTML options 2016-07-03 10:57:47 +02:00
4fd4ac04b1 Minor adjustments for #11462 2016-07-03 02:05:13 +03:00
30bb9bd7c8 Fixes #11462: Added support of filtering rules to yii\log\Target::$logVar, added \yii\helpers\BaseArrayHelper::filter() method 2016-07-03 01:56:05 +03:00
16e4cab8f1 Fixes #11865: Fixed setting selected for dropdown list using options 2016-07-03 01:43:50 +03:00
2c021f5ab8 Update CHANGELOG.md (#11871) [skip ci] 2016-07-02 21:32:31 +03:00
3b5634bf8b Fixes #11863: Fixed usage of mb_substr with PHP < 5.4.8 where length of NULL was treated the same as 0 2016-07-02 21:06:39 +03:00
779c8e0a01 Fixes #11857: yii\filters\AccessRule::$verbs could not be configured with any case of request method names 2016-07-02 20:46:03 +03:00
e8bcb93507 Fixes #10681: Fixed active form beforeValidate wasn't triggered in some cases 2016-07-02 01:59:02 +03:00
2a05754ede Fix link in documentation (#11861) [skip ci] 2016-07-02 01:42:08 +03:00
4d93d68af9 Fix incorrect formatting in documentation (#11864) [skip ci]
The asterisks and underscores were interpreted as markdown formatting, which wasn't intended.

Also fix invalid link to FG_COLOR.
2016-07-01 19:15:36 +03:00
7e96db253d Add missing documentation for getSort (#11862) [skip ci] 2016-07-01 18:25:31 +03:00
d9f1987d0f Fix for #11850 2016-07-01 11:16:01 +03:00
debb467f42 Fixes #11847: Fixed yii\widgets\Pjax to properly respond with partials when custom selector is used for container 2016-06-30 11:47:21 +03:00
1dc688e35f Fixes #11850: Introduced yii\widgets\Pjax::$submitEvent to be able to customize event triggering PJAX form submit 2016-06-30 11:34:18 +03:00
608ab4055c Cleaned up changelog 2016-06-25 23:59:18 +03:00
17d08cc0a4 fixed crash on non-string input to CSRF token
fixes #11822

also adding proper unit tests for validate CSRF token.
2016-06-25 18:22:27 +02:00
e43ff070cb Updated "fa" translation (#11738) [skip ci] 2016-06-25 18:59:58 +03:00
099b364b14 Fixed #9574: Implicit run ColumnSchemaBuilder::null() when default value is set to null. (#11813) 2016-06-25 15:52:11 +03:00
104712103b Fixes #11693: Handle QueryBuilder::batchInsert() calls with no data to insert. (#11812) 2016-06-25 15:51:09 +03:00
4931f3f123 Adds indexes on message tables which partly fixes #11725 (#11818)
* Adds indexes on message tables which partly fixes #11725

* Adds indexes on for other specific DB languages, which fixes #11725
2016-06-25 15:49:04 +03:00
c370c17e93 Additional fix for ##11168 2016-06-24 17:32:01 +03:00
348cc17dbb Fixes #11168: yii\helpers\BaseHtml now uses abstracted booleanInput() and activeBooleanInput() methods to render radio(), checkbox(), activeRadio() and activeCheckbox() 2016-06-24 00:01:46 +03:00
dfa292652d Fixes #11561: Fixed DI container throwing exceptions for optional dependencies 2016-06-23 23:53:28 +03:00
b30b5a99ea Fixes #11672: Fixed yii\validators\NumberValidator erroring when value is an object without __toString() method 2016-06-23 23:32:25 +03:00
60a2a54fc8 CheckboxColumn - Use CSS class to find the elements (#11729)
* Use CSS class to fetch the elements

* default null

* CHANGELOG.md

* CHANGELOG.md
2016-06-23 20:16:56 +03:00
7ba631b4ae improved docs about using CORS with REST controllers
fixes #10405, #6254 (thanks to @ydatech and @tunecino)

related to #8626

close #11086
2016-06-20 17:10:50 +02:00
4e3c9e4a98 fixed scalar value for IN condition
fixes regression from 2.0.8 #10961

fixes #11536
2016-06-20 15:20:21 +02:00
4e7f6f64d2 added errorHandler, Request and Response getter
to web and console application to ensure better ide completion.

methods in base class are required because they are called from base
class.

fixes #10947
2016-06-20 14:47:17 +02:00
e4dc2026bc note about JOIN syntax
fixes #7549
2016-06-20 13:04:08 +02:00
0fe003195a Updated language packs zh-CN and ZH-TW
close #11769
2016-06-20 12:06:31 +02:00
33dfddd0c2 Fixes #8644: Fixed trying to ENABLE/DISABLE TRIGGER ALL on a view in PostgreSQL 2016-06-19 15:33:00 +03:00
01c84e2ff2 Fixes #11549: Fixed ArrayHelper::getValue() to work properly with float keys 2016-06-19 15:26:44 +03:00
239d7814eb Fixes #11739: Fixed ArrayHelper::index() losing precision for float keys 2016-06-19 15:00:46 +03:00
b39a0a1e5a Fixes #11774: Fixed incorrect recusuive symlinks check in FileHelper 2016-06-18 17:34:25 +03:00
bafc8b3325 Fixes #10422, #9574: New proposal fix for ColumnSchemaBuilder not null column
* Added ability to explicitly set column nullability #10422

* Removed isNull property.

* add since tag.
2016-06-18 15:03:55 +03:00