Commit graph

65 commits

Author SHA1 Message Date
Dan Cryer
7f9a09fa29 Adding Docblocks throughout the project and lowering the missing docblock limit in phpci.yml to zero.
Closes #692
2014-12-08 14:12:01 +00:00
Dan Cryer
7b792c9541 Updating session variables to add phpci_ prefix.
Fixes #652
2014-12-01 15:56:33 +00:00
Stefan
d21dc179e2 Add new variable %BRANCH% to interpolator.
Closes #597
2014-10-16 16:12:20 +01:00
James Inman
3172b0f1d8 Adding check for a valid encryption context to MailerFactory. 2014-10-16 15:43:54 +01:00
Dan Cryer
46ed8daac5 Removing the 'error trying to execute' message and just displaying the errors themselves. 2014-07-31 12:23:44 +01:00
Dan Cryer
64fc4f0e16 Only display 'Error trying to execute' message if a command's status is not successful. See #533 2014-07-31 12:18:23 +01:00
Dan Cryer
99dfdcdfb2 Adding a getLastError() method as a stderr equivalent of getLastOutput() to commandexecutor. 2014-07-30 14:58:07 +01:00
Dan Cryer
69ea614d78 Fixing failed test. 2014-07-30 14:03:55 +01:00
Dan Cryer
f117b5b6b6 Fixed a small logic bug introduced in the last commit 2014-07-30 13:57:29 +01:00
Dan Cryer
b84ea1c0b5 Updating the CommandExecutor::executeCommand() method to properly catch stderr output from commands.
Fixes #456
2014-07-30 13:34:45 +01:00
Dan Cryer
d9045d54a7 Adding some tests for MailerFactory to ensure it works as expected with a provided configuration. Hopefully will help in debugging #523 2014-07-30 11:58:10 +01:00
Dan Cryer
64afb043d1 Adding the ability to use a project's composer bin directory even if it isn't defined in the composer.json (/vendor/bin) 2014-07-29 16:23:48 +01:00
Dan Cryer
0b3a7cdd9f Partial fix for #504 - No error checking in the User helper 2014-07-29 15:51:53 +01:00
Tobias van Beek
17980b623b Fixes for SSH key generation.
Closes #514, fixes #512
2014-07-29 15:40:52 +01:00
Dan Cryer
d2e274dfb1 Fixing ProjectController::add() complexity 2014-07-11 15:38:28 +01:00
Dan Cryer
94f8601445 Various bits of cleanup, should hopefully fix the build 2014-07-11 14:29:27 +00:00
Dan Cryer
d1ae05b006 PHPCS Cleanup 2014-07-11 14:07:27 +01:00
Stéphane HULARD
8e23dee03a Allow the binary finder to use the project's composer.json file
- Load JSON file and get bin-dir value: https://getcomposer.org/doc/articles/vendor-binaries.md

- Update finder behaviour to avoid code duplication

Signed-off-by: Stéphane HULARD <s.hulard@chstudio.fr>
2014-07-04 11:02:27 +02:00
Bradley Weston
aae86ea054 SSH
I'm currently running Windows machine and cygwin. This causes a hang because it requires user input. This causes the request just to go on forever until the connection is either closed or maximum execution time is reached.

So how I have thought to solve it is to add the help option.
2014-06-18 10:20:42 +01:00
maximevalette
d021550be5 Follow the Link HTTP headers for GitHub repositories request. 2014-05-27 14:06:38 +02:00
Jarek Kostrz
167ff06cc0 Fixed MailerFactory Helper config email settings. 2014-05-21 16:56:16 +02:00
Dan Cryer
5ba629e874 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
steve.brazier
614af204f5 Add missing newline to end of BaseCommandExecutor. 2014-05-12 09:07:27 +01:00
Corpsee
f6d1896096 Pull request review fixes 2014-05-11 22:38:33 +07:00
Corpsee
d32c43713d Separeted CommandExecutor for different OS 2014-05-09 19:09:27 +07:00
Corpsee
5f0b45924e Merge branch 'master' into fixes-for-windows 2014-05-09 15:23:39 +07:00
Corpsee
b3cf244944 Added CommandExecutorInterface 2014-05-09 15:23:30 +07:00
Corpsee
2d52c8dd01 Fixed phpdocs 2014-05-09 15:21:53 +07:00
Corpsee
a42dc67fad Fixed duplicate methods of CommandExecutor helper: executeCommand and buildAndExecuteCommand 2014-05-09 14:25:24 +07:00
Dan Cryer
45b7dec478 Fixing PHPCS and PHPMD errors 2014-05-08 21:43:06 +01:00
Dan Cryer
6b0d210344 Adding forgot password functionality. 2014-05-08 21:38:32 +01:00
Dan Cryer
d17ea1bd38 Further cleanup for #384 2014-05-02 17:38:43 +01:00
Dan Cryer
1e44a1531b Simplifying ProjectController a little, see #384 2014-05-02 17:32:18 +01:00
Dan Cryer
cf6e0471e4 PHPMD cleanup 2014-05-02 14:48:40 +01:00
Dan Cryer
69ea47874f Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Dan Cryer
985c51c5e4 Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305 2014-04-25 11:28:27 +00:00
Corpsee
3aa4806e25 Windows fixes 2014-03-15 13:01:41 +07:00
Corpsee
18701544a0 Fixed 'cd' command for windows 2014-03-13 00:37:57 +07:00
steve.brazier
24b5bc549d Add debug logging to findBinary() 2014-03-10 12:12:38 +00:00
Corpsee
e7bca06363 Fixed unittests on windows 2014-03-09 01:46:03 +07:00
Corpsee
ffc7d1c1b9 Fixed findBinary function for windows (which -> where) 2014-03-09 00:30:00 +07:00
meadsteve
2b93fe0c94 add getProjectTitle convenience method to the Build class. 2014-02-25 22:36:20 +00:00
Dan Cryer
4d5f4b44b7 Fixing BuildInterpolator bug 2014-02-25 17:00:18 +00:00
meadsteve
f0d224ce3c copy code from Builder to create BuildInterpolator. 2013-12-17 15:23:17 +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
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