Commit Graph

8965 Commits

Author SHA1 Message Date
Alexander Makarov
84827597dc Added @since tags for #10631 2016-04-23 01:27:36 +03:00
SilverFire - Dmitry Naumenko
f21e472c98 Update UserTest::testLoginRequired(), CHANGELOG 2016-04-22 22:22:02 +03:00
dawei
5bd35c344c dont set return url, if request method is not GET 2016-04-22 22:21:31 +03:00
Andrii Vasyliev
b4995c3990 Fixed yii\console\Application::runAction to not to corrupt response exit code when action returns Response object
close #10235
2016-04-22 17:24:11 +02:00
raoul
60f6ecf063 yii\db\BaseActiveRecord now triggers event EVENT_AFTER_REFRESH` after a record is refreshed
fixes #9604
close #10867
2016-04-22 17:14:41 +02:00
Sam Mousa
90b92440fa Fixed using DI container with no Yii::$app set. 2016-04-22 17:03:25 +02:00
Sam Mousa
5f1a5fbcf7 Implemented DI for callable component configuration
fixes #10908
2016-04-22 17:03:18 +02:00
Carsten Brandt
52e23e0317 fix issue with composite key in combination with join
fixes #10201
fixes #9047
close #9895
2016-04-22 16:39:06 +02:00
Alexander Makarov
9f45a94661 #10631: added changelog, simpified code a bit more 2016-04-22 17:07:22 +03:00
Konstantin Timoshenko
b5b55ad302 Fixes #10631: Splitted gettng label and rendering cell in yii\grid\DataColumn::renderHeaderCellContent() to make code simpler 2016-04-22 17:07:07 +03:00
Alexander Makarov
6dd017c2a3 Additional fix for #10617 2016-04-22 16:51:54 +03:00
Sam
fc8708b712 Added missing function to ActiveRecordInterface interface.
close #9854
2016-04-22 14:50:30 +02:00
Carsten Brandt
3563239f9f fixed broken changelog changes 2016-04-22 14:12:35 +02:00
Lennart van den Dool
f8a844a90f Query helper method for filter values containing operators
Basic implementation proposal for yiisoft/yii2#2022

Shortcomings/todo's:
* filtering on non-scalars (where IN statements) not supported
* Numeric properties with a corresponding validation rule will yield
  errors when they contain an alphanumeric operator. These properties'
  rules should be defined as 'string' or 'safe'.
* no implementation example in Gii code (yet).

close #8505
2016-04-22 14:05:24 +02:00
Carsten Brandt
640532d0c0 Merge pull request #11403 from yiisoft/fix-11176
This superseeds #11238, #11135, #11176.

fixes #11088
2016-04-22 13:14:45 +02:00
SilverFire - Dmitry Naumenko
5686a9ddeb Revert "* Added support of :submit[formtarget]"
This reverts commit d3fb217dfa.
2016-04-22 13:46:46 +03:00
SilverFire - Dmitry Naumenko
2b28b2c0e5 Merge branch 'NekitoSP-9074-checkboxColumn-selectedRows-fix' 2016-04-22 13:43:29 +03:00
Edgard Lorraine Messias
278bfca140 Fixed quoteColumnName for table start with {{ or [[ 2016-04-22 12:41:25 +02:00
SilverFire - Dmitry Naumenko
d3beca32b4 Refactored PR, updated CHANGELOG 2016-04-22 13:41:13 +03:00
Carsten Brandt
38d347c9f5 fix quoting column name in case of quoted table name
column name was not quoted if a table name was used, that was using the
table prefix feature.

fixes #11088
close #11238
2016-04-22 12:31:46 +02:00
Carsten Brandt
22503ebe97 allow setting custom logger in Dispatcher via config
fixes #11056
2016-04-22 10:53:59 +02:00
SilverFire - Dmitry Naumenko
f2e8725de5 Merge branch '9074-checkboxColumn-selectedRows-fix' of https://github.com/NekitoSP/yii2 into NekitoSP-9074-checkboxColumn-selectedRows-fix 2016-04-22 11:53:35 +03:00
Misbahul D Munir
87dd02a077 Remove unused code (#11395)
Using `Yii::createObject()` is enough to set config.
2016-04-22 10:27:08 +02:00
Anatoly Rugalev
d3fb217dfa * Added support of :submit[formtarget]
* Added support of :submit[formtarget]
2016-04-21 23:58:36 +03:00
Carsten Brandt
9c1fa3f745 allow resetting properties in UrlManager, same as Request
fixes #11336
2016-04-21 14:07:09 +02:00
Carsten Brandt
1f0e24c528 allow resetting autodetected properties in yii\web\Request
fixes #11336
2016-04-21 12:54:59 +02:00
SilverFire - Dmitry Naumenko
15432971d6 db/ColumnSchemaBuilder::buildCommentString() returns empty string by default 2016-04-20 09:26:07 +03:00
SilverFire - Dmitry Naumenko
33d51825c0 Fixed order of column options in curbid\ColumnSchemaBuilder 2016-04-19 18:32:01 +03:00
SilverFire - Dmitry Naumenko
1aa2f1d927 Removed sqlite/ColumnSchemaBuilder::comment() method override 2016-04-19 18:29:12 +03:00
SilverFire - Dmitry Naumenko
adfcfa48b2 Updated CHANGELOG 2016-04-19 17:56:22 +03:00
SilverFire - Dmitry Naumenko
0fe27b9d3b Refactored code in PR #9441 2016-04-19 17:48:25 +03:00
SilverFire - Dmitry Naumenko
c9dfc90be0 Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder 2016-04-19 12:21:33 +03:00
Chris Harris
5316576361 Fixes after() column string builder (#11362) 2016-04-19 11:59:16 +03:00
Alexander Makarov
2c325fbd48 Added @since, adjusted changelog #9425 2016-04-18 12:49:22 +03:00
Alexander Makarov
df6cdf7ad5 Fixed code style 2016-04-18 10:14:20 +03:00
PowerGamer1
73eb62a3cd DBMS specific workarounds for unsupported SQL92 form of SELECT EXISTS() (#11369) 2016-04-17 17:44:52 +03:00
PowerGamer1
806eb57990 Fixes #9425: ActiveQuery::exists() should generate SELECT EXISTS() (#11363) 2016-04-16 13:34:20 +03:00
Alexander Makarov
0c6c1eebd1 Better buffer usage description as suggested by @tom--
https://github.com/yiisoft/yii2/pull/11285#discussion_r59960199
2016-04-16 12:45:23 +03:00
h0ckeypl4yer
10a2954d13 Fix Pjax container
If we set client option "container", it will be ignored, because param "container" of function always set.
2016-04-13 20:49:33 +03:00
A Slatius
293feeb522 Update QueryInterface.php
Missing closing bracket in OR condition example
2016-04-13 15:23:16 +02:00
Evgeniy Tkachenko
8001f2b259 Update BaseDataProvider.php (#11342) 2016-04-13 13:02:22 +03:00
Evgeniy Tkachenko
f6094ee519 Update Pagination.php (#11343) 2016-04-13 13:01:46 +03:00
zuozp8
95a7631e4f fixes #11333 avoid serializing php7 errors (#11335)
fixes #11333
2016-04-13 05:52:48 +02:00
Alexander Makarov
6a80a132e2 Converted constant into local variable #11285 2016-04-12 16:34:47 +03:00
Alexander Makarov
2c611b410e Adjusted changelog wording for #11285 2016-04-12 16:34:18 +03:00
Klimov Paul
2d5a0bf5ae EachValidator::validateAttribute() fixed to restore original value on error 2016-04-12 12:00:33 +03:00
Klimov Paul
7bdc0787ac Extra note add to EachValidator doc 2016-04-12 11:44:07 +03:00
Klimov Paul
205f16811a Fixed yii\validators\EachValidator does not invoke validateAttribute() method of the embedded validator 2016-04-12 11:14:57 +03:00
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