Commit graph

959 commits

Author SHA1 Message Date
Dan Cryer 328e579037 Removing reference to getPlugins() from BuildsTable view 2014-05-12 14:58:48 +01:00
Dan Cryer 5ec83f64db Fixing WebhookController 2014-05-12 14:58:30 +01:00
Dan Cryer fd5416a431 Updating webhook controller to support pull request payloads 2014-05-12 14:46:45 +01:00
Dan Cryer 03351214f1 Updating Build model to add accessor for the extra column 2014-05-12 14:07:09 +01:00
Dan Cryer 9486bd0863 Removing unused plugins column, adding extra column to allow for type-specific build information (such as forked repo information for pull requests or a patch file 2014-05-12 13:46:26 +01:00
Dan Cryer edc8bb0754 Cleaning up the composer plugin a little 2014-05-12 11:58:43 +01:00
Dan Cryer 32ca0b438d Trying adding --prefer-source when --prefer-dist is not enabled 2014-05-12 11:47:07 +01:00
steve.brazier 614af204f5 Add missing newline to end of BaseCommandExecutor. 2014-05-12 09:07:27 +01:00
Steve B f583d045cf Merge pull request #404 from corpsee/fixes-for-windows
Init abstraction of command execution on different operation systems
2014-05-11 18:20:59 +01:00
Steve B 9d3e9d1719 Reduce complexity of mess detector plugin execute method. 2014-05-11 16:59:54 +01:00
Corpsee f6d1896096 Pull request review fixes 2014-05-11 22:38:33 +07:00
Corpsee 2476086f7c Fixes 2014-05-09 23:55:13 +07:00
Corpsee 37bdffbbdd Merge branch 'master' into fixes-for-windows 2014-05-09 23:50:16 +07:00
Corpsee fa85f13ae8 Small fixes for SQL plugins (phpdocs, some fixes) 2014-05-09 23:49:20 +07:00
Corpsee 3e7c38df35 Added Sqlite plugin 2014-05-09 23:41:26 +07:00
Dan Cryer 66772d3bf1 Reducing the complexity of ProjectController::add() 2014-05-09 16:19:15 +01:00
Dan Cryer aab931c293 Reducing complexity of phpdocblockchecker::execute(), see #402 2014-05-09 16:05:21 +01:00
Dan Cryer 1f7f318634 Fixing merge conflict 2014-05-09 15:56:34 +01:00
Dan Cryer 7d50256a53 Initial work on fixing the complexity of user controller 2014-05-09 15:51:13 +01:00
Dan Cryer a6d1afd3f4 Merge pull request #399 from Block8/dc/error-handling
Better error handling for the front-end UI
2014-05-09 15:36:50 +01:00
danio1024 cbc769d8ef Changed PhpSpec run command order to match docs 2014-05-09 15:15:55 +02:00
danio1024 52202c08c9 Added missing run statement for PhpSpec 2014-05-09 14:51:45 +02:00
Corpsee d32c43713d Separeted CommandExecutor for different OS 2014-05-09 19:09:27 +07:00
Dan Cryer 7357f81dc3 Cleaning up exceptions in the User controller 2014-05-09 12:19:48 +01:00
Dan Cryer 302717bad0 Cleaning up exceptions in the BuildStatus controller 2014-05-09 12:16:24 +01:00
Dan Cryer 5fc0ed0249 Cleaning up exceptions in the Build controller 2014-05-09 12:15:11 +01:00
Dan Cryer f2bf4ba440 Cleaning up exceptions in the Project controller 2014-05-09 12:11:02 +01:00
Dan Cryer baee67a43b Updating exception handler to return the appropriate HTTP response code 2014-05-09 12:10:48 +01:00
Dan Cryer b146af66b7 Adding some form of exception handling to front-end requests 2014-05-09 12:04:42 +01:00
Dan Cryer 68a92e4682 Merge branch 'master' of github.com:Block8/PHPCI 2014-05-09 11:49:41 +01:00
Dan Cryer 5908e86fc0 Enabling the exception / error handler for console mode only. Also fixing a catchable fatal error in the BuildFactory class. 2014-05-09 11:47:42 +01:00
Dan Cryer a180d8ac08 Making login redirect you to where you were trying to go after logging in. 2014-05-09 11:41:34 +01:00
Corpsee 5f0b45924e Merge branch 'master' into fixes-for-windows 2014-05-09 15:23:39 +07:00
Corpsee b3cf244944 Added CommandExecutorInterface 2014-05-09 15:23:30 +07:00
Corpsee 2d52c8dd01 Fixed phpdocs 2014-05-09 15:21:53 +07:00
Corpsee d7db9cf593 Few fixes for windows 2014-05-09 14:57:22 +07:00
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
Corpsee 39477678d2 Fixed git checkout for commitId = 'Manual' 2014-03-13 00:05:54 +07:00
Corpsee af22da6a1c Fixed CommitId link 2014-03-13 00:05:53 +07:00
steve.brazier 851f637899 format tidy up of buildPluginFactory() 2014-03-10 12:28:42 +00:00
steve.brazier 9c24fbaecb Psr\Log\LoggerInterface to the types that the plugin factory supplies by default. 2014-03-10 12:27:17 +00:00
steve.brazier 24b5bc549d Add debug logging to findBinary() 2014-03-10 12:12:38 +00:00
steve.brazier ff9ebdf744 Add debug logging to findBinary() 2014-03-10 12:08:16 +00:00
steve.brazier d9ff36ddb4 Merge remote-tracking branch 'corpsee/master' 2014-03-10 09:48:50 +00:00
Corpsee e7bca06363 Fixed unittests on windows 2014-03-09 01:46:03 +07:00
Corpsee c3b9e62adf Fixed composer plugin for using on Windows 2014-03-09 00:30:32 +07:00
Corpsee ffc7d1c1b9 Fixed findBinary function for windows (which -> where) 2014-03-09 00:30:00 +07:00
Christian Wahler 2290e37b97 Use PHP 5.3 compatible array syntax 2014-03-03 18:10:33 +01:00
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
steve.brazier bf4822c73b Merge branch 'bugfix/phpmd-phpcs-cleanup' of https://github.com/Block8/PHPCI 2014-02-27 14:24:32 +00:00
steve.brazier b60e278cf9 psr2 tidy up of logging code. 2014-02-27 14:23:51 +00:00
steve.brazier f5950d0be3 Merge branch 'bugfix/phpmd-phpcs-cleanup' of https://github.com/Block8/PHPCI 2014-02-27 14:18:35 +00:00
steve.brazier 5178c4c229 tidy up code in Command namespace 2014-02-27 14:12:19 +00:00
steve.brazier 6431ef501e fix psr2 violations in EmailPlugin 2014-02-27 14:04:08 +00:00
steve.brazier 112adba332 fix psr2 violations in Plugin/Util 2014-02-27 14:02:21 +00:00
Dan Cryer 10dc3eedbb Fixing rebuild 2014-02-27 10:57:04 +00:00
Dan Cryer b4c931be6b Adding committer email to build view 2014-02-26 15:33:11 +00:00
Dan Cryer 192fa20284 Fixing getAccessInformation() 2014-02-26 15:23:24 +00:00
Dan Cryer 48a8c8b89a Merge branch 'master' of github.com:Block8/PHPCI 2014-02-26 15:18:54 +00:00
Dan Cryer ac0bac111a Fixing getAccessInformation() 2014-02-26 15:18:46 +00:00
steve.brazier b421b20935 fix code sniff violations. 2014-02-26 14:35:14 +00:00
Pavel Pavlov e7dcd82125 This fixes #276 : Delete Build button not functioning in view build 2014-02-26 15:50:01 +04:00
Steve B 3370240242 Merge pull request #267 from meadsteve/plugin-discovery
RFC: Plugin discovery
2014-02-25 22:43:38 +00:00
meadsteve 06625513d2 update email tests now that cc can be specified. 2014-02-25 22:39:37 +00:00
meadsteve 2b93fe0c94 add getProjectTitle convenience method to the Build class. 2014-02-25 22:36:20 +00:00
meadsteve aa33a8761e update PluginController to use PHPCI plugin directory as well as composer to get information about installed plugins. 2014-02-25 22:22:32 +00:00
meadsteve 28fc30682b add FilesPluginInformation class to retrieve plugins contained with a directory. 2014-02-25 20:52:19 +00:00
meadsteve dd5ff7a835 Extract interface for InstalledPluginInformation 2014-02-25 19:40:00 +00:00
meadsteve 6b2d0aebf1 rename LoadedPluginInformation to ComposerPluginInformation. 2014-02-25 19:33:00 +00:00
meadsteve 1f42741623 Merge branch 'master' of https://github.com/Block8/PHPCI into plugin-discovery 2014-02-25 19:26:25 +00:00
Dan Cryer 4d5f4b44b7 Fixing BuildInterpolator bug 2014-02-25 17:00:18 +00:00
Dan Cryer 0193f07de2 Making commit links work throughout the UI 2014-02-25 17:00:05 +00:00
Dan Cryer d2d966ee69 Fixing bug in Builder related to the new PHPCI\Store 2014-02-25 16:59:28 +00:00
Dan Cryer eaec52b525 Adding commit message to Build 2014-02-25 16:43:06 +00:00
Dan Cryer e888032bdf Updating Bitbucket to match Github and Gitlab in regards to building all payload commits instead of one per branch 2014-02-25 16:24:51 +00:00
Dan Cryer 33c7312f8e Merge branch 'master' of github.com:Block8/PHPCI 2014-02-25 16:04:28 +00:00
Dan Cryer 948d32110f Adding CC option to email plugin 2014-02-25 16:03:00 +00:00
Dan Cryer 079a567cf0 Update Codeception.php 2014-02-25 10:57:44 +00:00
Dan Cryer d935c94041 Lots of clean up: Fixed remote git build to only checkout a commit if there is one, cleaned up logging to remove the logger cruft from the visible log and shortened paths within the log by removing the build directory, added a build-level exception handler to catch things like failed clones and so on. 2014-02-25 10:16:58 +00:00
Dan Cryer a1f47ddfe1 Fixing Gitlab support 2014-02-25 09:47:09 +00:00
Dan Cryer 08af82e84b Updating Gitlab webhook support 2014-02-25 09:09:38 +00:00
Dan Cryer 0c125ab962 Pulling email address out of raw author from bitbucket 2014-02-24 21:13:40 +00:00
Dan Cryer 73abea2485 Adding a formatted email for build fails 2014-02-24 21:04:08 +00:00
Dan Cryer e6ef498db4 Adding support for HTTP commit-based builds too 2014-02-24 20:34:31 +00:00
Dan Cryer 43ecd57775 Adding support for building specific revisions, rather than just branches 2014-02-24 20:28:18 +00:00
Dan Cryer 4f39e1cca4 Fixing Bitbucket and Github webhooks 2014-02-24 20:14:57 +00:00
Dan Cryer a0ff2f6ab8 Fix 2014-02-24 19:35:42 +00:00
Dan Cryer 0bcb13af09 Updating Bitbucket Webhook 2014-02-24 19:23:46 +00:00
Dan Cryer 1ddce31488 Updating PHPCI to support new b8framework release 2014-02-24 15:30:44 +00:00
kodok-buncit 30b3be7c2d fix wrong url on view 2014-02-18 18:41:39 +07:00
Wogan May 37f06defc7 Fixing short tags 2014-01-28 23:27:39 +02:00
Steve B 54694d197b Merge pull request #253 from woganmay/create-admin-user
Create admin user
2014-01-16 00:55:32 -08:00
Steve B ddf7f8a4c3 Merge pull request #249 from c2is/master
Added executable option for behat plugin
2014-01-16 00:52:58 -08:00
Steve B 53e295f145 Merge pull request #241 from meadsteve/buillder-component-extraction
Buillder component extraction
2014-01-16 00:52:42 -08:00
Wogan May cd3a18d73c Create admin user
New console command just to create an admin user
2014-01-14 23:09:40 +02:00
Wogan May 89931d01b5 Revert "Create an admin user"
This reverts commit f6f5a6e111.
2014-01-14 23:07:12 +02:00
Wogan May f6f5a6e111 Create an admin user
New console command to add an admin user without trying to reinstall the
whole app.
2014-01-14 23:03:23 +02:00
a.cianfarani a1f0b93861 Added executable option for behat plugin 2014-01-10 10:58:14 +01:00
Steve B c35e3386cc Merge pull request #242 from freez10/master
Fix for #236
2014-01-04 02:53:07 -08:00
Raul Ferriz 1ac77fd268 Removed unused use clauses. 2014-01-04 10:20:20 +01:00
Raul Ferriz 4b50b9eb77 Fix daemonise crash. 2014-01-04 10:19:55 +01:00
Raul Ferriz 8bc043065a Check for option verbose instead of get it.
This avoid crashing when called by daemonise command.
2014-01-04 10:17:24 +01:00
Pavel Pavlov df2a8aeac2 Fixes #236 Javascript bug, delete build error 2013-12-31 13:46:23 +04:00
meadsteve 4b9207e05f update plugin controller to display plugin information as well as composer package information. 2013-12-29 17:35:33 +00:00
meadsteve 71588cd8e1 add LoadedPluginInformation class to process composer's installed.json file and pull out information about phpci plugins. 2013-12-29 17:34:41 +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
meadsteve cfb0db5b81 fixing builder so that PluginExecutor receives BuildLogger instance 2013-12-17 15:44:49 +00:00
meadsteve 1b2f19c81f remove interopolation code from builder and make use of BuildInterpolator object. 2013-12-17 15:24:13 +00:00
meadsteve f0d224ce3c copy code from Builder to create BuildInterpolator. 2013-12-17 15:23:17 +00:00
meadsteve 248579f67d add getProjectTitle() to buildBase as shorthand for getProject()->getTitle() 2013-12-17 15:14:26 +00: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 356a2293a1 move logging related classes to appropriate namespace. 2013-12-13 16:10:54 +00:00
meadsteve 1bc2117c69 extracted build logging logic from the Builder class. 2013-12-13 15:57:56 +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 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
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
Steve B ce88f50958 fix the plugin executor so that the status is correctly reported. 2013-12-07 13:53:05 +00:00
steve.brazier 974aeeffdc Merge branch 'unit-testing' into plugin-builder 2013-12-06 15:18:37 +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
Steve B 4a9103d6eb Merge pull request #227 from meadsteve/unit-testing
Unit testing - LoggerConfig
2013-11-29 02:17:02 -08:00
meadsteve c8dc8a67b7 Fix casing in LoggerConfig. 2013-11-28 21:18:11 +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.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
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
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
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
Dan Cryer c3d4286354 Merge pull request #208 from elkangaroo/phpcs-count-fix
Fixed counting (errors, warnings) in PHP Code Sniffer plugin
2013-11-25 03:44:51 -08:00
Dan Cryer 8d28273c0c Merge pull request #209 from elkangaroo/phplint-upstream-update
Update PHP Parallel Lint plugin to reflect upstream changes
2013-11-25 03:44:15 -08:00
steve.brazier 767d05cd80 Update constants to uppercase to match psr2. 2013-11-20 11:47:29 +00:00
Jimmy Cleuren 8f58902339 catch empty commit id from github 2013-11-19 22:47:12 +01:00
Jimmy Cleuren 4bc7a6c767 Remove commented line 2013-11-18 22:54:49 +01:00
Jimmy Cleuren 4d3372af88 Command to poll github for new commits 2013-11-18 22:49:18 +01:00
Jimmy Cleuren 8c127d692c catching permission error 2013-11-18 22:47:44 +01:00
meadsteve 6467a83d1a adds additional comments to plugin factory. 2013-11-17 22:31:51 +00:00
meadsteve 2bc7558b93 wiring in the plugin factory. doh! 2013-11-17 21:38:51 +00:00
meadsteve 42e462b4c9 remove leading slash. 2013-11-17 21:29:49 +00:00
meadsteve 9d1d2443a9 Move the mailer constructor logic out of the plugin and in to a factory class for reuse. 2013-11-17 21:26:38 +00:00
meadsteve 51f73458c8 allow swiftmailer object to be passed in to Email Plugin. 2013-11-17 17:50:06 +00:00
meadsteve a56df8ed87 Merge HEAD, branch 'master' of https://github.com/Block8/PHPCI into plugin-builder 2013-11-17 17:25:35 +00:00
meadsteve ebb3b9a3e6 switches builder to make use of plugin factory. 2013-11-17 17:24:47 +00:00
meadsteve e1d8239e8a Create factory for plugins that resources can be registered with. 2013-11-17 17:23:35 +00:00
meadsteve f88df400f0 Remove __constructor from plugin interface to increase flexibility. 2013-11-17 17:22:31 +00:00
Alexander Wenzel 801cc8ee5e store errors from parallel-lint as build_meta (key "phplint-errors");
add them to the "Quality Trend" graph on the build view
2013-11-13 19:55:45 +01:00
Alexander Wenzel a0d5f4b4d8 fix Plugin\PhpParallelLint to reflect latest upstream changes:
> executable is now "parallel-lint" instead of "run"
> supports --exclude flag (ignore directories)
2013-11-13 19:18:24 +01:00
Alexander Wenzel 2fb162900d fixed counting of errors and warnings in Plugin/PhpCodeSniffer;
use --report=emacs in Plugin/PhpCodeSniffer to not spam the logs with the full blown report but rather display a small human readable summary report
2013-11-13 18:50:07 +01:00
Alexander Wenzel 9c330687a0 fixed LoggedBuildContextTidier: now correctly replaces "build" object with "buildID" in log entries 2013-11-12 23:19:55 +01:00
Stian Liknes 7d306b2295 Load configuration and create build directory for bare repositories 2013-11-12 22:18:09 +01:00
Steve B f987688269 Merge pull request #197 from meadsteve/logging
Logging configuration
2013-11-12 05:12:13 -08:00
Roy Lindauer fb08cdbbe7 Fix bug where ruleset file could not be set in PHPMessdetector plugin 2013-11-10 18:22:54 -08:00
Roy Lindauer d5763b8d78 Fix bug where options could not be overridden in PHPMessdetector plugin 2013-11-10 18:22:05 -08:00
meadsteve a5957d687a Added logging to the daemon and update commands. 2013-11-02 15:52:55 +00:00
meadsteve 37c50bdb4c Added a logger config key that is loaded for all commands. To allow a general purpose log. 2013-11-02 15:52:21 +00:00
meadsteve 6563c60ab3 Previous commit omitted these changes. doh! 2013-11-02 15:32:51 +00:00
meadsteve 0fc91f053a Added to the console so that external logging definitions are pulled in from a loggerconfig.php file if the file exists. 2013-11-02 15:28:24 +00:00
born_free 6b015d3106 fixed XSS in user name and project name properties 2013-11-02 16:39:55 -07:00
Steve B e1d68bece7 Merge pull request #191 from meadsteve/logging
RFC: First draft of using monolog for logging
2013-11-01 05:14:08 -07:00
Dan Cryer 14f00ee512 Merge pull request #192 from c2is/atoum
Added chdir because atoum as bundle need to be run from app root path
2013-11-01 03:46:46 -07:00
Jimmy Cleuren 924dadcdcd remove the double buildpath 2013-11-01 11:22:39 +01:00
a.cianfarani e2c7a4cd43 Added chdir because atoum as bundle need to be run from app root path 2013-10-28 17:41:15 +01:00
meadsteve 35b3db13d8 Fixing more tab -> space conversion issues. 2013-10-27 14:26:37 +00:00
meadsteve a453571fcb Adding the LoggedBuildContextTidier to the monolog logging so that the build id is added to log messages. 2013-10-27 14:25:43 +00:00
meadsteve e44c7b90d6 All build logs calls now pass the build through as part of the context so this gets recorded in the log message. 2013-10-27 14:21:08 +00:00
meadsteve fc2434b65d Exceptions can now be passed in to the failure logging function. 2013-10-27 12:51:49 +00:00
meadsteve b943c07f87 Fixing some formatting issues 2013-10-26 16:25:34 +01:00
meadsteve 8c88581021 Modified the builder so that it expects to have a psr3 compliant logger attached. 2013-10-26 16:15:29 +01:00
meadsteve 1989203635 Adding two custom log handlers. One to link the logs to symphony console output to the logging and another to record build specific information in the DB. 2013-10-26 16:11:46 +01:00
Sami Tikka 3d8be0e218 error handling like in other webhooks 2013-10-18 16:04:13 +03:00
Sami Tikka 6b63e47cfd gitcontroller, allows calling webhook for local/remote git project 2013-10-18 16:04:13 +03:00
Dan Cryer 4120cb683d Fixing PHPMD warnings count... Hopefully. 2013-10-12 09:50:15 +01:00
Dan Cryer 17a19c0707 Fixing PHPCS errors on PluginController 2013-10-12 09:44:51 +01:00
Dan Cryer 095bf9730d Merge pull request #180 from gabriel403/hotfix/composerHome
Hotfix/composer home
2013-10-17 03:56:22 -07:00
Pavel Pavlov d214c9dc0e Reduced cyclomatic complexity 2013-10-17 14:51:20 +04:00
Gabriel Baker 7a0893737a composer_home 2013-10-17 08:53:05 +01:00
Gabriel Baker 24602766aa fix for composer_home being missing 2013-10-17 08:50:37 +01:00
Pavel Pavlov 2c1c5bfbe9 Typo fix 2013-10-17 04:17:06 +04:00
Pavel Pavlov f1b13e48f8 Cleanup 2013-10-17 02:17:40 +04:00
Pavel Pavlov 7b3eea7cbb Added Phing plugin 2013-10-17 02:12:42 +04:00
Allister Antosik e120773803 Added warning message if install.php is detected
If the file install.php is detected an alert-danger message is
displayed on all pages.
2013-10-15 19:19:44 +01:00
Mathieu Dumoulin b197a9c030 Added leading slash to closure to prevent reference to PHPCI namespace
Don't forget to put \ in front of PHP namespaced objects or you end up in your own namespace.

In reference to commit: 53993a1add
2013-10-15 09:34:24 -04:00
Dan Cryer 53993a1add Fixing callable error in run builds, fixes #170 2013-10-15 14:29:23 +01:00
Dan Cryer 2a47b08fec Removed Github configuration from ProjectController / ProjectForm and added it to a new settings area. 2013-10-11 21:51:23 +01:00
Dan Cryer cc86e85adb Fixing Github Controller to ignore all-zeroes commit IDs 2013-10-10 01:38:32 +01:00
Dan Cryer 13dbcc4260 Fixing Github postbacks. 2013-10-10 01:30:40 +01:00
Dan Cryer 5213a00a3a Adding some github debug stuff 2013-10-10 01:27:43 +01:00
Dan Cryer d46ea12dd7 Fixing summary table so it doesn't completely die when there is a running build. 2013-10-10 01:26:06 +01:00
Dan Cryer a5734fb330 Fixing some more PHPCS/PHPMD errors 2013-10-10 01:19:42 +01:00
Dan Cryer 05be06f9b3 Fixing some more PHPCS/PHPMD errors 2013-10-10 01:18:05 +01:00
Dan Cryer 16003ff01b Fixing some more PHPCS/PHPMD errors 2013-10-10 01:12:30 +01:00
Dan Cryer 77fae9a56d Holy cleanup, batman. 2013-10-10 01:01:06 +01:00
Dan Cryer 4cbfc06022 Adding a more standard PHP Lint plugin. Fixes #111 2013-10-09 17:21:33 +01:00
Dan Cryer d060227fbd Better docblock type hinting for stores. 2013-10-08 18:24:20 +01:00
Dan Cryer cccf0b9869 Testing IRC Plugin 2013-10-08 17:23:21 +01:00
Dan Cryer e38d9b646a Adding IRC plugin 2013-10-08 17:19:44 +01:00
Dan Cryer 160097182f New plugins screen 2013-10-08 16:28:46 +01:00
Dan Cryer edc4fc1b1b Fixes 2013-10-08 13:52:05 +01:00
Dan Cryer 56b8a57efd Renaming key / value columns in build_meta with meta_key / meta_value to avoid SQL errors. 2013-10-08 13:00:38 +01:00
Dan Cryer 524a0cc58a Replacing build status images 2013-10-08 12:50:59 +01:00
Dan Cryer adab6b20c0 Fixing build status image. 2013-10-08 12:41:12 +01:00
Dan Cryer 47672c014f Adding basic Behat plugin, fixes #101 2013-10-08 10:26:11 +01:00
Dan Cryer ede49c8c69 Adding @dongilbert's Codeception plugin. Fixes #86 2013-10-08 10:21:54 +01:00
Dan Cryer 8f6766d1ae Adding favicon, fixes #71 2013-10-08 09:08:52 +01:00
Dan Cryer 0dea956e87 Adding default values to project table, fixes #158 2013-10-08 09:00:22 +01:00
Dan Cryer 0c8d9c0f74 Added findBinary, fixes #115 2013-10-08 08:50:10 +01:00
Dan Cryer f7e466bdb1 Fixes #147 2013-10-08 08:30:15 +01:00
Dan Cryer df1dc0d666 Error reporting. See #142 2013-10-08 08:23:07 +01:00
Dan Cryer deb71ec9e2 Fixes #125 2013-10-08 07:50:42 +01:00
Dan Cryer cc09d95a3d SQL strict mode fixes. Closes #127 2013-10-08 07:45:20 +01:00
Dan Cryer b33189e08e UI plugins, including quality trend chart, logs and lines of code. Some UI tweaks. 2013-10-08 07:21:46 +01:00
Dan Cryer ef4862e39a Adding extended latin character set for the roboto font 2013-10-07 12:58:15 +01:00
Dan Cryer a39944a97c Merge pull request #154 from grogy/visual-style
fixed visual style (spaces, aligment, etc.)
2013-09-27 07:19:04 -07:00
Václav Makeš 05e42cc831 added extended latin for font 2013-09-20 23:28:59 +02:00
Václav Makeš b4f5b2f731 fixed visual style (spaces, aligment, etc.) 2013-09-20 23:18:22 +02:00
Dan Cryer 00ae1a1bfb Merge pull request #153 from grogy/parallel-lint
Added initial version of the PHP parallel lint plugin.
2013-09-20 09:11:31 -07:00
Dan Cryer b7bf0fed51 Merge pull request #150 from c2is/master
Added GitLab infos (WebHook url) in the project page if it's a GitLab's project
2013-09-20 09:10:15 -07:00
Dan Cryer c84a6a35b2 Merge pull request #149 from brooksie155/master
Small updates
2013-09-20 09:09:50 -07:00
Dan Cryer 47ac812432 Merge pull request #144 from SibSet/master
Mercurial build support
2013-09-20 09:09:19 -07:00
Václav Makeš 12ee81a888 Added initial version of the PHP parallel lint plugin. 2013-09-20 12:58:41 +02:00
Roy Lindauer 0282e68119 Renamed IndexController to HomeController to avoid errors with Apache Multiviews. Related to issue #74
Updated ajax url request path in index.phtml
2013-09-19 23:51:04 -07:00
a.cianfarani e91b9426e0 Correct indentation 2013-09-19 09:46:29 +02:00
a.cianfarani 4cad2b4078 Added GitLab infos (WebHook url) in the project page if it's a GitLab's project 2013-09-19 09:34:51 +02:00
Stephen Brooks 1fb292fefb updated 2013-09-18 09:59:53 +01:00
Stephen Brooks fd3097514b Fix fatal error when $project is not set, which prevents access to Interface 2013-09-18 09:57:44 +01:00
Stephen Brooks 459269f61f Fix notice on command line when PHPCI_DB_HOST not set 2013-09-18 09:56:54 +01:00
Stephen Brooks df32fcbbd4 Fix bug resulting in UI displaying errors (level of error reporting enabled may have been partially cause) when project object not set. 2013-09-18 09:56:13 +01:00
Stephen Brooks f5c7f85bed Add ability to specify sub path and override global ignore list in phpci.yml 2013-09-18 09:54:23 +01:00
Stephen Brooks 9b4c35a11e Add ability to specify project sub-path and set flag for code coverage 2013-09-18 09:53:01 +01:00
Pavel Gopanenko e86852efa5 Mercurial build support 2013-09-04 19:54:26 +07:00
a.cianfarani 7c06aa4273 Coding style... 2013-08-28 10:49:10 +02:00
a.cianfarani 17852f8aa8 Clean %buildurl% var for message option: just url given now, not the html link 2013-08-28 10:47:00 +02:00
a.cianfarani 03c5fb5558 Added %buildurl% var for message option 2013-08-28 10:43:29 +02:00
a.cianfarani 5cc9ddb068 Added campfire plugin to allow pushing messages 2013-08-27 18:35:10 +02:00
a.cianfarani 3e0f5d793c Allow atoum to be called from the tested project if executable option is set.
Improve errors catching
2013-08-23 18:13:12 +02:00
a.cianfarani f28ba71be5 Merge remote-tracking branch 'upstream/master' 2013-08-23 16:06:59 +02:00
a.cianfarani 47be59ae46 Added Gitlab support 2013-08-23 16:05:12 +02:00
a.cianfarani db42fb4224 restored chmod 2013-08-21 15:37:23 +02:00
Gabriel Baker 4945fde3c0 Merge pull request #129 from camspiers/pdepend-ignore
Honour the ignore directive in Pdepend plugin
2013-08-21 03:08:53 -07:00
Cam Spiers 5b148ecc8e Fix issue with non-use resources are loaded from an ssl served document 2013-08-20 21:58:26 +12:00
Cam Spiers 2a8098f431 Honour the ignore directive in Pdepend plugin 2013-08-20 21:54:42 +12:00
Dan Cryer 45a2857c39 Merge pull request #135 from kdambekalns/composer-improvements
Use composer without ANSI output and interaction
2013-08-15 08:35:53 -07:00
Dan Cryer d7e7905c63 Merge pull request #134 from kdambekalns/phpmd-improvements
Support local PHPMD rules and suffixes
2013-08-15 08:35:24 -07:00
Karsten Dambekalns 0c95d27056 Use composer without ANSI output and interaction 2013-08-15 17:28:25 +02:00
Karsten Dambekalns aedac8498b Support suffixes for PHPCS
The suffixes to scan can be given in options now, default is just php.
2013-08-15 16:23:53 +02:00
Karsten Dambekalns 5f2b5fc2e7 Support local PHPMD rules and suffixes
Allows to specify rules as a relative path in the project.

The suffixes to scan can be given in options now, default is just php.
2013-08-15 16:22:47 +02:00
Dan Cryer 0caa1605d6 Merge pull request #130 from camspiers/pdepend-remove-artifacts
Check if build artifacts exist before deleting them
2013-08-12 04:45:25 -07:00
Cam Spiers 15ffbf963d Allow project names with spaces to work with depend build artefacts 2013-08-10 13:36:55 +12:00
Cam Spiers 69cc83a04a Check if build artifacts exist before deleting them 2013-08-10 13:34:19 +12:00
a.cianfarani 97d279cabd Cleaned coding style 2013-08-02 12:12:17 +02:00
a.cianfarani 287a2b3632 Merge remote-tracking branch 'upstream/master'
Conflicts:
	composer.json
2013-08-02 12:11:23 +02:00
a.cianfarani 2bfd226663 Implemented Atoum plugin as a 'native' plugin:
- allow atoum bin to be called directly into PHPCI and not only in the current project tested (changed -d option),
- added plugin in the phpci's composer.json,
- modify execute method of the plugin because atoum always return 0 even if errors are catched,
2013-08-02 12:02:44 +02:00
Dan Cryer 0723c5d964 Updating PHPCI to use its new logo 2013-08-02 08:55:09 +01:00
Alex Russell 9bb21fc01a Fixed bootstrap table and label classes (mainly the danger ones) 2013-08-01 16:40:40 +01:00
Dan Cryer eac86ff2bd Finishing updates to make PHPCI use Bootstrap v3, as per issue #99 2013-07-31 21:04:34 +01:00
Dan Cryer a053c44b75 Merge branch 'master' of github.com:Block8/PHPCI into feature/bootstrapv3 2013-08-01 11:55:22 +01:00
Dan Cryer 8b5abc1f98 Initial work on upgrading to Bootstrap v3 2013-08-01 11:55:10 +01:00
Dan Cryer cde2092c49 Merge pull request #107 from tobiastom/subdirectory-fixes
Some fixes for subdirectory support.
2013-07-31 02:11:30 -07:00
Tobias Tom e4685b9c29 Added initial version of the grunt plugin. 2013-07-31 08:55:19 +02:00
Tobias Tom 0590890511 Some fixes for subdirectory support. 2013-07-30 19:45:27 +02:00
Dan Cryer c935c5c7ee Merge branch 'master' of github.com:Block8/PHPCI 2013-07-30 02:56:10 +01:00
Alex Russell 4133bb7905 Extended phpcs plugin to allow for extra commandline arguments.
- Now accepts paths in the --standards argument (and correctly prepends
  the build directory) so it actually works

- Now accepts the --tabwidth argument so that if your project favours tabs
  over spaces you can still just use PSR2 and you don't have to sacrifice
  using the Generic.WhiteSpace.ScopeIndent rule because it is spaces-only

- Now accpets the --encoding argument. I haven't used this before, but
  looking in the phpcs documentation it looks like a very useful one to
  have as most people code in utf-8 but phpcs defaults to iso-8859-1 and
  it can apparently "cause double-encoding problems when generating UTF-8
  encoded XML reports"
2013-07-30 14:58:00 +01:00
Dan Cryer b47dfbd0b3 Various bug fixes 2013-07-30 02:55:29 +01:00
Alex Russell cadcdcd3d2 Added new controller to accept Gitlab-like webhooks 2013-07-29 17:34:21 +01:00
Dan Cryer 0adaf0c400 Merge pull request #93 from JapavehWebdesign/master
Include support for Pdepend and phploc
2013-07-26 05:30:09 -07:00
a.cianfarani e77a5a75fb Merge remote-tracking branch 'upstream/master' 2013-07-26 09:45:36 +02:00
mrafalko 3b5db87c31 removed inline JS, added e.preventDefault to avoid redirecting to 'false' URL 2013-07-26 00:48:08 +03:00
mrafalko 763d681eaf added class to make button like other buttons on the site 2013-07-26 00:29:27 +03:00
japaveh 89c0082ad4 Merge remote-tracking branch 'upstream/master' 2013-07-25 23:21:13 +02:00
mrafalko 549a022b0e replaced alpha word with beta [main logo] 2013-07-25 23:58:16 +03:00
Dan Cryer 8c98a3ab64 Merge pull request #84 from sanpii/atoum
Add atoum plugin
2013-07-25 04:21:30 -07:00
Dan Cryer bb45e605e8 Merge pull request #88 from jaitaiwan/master
Add support for bare repositories
2013-07-25 04:19:07 -07:00
Dan Cryer 65770c8fe2 Merge pull request #90 from shurastik/master
added some configuration options
2013-07-25 04:13:43 -07:00
Alexander Pirogov 2a0e6d2401 added rules option to phpmd plugin 2013-07-19 16:40:16 +03:00
Alexander Pirogov a137e9c0c6 added prefer_dist option to composer plugin 2013-07-18 16:10:55 +03:00
Alexander Pirogov 6c76208992 added smtp_encryption config parameter 2013-07-18 14:14:22 +03:00
Maks Rafalko dc77992fd2 Hide message when local repositary is used
Hide message about hooks when local repositary is used
2013-07-15 23:56:51 +03:00
Maks Rafalko 2576f33029 Added exit to correct redirect after Rebuild and Delete build is clicked
Without `exit` it's not redirected.
2013-07-15 23:30:25 +03:00
Maks Rafalko 34bb69ec5e Added exit to correct redirect after Build Now is clicked
Withow `exit` statement it's not redirected to new created build.
2013-07-15 23:28:22 +03:00
japaveh dd3671186f Included support for PhpLoc and Pdepend 2013-07-13 00:19:43 +02:00
Daniel Holmes 9b458060fd Final Version.
Tested on ubuntu 12.04 64bit
2013-07-01 00:17:41 +10:00
Daniel Holmes 62e8106130 Tested And Resolved 2013-06-30 19:44:02 +10:00
Daniel Holmes 895928422e Allow for bare repositories 2013-06-30 18:55:25 +10:00
Sanpi ff8bd75b22 Add atoum plugin 2013-06-25 13:50:23 +02:00
Dan Cryer b767da324a Merge pull request #85 from sanpii/remote
Allow arbitrary repository URL
2013-06-25 04:32:25 -07:00
Sanpi 7f09e4df07 Allow arbitrary repository URL 2013-06-19 17:47:25 +02:00
Sanpi 5c1b5dc13f Dot is allowed in github repository name 2013-06-19 15:06:15 +02:00
Dan Cryer a8ad93bb66 Merge pull request #82 from gabriel403/feature/daemon
Basic daemon controlled by command line
2013-06-11 14:30:33 -07:00
Gabriel Baker b2fc63511b summary tweaks 2013-06-09 20:29:49 +01:00
Gabriel Baker d02e5d86d0 Merge branch 'master' of git://github.com/Block8/PHPCI into feature/summaryview 2013-06-09 20:15:58 +01:00
Gabriel Baker a963a3f284 MAjority of daemon work done, can start stop and status the daemon 2013-06-09 20:11:22 +01:00
Gabriel Baker 910e09eb52 daemon work 2013-06-09 17:42:50 +01:00
Dan Cryer 5b4f132f63 Merge pull request #80 from meadsteve/email-notification
Email notification
2013-06-08 01:50:19 -07:00
Dan Cryer bbb40ee89b Merge pull request #77 from gabriel403/feature/uitweaks
You certainly can has merge.
2013-06-06 12:25:38 -07:00
Gabriel Baker 8e200015b6 linkificationism 2013-06-05 22:34:21 +01:00
Gabriel Baker 9323797900 ui 2013-06-05 20:59:05 +01:00
Gabriel Baker 396428cc82 ui tweaks 2013-06-05 17:13:00 +01:00
a.cianfarani 74f3b145f2 Merge upstream/master 2013-06-05 16:48:01 +02:00
Dan Cryer 05b32b6d53 Adding patch to fix pagination, closes #73 2013-06-05 14:55:52 +01:00
Gabriel Baker ef310645ef added last build status background color 2013-06-05 09:46:42 +01:00
Gabriel Baker fa721fe0ff build link 2013-06-05 06:49:49 +01:00
Gabriel Baker aef90eefa9 Some more summary tweaks 2013-06-05 06:45:04 +01:00
Gabriel Baker 76adf14b28 Initial summary changes 2013-06-05 06:23:47 +01:00
meadsteve 84370038aa Added basic body and title for the email notifications. 2013-06-04 21:47:45 +01:00
meadsteve 33b840a82d Adding a default address that is always mailed to by notifications. 2013-06-04 21:09:16 +01:00
Gabriel Baker 757a82c26f removed deprecated registry and use session 2013-06-04 20:17:17 +01:00
Gabriel Baker 3dd6217133 Fixes #75 user entity not being in the registry 2013-06-04 19:54:56 +01:00
Gabriel Baker 4eadb1aef3 Fix user entity not bein in registry 2013-06-04 19:49:26 +01:00
Gabriel Baker 9574b63470 css and html tweaks for plugin statueses in builds 2013-06-04 19:14:47 +01:00
meadsteve f8407e39c8 Email plugin now looks in the yaml file for an addresses setting. All these addresses will be mailed with a pass or fail message. 2013-06-01 13:57:39 +01:00
meadsteve a4c051e024 Adding Getter for builder's success property so that plugins can find out if the the build has succeeded or not. 2013-06-01 13:56:09 +01:00
meadsteve 196a1b82b5 Adding email settings to the install command. 2013-06-01 13:30:34 +01:00
meadsteve 76e5c66b38 Fixing the email plugin so that it retrieves the system config correctly. 2013-06-01 13:29:59 +01:00
meadsteve 7761d9fc08 Adding Builder::getSystemConfig() to provide easy access to config.yml. 2013-06-01 13:28:42 +01:00
meadsteve f0a5ba50ca Filled out the Plugin\Email::sendEmail(). Pulls in the following settings from the phpci config under the heading email_settings:
smtp_address
smtp_port
smtp_username
smtp_password

and

from_address
2013-06-01 09:40:05 +01:00
meadsteve f76a2a75cc Empty Email plugin and test committed. 2013-05-31 12:56:35 +01:00
Dan Cryer 6dce7e2004 Misc. config related fixes. Closes #66, closes #65. 2013-05-28 11:22:54 +01:00
Dan Cryer ce6943de86 Updating PHPCI to use YAML-based config files. 2013-05-23 12:10:01 +01:00
a.cianfarani 857c14f0cd Some coding style corrections 2013-05-23 12:14:42 +02:00
a.cianfarani 0e89e39366 Merge remote-tracking branch 'upstream/master' 2013-05-23 11:32:18 +02:00
a.cianfarani ee4eab7a6c Move format controls into ask function 2013-05-23 11:31:58 +02:00
Gabriel Baker e342483f03 This should be checking the value not the key 2013-05-23 06:36:40 +01:00
Dan Cryer c1bf4ab636 Merge pull request #59 from kamermans/feature_variable_interpolation
Variable interpolation support
2013-05-22 14:25:02 -07:00
Dan Cryer 2345dde058 Merge pull request #62 from gabriel403/feature/php-cs-fixer
PHP CS Fixer and indentation fix
2013-05-22 14:24:31 -07:00
Dan Cryer 6e3df00f62 Removing broken Registry stuff (as registry is now deprecated in b8framework) - Fixes #58 2013-05-22 22:21:29 +01:00