83 Commits (06d7a1f0c6ab6c6bd878bbe9f7cab3dbdb3e2a53)

Author SHA1 Message Date
Carsten Brandt 93bbf5b39d Fixes #15015: Added `StringHelper::floatToString()` to savely cast float values independent of the locale, also fixes some places in the framework that use it now 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Robert Korulczyk b99e955627 Fix CS (#14665) 7 years ago
Alexander Makarov e9fad56381
#14151: Added attribute name to AttributesBehavior callback signature 7 years ago
Alexander Makarov 6ffa5fb087
Additional fixes for #14151 7 years ago
bscheshirwork 2b9b0c7166 Fixes #14151: Added `AttributesBehavior` that assigns values specified to one or multiple attributes of an AR object when certain events happen 7 years ago
Alexander Makarov 0adae899ce
Additional fix for SluggableBehavior immutability after merge of #13449 7 years ago
Andrew Nester d26493a287 Fixes #13378: Added skipOnEmpty option to SluggableBehaviour 7 years ago
Sam e34505caad Refactored BlameableBehavior to call `$app->has()` to check for component existence (#14185) 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Kolyunya 9031a115b9
Fixes #13586: Added `$preserveNonEmptyValues` property to the `yii\behaviors\AttributeBehavior` 7 years ago
Carsten Brandt be658f82bf
release version 2.0.12 7 years ago
Nikolay Oleynikov d0ce165ba6 Fixes #13728: Fixed the bug when `yii\behaviors\SluggableBehavior` wasn't preserving immutable slug values 8 years ago
Nikolay Oleynikov ad1ce9e498 Improve sluggable behavior documentation (#13747) [skip ci] 8 years ago
Nikolay Oleynikov 3255829abb Remove excessive `use` statement 8 years ago
Herbert Maschke b58fee7d37 Fixes #13035: Use ArrayHelper::getValue() in SluggableBehavior::getValue() 8 years ago
Robert Korulczyk 7a3a342127 Fix errors reported by apidoc extension. (#12986) 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Klimov Paul e7c080594d Fixed `yii\behaviors\AttributeTypecastBehavior` marks attributes with `null` value as 'dirty' 8 years ago
Klimov Paul d4df72a2a4 Fixed `yii\behaviors\AttributeTypecastBehavior` unable to automatically detect `attributeTypes` 8 years ago
Carsten Brandt ff871bdf48 adjuste PHPdoc controller to use short form types 8 years ago
Paul Klimov a53c1f9525 Added `yii\behaviors\AttributeTypecastBehavior` (#12067) 8 years ago
Carsten Brandt 217d50e4ff improved PHPdoc and `@since` annotations 8 years ago
Nikola Kovacs 9d327baa8b coding style fixes 8 years ago
Alexander Makarov 73803ff28b Fixes #8422: added note to behaviors explaining that there's no sense in validating attributes there are set automatically 9 years ago
Carsten Brandt 731769241b release version 2.0.8 9 years ago
Angel Guevara b49488b1f7 Enh new property `skipUpdateOnClean` for `AttributeBehavior` (#11302) 9 years ago
Angel Guevara 0bd7bb961f [doc] link to unexistant class 9 years ago
Jitendra Joshi 8476997800 MySQL default column type for TimestampBehaviour 9 years ago
Alexander Makarov b6caff1952 Removed unused imports 9 years ago
Carsten Brandt 4359f4665b docs adjustement for blameable behavior 9 years ago
SilverFire - Dmitry Naumenko 4f75bd70b9 `BlameableBehavior::getValue()` changed to make value processing consistent with `AttributeBehavior::getValue()` 9 years ago
SilverFire - Dmitry Naumenko 2e13136ca8 `AttributeBehavior::getValue()` now respects the callable in array format 9 years ago
Carsten Brandt e8d309dddb documentation fixes for 2.0.7 9 years ago
SilverFire - Dmitry Naumenko 6936c41cf1 SluggableBahavior - PHPDoc and code style fixed; validateSlug, generateUniqueSlug - private -> protected 9 years ago
Hesam Khaki bd6b70b470 fixes some coding styles in sluggableBehavior 9 years ago
Hesam Khaki a8dfd50078 numerous refactors for SluggabeBehavior class 9 years ago
SilverFire - Dmitry Naumenko cd87d67f34 Global DOCS update: ~~~ replaced with ``` 9 years ago
Carsten Brandt e2c8c08875 made it easier to extend SluggableBehavior slug generation 9 years ago
SilverFire - Dima Naumenko f38bb6ced4 Chg #9953: `TimestampBehavior::getValue()` value processing is consistent with `AttributeBehavior::getValue()` 9 years ago
Carsten Brandt a2568d1ec8 updated some comments and `@since` annotations 9 years ago
Klimov Paul cad9fd9d20 `yii\behaviors\TimestampBehavior::touch()` throws an exception if owner is new record 10 years ago
Steven Michaels 5fc927c959 AttributeBehavior documentation cleanup [ci skip] 10 years ago
Carsten Brandt da50920ac8 improved wording in TimestampBehavior 10 years ago
Carsten Brandt e742ba0ea1 updated docs about timestamp and refresh 10 years ago
Kartik Visweswaran 98571fb3b9 More correct usage of TimeStamp touch method 10 years ago
Qiang Xue 654dbbb29e Fixes #6678: `yii\behaviors\SluggableBehavior` will generate a new slug only when the slug attribute is empty or the source attribute is changed 10 years ago
Qiang Xue 58516ae8a9 Fixes #6434: Added `yii\behaviors\SluggableBehavior::immutable` to support keeping the generated slug unchanged 10 years ago
Eugine Terentev 4dd15a669f Adds immutable property fit SluggableBehavior fixes #6430 10 years ago
Alexander Mohorev bb8550886e PHP type casting 10 years ago