Commit Graph

15391 Commits

Author SHA1 Message Date
disem
7d64e93c00 Merge branch 'master' of git://github.com/yiisoft/yii2 into dynamic-model-typo-fix 2014-08-13 15:51:26 +03:00
disem
a83d441534 typo fix 2014-08-13 15:51:10 +03:00
Carsten Brandt
3a4b32c4c1 fixed cubrid tests 2014-08-13 13:19:28 +02:00
Carsten Brandt
c4dc9470be created a test case to verify #4682 2014-08-13 12:45:20 +02:00
Alexander Makarov
7ad768575b Merge pull request #4703 from PatchRanger/patch-1
[ci skip] Fixing typo in guide-structure-modules
2014-08-13 13:41:32 +04:00
Dmitry Danilson
6f055417fd Fixing typo in guide-structure-modules 2014-08-13 16:32:29 +07:00
Vadim Belorussov
7ab1a7f049 Fixed translation of 'Rate Limiting' in README and related sections 2014-08-13 14:20:17 +05:00
Alexander Makarov
093be1a3dc Merge pull request #4695 from damiandennis/sourceMaps
added source map generation so that styling can be debugged easily.
2014-08-13 13:04:59 +04:00
Alexander Makarov
3dd516e486 Fixes #4701 2014-08-13 12:58:37 +04:00
Vadim Belorussov
7f38f49dfa Translated rest-rate-limiting.md into Russian 2014-08-13 13:04:10 +05:00
Vadim Belorussov
e5224f2bff Add rest-rate-limiting.md to translate into Russian 2014-08-13 12:34:13 +05:00
Damian Dennis
aec7dca2cd added source map generation so that styling can be debugged easily. 2014-08-13 12:48:41 +10:00
Qiang Xue
7cf358af03 Fixes #4607: AR model will throw an exception if it does not have a primary key to avoid updating/deleting data massively 2014-08-12 21:54:08 -04:00
Alex-Code
25c2f9bf85 Made error message encoding configurable for ActiveForm
Updated yii.activeform.js to use the encode option introduced in #4122.
Updated ActiveForm with new option encodeErrorSummary

fixes #4690, close #4691
2014-08-13 00:53:38 +02:00
Carsten Brandt
f099616967 improved IDE autocompletion for AR::find()
[ci skip]
2014-08-12 23:21:34 +02:00
Carsten Brandt
87427294fe fixed broken NOT condition in elasticsearch 2014-08-12 23:14:01 +02:00
Carsten Brandt
25bf486b7f save some function calls on AR insert 2014-08-12 18:13:49 +02:00
Klimov Paul
0a709b10a0 Model parameter added to yii\behaviors\Sluggable::uniqueSlugGenerator callback 2014-08-12 16:45:57 +03:00
RichWeber
9e925f6a54 Merge branch 'master' of github.com:yiisoft/yii2 2014-08-12 15:33:17 +03:00
Paul Klimov
0f4d8ac4ba Merge pull request #4675 from klimov-paul/4630-sluggable
Fix #4630: automatic generating of unique slug value to `yii\behaviors\Sluggable`
2014-08-12 15:20:09 +03:00
Carsten Brandt
accd2d3124 Update README.md 2014-08-12 13:35:45 +02:00
Carsten Brandt
dd225fb628 try running against postgres 9.3 for #4672 2014-08-12 13:00:32 +02:00
Carsten Brandt
9d4e3612e0 fixed test break 2014-08-12 12:51:24 +02:00
Carsten Brandt
3b665fe3c4 improved unit test SKIP detection
issue #4687
2014-08-12 12:10:19 +02:00
Carsten Brandt
869d7b7cfc Improved test config
You can now customize test config without having uncommitted changes in
git.

issue #4687
2014-08-12 12:10:19 +02:00
Carsten Brandt
47b42ca808 Merge pull request #4680 from yiisoft/array-cache
Created ArrayCache class
2014-08-12 11:40:31 +02:00
Klimov Paul
c072cc2eaf yii\behaviors\Sluggable adjusted 2014-08-12 12:24:08 +03:00
Klimov Paul
ce18373221 CHANGELOG updated 2014-08-12 12:15:24 +03:00
Klimov Paul
823bfc977d merge with upstream 2014-08-12 12:14:16 +03:00
Klimov Paul
101d771ecf yii\behaviors\Sluggable::validateSlug() fixed to respect updating record 2014-08-12 12:01:23 +03:00
Klimov Paul
f27254b9aa yii\behaviors\Sluggable simplified 2014-08-12 11:43:15 +03:00
Klimov Paul
d362af6ede yii\behaviors\Sluggable optimized 2014-08-12 11:36:50 +03:00
Alexander Makarov
cbb52eb702 Merge pull request #4685 from bevalorous/docs-guide-russian-translation
[ci skip] Docs guide russian translation: translated rest-authentication.md into Russian
2014-08-12 11:00:47 +03:00
Vadim Belorussov
f6968f89dd Translated rest-authentication.md into Russian 2014-08-12 12:25:28 +05:00
Vadim Belorussov
701991f06c Add rest-authentication.md to translate into Russian 2014-08-12 11:02:04 +05:00
Qiang Xue
9f155de82d removed the key from the array in the fix for #4371 2014-08-11 23:30:43 -04:00
Qiang Xue
5fe6c55d6b Fixes #4586: Signed bigint and unsigned int will be converted into integers when they are loaded from DB by AR 2014-08-11 22:09:51 -04:00
Qiang Xue
19b98948e4 Use 0666 to set files as writable. 2014-08-11 21:42:09 -04:00
Qiang Xue
00232f7aec Merge branch 'master' of git://github.com/yiisoft/yii2
Conflicts:
	framework/CHANGELOG.md
2014-08-11 21:39:19 -04:00
Carsten Brandt
c6274acf6c ensure postgres boolean values are handled correctly
also fixed an issue with default value loading of bool columns.

fixes #3489, fixes #4085, fixes #3920
related to #4672
2014-08-12 02:19:53 +02:00
Carsten Brandt
92d65ab78b fix issue with postgreSQL and batch inserting boolean values
fixes #4654
2014-08-12 01:43:49 +02:00
Nikitin Vitaly
f1dd83e2a9 Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
close #4655
2014-08-12 00:51:11 +02:00
Carsten Brandt
70e0115d5a changelog for #4656 2014-08-12 00:45:15 +02:00
Alex-Code
9b6f84ca58 BaseHtmlPurifier config can now be a closure
`$config` can now be a closure that will have the `$configInstance` passed as the first param.

updated docs.

close #4656
2014-08-12 00:33:29 +02:00
Alexander Makarov
7728274ce6 Fixes #4122: Html::error() and Html::errorSummary() are now accepting encode option. If set to false it prevents encoding of error messages 2014-08-12 02:13:34 +04:00
Carsten Brandt
c43b7ee8b5 console help WIP 2014-08-12 00:05:19 +02:00
Alexander Makarov
1070344278 Adjusted data column docs 2014-08-12 01:58:37 +04:00
Carsten Brandt
a2e8083beb Created ArrayCache class
- can be used to enable caching in a request without the need for any storage
- useful for example in complex console tasks that should still be independed
2014-08-11 23:49:55 +02:00
Evgeniy Tkachenko
564c53f790 Added information about format of Data column 2014-08-12 01:40:19 +04:00
abrahamy
b7cad9df3d Fixes #4371: Active form client validation wasn't working in case of two models having same named fields
When rendering multiple models in the same ActiveForm if any of the field names in the two models is the same then the corresponding attribute in the yiiActiveForm object in yiiActiveForm.js (ie $('form').data('yiiActiveForm').attributes) of the first rendered model is overwritten by the attribute of the last model causing the client-side validation for the overwritten field not to run at all. Example: given two models Car and Owner with attributes {make, age} and {name, age} then if the Car is rendered first its age attribute will not have any client validation.
2014-08-12 01:38:05 +04:00