Commit Graph

5935 Commits

Author SHA1 Message Date
Carsten Brandt
ad69b0f8cb added note about fields that can be used in onCondition 2015-11-26 00:11:03 +01:00
Carsten Brandt
7c7ed48c4c cleanup docs and duplicate code in query 2015-11-25 23:31:29 +01:00
artur
e1509bfe73 Fix methods references 2015-11-25 12:04:43 +02:00
Alexander Makarov
8765cae71c Reverted #9656 because of BC break (reverted from commit 4a464afe9b) 2015-11-25 06:41:55 +03:00
Alexander Makarov
45432cc653 #9528: added missing data provider for JSON formatter test, added changelog and upgrade note, added @since tag to new property 2015-11-25 05:52:15 +03:00
MaXL
4f81b4a99d Fixes #9528: Traversable objects are now formatted as arrays in yii\web\XmlResponseFormatter to support SPL objects and Generators 2015-11-25 05:51:12 +03:00
Daniel Gomez Pan
0b950f4039 Fix phpdocs and small bug 2015-11-24 20:03:09 +01:00
SilverFire - Dmitry Naumenko
f6477f312c IpValidator - added skipOnEmpty to JS options 2015-11-24 19:21:18 +02:00
Carsten Brandt
2441e95a96 Update CaptchaAction.php
added missing version annotation
2015-11-23 15:45:31 +01:00
AnatolyRugalev
742f106ec0 Fixes #8284: Added \yii\captcha\CaptchaAction::$imageLibrary property allowing to set image rendering library 2015-11-23 13:40:38 +03:00
Daniel Gomez Pan
2a1764f97a Enhancements for #9465 2015-11-23 13:33:26 +03:00
Carsten Brandt
e5ed256959 rename ArrayHelper::in() and ArrayHelper::subset()
22d9997281 (commitcomment-14527757)
2015-11-22 17:05:09 +01:00
SilverFire - Dmitry Naumenko
7ac2bc13f7 Overrides c651dbb7. yii\web\ErrorHandler::loggableGlobals renamed to displayVars 2015-11-22 17:47:48 +02:00
SilverFire - Dmitry Naumenko
c651dbb798 Added yii\web\ErrorHandler::loggableGlobals, removed $_ENV and $_SERVER from dumping by default 2015-11-22 17:14:16 +02:00
SilverFire - Dmitry Naumenko
2d68840898 yii\base\Module::getLayoutPath() fixed code style 2015-11-21 19:33:16 +02:00
Luis Hernández
d08ef83e2a Controller->viewPath can be set, fixes #10086
Added setViewPath() that allows setting the base path for the
controller's views. Changed getViewPath() to return the value that was
explicitly set, before defaulting to the usual module-based path.
2015-11-21 19:28:06 +02:00
Alexander Makarov
f03808a7c8 Additional fixes for #9465 2015-11-20 23:04:29 +03:00
Alexander Makarov
76e8556d34 #9465 better naming, code polish, changelog, docs wording 2015-11-20 22:50:32 +03:00
Daniel Gomez Pan
9afd240ab6 Fixes #9465: ./yii migrate/create now generates code based on migration name and --fields 2015-11-20 22:08:47 +03:00
Sam Mousa
4a464afe9b Fixes #9656: yii\db\BaseActiveRecord refactored in order to getting, setting and unsetring attribute values using the same approach 2015-11-20 15:45:12 +03:00
Alexander Makarov
e4f5b91f74 Fixed #6351 MySQL 5.1 compatibility 2015-11-20 02:26:15 +03:00
Alexander Makarov
5cd50fdb1d Fixes #10193: simplified ./yii serve by removing lock file and extra checks 2015-11-20 00:12:59 +03:00
SilverFire - Dmitry Naumenko
035a9ce0a8 Added yii\filters\auth\AuthMetod::optional property
Added `yii\base\ActionFilter::getActionId()` - code extracted from `ActionFilter::isActive()`
2015-11-19 19:00:12 +02:00
SilverFire - Dmitry Naumenko
9d79038485 Added requirement for ICU Data 2015-11-19 17:26:01 +02:00
Mehdi Achour
faa7a731c7 #10158: Remove defer attribute value from test case
Also fixed the CHANGELOG.md entry positionning
2015-11-19 13:05:13 +01:00
Carsten Brandt
7b41671511 updated german translation 2015-11-18 18:58:30 +01:00
Dmytro Karpovych
e6e8b0a41f fix translation in compare validator(uk,ru) 2015-11-18 17:01:12 +02:00
SilverFire - Dmitry Naumenko
ca074f19df Changelog typo fixed 2015-11-18 16:54:47 +02:00
Sam Mousa
22d9997281 Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset() 2015-11-18 16:41:56 +02:00
Sam Mousa
6d7627c2a5 Yii::powered() now uses Yii::t() 2015-11-18 16:36:25 +02:00
Mehdi Achour
ac36016c7f Expanded strcasecmp() condition for clarity 2015-11-18 11:32:06 +01:00
Mehdi Achour
f632f4d41f Fix docs as per @SilverFire suggestions [ci skip] 2015-11-18 10:51:55 +01:00
Mehdi Achour
c1dc6b1064 Fix changelog entry position 2015-11-18 10:32:43 +01:00
Mehdi Achour
ae5fbd2b88 Remove unmerged changelog entry from another PR 2015-11-18 10:30:27 +01:00
Mehdi Achour
0b2bbb2e99 Merge 2015-11-18 10:24:33 +01:00
Mehdi Achour
cca500083e Implement #10078: Allow disabling csrf hidden input generation on a form 2015-11-18 10:22:31 +01:00
SilverFire - Dima Naumenko
ac7b0ef6ff ErrorHandler - hardcoded UTF-8 in mb_* functions
As `Yii::$app` may be not initialized on the moment of error,
decided to hardcode UTF-8.

PR  #10169
2015-11-17 14:18:26 +02:00
Dmitry Naumenko
4839ddb09b Merge pull request #10169 from SilverFire/mb-function-encoding
Normalized mb_* function calls to use Yii::$app->charset
2015-11-17 12:10:52 +02:00
SilverFire - Dima Naumenko
fb35afa1f3 Changelog and Updgrade docs update 2015-11-17 12:07:40 +02:00
Mehdi Achour
c49096c553 Fix merge conflict 2015-11-17 10:57:37 +01:00
Mehdi Achour
06d499ab02 #10158: Accept arrays for 'js' as well
Also applied @samdark comments on array testing
2015-11-17 10:55:05 +01:00
lichunqiang
a349c1ee1b Changed yii.confirm context bind 2015-11-17 09:27:35 +02:00
SilverFire - Dima Naumenko
a6e1ba2cf6 Fixed mb_ functions calls to use UTF-8 or app charset 2015-11-17 09:02:22 +02:00
Sam Mousa
603a956b8d Implemented __sleep in yii\db\Connection
to support serializing the connection object without exceptions.

- Added test for serializing an open connection.
- Added unserialize test

close #10149
2015-11-16 22:44:57 +01:00
Mehdi Achour
cf01d5ff92 Use PHP type casting instead of ArrayHelper 2015-11-16 18:16:29 +01:00
Mehdi Achour
8ada653e8e Fix build failure: Handle arrays in assets command 2015-11-16 15:31:20 +01:00
Mehdi Achour
5619e98eda Allow setting css options per CSS file in AssetBundle::, fixes #10158 2015-11-16 15:12:14 +01:00
Alexander Makarov
8f8bedbd88 Merge pull request #10155 from SilverFire/10142-email-validator
Fixed EmailValidator to check email length properly
2015-11-15 23:23:00 +02:00
SilverFire - Dima Naumenko
d7bb1be296 EmailValidator - specified encoding for mb_strlen 2015-11-15 19:39:50 +02:00
Carsten Brandt
c3bfa5c77e fixed Html::activeFileInput() to set correct name for hidden input field
fixes #9689
2015-11-15 13:39:07 +01:00