Commit graph

1019 commits

Author SHA1 Message Date
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
Dan Cryer efcf209478 Fixing project overview 2013-05-22 22:11:36 +01:00
Gabriel Baker be13ec90ee indentation 2013-05-22 21:53:56 +01:00
Gabriel Baker 81b2f89435 PHP CS Fixer and indentation fix 2013-05-22 21:43:19 +01:00
Steve Kamerman d7c62f3609 Added interpolation support to Env plugin 2013-05-22 15:54:18 -04:00
Steve Kamerman 0a755cedae array_walk doesn't alter keys, fixed 2013-05-22 15:17:54 -04:00
Steve Kamerman 095b7d7f14 Added support for interpolation in MySQL host, user, database, queries and file imports 2013-05-22 14:21:17 -04:00
Steve Kamerman 40afb58ff7 Added support for interpolation 2013-05-22 14:17:33 -04:00
Dan Cryer c5b20b4891 Adding Shell plugin, but with the requirement that ENABLE_SHELL_PLUGIN must be defined and true, to give sysadmins some control. Closes #45. 2013-05-22 17:23:35 +01:00
Dan Cryer 822aad753c Merge branch 'feature/shell-plugin' of https://github.com/kinncj/PHPCI into feature/shell_plugin 2013-05-22 17:21:26 +01:00
Dan Cryer acb58ff5e0 Adding project overview to dashboard, closes #55 2013-05-22 17:15:02 +01:00
Dan Cryer 75816c50e7 Fix for login screen appearing within layout, closes #51. 2013-05-22 16:46:59 +01:00
Dan Cryer 67386df9ef Refactoring to support updated b8framework. 2013-05-22 16:36:55 +01:00
a.cianfarani b8e932cb76 Some coding style corrections 2013-05-22 09:58:04 +02:00
a.cianfarani c41ab549b4 Add format controls on url and email value during installation 2013-05-21 17:57:24 +02:00
Dan Cryer aff5b1886e Merge branch 'master' of github.com:Block8/PHPCI 2013-05-20 14:07:11 +01:00
Dan Cryer fa0cfc3614 Make copy_build copy dot files, also fix comments in new build plugins. Closes #50. 2013-05-20 14:06:53 +01:00
Dan Cryer 005c6225da Merge pull request #48 from kamermans/feature_env
Implemented environment plugin
2013-05-20 05:56:53 -07:00
Steve Kamerman e04e49bb32 Added support for standard YAML key/value pairs 2013-05-19 16:54:35 -04:00
Steve Kamerman 3b72e12491 Removed unused local var 2013-05-19 11:28:27 -04:00
Steve Kamerman 7245b351a0 Implemented environment plugin 2013-05-19 01:47:41 -04:00
Steve Kamerman 5f66ff6199 Fixed file path problem 2013-05-18 23:46:26 -04:00
Steve Kamerman c03d5f3af3 Fixed file path problem 2013-05-18 23:40:30 -04:00
Steve Kamerman 60894db8dc Syntax changes 2013-05-18 23:33:39 -04:00
Steve Kamerman dda472f96d Implemented MySQL file imports 2013-05-18 23:25:14 -04:00
Dan Cryer 29541ac1fe Adding Clean Build and Package Build, Closes #38, Closes #37. 2013-05-17 23:19:38 +01:00
Dan Cryer c5c699b92d Merge pull request #46 from Block8/feature/copy_build
Copy build deployment plugin. Closes #36
2013-05-17 14:20:09 -07:00
Dan Cryer 705c432272 Fixing the copy_build plugin, issue #36 2013-05-17 22:16:37 +01:00
Dan Cryer b74a7070a7 Fixing Github sign-in 2013-05-17 21:42:29 +01:00
Dan Cryer 7b70fe3c69 Fixing Github sign-in 2013-05-17 21:39:32 +01:00
Dan Cryer ff02a52a6a Fix 2013-05-17 19:17:51 +01:00
Dan Cryer ecd051a2eb Copy build plugin. 2013-05-17 17:50:27 +01:00
Dan Cryer f256db237b Fixing PHPCI so that it'll work in a subdirectory. 2013-05-17 17:34:31 +01:00
Dan Cryer b9415316d4 Merging fixes for strict standards errors. Closes #44 2013-05-17 16:24:17 +01:00
Dan Cryer 71a01425cb Merge branch 'master' of https://github.com/kinncj/PHPCI into fix/standards_errors 2013-05-17 16:14:08 +01:00
Dan Cryer 709dd9171c Merge branch 'master' of github.com:Block8/PHPCI 2013-05-17 16:11:10 +01:00
Dan Cryer 653f4cb620 Adding build status images, both to the dashboard and as an external facing feature. Closes #43 2013-05-17 16:10:54 +01:00
Kinn Coelho Julião 623bb18dd4 Added a Shell Plugin 2013-05-17 10:10:48 -04:00
Kinn Coelho Julião 3de71b2155 Removed from view once it's loaded by AJAX request 2013-05-17 10:08:15 -04:00
Kinn Coelho Julião e037f063aa Added missing $plugins to the view
added $view->plugins
2013-05-16 18:21:51 -04:00
Kinn Coelho Julião 3b18f477a0 Merge branch 'master' of github.com:kinncj/PHPCI 2013-05-16 18:06:44 -04:00
Kinn Coelho Julião 3f9b678d2b Validate if github_token exists
Validate if the github_token session key exists before call it
2013-05-16 18:06:01 -04:00
Kinn Coelho Julião a071ef19ab Fixed Strict Standards notices
Fixed Strict Standard notice for PHPCI/Command/GenerateCommand.php
Fixed Strict Standard notice for PHPCI/Command/InstallCommand.php
2013-05-16 15:43:17 -04:00
Steve Kamerman abcc5f13d8 Fixed GitHub Remote SSH build authentication errors 2013-05-16 14:20:40 -04:00
Steve Kamerman 6ad3c0894e Merge branch 'master' of https://github.com/Block8/PHPCI 2013-05-16 13:40:22 -04:00
Dan Cryer 14841477a6 Improved commenting throughout the project. Fixes #18 2013-05-16 17:17:29 +01:00
Steve Kamerman 63e1797249 Merge branch 'master' of https://github.com/Block8/PHPCI 2013-05-16 11:59:48 -04:00
Steve Kamerman 02632f8799 Bugfix: Remote GitHub builds fail 2013-05-16 11:57:47 -04:00
Dan Cryer 7d9abf21fb Fixing PHPMD and PHPCS plugins, updating code to pass both, and updating phpci.yml to enable them. Issue #18 2013-05-16 16:46:46 +01:00
Dan Cryer 953a209d6d Fixing exclude functionality in PHPMD 2013-05-16 16:25:26 +01:00
Dan Cryer 11932e4b9c Fix for ignores in PHPCS 2013-05-16 16:14:01 +01:00
Dan Cryer 645936f309 PHPCI/Store PSR2 compliance. Issue #18 2013-05-16 16:03:34 +01:00
Dan Cryer 674cf716c8 Fixing base models. 2013-05-16 15:53:00 +01:00
Dan Cryer 83dcb2ba0c PHPCI/Plugin PSR2 compliance. Issue #18 2013-05-16 15:50:19 +01:00
Dan Cryer 11a3e3403f PHPCI/Helper and PHPCI/Model PSR2 compliance. Issue #18 2013-05-16 15:41:15 +01:00
Dan Cryer e4a6e224c4 PSR2 compliance for PHPCI/Controller - Issue #18 2013-05-16 15:25:39 +01:00
Dan Cryer 65f93555be PSR2 for PHPCI/Command - Issue #18 2013-05-16 15:14:10 +01:00
Dan Cryer e4d32b3ea1 Initial work on PSR2 compliance for issue #18 2013-05-16 02:57:30 +01:00
Dan Cryer 160540b6ee Add class-level docblock to every file. 2013-05-16 02:30:48 +01:00
Dan Cryer 6094b7013c Add file-level docblock to every file. 2013-05-16 02:16:56 +01:00
Dan Cryer 7ad996ce7c Separate JS and CSS into external files. See #18 2013-05-16 01:59:27 +01:00
Dan Cryer 6ee0b57434 Merge branch 'master' of github.com:Block8/PHPCI 2013-05-16 01:41:31 +01:00
Dan Cryer 9f2aac00c9 Merge pull request #32 from MarkMaldaba/gitignore
Some updates to .gitignore files
2013-05-16 05:26:27 -07:00
MarkMaldaba 09c546df58 Replacing .gitkeep with .gitignore, so that artifacts created in the build directories are properly ignored, and don't end up being committed to the repo on accident. 2013-05-16 12:55:29 +01:00
Dan Cryer eb8383ff5c Fix for signing in with Github when adding a new project. 2013-05-16 01:41:20 +01:00
Dan Cryer 450d03aeb9 Adding PgSQL plugin, powered by PDO. Accepts connection parameters from build_settings.pgsql 2013-05-16 00:52:18 +01:00
Dan Cryer 3ac5df9eb3 Updating MySQL plugin to use PDO, and accept connection parameters from build_settings.mysql 2013-05-16 00:51:48 +01:00
Dan Cryer d4835b46fa Fixing LocalBuild, it was in the wrong namespace. 2013-05-16 00:51:12 +01:00
Dan Cryer aaeda894ae Fixing the add / edit project form to make the reference field validation more intelligent. Fixes #19 2013-05-16 00:33:12 +01:00
Dan Cryer a5a03e1f07 Switching executeCommand() to use sprintf for parameters, and all the plugins to pass params separately. See #12, closes #24 2013-05-16 00:19:24 +01:00
Dan Cryer be37a5e821 Refactoring builds out into separate model types (Github, Bitbucket, Local) and builder to use build->createWorkingCopy() to make build directory. Fixes #29 2013-05-15 23:47:37 +01:00
Dan Cryer 1a92d1c619 Fixing the console app so that it installs and runs composer if not present. 2013-05-15 22:29:09 +01:00
meadsteve 83f857095d Updated the comments in the PHPUnit plugin to relfect the fact that directory and config file can also be arrays of strings. 2013-05-16 09:54:15 +01:00
Steve Kamerman ead7f9a5eb Added comments 2013-05-15 23:50:21 -04:00
Steve Kamerman d3f61ab79e Getting to the bottom of the logging issue 2013-05-15 23:43:34 -04:00
Steve Kamerman dae10c1977 Added phpunit flag to allow running tests from an alternate working directory 2013-05-15 23:26:49 -04:00
Steve Kamerman 440d600665 Fixed error about using $this outside of object context 2013-05-15 20:26:45 -04:00
Gabriel Baker a4a443f255 fix symlink check and build dir 2013-05-15 21:53:36 +01:00
Dan Cryer 988fa42d92 Updating PHPCI to use Symfony/Console rather than a series of individual PHP files. 2013-05-15 18:27:13 +01:00
Dan Cryer 505b0c0563 Updating base models to ones generated by the new b8framework generator. Now include strict typing, proper commenting and better formatting. Fixes #13 2013-05-15 17:28:36 +01:00
Dan Cryer 20bb2e7a10 Merge pull request #16 from MarkMaldaba/shorttag_fix
Follow-up to commit fa7ad2f45ddea003258b0448fd1038650ec2f66b...
2013-05-15 08:35:28 -07:00
MarkMaldaba f5e1d969fd Follow-up to commit fa7ad2f45d, which replaced short-tags with print statements. This one was missed (or, perhaps, has since crept in). A CodeSniffer test candidate, methinks! 2013-05-15 16:31:21 +01:00
MarkMaldaba 251f4d6713 Fix for running PHP under CGI on Windows machines. In this situation, the environement variables defining the system temp path are not necessarily available to PHP, so sys_get_temp_dir() falls back to using the system path (e.g. C:\WINDOWS), which is normally unwritable. This means that temp-file creation fails.
I've added code to detect this situation, and if it occurs we point it to %SystemRoot%\TEMP instead, which usually is present and writable.  May not fix 100% of cases, but should fix the vast majority of situations where this may occur.
2013-05-15 16:04:55 +01:00
meadsteve 24e709f77e Modified the PHPunit plugin so that it can take multiple config files and dirs and will combine the results of each. 2013-05-15 13:41:30 +01:00
meadsteve a0528d2cc4 Added argument to Phpunit plugin: config. This takes the path to an xml configuration file which will be run instead of the specified directory. 2013-05-15 13:03:37 +01:00
Dan Cryer be838c6765 Merging master to bring github branch into line. 2013-05-14 19:57:37 +01:00
Dan Cryer fa18d89ddc Adding support for local path based projects. See pull #2 2013-05-14 19:44:14 +01:00
Dan Cryer 5f9f839613 Removing the extra /tmp from sys_get_temp_dir() 2013-05-14 18:34:26 +01:00
Dan Cryer 62e731abad Merge pull request #8 from meadsteve/master
Fix temp directory for ssh-keygen on windows systems
2013-05-14 12:48:27 -07:00
Dan Cryer 9f0e04d8e3 Merge pull request #9 from meadsteve/symfony-yaml
Merging the use of the Symfony YAML parser, removing the requirement for the YAML extension. Thanks @meadsteve :)
2013-05-14 12:46:42 -07:00
Dan Cryer fa7ad2f45d Removing short open tags and replacing with print statements. 2013-05-14 18:28:03 +01:00
meadsteve b71849a9c4 I've replaced the requirement for the pecl yaml extension with the symphony component. Sometimes I work on a windows box and the instructions for installing pecl yaml on windows looked a little intimidating:
https://code.google.com/p/php-yaml/wiki/InstallingWithPecl
2013-05-14 18:15:57 +01:00
meadsteve bdaf5abff7 I've replaced the requirement for the pecl yaml extension with the symphony component. Sometimes I work on a windows box and the instructions for installing pecl yaml on windows looked a little intimidating:
https://code.google.com/p/php-yaml/wiki/InstallingWithPecl
2013-05-14 18:07:46 +01:00
meadsteve 0a9c7bda93 On a windows system having a file path like '/tmp/' . md5(microtime(true)) caused problems. I've updated this to use the system temp directory. 2013-05-14 18:01:14 +01:00
Dan Cryer 918b4deff4 Adding Github statuses integration 2013-05-14 17:49:39 +01:00
Dan Cryer 812dfcb95a Github pull request status updates 2013-05-14 16:58:14 +01:00
Dan Cryer dfeac39be3 Github integration. 2013-05-14 16:37:54 +01:00
Dan Cryer 9ea3a22864 Adding support for PHPSpec. 2013-05-14 14:37:14 +01:00
Dan Cryer 4037964d4c Adding a status indicator for each plugin on the build page, fixing ignores for PHPCPD 2013-05-14 13:09:54 +01:00
Dan Cryer 8ae2069530 Updating project form to accept and clean up BitBucket / Github URLs 2013-05-14 09:00:56 +01:00
Dan Cryer 0c4320b38c Fixing Bitbucket controller. 2013-05-10 17:15:48 +01:00
Dan Cryer 93052d6cf0 Fixing the build controller. 2013-05-10 16:36:25 +01:00
Dan Cryer a1164ecaa4 A logout button might be handy. 2013-05-10 16:27:38 +01:00
Dan Cryer 188162f0a2 Adding user accounts. 2013-05-10 16:25:51 +01:00
Dan Cryer a07ba4020c Adding proper Bitbucket support 2013-05-10 16:25:37 +01:00
Dan Cryer 14f40e9b0f Updating PHPCI to use Composer-installed copies of the plugin requirements 2013-05-10 15:00:24 +01:00
Dan Cryer abc20b4c80 Removing the hack to always use a specific PHPCI.yml 2013-05-10 12:30:07 +01:00
Dan Cryer 3647ac1cd8 Big update. 2013-05-10 12:28:43 +01:00
Dan Cryer dd59bff838 Fixes for live 2013-05-03 16:33:27 +01:00
Dan Cryer 2c860e8009 Initial commit. 2013-05-03 16:02:53 +01:00