Nikola Basic
95586f243c
Fixed docblock for htmlEncode and htmlDecode [skip ci]
10 years ago
Carsten Brandt
073982ab0a
Update BaseActiveRecord.php
...
The exceptions thrown on error are db exceptions.
10 years ago
Carsten Brandt
58becaceab
suppress warning thrown by IntlDateFormatter::parse()
...
Works around PHP Bug https://bugs.php.net/bug.php?id=68528
fixes #5962
10 years ago
Qiang Xue
544981a41c
Fixes #6318 : Made widgets more error-tolerant and user-friendly when certain option values are null
10 years ago
Qiang Xue
83b0b3d480
Fixes #6311 : Optimistic lock for ActiveRecord does not work as expected
10 years ago
Carsten Brandt
a52e1ac53c
fixed wrong CHANGELOG entries
...
introduced by @samdark in the following commits:
- c6b0e24a45
- 7c5938f902
- eaf8ece568
10 years ago
Emad Ghasemi
e093e77027
Update yii.php
...
Added relative time translations
10 years ago
Alexander Makarov
c6b0e24a45
Fixes #6305 : `yii\i18n\Formatter::asParagraphs()` was not unicode-aware
10 years ago
Alexander Makarov
9e42285f61
Reverted #3305
10 years ago
Carsten Brandt
ae1bd39377
adjusted missing return for fix #6263
10 years ago
Qiang Xue
9ae538e602
Fixed doc [skip ci]
10 years ago
Qiang Xue
0c599b1ee1
Fixes #5480 : Added defensive code to `yii\web\User::getIdentity()` to avoid potential infinite recursion
10 years ago
Alexander Makarov
19af264530
Enh: `yii fixture` command now offers help if no arguments are provided instead of crashing
10 years ago
Carsten Brandt
7325fdd7ed
better fix for #5448 not using customized DateTime class
...
fixes #6263 and has no problem with PHP Bug:
> it is a PHP bug: https://bugs.php.net/bug.php?id=45543
> Fixed in this commit: php/php-src@22dba2f#diff-7b738accc3d60f74c259da18588ddc5dL2996
>
> Fixed in PHP >5.4.26 and >5.5.10. http://3v4l.org/mlZX7
10 years ago
Alexander Makarov
ebdd56f0db
Changed #4277 behavior
10 years ago
Carsten Brandt
8b79293ff2
added missing `@since` annotations
10 years ago
Alexander Makarov
7b20bdeeb2
Fixes #6279 : `yii\db\Schema::getLastInsertID()` was passing wrong default schema name to PDO
10 years ago
Alexander Makarov
af50f5a290
Fixes #4277 : `yii\grid\GridView` is no longer throwing an exception in non-debug mode when results are empty and `columns` aren't defined
10 years ago
Alexander Makarov
5d7b70da5f
Adjusted #3305 : `MigrateController::refreshSchema()` is no more called automatically
10 years ago
Alexander Makarov
7c5938f902
#4791 : Added more colors to `yii migrate` command
10 years ago
Alexander Makarov
3c70d3c317
Fixes #3305 : `yii migrate` now automatically flushes DB schema cache after successful migration
10 years ago
Alexander Makarov
eaf8ece568
Fixes #5627 : Added `yii cache/flush-schema` console command to flush DB schema cache of a given database connection
10 years ago
wenbin1989
402d58cfd8
Fixes #6081 : `yii\rbac\DbManager::getChildren()` was not quoting column name properly
10 years ago
Alexander Makarov
de8adda565
Fixes #5748 : Smarty `{path` was generating absolute URLs instead of relative ones
10 years ago
Alexander Makarov
c2ef433ef9
Fixes #4146 : Added `yii\bootstrap\ButtonDropdown::$containerOptions`
10 years ago
Alexander Makarov
e6450be665
Fixes #6150 : `yii\bootstrap\Tabs` dropdown IDs were generated incorrectly
10 years ago
Andrey Grachov
25a7c84ef2
Fixes #6271 : Query caching returns the same data when running the same SQL with different fetch modes
10 years ago
Qiang Xue
2a0797dd23
Fixes #6266 : Clicking on reset button does not hide error summary when using `ActiveForm`
10 years ago
Qiang Xue
f509ed2448
Fixes #6236 : No JS scripts should be registered when `yii\widgets\ActiveForm::enableClientScript` is false
10 years ago
Carsten Brandt
4bc487ecbd
fixed typos
10 years ago
Carsten Brandt
6a8f4b0e50
fixed date formatter to display date-only values correctly
...
fixes #5448
10 years ago
Qiang Xue
87c002d5b3
Fixes #6207 : Added support for truncating HTML strings using `StringHelper::truncate()` and `StringHelper::truncateWords()`
10 years ago
Alex-Code
562417c572
truncate and truncateWords can now preserve HTML
...
new private method `truncateHtml` now used by `truncate` and `truncateWords`
10 years ago
Qiang Xue
33955a9e90
`yii\web\AssetManager` should not publish disabled asset bundles
10 years ago
Qiang Xue
38c04b3d89
Fixes #6189
10 years ago
Alexander Makarov
fce99c874e
Fixes #5504 : Added note to yii\console\CacheController explaining that cache components should be configured in console app configuration in order to be cleared
10 years ago
Carsten Brandt
c2d814cc3a
first draft of a fix for #5448
...
only method stubs so far
10 years ago
Carsten Brandt
d44c23bb00
ported fix for #6164 to sphinx
...
was already supported for BETWEEN but not for LIKE
fixes #6164
10 years ago
Carsten Brandt
cc8ffe364e
added support for yii\db\Expression to querybuilder BETWEEN and LIKE
...
fixes #6164
10 years ago
Qiang Xue
280dd1651d
Fixes #6172 : `yii\rbac\DbManager` should properly quote table and column names
10 years ago
Alexander Mohorev
e92482f554
Typo in word
10 years ago
Alexander Makarov
d1f72be5fc
Used echo instead of stdout not to cluttter tests
10 years ago
Alexander Makarov
e88a5d9cc4
Fixes #4823 and #6005 : `yii message` accuracy and error handling were improved by using PHP tokenizer instead of regular expressions. Removed eval() as well.
10 years ago
Alexander Makarov
fb2dff8528
Fixes #6107 and #6112 : `yii message` was emptying existing translations and incorrectly writing not yet translated strings in .po in case of multiple categories
10 years ago
Carsten Brandt
8039026ae2
added Formatter::defaultTimeZone to allow non UTC-values in DB
...
fixes #5683
10 years ago
Carsten Brandt
db56384fcf
improved documentation about loadDefaultValues()
...
issue #6126
10 years ago
Tobias Munk
5cb9349273
Fixes #6113 : Improved debugger configuration and request UI
...
- Responsive tables.
- Route is displayed by default, action is available as tooltip.
- Better config table display.
- PHP extensions are sorted alphabetically.
10 years ago
Nikola Basic
07a8b30575
Added translation for 'just now'
...
close #6099
10 years ago
Qiang Xue
3c63213de3
Added `yii\base\Controller::renderContent()`
10 years ago
Mircəlal
940562d301
improve
10 years ago