Commit graph

665 commits

Author SHA1 Message Date
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
26ebad78f7 Allow users to turn off SMTP encryption.
Fixes #495
2014-07-29 17:24:13 +01:00
Dan Cryer
0d189f6f4c Fixing links to files on Github when viewing a pull request build.
Fixes #423
2014-07-29 17:19:37 +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
7137e3921f Remove call to non-existant function getPlugins() from the build status page.
Fixes #455
2014-07-29 16:18:36 +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
1f41e50639 Quick fix for the PHPLoc directory setting 2014-07-29 15:31:27 +01:00
Daren Chandisingh
ad1a75ec05 Add build path to phploc directory 2014-07-29 15:25:10 +01:00
Dan Cryer
46c03e030e Fixing incorrect method call BuildService::delete() and making the project page reload when a build is deleted. Fixes #528 2014-07-29 15:07:26 +01:00
Dan Cryer
fa1fd4038a Fixing #527 2014-07-25 20:49:42 +01:00
Dan Cryer
84e78993d8 Reverting accidental addition of engine and parent_id columns to the Build table. 2014-07-23 16:19:45 +01:00
Dan Cryer
f24f5c0a45 Migrating install and create-admin console commands to use userservice 2014-07-23 15:56:23 +01:00
Dan Cryer
06ccdd1937 Moving user controller to using a service class 2014-07-23 15:50:34 +01:00
Dan Cryer
bfc7a58195 Fixing PHPCI issues for this branch 2014-07-23 14:54:49 +01:00
Dan Cryer
a20cf49bf9 Updating webhooks to use build service 2014-07-14 16:08:19 +01:00
Dan Cryer
4d2583e536 More service layer functionality, builds now. Also some extra tests for projects and build models. 2014-07-14 16:02:36 +01:00
Dan Cryer
cb53ec9c6d Fixing some issues with project default branches, adding tests for that too 2014-07-14 14:59:04 +01:00
Dan Cryer
2bff0270cf More work on ProjectService and its tests 2014-07-14 14:37:51 +01:00
Dan Cryer
9a7743e8d3 Initial work on adding a Services layer to PHPCI, for better testability. Starting with Projects 2014-07-14 14:01:29 +01:00
Emmanuel Vella
dae95a1bec Remote Git Build: Use --quiet to checkout specific revision silently
Without the ``--quiet`` parameter, the cron error output get this message :

```

Note: checking out 'fe0fcd1b79f0db3d49fe6e50765bcb527e29980b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at fe0fcd1...
```

Closes #485
2014-07-11 15:56:49 +01:00
Emmanuel Vella
2109379501 Update Behat plugin to be compatible with Behat 3
Closes #482
2014-07-11 15:50:17 +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
Bertram Truong
5b177ba8db fix http urls to use protocol relative urls 2014-07-10 08:49:55 -05:00
Dan Cryer
ccbbf004d2 Merge pull request #468 from FylmTM/bugfix-project-view-pages
Check for zero builds count and if so, set pages count to 1.
2014-07-09 11:04:58 +01:00
Dan Cryer
34c9ae3771 Merge pull request #470 from FylmTM/feature-hipchat_plugin_customize
HipChat plugin update - color & notify options added.
2014-07-07 16:17:29 +01:00
Dan Cryer
a0c55fefdb Merge pull request #473 from Icode4food/pr1
resolve issue with undefined variable in Windows
2014-07-07 16:16:59 +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
Jeffrey Brubaker
3434c2714f resolve issue with undefined variable in Windows 2014-07-03 16:55:34 -04:00
Dmitrijs Vrublevskis
489314cac8 Add color & notify options for HipChat plugin. Also fix execute result - return correct notify status. 2014-06-29 15:18:21 +03:00
Dmitrijs Vrublevskis
e17c06c2db Check for zero builds count and if so, set pages count to 1. 2014-06-27 19:24:44 +03:00
Steve B
cf0cc172b7 Merge pull request #464 from bweston92/master
SSH issues.
2014-06-27 14:55:41 +01:00
Steve B
a8ac14b1dd Merge pull request #459 from FriTOol/master
Feature: Choose branch
2014-06-27 14:31:52 +01:00
Bradley Weston
d8bf99be8e SshKey generate always returns an array. 2014-06-18 10:25:24 +01: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
Jimmy Cleuren
7e4c8313dc fixing the phpunit plugin 2014-06-17 23:47:15 +02:00
Dan Cryer
b1b048a0b7 Merge pull request #448 from corpsee/installation-fix
Installation fix
2014-06-13 13:53:43 +01:00
Dan Cryer
13cc74edaa Merge pull request #449 from corpsee/add-project-fix
Fixed key in add action when 'ssh-keygen' command is not available
2014-06-13 13:52:20 +01:00
Dan Cryer
14384f00ad Merge pull request #450 from maximevalette/master
Follow the Link HTTP headers for GitHub repositories request.
2014-06-13 13:51:50 +01:00
Dan Cryer
3459e86e92 Merge pull request #457 from corpsee/pagination-fix
Project builds pagination improvements
2014-06-13 13:50:47 +01:00
Dan Cryer
ce88661961 Merge pull request #458 from corpsee/phpunit-improvements
Removed useless args
2014-06-13 13:49:32 +01:00
Stephen Ball
fd0c68ff15 Adding a build status JS plugin for PHPCPD 2014-06-12 16:06:59 +00:00
Anatoly Skornyakov
34a72006ae Feature: Choose branch 2014-06-11 17:18:31 +04:00
Dmitry Khomutov
c8288bf7e1 Project builds pagination improvements 2014-06-09 00:08:46 +07:00
Dmitry Khomutov
b577aaebfd Project builds pagination improvements 2014-06-08 23:46:42 +07:00
Dmitry Khomutov
1a9994d5f5 Fixed trailing slash 2014-06-05 22:00:49 +07:00
maximevalette
4353e098a7 Follow the Link HTTP headers for GitHub repositories request. 2014-05-27 14:06:38 +02:00
Dmitry Khomutov
0314944b79 Fixed key in add action when 'ssh-keygen' command is not available 2014-05-26 08:55:32 +07:00