5063 Commits

Author SHA1 Message Date
bf206efc66 Fixes #6427: In case of invalid route web application now throws exception with "Page not found" instead of "Invalid Route" 2014-12-17 00:52:43 +03:00
ab0033542b Fixes #6247: Logger and error handler are now using slightly less memory 2014-12-17 00:39:54 +03:00
58516ae8a9 Fixes #6434: Added yii\behaviors\SluggableBehavior::immutable to support keeping the generated slug unchanged 2014-12-15 22:19:09 -05:00
4dd15a669f Adds immutable property fit SluggableBehavior fixes #6430 2014-12-15 22:02:49 -05:00
8956626845 Fixes #6518 [skip ci] 2014-12-14 19:06:18 -05:00
fa0a3aefae Fixes #6467: ActiveForm will scroll to the nearest visible element when the first error input is hidden 2014-12-13 19:53:18 -05:00
23e51edfc6 use a monospace font in error details on exception page
better readability
2014-12-13 16:28:34 +01:00
bb4629dd2a require PHP mcrypt extension
eg. used in /var/www/app/vendor/yiisoft/yii2/base/Security.php at line 465
2014-12-12 19:21:44 +01:00
b76b85ac90 #4, Add new translation messages and translate that for fa-IR language.
Signed-off-by: nabi <nabikaz@gmail.com>
2014-12-11 21:49:34 +03:30
748007ce6a Fixes #6404: advanced application template Alert widget was generating duplicate IDs in case of multiple flashes 2014-12-10 00:08:10 +03:00
b16ac9a05a Fixes #6391 2014-12-08 22:36:32 -05:00
7881bba26c prepare for next release. 2014-12-07 11:46:05 -05:00
84b42abad0 prepare for 2.0.1 release 2014-12-07 11:42:41 -05:00
8809d422dc Fixes #5005: Added support to suppress loading the same CSS files in AJAX responses 2014-12-06 10:09:47 -05:00
ca5b874561 Fixes #5494: Added support for specifying a menu header as a configuration array in yii\bootstrap\Dropdown 2014-12-06 09:36:42 -05:00
7929ac6f25 Fixes #6381: Client-side file validation should be disabled if the browser does not support it 2014-12-06 08:54:43 -05:00
daddc61e7b Add File API detection to client file validator
Fixes #6345
2014-12-06 08:53:14 -05:00
d7c3e7815b Fixes #6367: Added yii\gii\generators\crud\Generator to support customizing view path for the generated CRUD controller 2014-12-04 15:11:54 -05:00
29ef5693d8 Added Ragazzo to CHANGELOG 2014-12-04 21:32:49 +03:00
4013b81d5a CHANGELOG enty about #4791 updated 2014-12-04 20:10:13 +02:00
e796d1fa27 Plain echo replaced by stdout() at yii\console\HelpController 2014-12-04 20:05:47 +02:00
a3af271edf Color output added to yii\console\MessageController and yii\console\AssetController 2014-12-04 19:58:23 +02:00
8632882312 Plain echo replaced by stdout() at yii\console\MessageController 2014-12-04 18:37:52 +02:00
19e79ad4b4 Plain echo replaced by stdout() at yii\console\AssetController 2014-12-04 18:27:45 +02:00
70ca76d4a3 Added yii\web\AssetConverter::$forceConvert 2014-12-04 17:47:21 +02:00
875e2c3acb Fixes #4395: Added $checkAjax parameter to yii\web\Response::redirect() to support default redirection behavior for AJAX/PJAX requests 2014-12-03 10:07:09 -05:00
97e4813929 Fixes #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller 2014-12-03 09:52:56 -05:00
379319d144 updated german translation 2014-12-03 14:32:41 +01:00
6e7dc26b38 added support for DateTimeImmutable to Formatter
fixes #5503
2014-12-02 04:23:26 +01:00
95586f243c Fixed docblock for htmlEncode and htmlDecode [skip ci] 2014-12-01 11:47:39 +01:00
073982ab0a Update BaseActiveRecord.php
The exceptions thrown on error are db exceptions.
2014-11-30 21:02:43 +01:00
58becaceab suppress warning thrown by IntlDateFormatter::parse()
Works around PHP Bug https://bugs.php.net/bug.php?id=68528

fixes #5962
2014-11-30 17:56:23 +01:00
544981a41c Fixes #6318: Made widgets more error-tolerant and user-friendly when certain option values are null 2014-11-29 21:29:53 -05:00
83b0b3d480 Fixes #6311: Optimistic lock for ActiveRecord does not work as expected 2014-11-29 20:10:53 -05:00
a52e1ac53c fixed wrong CHANGELOG entries
introduced by @samdark in the following commits:

- c6b0e24a456d19092b47d9296fdd739b8899cded
- 7c5938f902553db6bd592040105e148f6a1470fd
- eaf8ece568cdb2be320006b0b202fa94284b9d98
2014-11-29 14:39:43 +01:00
e093e77027 Update yii.php
Added relative time translations
2014-11-29 03:07:21 +03:30
c6b0e24a45 Fixes #6305: yii\i18n\Formatter::asParagraphs() was not unicode-aware 2014-11-29 01:29:15 +03:00
9e42285f61 Reverted #3305 2014-11-28 17:13:52 +03:00
ae1bd39377 adjusted missing return for fix #6263 2014-11-28 06:30:11 +01:00
9ae538e602 Fixed doc [skip ci] 2014-11-27 22:03:31 -05:00
0c599b1ee1 Fixes #5480: Added defensive code to yii\web\User::getIdentity() to avoid potential infinite recursion 2014-11-27 21:55:28 -05:00
19af264530 Enh: yii fixture command now offers help if no arguments are provided instead of crashing 2014-11-28 00:32:38 +03:00
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
2014-11-27 21:55:33 +01:00
ebdd56f0db Changed #4277 behavior 2014-11-27 20:42:31 +03:00
8b79293ff2 added missing @since annotations 2014-11-27 18:11:14 +01:00
7b20bdeeb2 Fixes #6279: yii\db\Schema::getLastInsertID() was passing wrong default schema name to PDO 2014-11-27 16:51:29 +03:00
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 2014-11-27 13:47:40 +03:00
5d7b70da5f Adjusted #3305: MigrateController::refreshSchema() is no more called automatically 2014-11-27 11:54:30 +03:00
7c5938f902 #4791: Added more colors to yii migrate command 2014-11-27 04:03:33 +03:00
3c70d3c317 Fixes #3305: yii migrate now automatically flushes DB schema cache after successful migration 2014-11-27 03:38:25 +03:00