Carsten Brandt
8fb1b56e34
Update CHANGELOG.md
9 years ago
Carsten Brandt
34d5b45b35
proper fix for #8844 , convert array before using it
...
fixes #9415
9 years ago
Alexander Makarov
43918f2ef6
Fixes #9411 : `DetailView` now automatically sets container tag ID in case it's not specified
9 years ago
RomeroMsk
6f0e635360
Change Russian translation for unique message
9 years ago
Toleugazy
4926148f96
correct typo in kazakh
9 years ago
Carsten Brandt
00a8a6270e
revised docs about Model::load()
...
thanks to @tom-- for review.
9 years ago
Гонимар Сергей
5e4d2183e2
Georgian translation
9 years ago
Dmitry Kushnikov
19fdd4f96d
Fix problem, that Application::getUser can return null
9 years ago
Taras Gudz
14fe0c3f80
Fixes #9382
9 years ago
Alexander Kochetov
223b0bea5d
Fixes #9369 : `Yii::$app->user->can()` now returns `false` instead of erroring in case `authManager` component is not configured
9 years ago
Klimov Paul
3f2f7111df
`BaseVarDumper::export()` object to string fallback fixed
9 years ago
Klimov Paul
d9eb660df3
`BaseVarDumper::export()` object to string fallback fixed
9 years ago
Klimov Paul
16e1e8fe28
Fallback for objects at `yii\helpers\VarDumper::export()` advanced
9 years ago
Carsten Brandt
2ff5997b69
prepare for next release
9 years ago
Carsten Brandt
89eb3dff14
prepare for release 2.0.6
9 years ago
Nikola Kovacs
316e95b81d
Remove length from SchemaBuilderTrait::text.
...
close #9307
9 years ago
Carsten Brandt
e1ea227e6d
improved console helper progressbar ETA
...
update only once per second to avoid flapping
9 years ago
Michael Härtl
b071587e0a
Improve docs for bindParam() $value
9 years ago
Alexander Makarov
a6b8a30998
Removed unused "use"
9 years ago
Alexander Makarov
ca2c1df067
Minor changelog typo fixes
9 years ago
Carsten Brandt
abc7dbbf0f
added missing `@since` annotations
9 years ago
Carsten Brandt
41b25e94b0
improved parameter naming and documentation of schemabuilder
...
changes according to #9191
close #9191
9 years ago
Carsten Brandt
aef21ceec8
phpdoc typo
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
Carsten Brandt
1948754d00
phpdoc and slight refactoring of SchemaBuilder
9 years ago
Carsten Brandt
728dc0c584
added docs about form element naming
...
close #8993
9 years ago
Carsten Brandt
d8bb724ec7
changed method visibility, fixed test break
9 years ago
Carsten Brandt
13fca3bc54
alternative solution for issue #7627
...
should cover more cases then #8912 . Have not tested it yet.
see #7627
9 years ago
kidol
bf8eb490a1
Fixes PageCache not setting any duration and dependency when caching response data
...
close #9076
9 years ago
Carsten Brandt
7150e830d9
do not use reserved php words as function in schemabuilder
...
there is a reason for them to be reserved, we should not add such workarounds to still use them.
close #9283
9 years ago
Carsten Brandt
543d107508
applied the same fix as #7305 also to DbTarget
...
fixes #6354
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
Carsten Brandt
8cfc89b21c
adjusted pgsql/QueryBuilder batchInsert to match parent implementation
...
this also fixes #8551
9 years ago
Carsten Brandt
6e3da6b329
various phpdoc fixes
9 years ago
Carsten Brandt
a2568d1ec8
updated some comments and `@since` annotations
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
372211a865
Better type check in AssetManager
9 years ago
Alexander Makarov
6f4282f05e
Moved #7259 changelog to 2.0.6
9 years ago
Alexander Makarov
6312f2adad
#9249 : fixed wrong condition
9 years ago
Alexander Makarov
66557285a6
#7259 : fixed using errrorInputs
9 years ago
Alexander Makarov
6987358e2a
#9249 : better check for file/dir
9 years ago
Alexander Makarov
9587d9b29c
#7259 : Added back errorAttributes
9 years ago
Alexander Makarov
e2f5279b54
Better fix for #7259
9 years ago
Nikola Kovacs
2577a5915b
Fixes #7259 : Added `errorAttributes` parameter to ActiveForm `afterValidate` event. Made scrolling to first error optional
9 years ago
Alexander Makarov
d3e91abf00
Added `@since` tag to `yii\web\AssetManager::$hashCallback`
9 years ago
Petra Barus
2261db0a5f
Adding callback for custom hash generation in AssetManager.
9 years ago
Alexander Makarov
f4dfb0f17f
Reverted part of #9239
9 years ago
Alexander Makarov
863e785ed4
Added changelog for #9263
9 years ago