Commit graph

448 commits

Author SHA1 Message Date
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