63 Commits

Author SHA1 Message Date
Lonnie Ezell
6166af56cd
Provide a safeguard against sending headers during tests. Inneffective at fixing Session tests. 2018-07-10 22:52:36 -05:00
Lonnie Ezell
f4c373ecee
Refactor controller to not use the constructor. 2018-07-09 23:44:28 -05:00
Lonnie Ezell
be854f51c3
Merge pull request #1091 from samsonasik/substr-strpos
change substr with strpos/stripos when possible
2018-07-07 23:43:58 -05:00
Abdul Malik Ikhsan
357d0abc98
count optimization : using truthy check instead when possible 2018-07-03 00:34:53 +07:00
Abdul Malik Ikhsan
ef54f2fa74
donot use yoda condition 2018-07-03 00:16:21 +07:00
Abdul Malik Ikhsan
b3a66256d0
change substr with strpos/stripos when possible 2018-07-02 19:24:37 +07:00
Master Yoda
5f69a12e81
Refactor exceptions for late static binding 2018-05-29 22:20:48 -07:00
Master Yoda
42bc648bdc
Finish testing the testable in CLI 2018-05-04 11:41:59 -07:00
Master Yoda
0b9f26761f
Test the command line parsing 2018-05-03 10:27:12 -07:00
Lonnie Ezell
357687d748
Refactored CLI exceptions. 2018-03-07 23:46:14 -06:00
Lonnie Ezell
90d8881100
Updated CLI's call of Validation setRule 2018-02-03 00:16:04 -06:00
Master Yoda
b733001e59
Annual copyright update 2018-01-09 01:01:00 -08:00
Natan Felles
4773587fa9
Use fwrite(STDOUT) to show cli tables 2017-11-18 06:16:21 -02:00
Natan Felles
3efe48248a
Update CLI::table 2017-11-16 16:32:01 -02:00
Natan Felles
64a3b02fa2
Add CLI::table 2017-11-16 11:34:42 -02:00
Natan Felles
2f20861ac6
CLI - trim pipe to validation detect rules 2017-11-05 04:27:26 -02:00
Natan Felles
06199588d0
Remove testing code 2017-10-31 20:57:29 -02:00
Natan Felles
87c70ee0f0
Update docs 2017-10-31 20:55:11 -02:00
Natan Felles
c1080a259b
Add validation to prompt 2017-10-31 20:07:39 -02:00
markus
2e48006869 If tput cols returns 0, the default value should be returned. This caused, among other things, an error for the test "testWrap" (system / CLI / CLITest.php), since the console width can not be 0 in the normal case 2017-10-27 18:32:49 +02:00
Lonnie Ezell
87a8d3e684
Removed extension from cli scripts and renamed ci.php to spark. Fixes #633 2017-08-27 23:26:07 -05:00
Abdul Malik Ikhsan
a76900043e
use empty() check instead of == [] compare 2017-08-09 08:07:18 +07:00
Abdul Malik Ikhsan
6c8b126eeb
remove unused $max variable inside closure at CLI::wrap() 2017-08-08 13:44:37 +07:00
Lonnie Ezell
6765c6e27c Merge pull request #666 from samsonasik/count-improve
count() usage improvement: replace with empty() when possible, assign to variable on loop
2017-08-07 22:58:39 -05:00
Abdul Malik Ikhsan
88f8dfb7fa
count() usage improvement: replace with empty() when possible, assign to variable on loop 2017-08-08 08:19:29 +07:00
Abdul Malik Ikhsan
1d08adf9b2
replace array() with short array syntax [] 2017-08-08 07:46:43 +07:00
Natan Felles
f490ccb9b6
Set some PHPDocs in CLI 2017-07-24 23:25:31 -03:00
Natan Felles
41ab103c72
Set PHPDocs 2017-07-23 11:34:40 -03:00
Master Yoda
fcce549142
Update (2) copyright comments per phpDocumentor 2017-07-13 14:20:27 -07:00
Master Yoda
bda7c8a252
Update copyright comments per phpDocumentor 2017-07-13 10:22:49 -07:00
KazuakiM
9ee8e6e7a1 Add system/CLI/CLI tests code 2017-06-16 00:48:02 +09:00
ytetsuro
c76e6901e7
Change Indent space4 to tab
Signed-off-by: ytetsuro <phper.0o0@gmail.com>
2017-03-30 00:26:09 +09:00
Basel Juma
64afdf3c34 Fix code styling & formatting issues 2017-03-19 09:28:29 +02:00
Basel Juma
810187b8a8 Add help functionality to existing commands 2017-03-14 02:04:25 +02:00
Basel Juma
e9914bd174 Add Help functionality 2017-03-14 01:04:54 +02:00
Lonnie Ezell
b85298dca3
Get CLI parameters working again. Fixes #422 2017-03-06 23:14:22 -06:00
kenjis
d2c1e128ad
Fix indentation
Replace white spaces with tabs
2017-02-04 16:36:08 +09:00
Lonnie Ezell
473aa90595 Merge pull request #384 from jim-parry/fix/https-links
Update license & site link to https://
2017-01-26 22:48:43 -06:00
Master Yoda
ef24a9a519
Add missing copyright header blocks 2017-01-20 00:57:53 -08:00
Master Yoda
b6247d1196
Update license & site link to https:// 2017-01-20 00:45:11 -08:00
Abdul Malik Ikhsan
1df323e1bd
set default $text parameter value as "" in CLI::write() 2017-01-20 09:14:32 +07:00
Lonnie Ezell
1dacecf9d6
Refactor CLI tools to use the CodeIgniter instance directly, instead of passing through index.php. 2017-01-16 00:13:22 -06:00
Lonnie Ezell
094f6756a8
New Command to generate Database sessions table migration file. 2017-01-02 00:04:25 -06:00
Master Yoda
bf3e165bfe
Updated copyright to 2017 2016-12-30 12:47:28 -08:00
Lonnie Ezell
da09c7867c Merge branch 'develop' into feature/cli 2016-12-27 23:26:44 -06:00
TAKEKOSHI Akishige
115225aee0
fix CLI::showProgress()'s message 2016-12-23 16:30:06 +09:00
Lonnie Ezell
bcee935a76
Good portion of CLI command docs done. Small bug-fixes for commands. 2016-12-20 00:03:47 -06:00
Lonnie Ezell
0c69e22bb4
Refactored database CLI tools into Commands. 2016-12-16 23:08:15 -06:00
Lonnie Ezell
49ec1083e5
Working command structure in place. Just need docs and re-implement the Migration and Seed tools as commands. 2016-12-16 00:00:46 -06:00
Lonnie Ezell
d0a8f7bd64
Getting a generic command runner in place. 2016-12-13 00:08:33 -06:00