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.
11 years ago
Alexander Makarov
b968402ebd
more tests for FileHelper
12 years ago
Alexander Makarov
cc5618c034
More tests for ArrayHelper and Inflector
12 years ago
Qiang Xue
65352e500f
refactored ActiveField.
12 years ago
Alexander Makarov
0596fa82fd
code style fixes
12 years ago
Qiang Xue
24a66b383d
test break fix.
12 years ago
Qiang Xue
6d66a98acb
test break fix.
12 years ago
Qiang Xue
7aeb2fcf4f
Fixed test breaks.
12 years ago
Qiang Xue
915a3cd779
Fixes #653 : use boolean type to indicate boolean attributes.
12 years ago
Qiang Xue
9aa7b26184
Added LinkSorter.
12 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
12 years ago
Qiang Xue
7ebbc46a5b
Fixed wrong class uses.
12 years ago
Qiang Xue
c3df0beecd
changed parameter ordering.
12 years ago
Qiang Xue
0845f4b183
Enhanced ArrayHelper::toArray()
12 years ago
Qiang Xue
71a156ebdf
Added itemOptions for Html::ol
12 years ago
Qiang Xue
d87afeb496
encode checkbox and radio list by default.
12 years ago
Qiang Xue
d5bd9853ea
Added Html::ol() and Html::ul()
12 years ago
Alexander Kochetov
9bb0ce4b1c
Html helper pure HTML 5 mode without support old standarts
12 years ago
Qiang Xue
11c14a20e9
Simplified button signature.
12 years ago
Qiang Xue
f18d6df625
Revert "Merge pull request #548 from cebe/action-response"
...
This reverts commit 9d7597d61a
, reversing
changes made to 6b6390f72b
.
12 years ago
Carsten Brandt
71782b344e
Changed existing code to match the changes regarding response
12 years ago
Qiang Xue
2369019d22
Fixed test break.
12 years ago
Qiang Xue
17b1e5d2fc
Fixes issue #234 : Added Html::addCssClass() and removeCssClass().
12 years ago
Qiang Xue
05cca15459
Removed "fileTypes" option.
12 years ago
Qiang Xue
9d3c9db49d
Fixed test breaks.
12 years ago
Qiang Xue
a8d2eded98
Fixing test breaks.
12 years ago
Qiang Xue
040db44fbd
refactored FileHelper.
12 years ago
Klimov Paul
7697f21592
"filter" callback option has been added to "yii\helpers\base\FileHelper::findFiles()".
12 years ago
Klimov Paul
a5480de852
Test case "FileHelperTest::testGetMimeTypeByExtension()" has been added.
12 years ago
Klimov Paul
8f7a783757
Method "yii\helpers\base\FileHelper::mkdir()" has been added.
12 years ago
Klimov Paul
f416a36648
"FileHelperTest" has been advanced.
12 years ago
Klimov Paul
539864f435
"FileHelperTest" has been refactored.
12 years ago
Klimov Paul
dfda6663f6
Method "yii\helpers\base\FileHelper::findFiles()" has been added.
12 years ago
Klimov Paul
ef60ec56a3
Method "yii\helpers\base\FileHelper::removeDirectory()" has been added.
12 years ago
Klimov Paul
e2f7b99f16
Unit test for "yii\helpers\base\FileHelper" has been created.
12 years ago
Qiang Xue
0a9fffba8f
fixed test break.
12 years ago
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
12 years ago
Alexander Makarov
7cd9123c3b
Tests cleanup
...
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
12 years ago
Qiang Xue
291f3b35d0
Refactored Inflector.
12 years ago
Antonio Ramirez
dc8dbdc64a
fixed tests
12 years ago
Antonio Ramirez
05523640f2
fixed pluralize + singularize rules for tests
12 years ago
Antonio Ramirez
7b98b42418
added inflection methods from StringHelper + some comment fixes
12 years ago
Antonio Ramirez
641e6ee7cf
ported inflection methods from StringHelper to Inflector helper class
12 years ago
Antonio Ramirez
f9222a083a
fix failing test
12 years ago
Antonio Ramirez
3575b99650
finished all tests
12 years ago
Antonio Ramirez
82a6281c65
added tests
12 years ago
slavcopost
59cb5d1199
Add unit test
12 years ago
Carsten Brandt
cb8f5d702f
cleanup tests
12 years ago
resurtm
5575f53657
CS fixes.
12 years ago
Benjamin Wöster
f23a677bdf
mod: incorporate suggestions
...
- rename requireApp() to mockApplication()
- always destroy app on tearDown()
- eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN
- mockApplication() becomes a lot easier. Destroying app on each tearDown
means creating it on every call is fine. No more checking if it already
exists and if it has been created from the same config.
- \yii::$app should have been \Yii::$app
12 years ago