Commit graph

77 commits

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