Commit Graph

123 Commits

Author SHA1 Message Date
Alexander Mohorev
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +03:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Qiang Xue
fceb2d6e21 Fixes #957: Json::encode() doesn't handle empty object correctly. 2013-10-09 20:33:06 -04:00
Qiang Xue
463ff43b4f test break fix. 2013-09-20 16:39:22 -04:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Carsten Brandt
b5a6dac3ae renamed test method after implementation rename in FileHelper 2013-08-30 17:03:09 +02:00
Carsten Brandt
4b7f5a728a improved control over and handling of file and dir permissions
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
  over directory permissions.
2013-08-30 16:52:33 +02:00
Alexander Makarov
b968402ebd more tests for FileHelper 2013-08-26 03:39:11 +04:00
Alexander Makarov
cc5618c034 More tests for ArrayHelper and Inflector 2013-08-26 03:21:19 +04:00
Qiang Xue
65352e500f refactored ActiveField. 2013-08-14 21:17:13 -04:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Qiang Xue
24a66b383d test break fix. 2013-08-09 09:50:19 -04:00
Qiang Xue
6d66a98acb test break fix. 2013-08-09 09:32:28 -04:00
Qiang Xue
7aeb2fcf4f Fixed test breaks. 2013-08-09 09:21:41 -04:00
Qiang Xue
915a3cd779 Fixes #653: use boolean type to indicate boolean attributes. 2013-07-23 20:45:14 -04:00
Qiang Xue
9aa7b26184 Added LinkSorter. 2013-07-20 07:28:22 -04:00
Qiang Xue
a6cd7b72bb refactored helper organization. 2013-07-17 20:45:36 -04:00
Qiang Xue
7ebbc46a5b Fixed wrong class uses. 2013-07-17 20:14:43 -04:00
Qiang Xue
c3df0beecd changed parameter ordering. 2013-07-07 09:46:14 -04:00
Qiang Xue
0845f4b183 Enhanced ArrayHelper::toArray() 2013-06-28 07:07:18 -04:00
Qiang Xue
71a156ebdf Added itemOptions for Html::ol 2013-06-25 16:16:36 -04:00
Qiang Xue
d87afeb496 encode checkbox and radio list by default. 2013-06-25 16:12:18 -04:00
Qiang Xue
d5bd9853ea Added Html::ol() and Html::ul() 2013-06-25 13:53:20 -04:00
Alexander Kochetov
9bb0ce4b1c Html helper pure HTML 5 mode without support old standarts 2013-06-19 20:14:40 +04:00
Qiang Xue
11c14a20e9 Simplified button signature. 2013-06-19 08:54:09 -04:00
Qiang Xue
f18d6df625 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a, reversing
changes made to 6b6390f72b.
2013-06-16 19:45:58 -04:00
Carsten Brandt
71782b344e Changed existing code to match the changes regarding response 2013-06-16 18:52:56 +02:00
Qiang Xue
2369019d22 Fixed test break. 2013-06-15 15:56:37 -04:00
Qiang Xue
17b1e5d2fc Fixes issue #234: Added Html::addCssClass() and removeCssClass(). 2013-06-11 16:35:14 -04:00
Qiang Xue
05cca15459 Removed "fileTypes" option. 2013-06-11 14:14:36 -04:00
Qiang Xue
9d3c9db49d Fixed test breaks. 2013-06-11 11:58:31 -04:00
Qiang Xue
a8d2eded98 Fixing test breaks. 2013-06-11 11:23:33 -04:00
Qiang Xue
040db44fbd refactored FileHelper. 2013-06-11 11:07:43 -04:00
Klimov Paul
7697f21592 "filter" callback option has been added to "yii\helpers\base\FileHelper::findFiles()". 2013-06-10 23:36:22 +03:00
Klimov Paul
a5480de852 Test case "FileHelperTest::testGetMimeTypeByExtension()" has been added. 2013-06-10 22:22:44 +03:00
Klimov Paul
8f7a783757 Method "yii\helpers\base\FileHelper::mkdir()" has been added. 2013-06-10 22:15:03 +03:00
Klimov Paul
f416a36648 "FileHelperTest" has been advanced. 2013-06-10 22:07:19 +03:00
Klimov Paul
539864f435 "FileHelperTest" has been refactored. 2013-06-10 21:33:53 +03:00
Klimov Paul
dfda6663f6 Method "yii\helpers\base\FileHelper::findFiles()" has been added. 2013-06-10 20:57:17 +03:00
Klimov Paul
ef60ec56a3 Method "yii\helpers\base\FileHelper::removeDirectory()" has been added. 2013-06-10 20:28:26 +03:00
Klimov Paul
e2f7b99f16 Unit test for "yii\helpers\base\FileHelper" has been created. 2013-06-10 20:22:34 +03:00
Qiang Xue
0a9fffba8f fixed test break. 2013-06-06 07:39:35 -04:00
Carsten Brandt
89ea3fef03 Next iteration on console commands
issue #33
- implemted getScreenSize for linux systems
- tiny adjustments and better naming for console color methods
- color switch in base Controller changed to magic property
- colorized Help command
2013-05-25 04:21:51 +02:00
Alexander Makarov
7cd9123c3b Tests cleanup
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
2013-05-24 18:35:00 +04:00
Qiang Xue
291f3b35d0 Refactored Inflector. 2013-05-22 18:20:56 -04:00
Antonio Ramirez
dc8dbdc64a fixed tests 2013-05-22 11:04:08 +02:00
Antonio Ramirez
05523640f2 fixed pluralize + singularize rules for tests 2013-05-22 10:59:09 +02:00
Antonio Ramirez
7b98b42418 added inflection methods from StringHelper + some comment fixes 2013-05-22 08:35:03 +02:00
Antonio Ramirez
641e6ee7cf ported inflection methods from StringHelper to Inflector helper class 2013-05-22 08:34:17 +02:00
Antonio Ramirez
f9222a083a fix failing test 2013-05-21 08:42:38 +02:00