Qiang Xue
a6cd7b72bb
refactored helper organization.
11 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
b138199c59
implementation of Response tied to actions
...
Result of a discussion with @qiangxue
- there is not global Yii::$app->response anymore, every action has
dedicated response class
- implementation allows using HMVC pattern now, nested actions do not
interfer
12 years ago
Qiang Xue
075a6b6504
fixed how console color should be enabled.
12 years ago
Qiang Xue
725d810085
Refactored console controller color option.
12 years ago
Qiang Xue
531ca690eb
refactored the message command.
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
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Alexander Kochetov
8b311ecbe7
yiic => yii additional corrections
12 years ago
Qiang Xue
fb5993af40
Fixes issue #251 : changed the signature of t() to be the same as v1.1
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Carsten Brandt
51357e58f0
more console helper and controller refactoring
...
changed name of ansi switch to --colors
69cad905dd (commitcomment-3168489)
issue #33
12 years ago
Carsten Brandt
fc5045fd0c
Fixed Copy paste error console/Controller
...
also naming of formatString -> ansiFormat
12 years ago
Carsten Brandt
69cad905dd
Refactoring Console commands
...
added method wrappers in console/Controller
issue #33
12 years ago
Alexander Kochetov
48d04fbb8c
!== array() => !empty()
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Qiang Xue
78457bf009
fetching plural rule data.
12 years ago
Qiang Xue
e1acc64b2b
refactoring cache and db references.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
3c1452e84b
Changed the separator of message category.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago
Qiang Xue
6a595de4be
refactored MVC.
12 years ago
Qiang Xue
b2662c0cd9
clean up help command.
12 years ago
Qiang Xue
2d7f048b74
Refactored usage error in console commands.
12 years ago
Qiang Xue
6fcac32410
error handling cleanup.
12 years ago
Qiang Xue
5b357d2eed
console app cleanup.
12 years ago
Qiang Xue
4402073d97
MVC WIP
12 years ago
Qiang Xue
0d21ee67cb
MVC WIP
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Alexander Makarov
7d7ee71d41
moved console formatting stuff to helper
12 years ago
Carsten Brandt
119352a526
console color: improved api and documentation
12 years ago
Carsten Brandt
9f06233275
first draft of ANSI control sequence implementation
...
Moving cursors, clear page and line, hide/show cursor implementation is
mostly complete. Need to rework color api now.
sources:
http://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes
https://github.com/pear/Console_Color2/blob/master/Console/Color2.php
12 years ago
Alexander Makarov
95b18d553b
more on console apps
12 years ago
Qiang Xue
fd3c29aa2e
Added console Request class.
...
Refactored console Application code.
12 years ago
Qiang Xue
38dcae3d6b
Finished help ccommand.
13 years ago
Qiang Xue
12932f0d77
help command.
13 years ago
Qiang Xue
769c1dee92
...
13 years ago
Qiang Xue
be8dd940db
...
13 years ago
Qiang Xue
a9b02d4e2e
...
13 years ago
Qiang Xue
5f3e24d81f
working on console app.
13 years ago
Alexander Makarov
f6a6c2cedf
updated default description
13 years ago
Alexander Makarov
dd091c2ff3
added check for default value
13 years ago
Alexander Makarov
434d31ddb4
better code for prompt
13 years ago
Alexander Makarov
b1f9bf5b55
fixed wrong condition
13 years ago
Alexander Makarov
f62a68f322
Added default value support for \yii\console\Command::prompt
13 years ago
Qiang Xue
a9439e9038
...
13 years ago
Alexander Makarov
4a8259ff8c
yiic, helpers
13 years ago