Commit Graph

4614 Commits

Author SHA1 Message Date
Qiang Xue
155f525e0b Fixes #2380: yii\widgets\ActiveForm will register validation js even if there are not fields inside 2014-09-05 15:08:09 -04:00
Qiang Xue
d5077d70b7 Fixes #3738: ActiveField custom error selector not functioning 2014-09-05 14:50:24 -04:00
Qiang Xue
4ad022c372 Fixes #3240: Added support for assigning an anonymous function to yii\widgets\ActiveForm::fieldConfig 2014-09-05 13:37:52 -04:00
Carsten Brandt
e15cfc0286 allow precision for binary type in MSSQL
fixes #4931
2014-09-05 15:14:59 +02:00
Carsten Brandt
73cb5f8aac changed syntax for referencing the guide in apidoc
New syntax:

```
[link to guide](guide:file-name.md)
[link to guide](guide:file-name.md#subsection)
```

fixes #4719
2014-09-05 14:59:22 +02:00
Nikola Basic
c5a536e5b7 Fix typos and semantic errors in Serbian translation 2014-09-05 12:08:37 +02:00
Qiang Xue
ef1a6d20d1 When an ID is found to be in both Application::controllerMap and Application::modules, the former will take precedence 2014-09-04 23:34:11 -04:00
Qiang Xue
aeb8dd560a Refactored console help system [skip ci] 2014-09-04 21:14:09 -04:00
Qiang Xue
fadfdf690a Refactored help system. [skip ci] 2014-09-04 19:47:52 -04:00
Qiang Xue
7efb47bf39 Fixes #4920: yii\filters\auth\CompositeAuth should not trigger error as long as one of the methods succeeds
Fixes #3177: `yii\filters\auth\CompositeAuth` will send out challenges from all auth methods
2014-09-04 15:34:19 -04:00
Veaceslav Medvedev
48821a8c2c Update UrlManager.php 2014-09-04 22:27:23 +03:00
Qiang Xue
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
Alexander Makarov
a20f82dcfa Fixes #4919 2014-09-04 20:44:36 +04:00
Qiang Xue
6c27322927 Merge branch 'master' of git://github.com/yiisoft/yii2 2014-09-04 12:20:48 -04:00
Qiang Xue
593070e7be Merge branch 'master' of git://github.com/yiisoft/yii2 2014-09-04 12:20:26 -04:00
Alexander Makarov
fbdf2ef461 Renamed HelpParser::getFull() to HelpParser::getDetail() 2014-09-04 20:20:15 +04:00
Qiang Xue
262a77caca Added yii\web\Response::enableCsrfCookie to support storing CSRF tokens in session 2014-09-04 12:20:09 -04:00
Alexander Makarov
d549aa39a7 Fixed method name 2014-09-04 20:19:01 +04:00
Alexander Makarov
9c9ce298c7 Merge pull request #4913 from yiisoft/console-help-refactoring
Console help refactoring
2014-09-04 20:09:07 +04:00
Alexander Makarov
da7af42371 Added information about --appconfig to output of help command, color option is now passed to controller whose help we're getting 2014-09-04 19:49:18 +04:00
Alexander Makarov
21440d7aed Moved common help parsing code into HelpParser. Action methods now have default implementation. 2014-09-04 19:28:00 +04:00
Alexander Makarov
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
Alexander Makarov
d44f424858 Fixed getting controller description, refactored a bit more 2014-09-04 03:14:36 +04:00
Alexander Makarov
277d8cbaeb Got rid of console inline action 2014-09-04 03:01:28 +04:00
Alexander Makarov
dbac35b1aa Removed description and help code duplication 2014-09-04 02:38:15 +04:00
Alexander Makarov
d74e89a1ca Extracted inline action object creation, implemented it in console controller in order to use console inline action instead of base one 2014-09-04 01:27:16 +04:00
Alexander Makarov
3af08064b8 Fixes #4911: Changed callback signature used in yii\base\ArrayableTrait::fields() from function ($field, $model) { to function ($model, $field) { 2014-09-04 00:35:23 +04:00
Qiang Xue
f34b138aab Fixes #4225: Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur 2014-09-03 16:14:54 -04:00
Qiang Xue
212c5ee3ef Fixes #4254: SqlDataProvider does not work with Oracle and SQL Server 2014-09-03 14:42:09 -04:00
Qiang Xue
d6fd45079e typo fix. 2014-09-03 12:23:16 -04:00
Qiang Xue
62b08a0959 Fixes #4755: yii\test\BaseActiveFixture::unload() does not clean up the internal cached data 2014-09-03 10:21:00 -04:00
Vadim Belorussov
97a6fb3b60 Fixes indents 2014-09-03 10:16:35 -04:00
Vadim Belorussov
d1b4e6c6d2 Fixed #4754 2014-09-03 10:16:34 -04:00
Qiang Xue
f417f4353c Added yii\composer\Installer::postCreateProject() and modified the syntax of calling installer methods in composer.json [skip ci] 2014-09-02 23:17:50 -04:00
ItsReddi
8e1d63e4cb Fixes #4893: Added note about cookieValidationKey and console application to UPGRADE
Added note to config change

To get rid of confusions and errors. related to https://github.com/yiisoft/yii2/issues/4893
2014-09-01 18:40:48 +04:00
Mark
ff80968387 cache controller adjustments and improvements
related to #4792, close #4874
2014-09-01 13:07:56 +02:00
Carsten Brandt
92b958cd33 fixed return value of yii\web\Request::getPrefferedLanguage
ensure it is one of the input values

fixes #4880
2014-09-01 12:46:38 +02:00
Qiang Xue
fa0418f8a1 Fixes #4424: Added inline and mimeType options to all file downloading methods provided in yii\web\Response 2014-08-30 22:13:42 -04:00
Qiang Xue
5a1cf0f3a5 Adjusted the location of AuthChoice assets. [skip ci] 2014-08-29 11:33:47 -04:00
Qiang Xue
ee5d5ca71c adjusted ignore [skip ci] 2014-08-28 16:15:56 -04:00
Carsten Brandt
78b5c7db66 fixed boolean handling for PostgreSQL
- do not allow boolean values for integer columns
- use native boolean type with boolean values
- removed workaround that turned out to be wrong when schema and values
  are used correctly. Workaround resulted from wrong usage of boolean
  values before.

fixes #4672
2014-08-28 11:20:17 +02:00
Qiang Xue
c6a1afe2ea updated bower dependency [skip ci] 2014-08-27 17:02:20 -04:00
Alexander Makarov
31a17d6791 Revert "Fixes #4829: Removed PARSING_ONLY from \yii\rest\UrlRule to allow creating non-GET URLs for forms and tests"
This reverts commit 4ffbfec9aa.
2014-08-27 21:42:07 +04:00
Alexander Makarov
4ffbfec9aa Fixes #4829: Removed PARSING_ONLY from \yii\rest\UrlRule to allow creating non-GET URLs for forms and tests 2014-08-27 12:56:01 +04:00
Qiang Xue
f3105f736a Fixes #3283: Added $checkAjax to yii\web\User::loginRequired() 2014-08-26 22:29:40 -04:00
Alexander Makarov
355c26df8b Fixes #4188: API exceptions are now exposing less data when YII_DEBUG is false
- If exception is internal it's always returned as HTTP 500 general purpose one.
- Type isn't exposed anymore.
2014-08-27 00:50:02 +04:00
Alexander Makarov
7aed617c38 Fixes #4813: Fixed MSSQL schema that was getting incorrect info about constraints 2014-08-26 14:12:24 +04:00
Alexander Makarov
82fbc0ef2c Fixes #4247 2014-08-26 02:32:25 +04:00
Qiang Xue
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
Alexander Makarov
2a3f19e90e Merge pull request #4806 from mrarthur/patch-5
Fix PHPDoc
2014-08-25 01:30:30 +04:00