Commit Graph

7316 Commits

Author SHA1 Message Date
Qiang Xue
286f187572 Merge branch 'master' of https://github.com/yiisoft/yii2 2013-05-15 19:15:11 -04:00
Qiang Xue
e96fd0ea59 debug tool bar WIP 2013-05-15 19:15:01 -04:00
Carsten Brandt
01b478f48c Merge branch 'Ragazzo-partial-response-enh'
* Ragazzo-partial-response-enh:
  refactored web/Response::sendFile()
  Display Name of HttpException instead of classname
  string helper fixed, mime-type reverted
  code style fix
  partial response added, new code-style applied
2013-05-15 20:42:25 +02:00
resurtm
e70c98f977 Email validator regexp typo fix. 2013-05-16 00:39:52 +06:00
Carsten Brandt
a2c6d22124 refactored web/Response::sendFile()
- better throw http exception on not satisfiable range request
- constitent header names
- fixed range end when range request is to the end
- added unit test

related to #275, fixes #148
2013-05-15 20:39:23 +02:00
Carsten Brandt
762ed2e04d Display Name of HttpException instead of classname
class name is alwarys HttpException, better display the name of the http
error.
2013-05-15 20:36:02 +02:00
Qiang Xue
992e902885 Merge pull request #280 from resurtm/validator-idn
Fixes #143. UrlValidator and EmailValidator IDN support.
2013-05-15 11:15:09 -07:00
resurtm
9803b43818 'yii/validation' is not dependency of the 'yii/form' asset bundle now. 2013-05-16 00:12:08 +06:00
resurtm
0d4faf75a4 Proper 'yii/form' location in the ActiveForm. 2013-05-16 00:09:59 +06:00
resurtm
19a74c015c 'yii/form' asset bundle returned to the ActiveForm. 2013-05-16 00:07:50 +06:00
resurtm
60e574a68d 'yii/form' → 'yii/validation' 2013-05-16 00:06:07 +06:00
resurtm
bf1b2d9956 Form asset bundle registering code moved from ActiveForm::run() to the *Validator::clientValidateAttribute(). 2013-05-15 23:33:55 +06:00
resurtm
f7b8595f76 Validator::clientValidateAttribute() now accepts third parameter: a view.
punycode.js asset bundle registering moved from ActiveField to validators.
2013-05-15 23:17:50 +06:00
resurtm
6458b8df8f UrlValidator and EmailValidator IDN support fixes. 2013-05-15 22:24:57 +06:00
resurtm
8a5e1f4f5f Fixes #143. UrlValidator and EmailValidator IDN support. 2013-05-15 21:46:02 +06:00
Qiang Xue
490c57f5e2 namespace cleanup. 2013-05-15 11:12:05 -04:00
resurtm
5dffc75fc6 Merge branch 'master' of github.com:yiisoft/yii2 2013-05-15 20:37:00 +06:00
resurtm
8a868c9798 Logger: getTag()/setTag() error fixed. 2013-05-15 20:34:55 +06:00
Qiang Xue
fb5993af40 Fixes issue #251: changed the signature of t() to be the same as v1.1 2013-05-15 10:09:48 -04:00
Qiang Xue
fd7dbba73f Merge pull request #272 from slavcodev/patch-1
Make multisort compatible with Sort
2013-05-15 06:52:03 -07:00
resurtm
01080075ac Logger: getTag()/setTag() error fixed. 2013-05-15 19:51:00 +06:00
Carsten Brandt
116929ff6c Merge PR #275 branch 'partial-response-enh' of https://github.com/Ragazzo/yii2 into Ragazzo-partial-response-enh
* 'partial-response-enh' of https://github.com/Ragazzo/yii2:
  string helper fixed, mime-type reverted
  code style fix
  partial response added, new code-style applied
2013-05-15 15:15:17 +02:00
slavcopost
59cb5d1199 Add unit test 2013-05-15 15:59:47 +03:00
Qiang Xue
e35f1354e0 Merge branch 'master' of https://github.com/yiisoft/yii2 2013-05-15 08:40:34 -04:00
Qiang Xue
f13161319a debug toolbar WIP 2013-05-15 08:40:14 -04:00
Ragazzo
959cff3e9b string helper fixed, mime-type reverted 2013-05-15 15:22:01 +04:00
Ragazzo
04563cb76a code style fix 2013-05-15 14:57:12 +04:00
Ragazzo
ba31ee618f partial response added, new code-style applied 2013-05-15 14:55:02 +04:00
slavcopost
ad988267e4 Update phpDoc 2013-05-15 10:15:57 +03:00
Veaceslav Medvedev
d474133cd4 Make multisort compatible with Sort
Test code
```php
$orders = $this->getSort()->getOrders();
ArrayHelper::multisort($data, array_keys($orders), array_values($orders));
```
2013-05-15 10:12:15 +03:00
Qiang Xue
6431019ae3 Merge pull request #264 from cajoy/upstream
Fixed issue with getting Object component
2013-05-14 10:42:59 -07:00
Oleksii Strutsynskyi
5e888260d8 Fixed issue with getting Object component 2013-05-14 17:20:54 +00:00
Qiang Xue
15c2a2eed9 Removed unneeded code. 2013-05-14 07:32:42 -04:00
Qiang Xue
2d8a465c2f Fixes issue #257: removed the $view parameter from widget methods. 2013-05-14 07:24:37 -04:00
Antonio Ramirez
6cea89d8d4 made some changes, fix some pitfalls, remove PHP_EOL 2013-05-13 19:33:48 +02:00
resurtm
472902fa66 AR internals doc fix. 2013-05-13 23:05:41 +06:00
Qiang Xue
b94400ba64 Merge pull request #253 from resurtm/ar-transactions-3
Fixes #226: atomic operations and transaction support in AR.
2013-05-13 09:35:40 -07:00
resurtm
4973838b69 Better argument name in the ActiveRecord::isOperationAtomic() method. 2013-05-13 22:33:32 +06:00
resurtm
944e1fc0fe isOpAtomic → isOperationAtomic 2013-05-13 22:32:15 +06:00
resurtm
6014070676 AR atomic scenarios internals doc fix. 2013-05-13 22:30:05 +06:00
resurtm
35688b327b AR atomic scenarios fixes. 2013-05-13 22:02:15 +06:00
Alexander Makarov
31a46f5bcf fixed minor JS codestyle issues 2013-05-13 19:55:23 +04:00
resurtm
7fa9f113ee Fixed typo in internals/ar.md. 2013-05-13 20:40:09 +06:00
resurtm
a54c1cd684 Fixes #226: atomic operations and transaction support in AR. 2013-05-13 20:38:03 +06:00
Qiang Xue
909bbe62b0 Merge branch 'master' of https://github.com/yiisoft/yii2 2013-05-13 07:55:49 -04:00
Qiang Xue
940ac808c9 debugger tool WIP 2013-05-13 07:55:44 -04:00
Klimov Paul
0f7f193623 Yii core requirements have been updated: PHP version raised up to 5.3.3 2013-05-13 13:29:26 +03:00
Klimov Paul
d4ab780122 Twitter boostrap style has been applied for "YiiRequirementChecker" web view. 2013-05-13 13:15:08 +03:00
Antonio Ramirez
d812cbc6af Merge branch 'master' into bootstrap
* master: (33 commits)
  Skipped ApcCacheTest expire
  MS Windows EOLs → UNIX EOLs.
  Build command path fix.
  refactored RBAC.
  Added usage example of Theme.
  Added default class for theme.
  Fixes issue #172: Implemented new usage of widgets.
  code style fix of YiiRequirementChecker.php Renamed yiirequirements.php to requirements.php
  "YiiRequirementChecker" console view has been reworked to display requirements by blocks and in brief for the successful ones.
  Changed framework in dir structure to yii
  requirements.php typo fix.
  "requirements.php" has been added to "bootstrap" application.
  Doc comments and error messages for "YiiRequirementChecker" have been adjusted.
  Doc comments for "YiiRequirementChecker" have been updated.
  PHP version fallback for "YiiRequirementChecker" has been added.
  "YiiRequirementChecker::check()" has been updated allowing to accept filename for the requirements. Yii core requirements file has been composed.
  Check helper methods have been added to "YiiRequirementChecker".
  Web view for "YiiRequirementChecker" has been created.
  "YiiRequirementChecker::render()" has been implemented, console view has been created.
  added newline to end of header and body blocks in View
  ...
2013-05-12 20:22:45 +02:00
Antonio Ramirez
6493f7abe3 #20 proposed architecture for bootstrap 2013-05-12 20:21:44 +02:00