761 Commits

Author SHA1 Message Date
e0d2d2cc88 Improve summary description of Action class 2015-07-21 12:08:35 -04:00
c4ab9a0891 Fixed typo in base/Security file and docs 2015-07-02 11:22:15 +03:00
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
39cb131984 Spelling and sc fixes 2015-06-16 23:53:12 +03:00
d34d890a32 PSR-2 if-else statement 2015-06-09 00:10:09 +03:00
38ca276e1f PSR-2 try-catch statement 2015-06-08 23:32:08 +03:00
0c5e4b7105 PSR-2 foreach statement 2015-06-08 23:21:21 +03:00
f68e970de2 link to PHP classes just as we do with normal classes
apidoc can handle this!
2015-06-05 21:53:24 +02:00
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
b2e8bf2552 Update PHPDoc Comment 2015-05-26 15:47:11 +04:30
1fe171b328 only close output buffer if it is still open
Pjax did alredy close it before ExitException

fixes #8506
2015-05-21 14:22:53 +02:00
d5693cfe01 small improvements of Model phpdoc 2015-05-19 01:16:47 +02:00
a0cc77d78d Update Model.php
close #8463
2015-05-19 01:16:30 +02:00
b9916b1718 log the whole exception object to allow log targets to work with it
fixes #6354
made possible by #7305
2015-05-16 00:32:01 +02:00
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
a4f760e798 Fixed yii\base\Model does not recognize scenario declared by rules using 'except' 2015-04-24 18:03:34 +03:00
f11bdfa2a7 Grammar fix: followings -> following 2015-04-21 15:08:16 +02:00
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
851a914f67 phpdoc tweak: Model::scenarios() 2015-04-20 13:08:04 +02:00
85ca8c3712 Added ability to specify hints for model attributes 2015-04-17 14:16:28 +03:00
daab0e9aef Fixing typo.
close #7941
2015-04-01 02:16:08 +02:00
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
2f5345b63c improved beforeAction docs 2015-03-21 12:13:03 +01:00
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
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
624db0e678 updated Component::__isset() docs
close #7587
2015-03-05 14:57:29 +01:00
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
2aace3714c minor adjustments 2015-03-01 01:24:28 +01:00
d7346cbfaf Used PHP_OS instead of php_uname() to check for Linix 2015-03-01 02:31:13 +03:00
4fffd8fcef Prevented Security from erroring in case of /dev/urandom or /dev/random aren't available 2015-02-28 23:04:19 +03:00
7721baae1f Used StringHelper for byte operations 2015-02-24 19:20:28 +03:00
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
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
2ba573bfb5 Fixes #6883: yii\base\ErrorHandler::logException() is now public 2015-02-08 18:36:55 +03:00
605c2d9eca yii\base\Model::load() typo fix 2014-12-30 10:09:48 +03:00
7aae667e28 Fixes #6618: Added Model::addErrors() 2014-12-26 23:05:59 +03:00
b6be7111c6 Fixes #6488: Support changing yii\base\Theme::basePath during runtime 2014-12-16 23:29:52 -05:00
ab0033542b Fixes #6247: Logger and error handler are now using slightly less memory 2014-12-17 00:39:54 +03:00
8956626845 Fixes #6518 [skip ci] 2014-12-14 19:06:18 -05:00
8b79293ff2 added missing @since annotations 2014-11-27 18:11:14 +01:00
3c63213de3 Added yii\base\Controller::renderContent() 2014-11-16 23:16:37 -05:00
fe546cd22f Fixes #5688: Added optional $formName to Model::loadMultiple() to support customizing form name directly 2014-11-07 10:47:38 -05:00
33b760eca2 [ci skip] Guide typos fixed 2014-11-04 13:05:47 +03:00
ecb113f1d0 fixed model serializtaion example 2014-11-01 14:05:56 +01:00
a92e214b9e Fixes #5770: Added more PHP error names for ErrorException 2014-10-31 09:52:45 -04:00
b2341edfcf add more default names of exceptions 2014-10-31 09:47:32 -04:00
186c843abc Merge pull request #5766 from mongosoft/feature
Code style fixes
2014-10-25 12:46:01 -04:00
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
f1edafffaf PHPDoc comment doesn't contain all necessary @throws tag
close #5762
2014-10-25 12:47:08 +02:00