Carsten Brandt
89eb3dff14
prepare for release 2.0.6
9 years ago
Carsten Brandt
e1ea227e6d
improved console helper progressbar ETA
...
update only once per second to avoid flapping
9 years ago
Alexander Makarov
ca2c1df067
Minor changelog typo fixes
9 years ago
Carsten Brandt
681db52ba6
refactored SchemaBuilder
...
- rename class to ColumnSchemaBuilder as this is more appropriate
- changed internal organisation to match how the rest of schema related classes work
- the ColumnSchemaBuilder is now created the same way as QueryBuilder is
- removed static call magic and method annotations, now real methods are called as they are
- the whole code works on objects in a db context now instead of setting database connection in global state
- trait is now used by Migration by default but can be used in other contexts as well
Migration usage is now as follows:
```php
$this->createTable('example_table', [
'id' => $this->primaryKey(),
'name' => $this->string(64)->notNull(),
'type' => $this->integer()->notNull()->defaultValue(10),
'description' => $this->text(),
'rule_name' => $this->string(64),
'data' => $this->text(),
'created_at' => $this->datetime()->notNull(),
'updated_at' => $this->datetime(),
]);
```
9 years ago
kidol
bf8eb490a1
Fixes PageCache not setting any duration and dependency when caching response data
...
close #9076
9 years ago
Carsten Brandt
854e186210
fixed caching issue with UrlManager::createUrl
...
this fix will skip the cache in case we encounter a situation which can
not easily be cached.
fixes #9091
9 years ago
Lorenzo Milesi
a6fc02345e
FileValidator->getSizeLimit: check also php's post_max_size
...
- return the lowerest of `post_max_size` or `upload_max_filesize`
- Raised warning for misconfigured PHP
close #8373
9 years ago
Carsten Brandt
0575a710c0
CHANGELOG for #8551
...
see also #5780
9 years ago
Nikola Kovacs
11de09bf8b
Fixes #5991 , #5420 , #3017 : Added `updateMessages()` to `yii.activeForm.js` to support manually updating ActiveForm messages
9 years ago
Alexander Makarov
6f4282f05e
Moved #7259 changelog to 2.0.6
9 years ago
Nikola Kovacs
2577a5915b
Fixes #7259 : Added `errorAttributes` parameter to ActiveForm `afterValidate` event. Made scrolling to first error optional
9 years ago
Petra Barus
2261db0a5f
Adding callback for custom hash generation in AssetManager.
9 years ago
Alexander Makarov
863e785ed4
Added changelog for #9263
9 years ago
Alexander Makarov
afbc515407
Fixes #9239 : BaseJson phpdoc corrections, minor improvements, added changelog
9 years ago
Alexander Makarov
310f9152e1
Fixes #9268 : Improved display of boolean parameters in logged SQL queries
9 years ago
Alexander Makarov
972165ccec
Fixes #9006 : Fixed bit column always returning true using certain version of PDO MySQL
9 years ago
Alexander Makarov
9a87271abf
Fixed missing stacktrace items on PHP syntax errors of "unexpected end of file" type
9 years ago
Chris Harris
26e5b021a8
Fixes #9246 : Added `yii\web\UrlRule::getParamRules()`
9 years ago
adinata
8ced2ba96a
Fixes #8933 : Yii is now able to properly handle HHVM fatal errors
9 years ago
vbelogai
1d6a340534
Fixes #8161 : Fixed active form `data-method` submit bug when client validation is used
9 years ago
Dmitry Naumenko
b16d734c29
Fixes #8671 : Extracted `yii\helpers\Html::escapeJsRegularExpression()` method from `yii\validators\RegularExpressionValidator`
9 years ago
nidgetgod
b8fefe513c
fixed: Oracle 11g 11.2.0.1.0 ORA-03113: end-of-file on communication channel
...
This is a workaround for an oracle bug:
https://code.google.com/p/yii/issues/detail?id=1779
close #8844
9 years ago
Carsten Brandt
3c9c6b5d7d
fixed formatter to accept explicit setting of decimal numbers
...
this version keeps BC for symbols while fixing the issue with decimals.
fixes #8684
9 years ago
Carsten Brandt
2cd4837f41
fixed display issue with overlapping text in callstack item
...
fixes #4763
9 years ago
Vit S
9b978ec787
update changelog (issue #9198 )
9 years ago
Klimov Paul
984afd3c6e
`yii\web\ErrorAction` displays 404 error instead of blank page on direct access
9 years ago
Andrey Nester
716057ed39
Fixes #9059 : Fixed PHP Notice in error handler view
9 years ago
freezy
6a4436f95b
[ Fixes #9177 ] Password Hash Cost setting for Security component
9 years ago
webdevsega
da73a0fa47
Set cache to runtime folder for HTMLPurifier_Lexer
9 years ago
Adrian Dvergsdal
2c995ce86e
Add translation for nb-NO (Norwegian Bokmål)
9 years ago
zetamen
df6f270a0e
Fixes #9161 : Fixed `yii\web\Request` ignore `queryParams` when resolve request
9 years ago
Alexander Pletnev
91eae2fe45
changelog
9 years ago
Sitawit Suteepohnwiroj
5af6105ea7
Fixes #9127 , Fixes #9128 : Fixed MSSQL `QueryBuilder::renameColumn()` and `QueryBuilder::renameTable()` escaping
9 years ago
Carsten Brandt
a5c92eb4cb
register `STDIN`, `STDOUT`, and `STDERR` if not defined by PHP
...
this ensures that they are defined if needed and reduces redundant
code in the entry script.
close #6853
9 years ago
Carsten Brandt
4381f7c175
Update CHANGELOG.md
...
fixed style
9 years ago
Carsten Brandt
bf7edc5250
2.0.5 release
9 years ago
Alexander Makarov
4e3b82bb25
Fixed `ViewAction::resolveViewName()` not to accept `/../` and `/./`
...
Fixes #9070 (CVE-2015-5467)
9 years ago
Sebastian Thierer
e0d2107e1b
Mysql unique index creation fix.
9 years ago
Alexander Makarov
aaf931a5e8
Fixes #9070 : Fixed `ViewAction::resolveViewName()` not to accept `/../` and `/./`
9 years ago
Ivan Pomortsev
398caaf7fd
Fixes #8549 : Fixed `yii\caching\FileCache` doesn't lock cache files when reading
9 years ago
Sebastian Thierer
bc0a6662ee
typo on changelog
9 years ago
Sebastian Thierer
82fbb568e0
Fix for 9056
9 years ago
Carsten Brandt
5d3532c649
fixed endless error loop in error handler
...
this happended when `stream` was set on the response but the stream resouce was invalid
either because it was already sent or became invalid for some other cases.
fixes #9046
9 years ago
Ren Hao
1a7d9ac809
Fixes #9038 : Write warning to log in case `FileCache` fails to write into file
9 years ago
Alexander Makarov
8e1d982da4
Cleanup, added ->unique(), changelog
9 years ago
Anton Andersen
b46fad439c
Fixes #9011 : Allow `yii\widgets\MaskedInput` to produce an input tag of a custom type
9 years ago
Carsten Brandt
9c4c984200
improved docs and changelog for #8903
9 years ago
Ivan Orlov
b548c8f710
Fixed determine active menu item with url-alias in route
...
close #8900
9 years ago
Carsten Brandt
d0c6cb7700
abort removing duplicate records when pk is not in result set
...
in this cases it does not make sense to remove duplicates as the result is not on record level anymore.
This could be the case after GROUP BY has been applied.
fixes #8772
9 years ago
nkovacs
a99ae5b1ed
Fixes #8661 : Fixed `yii.activeForm.js` scrolling to top
9 years ago