Commit graph

506 commits

Author SHA1 Message Date
meadsteve 20d5e5a6b2 Add code to builder so pluginconfig.php is loaded if found in the root 2014-03-02 20:00:43 +00:00
meadsteve 6d4e49d07b Add code to allow configuration for the plugin factory to be stored on a per install basis. 2014-03-02 19:59:52 +00:00
meadsteve f09ed3edad Merge remote-tracking branch 'memoryleak/master' into block8-master-23 2013-12-23 14:51:03 +00:00
Steve B bc838e0c43 Merge pull request #238 from meadsteve/command-execution
Move shell command execution out of builder into separate class and fix issue #218
2013-12-20 01:38:03 -08:00
Steve B 36402ee47c Merge pull request #239 from localhost8080/master
adding support for the 'committer' parameter
2013-12-18 00:53:41 -08:00
localhost8080 f6ee6493e2 adding support for the 'committer' parameter
adding support for the committer parameter in the email configuration
section of phpci.yaml

enabled with
committer: true
in your phpci.yml
2013-12-15 20:21:12 +00:00
meadsteve 725e2aeadd Merge branch 'master' of https://github.com/meadsteve/PHPCI 2013-12-13 15:01:02 +00:00
meadsteve c67b29eacd adding missing required packages to the PluginController. 2013-12-13 15:00:05 +00:00
meadsteve 3a3cc98f86 rename CommandExecutor::executeCommand() so that it's not confused with the Builder::executeCommand() 2013-12-13 14:41:02 +00:00
steve.brazier 8d8714746c move findBinary from Builder to CommandExecutor. 2013-12-12 16:17:11 +00:00
steve.brazier 1307240622 add return value tests for CommandExecutor. 2013-12-12 16:04:07 +00:00
steve.brazier 7a5aa5814f add tests for CommandExecutor. 2013-12-12 14:37:47 +00:00
steve.brazier d26568b962 fix issue #218 by blanking last output before executing new command. 2013-12-12 14:16:14 +00:00
steve.brazier 5801c6083e move command execution code out of builder class 2013-12-12 14:15:44 +00:00
steve.brazier 6eb38d1039 Merge branch 'master' of https://github.com/Block8/PHPCI 2013-12-12 12:44:21 +00:00
Steve B 77b0d0f221 Merge pull request #234 from indigodp/master
Update LocalBuild.php
2013-12-11 02:58:21 -08:00
indigodp cfe45f54d0 Update LocalBuild.php
Add fetching needed branch for local build
2013-12-11 09:33:59 +02:00
Steve B e49128f4d6 Merge pull request #232 from Block8/feature/shell_plugin_updates
Updating shell plugin with suggestions from #188
2013-12-10 02:53:31 -08:00
Dan Cryer 2cc554d9aa Merge pull request #233 from meadsteve/build-status-fix
Refactor how the plugin stages are called
2013-12-09 08:52:41 -08:00
Steve B 4e4607434c Merge pull request #230 from Block8/plugin-builder
Allow 3rd party plugins
2013-12-09 08:45:36 -08:00
Dan Cryer 123815aec9 Fix for #210 2013-12-09 16:27:39 +00:00
Dan Cryer 853510a1d3 Updating shell plugin with suggestions from #118 2013-12-09 16:12:54 +00:00
Steve B 6918addab4 Merge pull request #224 from freez10/master
UI Improvement: Modal confirmation dialog
2013-12-07 08:43:21 -08:00
Pavel Pavlov 148d30f74e Don't redirect or reload a page when confirmation dialog wasn't confirmed 2013-12-07 19:36:50 +04:00
meadsteve 169a92dfeb refactor the plugin stage calling code. 2013-12-07 14:45:13 +00:00
Steve B 03aeb7e3b1 remove unreachable if 2013-12-07 14:33:59 +00:00
meadsteve 5ae0442bf6 Merge branch 'plugin-builder' of https://github.com/Block8/PHPCI into plugin-builder 2013-12-07 13:59:15 +00:00
Steve B ce88f50958 fix the plugin executor so that the status is correctly reported. 2013-12-07 13:53:05 +00:00
Steve B fecfec9fe5 update bootstrap 2013-12-07 13:49:13 +00:00
Steve B 5857bd0a3d Merge pull request #186 from esion/fix_install
fix error on missing files until installation is done
2013-12-07 05:16:13 -08:00
meadsteve 35ac98056c bring bootstrap.php up to date. 2013-12-07 09:34:28 +00:00
Steve B 6744410ef8 Merge pull request #229 from meadsteve/unit-testing
Fix unit test case errors
2013-12-06 08:30:10 -08:00
steve.brazier 974aeeffdc Merge branch 'unit-testing' into plugin-builder 2013-12-06 15:18:37 +00:00
steve.brazier 52a908009d fix PhpUnit test caseing. 2013-12-06 15:17:17 +00:00
steve.brazier 2fb8985ff7 move prophecy-phpunit to a dev dependency as it's not required other than to execute tests. 2013-12-06 15:10:58 +00:00
steve.brazier e1654ee4b6 add test for Executor::executePlugins 2013-12-06 13:14:19 +00:00
meadsteve 1ca8b9628c remove arguments from Executor test assertions that are not required. 2013-12-06 13:07:48 +00:00
steve.brazier 23d6238aa2 add tests for plugin executor logging 2013-12-06 13:04:27 +00:00
steve.brazier bad0737df1 add tests for Plugin Executor 2013-12-06 12:52:47 +00:00
steve.brazier 0b130a42db add prophecy and phpunit integration to make mocking a bit simpler. 2013-12-06 12:51:12 +00:00
steve.brazier 6aed18158b extract the success/failure logging of the builder to an interface. 2013-12-06 11:31:39 +00:00
meadsteve 912776801d move plugin execution code in to helper class. 2013-12-06 11:26:56 +00:00
steve.brazier 9207c39105 remove non existent variable. 2013-12-06 09:59:32 +00:00
steve.brazier a942525f84 switch to correct namespace separator in plugin construction. 2013-12-06 09:59:07 +00:00
Haydar Ciftci 22fecc2d19 Fixed: Redirect not working when PHPCI is not installed in the server root 2013-12-04 12:18:56 +01:00
Steve B 4a9103d6eb Merge pull request #227 from meadsteve/unit-testing
Unit testing - LoggerConfig
2013-11-29 02:17:02 -08:00
meadsteve 4b16077428 revert accidental change to phpci.yml 2013-11-29 10:12:22 +00:00
meadsteve ee9871e4a8 add tests to LoggerConfig for handler attaching. 2013-11-28 21:36:56 +00:00
meadsteve c8dc8a67b7 Fix casing in LoggerConfig. 2013-11-28 21:18:11 +00:00
meadsteve f1052443ab add basic type checking for LoggerConfig::GetFor 2013-11-28 21:17:01 +00:00