Commit graph

104 commits

Author SHA1 Message Date
Dan Cryer 2aa9e40f5f Fixes 2016-04-27 15:27:27 +01:00
Dan Cryer 3c74ca2281 Adding a debug mode to the worker so you can see what commands are being run. 2016-04-27 14:56:52 +01:00
Dan Cryer fe21dd8bc3 Merge pull request #1021 from mrobinsonuk/cleanup/spelling-corrections
Corrected a number of minor spelling errors.
2015-10-13 15:14:44 +01:00
Stephen Ball dbc2ae97d6 Added the commit message to the BuildInterpolator so it can be used as the default reason passed to deployer 2015-10-07 15:06:07 +01:00
Dan Cryer 3fc6bbef88 Fixing new PHPCS errors. 2015-10-05 14:17:13 +01:00
Mark Robinson 2ae9faf433 Corrected a number of minor spelling errors.
Originally observed that "successful" was misspelled "succesfull" on the build view page. While correcting that, a number of other spelling errors were also corrected.
2015-06-25 15:21:23 +01:00
Adirelle 425735c2a5 Let CommandExecutor::findBinary throw an exception when the binary is missing.
Close #910
2015-04-22 12:19:05 +02:00
Adirelle bc65445c05 Enforce "en" lang in tests.
Some tests compare the result to english strings.

Do not test UnixCommandExecutor on Windows.

PharTest: explain why PHAR writing test are skipped.

InstallCommandTest: mock checkRequirements to allow the tests to run.

Run php_parallel_lint before all other tests.

Close #846
2015-04-22 11:49:26 +02:00
Adirelle df5e378b8a Use sensiolabs/ansi-to-html to parse the build logs.
Added an AnsiConverter helper.

Use the AnsiConverter in the email and page templates that display the build log.

Use a dedicated stylesheet for the ANSI converter.

It can be customized.
It can be inlined in the notifications.

Do not use ProphecyTestCase when not needed.
2015-04-09 11:54:57 +02:00
Dan Cryer e7a270f60a Fixing PHPCS errors. 2015-02-26 08:45:42 +00:00
Dan Cryer 74565282a8 Hopefully fixing a bug where reporting errors back to Github causes an infinite loop. 2015-02-26 08:31:58 +00:00
nonlux 8177d6742e Set the CommandExecutor buildPath property when a build is created.
Closes #556
2015-02-23 14:42:04 +00:00
Lee Willis 99446b56f5 Make SSH key generation more robust.
Do not try and predict whether we will be able to create a key. Instead
try and create one and capture failure if it happens.

Closes #803
2015-02-23 13:49:29 +00:00
Dan Cryer c914a25ff2 Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Dan Cryer 9f93db9f35 Lots of cleanup. 2015-02-12 14:11:58 +00:00
Dan Cryer 7820ccdf9e Fixing FIXMEs 2015-02-12 13:30:32 +00:00
Dan Cryer 9d2005d8e8 Fixing SensioLabs Insight 'Critical' violations. 2015-02-12 10:39:41 +00:00
Adirelle 3dd95c14b9 Localisation support for dates throughout the front-end using moment.js.
Closes #734
Closes #732
2015-02-03 11:53:12 +00:00
Sam Mousa eaf08b337d Fix parameters used to check if ssh-keygen exists to prevent an indefinite hang.
Closes #764
2015-02-03 11:15:52 +00:00
Dan Cryer 6e230a6ea3 Fixing login is disabled checks 2015-01-22 09:17:58 +00:00
Dan Cryer a55fb8aedb Fixing Polish language name, docblocks in Lang helper. 2014-12-23 11:53:33 +00:00
Dan Cryer 4ae68d8893 Trying to reduce complexity of language init method. 2014-12-23 11:36:01 +00:00
Dan Cryer c1ac322d93 Fixes 2014-12-22 16:18:33 +00:00
Stephen Ball 20f42256bd Cleanup of the disabled login mode.
Hides user menu, the navigation user panel, etc.

Closes #718
2014-12-22 16:12:51 +00:00
Stephen Ball 5837c3a530 Add a plugin to handle sending notifications to Slack (https://slack.com/)
Closes #720
2014-12-22 16:03:09 +00:00
Dan Cryer 4f211a5461 Fixing Docblock checker issue 2014-12-11 17:09:55 +00:00
Dan Cryer 64b4fca3ca Fixing PHPMD errors 2014-12-11 17:07:06 +00:00
Dan Cryer 3ef23a8c46 Allow admins to change the default language for their installation. 2014-12-11 16:32:42 +00:00
Dan Cryer 59be90d4a2 Allow users to change their Language via the Edit Profile page. 2014-12-11 16:26:09 +00:00
Dan Cryer 86c698ce26 Commenting the language helper, also fixing the default language name. 2014-12-08 14:27:53 +00:00
Dan Cryer 28d09275fd Merging latest master 2014-12-08 14:18:57 +00:00
Dan Cryer 9fda9ed989 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 3db08c7315 Switching to using moment.js for times in JS, rather than a custom solution. Fixes #688 2014-12-07 11:51:41 +00:00
Dan Cryer ff2c5a3da1 Moving languages to two letter locales where the four-letter equivalent is not necessary. 2014-12-07 11:39:33 +00:00
Dan Cryer 633608249f Builder, build plugins 2014-12-04 15:48:52 +00:00
Dan Cryer cfe4566af2 Login, forgot password and password reset. 2014-12-04 13:24:46 +00:00
Dan Cryer 62b957fb83 View build 2014-12-04 13:08:48 +00:00
Dan Cryer 261806109d Add/Edit/View Project languages 2014-12-04 11:42:21 +00:00
Dan Cryer 95b7f271d1 Dashboard updated to support languages 2014-12-04 11:14:04 +00:00
Dan Cryer 9ceb2841d8 Initial commit 2014-12-04 10:23:10 +00:00
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