Carsten Brandt
8f1811919f
ensure error will always result in a failing HTTP status code
...
fixes #8326
proper fix for #7571 which did not work in all situations
2015-05-08 22:38:49 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Klimov Paul
a4f760e798
Fixed yii\base\Model does not recognize scenario declared by rules using 'except'
2015-04-24 18:03:34 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Nikola Kovacs
f11bdfa2a7
Grammar fix: followings -> following
2015-04-21 15:08:16 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
10d0ad70af
close output buffer for widget on exception
...
while running bootstrap extension unit tests which were failing first
I found phpunit complaining about risky tests because output buffers
were not closed correctly. This change fixes this problem.
close #7844
2015-04-20 15:17:51 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
851a914f67
phpdoc tweak: Model::scenarios()
2015-04-20 13:08:04 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Klimov Paul
85ca8c3712
Added ability to specify hints for model attributes
2015-04-17 14:16:28 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yasser Hassan
daab0e9aef
Fixing typo.
...
close #7941
2015-04-01 02:16:08 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
c01804d7c9
Fixes #7775 : Added more strict check on controller IDs when they are being used to create controller instances on Windows
2015-03-25 21:54:06 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
2f5345b63c
improved beforeAction docs
2015-03-21 12:13:03 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
tom--
70fa53a20f
Update Controller.php and Module.php
...
beforeAction() code style:
1. Return early on error
2. Don't else-after-return
close #7804
2015-03-21 12:10:25 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
b6a591c720
Fixes #7571 : HTTP status 500 and "An internal server error occurred." are now returned in case there was an exception in layout and YII_DEBUG is false
2015-03-06 20:10:54 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
624db0e678
updated Component::__isset() docs
...
close #7587
2015-03-05 14:57:29 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Brandon Kelly
6d2bc06bf4
Corrected the Component::__isset() docs
...
__isset() returns true if the property is set; not if it's null.
2015-03-05 14:51:54 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
2aace3714c
minor adjustments
2015-03-01 01:24:28 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
d7346cbfaf
Used PHP_OS instead of php_uname() to check for Linix
2015-03-01 02:31:13 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
4fffd8fcef
Prevented Security from erroring in case of /dev/urandom or /dev/random aren't available
2015-02-28 23:04:19 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
7721baae1f
Used StringHelper for byte operations
2015-02-24 19:20:28 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
tom--
4512833fac
Fixes #7215 : Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward
2015-02-24 14:03:41 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
1088fd496d
Added support to yii\di\Container to instantiate and configure an object that implements yii\base\Configurable.
2015-02-19 22:46:49 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
2ba573bfb5
Fixes #6883 : yii\base\ErrorHandler::logException() is now public
2015-02-08 18:36:55 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Kochetov
605c2d9eca
yii\base\Model::load() typo fix
2014-12-30 10:09:48 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
pana1990
7aae667e28
Fixes #6618 : Added Model::addErrors()
2014-12-26 23:05:59 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
b6be7111c6
Fixes #6488 : Support changing yii\base\Theme::basePath during runtime
2014-12-16 23:29:52 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
ab0033542b
Fixes #6247 : Logger and error handler are now using slightly less memory
2014-12-17 00:39:54 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
8956626845
Fixes #6518 [skip ci]
2014-12-14 19:06:18 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
8b79293ff2
added missing @since annotations
2014-11-27 18:11:14 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
3c63213de3
Added yii\base\Controller::renderContent()
2014-11-16 23:16:37 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
fe546cd22f
Fixes #5688 : Added optional $formName to Model::loadMultiple() to support customizing form name directly
2014-11-07 10:47:38 -05:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
munawer
33b760eca2
[ci skip] Guide typos fixed
2014-11-04 13:05:47 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
ecb113f1d0
fixed model serializtaion example
2014-11-01 14:05:56 +01:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
a92e214b9e
Fixes #5770 : Added more PHP error names for ErrorException
2014-10-31 09:52:45 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Mohorev
b2341edfcf
add more default names of exceptions
2014-10-31 09:47:32 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
186c843abc
Merge pull request #5766 from mongosoft/feature
...
Code style fixes
2014-10-25 12:46:01 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Mohorev
899b778994
Correct type declarations
2014-10-25 16:35:50 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Mohorev
bb8550886e
PHP type casting
2014-10-25 15:30:03 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Mohorev
f1edafffaf
PHPDoc comment doesn't contain all necessary @throws tag
...
close #5762
2014-10-25 12:47:08 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Ilya Antipenko
9061874bdb
Fixes #5646 : Call yii\base\ErrorHandler::unregister() instead of restore_*_handlers directly
2014-10-19 14:48:11 +04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
db6178
2bebfee5aa
Update Object.php
2014-10-17 01:31:02 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Sergey
783d1ccaed
typo fix
...
close #5454
2014-10-09 18:01:24 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
f3a6b1985d
do not call afterAction() if beforeAction returned false
...
fixes #5379
2014-10-07 15:21:21 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
eec716d88f
Fixes #4040 : Added $viewFile and $params to the EVENT_BEFORE_RENDER and EVENT_AFTER_RENDER events for View.
2014-10-02 23:36:02 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
710e70b8fd
Fixes #2037 : Dropped the support for using yii\base\Module as concrete module classes
2014-10-02 13:31:31 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
858ceb5039
Added yii\base\Application::loadedModules
2014-09-30 21:36:29 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Qiang Xue
074c1f6c53
Merge branch 'master' into new-asset
...
Conflicts:
apps/basic/composer.json
composer.json
2014-09-16 20:03:53 -04:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
d82195706f
UPGRADE and CHANGELOG notes for the Formatter changes
2014-09-10 17:56:25 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
98079b84a2
Merge branch 'master' into Erik-r-2359-formatter-refactored
...
* master: (1112 commits)
Removed unused "use" statements
Fixed array syntax
Removed unused "use" statements
Перевод runtime-handling-errors.md на русский язык
Mark tests with problematic DBMS as skipped.
Fixes #3511 : Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Create runtime-url-handling.md
Fixed test break.
Fixes #3410 : yii.activeForm.js now supports adding/removing fields dynamically
Fixes #2914 : `ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `ActiveForm::field()`
Fixes #4936 [skip ci]
Reverted/fixed some incorrect changes.
missing "." sign
Fixed formatting, initialized options array
Fixed phpdoc
...
Conflicts:
framework/CHANGELOG.md
framework/base/Formatter.php
framework/i18n/Formatter.php
tests/unit/framework/base/FormatterTest.php
tests/unit/framework/i18n/FormatterTest.php
2014-09-07 20:44:48 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
f8f0ff5445
moved formatter to i18n namespace
2014-09-07 20:40:34 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
065db64db3
finsihed formatter implementation
...
neads cleanup
2014-09-07 20:35:15 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
2a15ae12e6
refactored number formatting
2014-09-07 18:34:47 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Carsten Brandt
a4e86c02de
date formatter iteration
2014-09-07 15:54:57 +02:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)