SilverFire - Dmitry Naumenko
c651dbb798
Added `yii\web\ErrorHandler::loggableGlobals`, removed `$_ENV` and `$_SERVER` from dumping by default
9 years ago
SilverFire - Dmitry Naumenko
2d68840898
`yii\base\Module::getLayoutPath()` fixed code style
9 years ago
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.
9 years ago
Marco Germani
5747557794
Update Formatter.php
...
In according with the open discussion
9 years ago
Alexander Makarov
f03808a7c8
Additional fixes for #9465
9 years ago
Alexander Makarov
76e8556d34
#9465 better naming, code polish, changelog, docs wording
9 years ago
Daniel Gomez Pan
9afd240ab6
Fixes #9465 : ./yii migrate/create now generates code based on migration name and --fields
9 years ago
Sam Mousa
4a464afe9b
Fixes #9656 : `yii\db\BaseActiveRecord` refactored in order to getting, setting and unsetring attribute values using the same approach
9 years ago
Alexander Makarov
e4f5b91f74
Fixed #6351 MySQL 5.1 compatibility
9 years ago
Alexander Makarov
5cd50fdb1d
Fixes #10193 : simplified ./yii serve by removing lock file and extra checks
9 years ago
SilverFire - Dmitry Naumenko
035a9ce0a8
Added `yii\filters\auth\AuthMetod::optional` property
...
Added `yii\base\ActionFilter::getActionId()` - code extracted from `ActionFilter::isActive()`
9 years ago
SilverFire - Dmitry Naumenko
9d79038485
Added requirement for ICU Data
9 years ago
Carsten Brandt
7b41671511
updated german translation
9 years ago
Dmytro Karpovych
e6e8b0a41f
fix translation in compare validator(uk,ru)
9 years ago
SilverFire - Dmitry Naumenko
ca074f19df
Changelog typo fixed
9 years ago
Sam Mousa
22d9997281
Implemented support of traversable objects in `RangeValidator::ranges`, added `ArrayHelper::in()` and `ArrayHelper::subset()`
9 years ago
Sam Mousa
6d7627c2a5
Yii::powered() now uses Yii::t()
9 years ago
Mehdi Achour
ac36016c7f
Expanded strcasecmp() condition for clarity
9 years ago
Mehdi Achour
f632f4d41f
Fix docs as per @SilverFire suggestions [ci skip]
9 years ago
Mehdi Achour
c1dc6b1064
Fix changelog entry position
9 years ago
Mehdi Achour
ae5fbd2b88
Remove unmerged changelog entry from another PR
9 years ago
Mehdi Achour
cca500083e
Implement #10078 : Allow disabling csrf hidden input generation on a form
9 years ago
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
9 years ago
SilverFire - Dima Naumenko
fb35afa1f3
Changelog and Updgrade docs update
9 years ago
Mehdi Achour
06d499ab02
#10158 : Accept arrays for 'js' as well
...
Also applied @samdark comments on array testing
9 years ago
lichunqiang
a349c1ee1b
Changed yii.confirm context bind
9 years ago
SilverFire - Dima Naumenko
a6e1ba2cf6
Fixed mb_ functions calls to use UTF-8 or app charset
9 years ago
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
9 years ago
Mehdi Achour
cf01d5ff92
Use PHP type casting instead of ArrayHelper
9 years ago
Mehdi Achour
8ada653e8e
Fix build failure: Handle arrays in assets command
9 years ago
Mehdi Achour
5619e98eda
Allow setting css options per CSS file in AssetBundle::, fixes #10158
9 years ago
SilverFire - Dima Naumenko
d7bb1be296
EmailValidator - specified encoding for mb_strlen
9 years ago
Carsten Brandt
c3bfa5c77e
fixed Html::activeFileInput() to set correct name for hidden input field
...
fixes #9689
9 years ago
Alexander Makarov
f393a84a0f
Fixed error in case of missing ICU
9 years ago
SilverFire - Dima Naumenko
bf6b50f58e
#10142 Fixed EmailValidator to check email length properly
9 years ago
Jani Mikkonen
35466c0929
Update docs composer-asset-plugin [skip ci]
9 years ago
SilverFire - Dima Naumenko
503205295f
UPGRADE.md - added flush cache requirement
9 years ago
Alexander Makarov
7641d2d83b
Enhanced #9337 as @klimov-paul suggested in e94810551c (commitcomment-14335135)
9 years ago
Alexander Makarov
cddb036cf9
Fixes #9790 : Fixed `yii\db\sqlite\QueryBuilder` to generate proper SQL for UNION
9 years ago
Constantine Chuprik
e94810551c
Fixes #9337 : Added `yii\db\ColumnSchemaBuilder::defaultExpression()` to support DB Expression as default value
9 years ago
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.
9 years ago
SilverFire - Dima Naumenko
e3c49f243c
UrlRule::placeholders, UrlRule::substitutePlaceholderNames are now protected. Updated PHPDoc and UPDATE.md
9 years ago
Carsten Brandt
e2c8c08875
made it easier to extend SluggableBehavior slug generation
...
fixes #10118
9 years ago
Alexander Makarov
effc4facda
Used alias instead of relative path in ServeController
9 years ago
Alexander Makarov
9d7db8c7ab
Fixed ServeController phpdoc
9 years ago
rezident1307
be407391ce
Fixes #10101 : Fixed assignments saving on role removing in `\yii\rbac\PhpManager`
9 years ago
Alexander Makarov
3e915903a2
Fixes #10083 : Added wrapper for PHP webserver
9 years ago
Sidney Lins (slinstj, former sidtj)
c33574bc0a
Fixes #7566 : Improved `\yii\validators\CompareValidator` default messages
9 years ago
SilverFire - Dima Naumenko
8edc1e5109
IpValidator PHPDoc update: removed links to private methods
9 years ago
SilverFire - Dima Naumenko
a7f102fa94
Enh #10061 : `yii\helpers\BaseInflector::transliterate()` is now public
9 years ago