Commit Graph

4629 Commits

Author SHA1 Message Date
Qiang Xue
1c3e61ec26 Fixes #4591: yii\helpers\Url::to() will no longer prefix relative URLs with the base URL 2014-08-05 11:06:54 -04:00
Tomek Romik
24d0314928 Update docs for clientValidateAttribute() 2014-08-05 16:56:00 +02:00
Qiang Xue
7a55aea247 Fixes #4600 2014-08-05 07:53:20 -04:00
Qiang Xue
f59943aaaf Merge pull request #4589 from thiagotalma/inputmask
Upgrade jquery.inputmask to v3.0.59
2014-08-04 22:06:55 -04:00
Alex-Code
594b57836d Added validation js callbacks
- `beforeValidateAll`
- `afterValidateAll`

fixes #4234, close #4559
2014-08-04 18:06:10 +02:00
Thiago Talma
d635ab857b Upgrade jquery.inputmask to v3.0.59 2014-08-04 12:31:20 -03:00
Tadas Z
f010fb57b4 Enh #4581: Added ability to disable url encoding in UrlRule. 2014-08-04 00:07:36 +03:00
verysimplenick
91e0a3c8ee fix typo in define $flavors['gfm-comment']
fix typo Markdown->GithubMarkdown in $flavors['gfm-comment']
2014-08-03 21:42:38 +04:00
Qiang Xue
3f9d590dbe minor fix [skip ci] 2014-08-03 08:30:30 -04:00
Qiang Xue
f0fefbb609 renamed function name [skip ci] 2014-08-02 22:38:55 -04:00
Qiang Xue
6dd2203a5c Fixes #4566: Added client validation support for image validator 2014-08-02 22:36:22 -04:00
Tomek Romik
87f58e4859 Abort further validation if there are no files to validate 2014-08-02 17:04:42 -04:00
Tomek Romik
8c5c4c503b Fix lines 2014-08-02 17:04:42 -04:00
Tomek Romik
ed3564c1cf Added client-side image validation 2014-08-02 17:04:42 -04:00
Qiang Xue
378b765e48 Fixes #4571: ignore non-string attribute names for AttributeBehavior. 2014-08-02 14:12:30 -04:00
Alexander Makarov
2a8ca600c5 Simplified parameter check for buildSimpleCondition() 2014-08-01 21:21:01 +04:00
Alexander Makarov
47ee0b87d4 Removed unnecessary code 2014-08-01 21:18:48 +04:00
Alexander Makarov
b656137541 Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension 2014-08-01 21:11:24 +04:00
Carsten Brandt
0ed6355ee1 test and docs to be clear about #4558 2014-08-01 15:35:23 +02:00
maxlapko
62bffafeea Update MessageController.php
Fixed order of checking config `format` property
2014-08-01 16:23:49 +04:00
Alexander Makarov
c1cf48cf5b Fixes #2315: Any operator now could be used with yii\db\Query::->where() operand format 2014-08-01 11:37:05 +04:00
Qiang Xue
f74e208103 Merge branch 'deferred-validation' of github.com:Alex-Code/yii2 into Alex-Code-deferred-validation
Conflicts:
	framework/CHANGELOG.md
2014-07-31 11:28:27 -04:00
Qiang Xue
c6e8f5a667 Merge pull request #4543 from slavcodev/refactoring-query
Refactored ActiveQuery::one() to be consistent with all() creation
2014-07-31 10:52:01 -04:00
slavcodev
fa8e576251 Refactored ActiveQuery::one() to be consistent with all() creation 2014-07-31 16:38:23 +03:00
Qiang Xue
b19fa0c3db minor fixes [skip ci] 2014-07-31 09:29:12 -04:00
Qiang Xue
19b8cc442d Merge pull request #4542 from xjflyttp/4520-cache-memcache-sasl-support
- Enh #4520: yii\caching/MemCache.php add sasl support (xjflyttp)
2014-07-31 09:26:02 -04:00
xjflyttp
c5fbf89b44 - Enh #4520: yii\caching/MemCache.php add sasl support (xjflyttp) 2014-07-31 20:42:59 +08:00
Alex-Code
3a10c4cfa4 Update yii.activeForm.js
Refactored
2014-07-30 14:24:47 +01:00
Alex-Code
6d2bc729c0 Update CHANGELOG.md 2014-07-30 14:12:32 +01:00
Alex-Code
4d337c3068 Update CHANGELOG.md 2014-07-30 14:12:04 +01:00
Carsten Brandt
7af92173b1 length arg of byteSubstr is now optional 2014-07-30 13:29:01 +02:00
Alexander Makarov
cde71f4318 Added encoding to StringHelper::byteSubst() fallback 2014-07-30 15:11:20 +04:00
Oleg Belostotskiy
57335523d2 Fix Russian translation 2014-07-30 12:48:33 +04:00
mbman
94dc27a30e Fixes #4497: Bad Request, Unable to verify your data submission 2014-07-30 09:37:03 +02:00
Qiang Xue
da544b2676 Fixes #4519: yii\base\Model::isAttributeRequired() should check if the when option of the validator is set 2014-07-29 21:01:24 -04:00
Thiago Talma
45ee387f92 It is not required by default when you set the "when" attribute 2014-07-29 20:59:21 -04:00
Qiang Xue
83b800271b Merge branch 'master' of git://github.com/yiisoft/yii2 2014-07-29 20:54:07 -04:00
Qiang Xue
a0d19e922b Fixes #4497: changed to use hex digits by default when hashing data. 2014-07-29 20:54:01 -04:00
Alexander Makarov
100ba6c3ab Replaced substr_compare with strncmp where possible 2014-07-30 02:32:47 +04:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Alexander Makarov
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
Carsten Brandt
ca9d4867f4 code style 2014-07-29 22:23:59 +02:00
Carsten Brandt
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
Carsten Brandt
6d1dd1d556 class map 2014-07-29 21:50:29 +02:00
Carsten Brandt
08a480c6e6 make Request more robust against invalid CSRF data
fixes #4514
2014-07-29 20:13:57 +02:00
Alexander Makarov
2fc8cb4523 Fixes #4489: Fixed MySQL RBAC manager 2014-07-29 11:10:31 +04:00
Carsten Brandt
8701d7df3b more explicit comment in phpdoc, code style 2014-07-29 02:45:56 +02:00
Carsten Brandt
74c99dc959 code style + test groups 2014-07-29 01:52:34 +02:00
Alexander Makarov
c2c7bbe2b9 [skip ci] Fixes #4461 2014-07-28 22:15:59 +04:00
Alexander Makarov
d1ccb92a34 Fixes #4489: RBAC PhpManager wasn't saving multiple assignmentsFixes #4489: RBAC PhpManager wasn't saving multiple assignments properly 2014-07-28 22:09:38 +04:00