Commit graph

64 commits

Author SHA1 Message Date
Dan Cryer
a92585fcb8 Updating session variables to add phpci_ prefix.
Fixes #652
2014-12-01 15:56:33 +00:00
Stefan
680412cab7 Add new variable %BRANCH% to interpolator.
Closes #597
2014-10-16 16:12:20 +01:00
James Inman
ad0bdd2a9c Adding check for a valid encryption context to MailerFactory. 2014-10-16 15:43:54 +01:00
Dan Cryer
d42054505e Removing the 'error trying to execute' message and just displaying the errors themselves. 2014-07-31 12:23:44 +01:00
Dan Cryer
2b62e46c20 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
490b9cf019 Adding a getLastError() method as a stderr equivalent of getLastOutput() to commandexecutor. 2014-07-30 14:58:07 +01:00
Dan Cryer
1bb5c20962 Fixing failed test. 2014-07-30 14:03:55 +01:00
Dan Cryer
f1115ba722 Fixed a small logic bug introduced in the last commit 2014-07-30 13:57:29 +01:00
Dan Cryer
d798b5f672 Updating the CommandExecutor::executeCommand() method to properly catch stderr output from commands.
Fixes #456
2014-07-30 13:34:45 +01:00
Dan Cryer
a89f686372 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
b6e7624bf6 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
6324c40757 Partial fix for #504 - No error checking in the User helper 2014-07-29 15:51:53 +01:00
Tobias van Beek
926ef097d4 Fixes for SSH key generation.
Closes #514, fixes #512
2014-07-29 15:40:52 +01:00
Dan Cryer
5d4db6a5bd Fixing ProjectController::add() complexity 2014-07-11 15:38:28 +01:00
Dan Cryer
8b0261417a Various bits of cleanup, should hopefully fix the build 2014-07-11 14:29:27 +00:00
Dan Cryer
52f45a38bf PHPCS Cleanup 2014-07-11 14:07:27 +01:00
Stéphane HULARD
07f84a28d0 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
a4f111deff 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
4353e098a7 Follow the Link HTTP headers for GitHub repositories request. 2014-05-27 14:06:38 +02:00
Jarek Kostrz
615d17ceb9 Fixed MailerFactory Helper config email settings. 2014-05-21 16:56:16 +02:00
Dan Cryer
d098fabdb6 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
steve.brazier
176000f1bd Add missing newline to end of BaseCommandExecutor. 2014-05-12 09:07:27 +01:00
Dmitry Khomutov
940c1841ff Pull request review fixes 2014-05-11 22:38:33 +07:00
Dmitry Khomutov
495d14ed7b Separeted CommandExecutor for different OS 2014-05-09 19:09:27 +07:00
Dmitry Khomutov
2e1c6e93ce Merge branch 'master' into fixes-for-windows 2014-05-09 15:23:39 +07:00
Dmitry Khomutov
ac69b13ac1 Added CommandExecutorInterface 2014-05-09 15:23:30 +07:00
Dmitry Khomutov
c6feef9da3 Fixed phpdocs 2014-05-09 15:21:53 +07:00
Dmitry Khomutov
49de515089 Fixed duplicate methods of CommandExecutor helper: executeCommand and buildAndExecuteCommand 2014-05-09 14:25:24 +07:00
Dan Cryer
8c1c02a22f Fixing PHPCS and PHPMD errors 2014-05-08 21:43:06 +01:00
Dan Cryer
cf2d93f71a Adding forgot password functionality. 2014-05-08 21:38:32 +01:00
Dan Cryer
c164295170 Further cleanup for #384 2014-05-02 17:38:43 +01:00
Dan Cryer
f0d35605b6 Simplifying ProjectController a little, see #384 2014-05-02 17:32:18 +01:00
Dan Cryer
cb6262d833 PHPMD cleanup 2014-05-02 14:48:40 +01:00
Dan Cryer
4197c9e34d Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Dan Cryer
66bfcea8ed 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
Dmitry Khomutov
58c565417e Windows fixes 2014-03-15 13:01:41 +07:00
Dmitry Khomutov
d0f6d295a1 Fixed 'cd' command for windows 2014-03-13 00:37:57 +07:00
steve.brazier
fe7805a5a6 Add debug logging to findBinary() 2014-03-10 12:12:38 +00:00
Dmitry Khomutov
4c3645dbf2 Fixed unittests on windows 2014-03-09 01:46:03 +07:00
Dmitry Khomutov
1497f96b01 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
meadsteve
c8dc8a67b7 Fix casing in LoggerConfig. 2013-11-28 21:18:11 +00:00