Commit graph

96 commits

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