Commit graph

1019 commits

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