Commit graph

583 commits

Author SHA1 Message Date
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
meadsteve 4f1d81e6fd update loggerConfig constructor to take array by default to make unit testing simpler. 2013-11-28 21:04:27 +00:00
Steve B 99adec03d5 allow non phpci native plugins. 2013-11-28 14:23:11 +00:00
Steve B aca6af3fec add test for non-function loader in plugin factory. 2013-11-28 14:12:50 +00:00
steve.brazier 74df61cd6c Merge branches 'master' and 'plugin-builder' of https://github.com/meadsteve/PHPCI into plugin-builder 2013-11-28 14:10:43 +00:00
Steve B 9891a4be62 force plugin factory to only build plugins matching interface. 2013-11-28 14:05:26 +00:00
Haydar Ciftci 3abf806428 Fixed an issue where the boostrap file redirects infinitely to /install.php 2013-11-28 14:51:08 +01:00
Pavel Pavlov 6c0aed7f28 UI Improvement: Modal confirmation dialog for deletion actions 2013-11-27 21:04:24 +04:00
Pavel Pavlov f7e396d04c Fixed merging bug 2013-11-27 18:14:40 +04:00
Pavel Pavlov 27e3b8b469 UI Improvement: Modal confirmation dialog 2013-11-27 18:09:14 +04:00
Mark Clements 12cca9c93c Merge pull request #223 from deep9/issue_221_gitlab
Proposed enhancement - fix for #221 GitlabBuild
2013-11-27 03:38:39 -08:00
Steve B b461650cd8 Merge pull request #222 from deep9/issue_221
Fix the SettingsController 5.4 call
2013-11-27 03:22:29 -08:00
Ondrej Huta 02dff2b081 Proposed enhancement - fix for #221 GitlabBuild 2013-11-27 12:08:03 +01:00
Ondrej Huta 77cfd1e5b2 Fix the SettingsController 5.4 call (refactor) 2013-11-27 11:54:17 +01:00
Ondrej Huta 35bc3dad31 Fix the SettingsController 5.4 call 2013-11-27 11:42:34 +01:00
Steve B 5b2f66565c Merge pull request #220 from meadsteve/master
remove callable typehint as this is not in php 5.3
2013-11-27 00:58:31 -08:00
steve.brazier db3fcb45d6 remove callable typehint as this is not in php 5.3 2013-11-27 08:49:03 +00:00
meadsteve 6d5bceea16 fix copy-paste mistake in phpunit plugin runDir() 2013-11-25 21:49:14 +00:00
meadsteve 080784adc5 fix test expectations to be exact in phpunit 2013-11-25 21:48:21 +00:00
meadsteve a2c25d2d8f fix builder mocking 2013-11-25 21:30:10 +00:00
meadsteve 03a81a3283 fix whitespace. 2013-11-25 21:19:48 +00:00
Steve B 477fd58641 Merge pull request #213 from meadsteve/plugin-builder
Plugin construction change - plugin factory
2013-11-25 05:43:43 -08:00
Dan Cryer 235ac26932 Merge pull request #202 from rlindauer/master
Fix two bugs in PhpMessdetector Plugin
2013-11-25 03:46:12 -08:00
Dan Cryer a21c63705a Merge pull request #205 from stianlik/master
Bugfix for bare "Local Path" repositories
2013-11-25 03:45:42 -08:00