Commit Graph

9309 Commits

Author SHA1 Message Date
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
Alexander Makarov
ba606d06eb Fixes #4673 2014-08-12 00:57:31 +04:00
Alexander Makarov
546bd5a44a Merge pull request #4679 from bevalorous/docs-guide-russian-translation
Docs guide russian translation: translated rest-routing.md into Russian
2014-08-11 23:28:56 +03:00
Vadim Belorussov
a2800fe52e Translated rest-routing.md into Russian 2014-08-12 01:23:05 +05:00
mcd.php
20774165bc Fixes #4644: Added \yii\db\Schema::createColumnSchema() to be able to customize column schema used 2014-08-12 00:01:27 +04:00
Vadim Belorussov
b4a9ea8f8a Add rest-routing.md to translate into Russian 2014-08-12 00:56:39 +05:00
Alexander Makarov
a4e4c1e04e Merge pull request #4678 from bevalorous/master
Translated docs/guide/rest-controllers.md into Russian
2014-08-11 22:42:09 +03:00
Vadim Belorussov
fcf25cbf7f Translated rest-controllers.md into Russian 2014-08-12 00:31:35 +05:00
Vadim Belorussov
299f0fc441 Add rest-controllers.md to translate into Russian 2014-08-11 23:20:59 +05:00
Carsten Brandt
316317c87f Add note about smarty SVN 2014-08-11 17:32:42 +02:00
Klimov Paul
b062a6601d Default event for yii\behaviors\Sluggable with unique enabled changed to 'insert'. 2014-08-11 18:04:18 +03:00
Klimov Paul
327914e452 Added automatic generating of unique slug value to yii\behaviors\Sluggable 2014-08-11 17:43:00 +03:00
Alexander Makarov
c4b8e045f0 Fixed Smarty extension "use" function to work properly in linux environment 2014-08-11 16:46:51 +04:00
Alexander Makarov
892d95a376 Added runtime cleanup for Smarty and Twig tests 2014-08-11 15:27:02 +04:00
Alexander Makarov
3139c979cb Merge pull request #4671 from TriAnMan/test-runner
Provide aggregate test runner
2014-08-11 12:23:10 +03:00
Anton Andersen
dfffea9af3 Use config variables instead constants. Cleanup redundant constants 2014-08-11 12:46:28 +04:00
Anton Andersen
71adca60ee Add namespaces to all tests 2014-08-11 12:43:50 +04:00
Anton Andersen
545a908b53 Add runner for all tests 2014-08-11 12:43:49 +04:00
Qiang Xue
930668150a Merge pull request #4667 from jyaqub/patch-1
Update db-active-record.md to correct a minor typo
2014-08-10 19:35:43 -04:00
Jawad
b70ba7661b Update db-active-record.md to correct a minor typo
changed problem to problems to correct a minor typo.
2014-08-11 00:26:35 +01:00
RichWeber
b52459f660 Merge branch 'master' of github.com:yiisoft/yii2 2014-08-10 21:51:23 +03:00
Alexander Makarov
f08c85c5b8 Merge pull request #4619 from yiisoft/smarty
Smarty improvements
2014-08-10 21:06:49 +03:00
Alexander Makarov
739f3b13e4 Fixes #4553: Smarty enhancements 2014-08-10 22:05:48 +04:00
RichWeber
55aa741592 Grammar fix 2014-08-10 14:55:06 +03:00
RichWeber
ce7697d559 add structure-entry-scripts.md 2014-08-10 14:48:24 +03:00
Qiang Xue
3b01f48c6a Fixes #4597: yii\composer\Installer::setPermission() supports setting permission for both directories and files now (qiangxue) 2014-08-09 21:39:50 -04:00
Alexander Makarov
895bdbcd49 Fixes #4637: fixed broken Twig method calls 2014-08-09 15:47:09 +04:00
Alexander Makarov
464292d105 Fixes #4659: adjusted nginx config in docs to serve 404 instead of "no input file specified" when accessing non-existing PHP file 2014-08-09 15:44:41 +04:00
RichWeber
c3cf26c983 add structure-overview.md 2014-08-09 13:29:17 +03:00
Alexander Makarov
d41eb358a0 Merge pull request #4662 from hwabbott/master
Fixed typo in comments for generatePasswordHash
2014-08-09 13:13:49 +03:00
Henry Abbott
00aab7c379 Fixed typo in comments for generatePasswordHash 2014-08-09 00:23:29 -04:00
Alexander Makarov
f6b1ec9b5a Merge pull request #4661 from LAV45/translate-docs-to-ru
[skip ci] Translate docs/guide-ru/start-gii.md to russian language
2014-08-09 02:56:56 +03:00