Commit Graph

6117 Commits

Author SHA1 Message Date
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
Alexander Makarov
f393a84a0f Fixed error in case of missing ICU 2015-11-15 13:58:13 +02:00
SilverFire - Dima Naumenko
bf6b50f58e #10142 Fixed EmailValidator to check email length properly 2015-11-14 00:39:12 +02:00
Jani Mikkonen
35466c0929 Update docs composer-asset-plugin [skip ci] 2015-11-12 14:25:07 +02:00
SilverFire - Dima Naumenko
503205295f UPGRADE.md - added flush cache requirement 2015-11-12 12:20:41 +02:00
Alexander Makarov
7641d2d83b Enhanced #9337 as @klimov-paul suggested in e94810551c (commitcomment-14335135) 2015-11-11 21:14:23 +03:00
Alexander Makarov
cddb036cf9 Fixes #9790: Fixed yii\db\sqlite\QueryBuilder to generate proper SQL for UNION 2015-11-11 21:05:57 +03:00
Constantine Chuprik
e94810551c Fixes #9337: Added yii\db\ColumnSchemaBuilder::defaultExpression() to support DB Expression as default value 2015-11-11 20:42:07 +03:00
BlueZED
f192418372 Update composer-asset-plugin version
The composer-asset-plugin is now on version 1.1.0 and unless there's a reason why Yii requires ~1.0.3 I propose this update to the documentation.
2015-11-11 08:46:16 +01:00
SilverFire - Dima Naumenko
e3c49f243c UrlRule::placeholders, UrlRule::substitutePlaceholderNames are now protected. Updated PHPDoc and UPDATE.md 2015-11-09 19:22:51 +02:00
Carsten Brandt
e2c8c08875 made it easier to extend SluggableBehavior slug generation
fixes #10118
2015-11-07 16:59:24 +01:00
Alexander Makarov
effc4facda Used alias instead of relative path in ServeController 2015-11-06 23:54:00 +03:00
Alexander Makarov
9d7db8c7ab Fixed ServeController phpdoc 2015-11-06 23:51:32 +03:00
rezident1307
be407391ce Fixes #10101: Fixed assignments saving on role removing in \yii\rbac\PhpManager 2015-11-06 19:54:35 +03:00
Alexander Makarov
3e915903a2 Fixes #10083: Added wrapper for PHP webserver 2015-11-05 22:08:57 +03:00
Sidney Lins (slinstj, former sidtj)
c33574bc0a Fixes #7566: Improved \yii\validators\CompareValidator default messages 2015-11-05 22:05:50 +03:00
SilverFire - Dima Naumenko
8edc1e5109 IpValidator PHPDoc update: removed links to private methods 2015-11-05 20:31:01 +02:00
SilverFire - Dima Naumenko
a7f102fa94 Enh #10061: yii\helpers\BaseInflector::transliterate() is now public 2015-11-05 16:07:33 +02:00
hableel
12b811a46e Fix arabic language
One of the translations has a wrong variable.
variable "compareValue" is written instead of  "max"
2015-11-04 23:01:43 +03:00
Alexander Makarov
1fbfbfdd9e #10089 2015-11-04 21:01:27 +03:00
Alexander Makarov
e7375f3dac Changelog for #9282 2015-11-04 13:00:42 +03:00
freezy
7bea7b65fd Fixes #9282: Improved JSON error handling to support PHP 5.5 error codes 2015-11-04 12:59:37 +03:00
Alexander Makarov
95f251edd1 Fixes #10084: Improved DB docs 2015-11-04 12:08:18 +03:00
Jani Mikkonen
9200ff2009 Update Finnish translation 2015-11-03 14:40:48 +02:00
SilverFire - Dima Naumenko
289b051c4a Bug #9999: Fixed yii\web\UrlRule to allow route parameter names with -, _, .characters 2015-10-31 09:45:53 +02:00
Alexander Makarov
00e328753a Fixes #10029: Fixed MaskedInput not working with PJAX 2015-10-30 23:03:25 +03:00
freezy
b6254dd68b Fixes #10056: Allowed any callable to be passed to ActionColumn::$urlCreator 2015-10-30 22:37:23 +03:00
Nikita Verkhovin
abb4d6f353 Fixed Memcache duration which exceeds 30 days 2015-10-30 00:08:02 +06:00