Commit graph

573 commits

Author SHA1 Message Date
Corpsee a42dc67fad Fixed duplicate methods of CommandExecutor helper: executeCommand and buildAndExecuteCommand 2014-05-09 14:25:24 +07:00
Dan Cryer 3a0e62657b Merge branch 'master' of github.com:Block8/PHPCI 2014-05-09 07:01:12 +01:00
Dan Cryer f6c7f65f01 Removing 5.4+ array syntax from GenerateCommand 2014-05-09 07:01:03 +01:00
Dan Cryer 19d166c5c4 Merge pull request #396 from jimmycleuren/master
Remove coverage log line
2014-05-08 22:20:50 +01:00
Jimmy Cleuren 63298f2a23 remove coverage log line 2014-05-08 23:03:13 +02:00
Dan Cryer 45b7dec478 Fixing PHPCS and PHPMD errors 2014-05-08 21:43:06 +01:00
Dan Cryer 6b0d210344 Adding forgot password functionality. 2014-05-08 21:38:32 +01:00
Dan Cryer 0654bcccee Adding edit profile (and change password) option for users. 2014-05-08 17:59:08 +00:00
Dan Cryer e297f60273 Fixing zero config ignore setting 2014-05-08 16:02:51 +00:00
Dan Cryer 43ce5554a6 Adding PHP Docblock Checker plugin 2014-05-08 16:02:24 +00:00
Steve B e7e84308d6 Merge pull request #388 from mobileka/fix-217
Fix #217
2014-05-08 09:33:47 +01:00
Steve B bdad9ceb14 Merge pull request #389 from JariInc/master
Interpolate PHPUnit arguments
2014-05-08 09:32:33 +01:00
Dan Cryer 0333016828 Converting build meta to use longtext instead of text, for builds with a lot of errors. 2014-05-07 16:09:56 +01:00
Dan Cryer 9eefc7bf8e Making phpunit plugin log the TAP string in the event it fails to process it. 2014-05-07 10:20:21 +01:00
Dan Cryer 77daef3a5f Fixing daemonise mode, forcing RunCommand to only get one build at a time when running under daemon mode 2014-05-06 16:43:47 +01:00
Dan Cryer 9379af8724 Implement clone_depth setting in build_settings, to allow shallow clones. Fixes #391 2014-05-05 21:03:44 +01:00
Jari Ylimäinen 067aa85876 Interpolate PHPUnit arguments 2014-05-02 22:58:22 +03:00
Armen Markossyan 5cd2e21e07 Fix #217 2014-05-02 23:47:08 +06:00
Dan Cryer d17ea1bd38 Further cleanup for #384 2014-05-02 17:38:43 +01:00
Dan Cryer 1e44a1531b Simplifying ProjectController a little, see #384 2014-05-02 17:32:18 +01:00
Dan Cryer d98e85ffc3 Removing success field from Builder as it is only used in one method, see #382 2014-05-02 14:58:21 +00:00
Dan Cryer 2f473763a7 Reducing complexity of Git::runAction() - See #385 2014-05-02 15:06:53 +01:00
Dan Cryer cf6e0471e4 PHPMD cleanup 2014-05-02 14:48:40 +01:00
Dan Cryer 03f3b15fb8 Updating PHPUnit plugin to provide a report like PHPMD and PHPCS, fixes #305 2014-05-02 14:36:34 +01:00
Dan Cryer 4c8083602a Merge pull request #381 from corpsee/master
Humanized yaml application config
2014-05-02 08:41:56 +01:00
Alexander Wenzel 5b7177f9aa Fix broken project view layout
Layout was broken for projects, that are not 'github', 'gitlab' or 'bitbucket' due to misplaced `endif;`
2014-05-01 19:00:46 +02:00
Dan Cryer b9a845a60e Re-PSR2ing the generated model base classes. 2014-05-01 17:03:48 +01:00
Dan Cryer 9ad06cfc7d OH THE HORROR, a mis-spaced try-catch. 2014-05-01 16:55:44 +01:00
Dan Cryer 69ea47874f Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Dan Cryer 31ee6522c1 Make build page use PHPCI_URL for project link, fixes #378 2014-05-01 13:47:38 +01:00
Dan Cryer 146470f39d Make project overview table update when build list does on dashboard, fixes #336 2014-04-30 15:24:55 +01:00
Dan Cryer c50f7d07f2 Adding a basic external project status page, accessible via /build-status/view/{id}. Fixes #353 2014-04-30 15:00:35 +01:00
Dan Cryer ee9a7ebc53 Adding getFileLinkTemplate() to the default Build model. Fixes #375 2014-04-30 14:20:20 +01:00
Dan Cryer 8cff78cee4 Setting allowed_warnings and allowed_errors to 0 by default, -1 in zero config mode. Fixes #377 2014-04-30 14:18:58 +01:00
Dan Cryer 99c80e73f9 Merge branch 'master' of github.com:Block8/PHPCI 2014-04-30 14:15:46 +01:00
Dan Cryer 2363775e34 Adding PHPCS report parsing. 2014-04-30 14:15:25 +01:00
Dan Cryer 28b64a2ad9 Adding PHPCS report parsing. 2014-04-30 14:14:44 +01:00
Dan Cryer 36f2bdff20 Making the public key a property that we store for projects, and displaying it for later use. 2014-04-30 14:14:23 +01:00
Dan Cryer a474a5d179 UI updates 2014-04-30 14:13:07 +01:00
Corpsee a38adb5d78 Humanised yaml application config 2014-04-29 23:22:04 +07:00
Joseph Pugh a789f7cb26 implement RemoteGitBuild::getFileLinkTemplate
required by PHPCI/View/Build/view.phtml
2014-04-28 14:26:37 -05:00
Dan Cryer 985c51c5e4 Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305 2014-04-25 11:28:27 +00:00
Dan Cryer 96eee9c9b7 Making new manual builds use the active user's email as the committer address 2014-04-25 11:26:33 +00:00
Dan Cryer ab848b9ebf UI improvements for the Build view screen 2014-04-25 11:25:46 +00:00
Dan Cryer 2e4e3129b7 Adding the ability to run projects with no build configuration. Runs what plugins it can automatically. Closes #235 2014-04-25 10:17:39 +01:00
Dan Cryer 099d342871 Merge branch 'master' of github.com:Block8/PHPCI 2014-04-24 16:25:31 +01:00
Dan Cryer 08afe7b104 Adding per-page titles throughout PHPCI, fixes #371 2014-04-24 16:25:24 +01:00
Claus Due 1f8a18d113 Cross-platform safe copy in Plugin.CopyBuild
Rather than using `xargs` which behaves differently on BSD and Linux, it's safer to use the straight `cp`. We lose the output of which files were copied - but I'd be more than happy to add this as a separate command to list which files were copied and which were ignored.
2014-04-18 15:46:46 +02:00
Dan Cryer 78e4b9d104 Updating RemoteGitBuild to support a Git SSH wrapper. See #114 2014-04-16 16:38:19 +00:00
Dan Cryer 3bf9e1ab25 Inlining the validateSession functionality in Application, fixes #312 2014-04-16 12:37:32 +01:00
Dan Cryer acf4d093bb Updating PHPMD to enforce rules being an array. Fixes #319 2014-04-16 12:30:03 +01:00
Dan Cryer 0e6523e2cd Adding basic git plugin 2014-04-16 10:14:19 +00:00
Dan Cryer 886d79946d Fixing issues when adding a gitlab project 2014-04-16 10:14:06 +00:00
Dan Cryer ad38db47bd Updating PHPSpec plugin to work with v2. Fixes #339 2014-04-16 10:23:04 +01:00
Dan Cryer 257249fadd Adding guard around ssh-keygen in project controller, hopefully fixes #340 2014-04-16 09:15:39 +00:00
Dan Cryer 0a8b7cd35b Merge pull request #342 from corpsee/database-yml
Added database-based yml build config #2
2014-04-16 09:44:13 +01:00
Dan Cryer 918cc758af Merge pull request #341 from Block8/dc/installer-fixes
Fixes to improve installation
2014-04-16 09:29:27 +01:00
Dan Cryer 1bc5f9048c Fixes for feedback in #341. 2014-04-16 09:29:01 +01:00
Dan Cryer e53c05c56c Merge branch 'master' of github.com:Block8/PHPCI 2014-04-16 09:05:57 +01:00
Dan Cryer 6917e88f9b Adding global try/catch in Builder, in hope of fixing forever-hanging. Closes #354, Closes #304 2014-04-16 09:05:48 +01:00
Dan Cryer 6513454265 Adding global try/catch in Builder, in hope of fixing forever-hanging. Closes #354, Closes #304 2014-04-16 09:05:46 +01:00
Dan Cryer 0bf7698cac Check $this->path is set before use, fixes #355 2014-04-16 08:57:17 +01:00
Steve B 1023541907 Merge pull request #349 from NamelessCoder/patch-5
Wipe Plugin - wipes a folder
2014-04-14 10:35:41 +01:00
Steve B 4b61d6b435 Merge pull request #350 from NamelessCoder/patch-6
Preserve absolute paths in Plugin.PhpMessDetector
2014-04-14 08:58:05 +01:00
Steve B ecc2ff3fc6 Merge pull request #347 from NamelessCoder/patch-3
Missing property declaration for `ignore` on Plugin.CopyBuild
2014-04-14 08:56:25 +01:00
Claus Due 34ea46e139 Preserve absolute paths in Plugin.PhpMessDetector
Before: all paths, including absolute paths, were treated relative to build directory.

After: any absolute path is not prefixed with the build directory path; it gets used as-is.
2014-04-12 17:28:52 +02:00
Claus Due 9cb63dbe06 Wipe Plugin - wipes a folder 2014-04-12 14:31:31 +02:00
Claus Due 402e576cad Missing property declaration for ignore on Plugin.CopyBuild 2014-04-12 13:50:10 +02:00
Claus Due 187d689808 Bad copy/pasted method comment in CopyBuild plugin 2014-04-12 02:44:27 +02:00
Corpsee 7ac671424e Genereted models by console phpci:generate command 2014-04-10 23:52:21 +07:00
Corpsee ccb3d91ae1 Inverted priority of configs: phpci.yml is primary now 2014-04-10 23:41:02 +07:00
Corpsee f87fc2ef90 Merge branch 'master' into database-yml 2014-04-10 23:11:41 +07:00
Dan Cryer 8841eabc94 Merge pull request #330 from sklerotraficon/master
Bugfix Errors with PHPCI GitHub hook #296
2014-04-10 16:33:35 +01:00
Dan Cryer 2b791b1f3b Removing commented code from the installer 2014-04-10 16:31:10 +01:00
Dan Cryer 65f51cff4a Adding verification to the install and update commands to check whether PHPCI is installed. 2014-04-10 14:59:01 +00:00
Dan Cryer 9f182aad91 Updating console installer to be more reliable, easier to use, and use Symfony console properly. 2014-04-10 15:38:16 +01:00
Dan Cryer efe8529d3f Removing warning about install.php being present. 2014-04-10 15:37:54 +01:00
Witold Wasiczko 72b7a3d912 Use args in Codeception plugin 2014-03-31 00:45:20 +02:00
zigster 9f5b05aa2a Bugfix Errors with PHPCI GitHub hook #296
> fixed access to undefined class member _buildStore to buildStore
2014-03-30 11:59:56 +02:00
Remo Laubacher 5892fcb26e fix BuildLogger instantiation 2014-03-26 08:22:27 +01:00
Steve B 2fe80bdd00 Merge pull request #282 from freez10/functionalIssues
Fix for #276
2014-03-25 22:13:29 +00:00
Corpsee c380fbb0bf Merge branch 'master' into database-yml 2014-03-25 22:28:09 +07:00
Steve B ff6dfefb98 Merge pull request #307 from meadsteve/feature/pluginfactoryconfig
Allow configuration of the plugin factory on a per install basis
2014-03-25 14:20:02 +00:00
steve.brazier 326113ebbc psr tidy up of util/Factory.php 2014-03-25 14:18:50 +00:00
steve.brazier 7e669ada47 Merge remote-tracking branch 'origin/master' into feature/pluginfactoryconfig
Conflicts:
	PHPCI/Builder.php
	PHPCI/Plugin/Util/Factory.php
2014-03-25 14:17:03 +00:00
steve.brazier cc71045e57 Merge remote-tracking branch 'origin/master' into feature/pluginfactoryconfig
Conflicts:
	PHPCI/Builder.php
	PHPCI/Plugin/Util/Factory.php
2014-03-25 14:13:45 +00:00
Steve B a5f81f0975 Merge pull request #309 from corpsee/error-log
Added simple error/exception handle and logging
2014-03-25 10:32:00 +00:00
Corpsee 08a15d8724 Added exception context for errror/exception handler logging 2014-03-24 23:43:20 +07:00
Corpsee 04dae16157 Fixed require() in LoggerConfig 2014-03-20 22:51:30 +07:00
Corpsee 15d5c022c5 Improved error/exception handler and logging 2014-03-20 22:28:01 +07:00
Corpsee b28b5a575f Fixed rm for windows 2014-03-20 22:27:06 +07:00
Corpsee b2240104b4 Fixed rm for windows 2014-03-20 22:27:05 +07:00
Corpsee e7e685e9bd ProjectController::view 404 fix 2014-03-20 22:27:04 +07:00
Corpsee 92647c6bf9 Added simple error/exception handler and logging 2014-03-18 01:10:47 +07:00
Corpsee 3aa4806e25 Windows fixes 2014-03-15 13:01:41 +07:00
Corpsee 20bab0d47a Windows fixes 2014-03-15 12:57:06 +07:00
Corpsee f4df607a16 Moved handleConfig functionality into general Build method. 2014-03-15 12:22:59 +07:00
Corpsee 7a910631e6 Added database-based yml build config 2014-03-15 12:18:12 +07:00
Corpsee 656e0a882e Change 'cp' command to 'copy' for windows 2014-03-14 00:06:59 +07:00
Corpsee 18701544a0 Fixed 'cd' command for windows 2014-03-13 00:37:57 +07:00