Commit graph

573 commits

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