Commit graph

100 commits

Author SHA1 Message Date
Stephen Ball
6f0945fb97 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
ea1157066e Fixing new PHPCS errors. 2015-10-05 14:17:13 +01:00
Adirelle
f25b1d25dc Let CommandExecutor::findBinary throw an exception when the binary is missing.
Close #910
2015-04-22 12:19:05 +02:00
Adirelle
452a5ba97c 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
d804438a87 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
86b9c05f98 Fixing PHPCS errors. 2015-02-26 08:45:42 +00:00
Dan Cryer
ab4396e00d Hopefully fixing a bug where reporting errors back to Github causes an infinite loop. 2015-02-26 08:31:58 +00:00
nonlux
893deada33 Set the CommandExecutor buildPath property when a build is created.
Closes #556
2015-02-23 14:42:04 +00:00
Lee Willis
6420119f1a 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
dd58dd682f Adding support for commenting on Github diffs. 2015-02-23 13:40:34 +00:00
Dan Cryer
c20ca7c8ff Lots of cleanup. 2015-02-12 14:11:58 +00:00
Dan Cryer
dcbad55df8 Fixing FIXMEs 2015-02-12 13:30:32 +00:00
Dan Cryer
9379da1393 Fixing SensioLabs Insight 'Critical' violations. 2015-02-12 10:39:41 +00:00
Adirelle
cd4ff6c4ea 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
3ade895e30 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
c5bdafeaa3 Fixing login is disabled checks 2015-01-22 09:17:58 +00:00
Dan Cryer
3235550267 Fixing Polish language name, docblocks in Lang helper. 2014-12-23 11:53:33 +00:00
Dan Cryer
5f11e1997c Trying to reduce complexity of language init method. 2014-12-23 11:36:01 +00:00
Dan Cryer
0afc28cb69 Fixes 2014-12-22 16:18:33 +00:00
Stephen Ball
f78b6ae9f9 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
fd8f318401 Add a plugin to handle sending notifications to Slack (https://slack.com/)
Closes #720
2014-12-22 16:03:09 +00:00
Dan Cryer
28b24952ab Fixing Docblock checker issue 2014-12-11 17:09:55 +00:00
Dan Cryer
c81c0311cb Fixing PHPMD errors 2014-12-11 17:07:06 +00:00
Dan Cryer
c230d1c347 Allow admins to change the default language for their installation. 2014-12-11 16:32:42 +00:00
Dan Cryer
b99b09d13c Allow users to change their Language via the Edit Profile page. 2014-12-11 16:26:09 +00:00
Dan Cryer
a8ec69e6dd Commenting the language helper, also fixing the default language name. 2014-12-08 14:27:53 +00:00
Dan Cryer
9de19d6bbb Merging latest master 2014-12-08 14:18:57 +00:00
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
5e7301d662 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
3f15c0618a Moving languages to two letter locales where the four-letter equivalent is not necessary. 2014-12-07 11:39:33 +00:00
Dan Cryer
5dd42da9a0 Builder, build plugins 2014-12-04 15:48:52 +00:00
Dan Cryer
cea124cfaa Login, forgot password and password reset. 2014-12-04 13:24:46 +00:00
Dan Cryer
4a03e01c3f View build 2014-12-04 13:08:48 +00:00
Dan Cryer
cc58191048 Add/Edit/View Project languages 2014-12-04 11:42:21 +00:00
Dan Cryer
f6e433a94d Dashboard updated to support languages 2014-12-04 11:14:04 +00:00
Dan Cryer
050fdda848 Initial commit 2014-12-04 10:23:10 +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