Commit Graph

6476 Commits

Author SHA1 Message Date
Evgeniy Tkachenko
72eca59399 [ci skip] add note about create_xxx drop_xxx (#11435) 2016-04-27 16:44:26 +03:00
Evgeniy Tkachenko
7c663debd5 [ci skip] phpDoc updated (#11434) 2016-04-27 16:43:40 +03:00
Alexander Makarov
140e7fc915 Fixed changelog line that belongs to 2.0.8 instead of 2.0.7 2016-04-27 01:00:43 +03:00
Juuso Leinonen
396bd9f714 Fixes #10309: Extracted yii\web\UrlManager rule cache key into $cacheKey protected property 2016-04-27 00:58:12 +03:00
Darking
f75f453ec4 Fixes #10475: Extracted getUrlFromCache() and setRuleToCache() protected methods from yii\web\UrlManager::createUrl() 2016-04-27 00:54:30 +03:00
Carsten Brandt
5dab713840 moved wrongly created changelog lines
(will be resorted automatically on release)
2016-04-26 22:35:26 +02:00
Carsten Brandt
f900f24ca9 Fixed namespace conflict with Markdown helper and Console helper
fixes #11425
2016-04-26 22:05:56 +02:00
Carsten Brandt
00d506c398 completed implementation for #7177
added TYPE_TIME and default values for format to be chosen from
corresponding formatter variable

fixes #7177
close #10778
2016-04-26 21:56:40 +02:00
Robbert Jan
bb0ef88860 Enhancement for DateValidator (#7177, #10165)
Added parameter to define if checking for 'date' or 'dateTime'
and updated parseDateValueIntl($value, $format) to facilitate
this validation based on defined type.

Added unit tests to for validating dateTime values when using short format validation.

close #10778
2016-04-26 19:22:41 +02:00
Sam Mousa
2ac17ddae6 Simplified exception page Javascript
- Removed unused block.
- Removed Sizzle library from exception page.
- Fixed highlighting hovering over code lines

close #10967
2016-04-26 18:34:31 +02:00
SilverFire - Dmitry Naumenko
8c2a70b3e7 Moved TraversableObject to yiiunit\data\base namespace 2016-04-26 13:30:37 +03:00
SilverFire - Dmitry Naumenko
62fdaa249f updated UPGRADE.md 2016-04-26 00:30:02 +03:00
SilverFire - Dmitry Naumenko
37fdc8c5e5 Updated UPGRADE.md 2016-04-26 00:21:44 +03:00
AnatolyRugalev
59fdac54ff Added support of :submit[formtarget] 2016-04-25 23:57:56 +03:00
SilverFire - Dmitry Naumenko
e2e4f76229 Updated SqliteQueryBuilderTest to work with Composite in conditions
Updated code style, CHANGELOG
2016-04-25 23:36:41 +03:00
Sam Mousa
baab8d6a68 QueryBuilder now supports Traversable objects for IN clauses. 2016-04-25 23:36:32 +03:00
PooyaE
14873796ac update fa/yii.php (#11406)
in persian we never use plural type of these words.
i.e. 5 روز 
not 5 روزها
2016-04-23 13:39:15 +02:00
Alexander Makarov
4f4fa6fdf0 Fixes #10710: yii\helpers\FileHelper::copyDirectory() is now throwing exception when trying to copy a directory to itself or a subdirectory 2016-04-23 01:58:33 +03:00
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