Commit graph

831 commits

Author SHA1 Message Date
Dan Cryer
980cc147ac Save the build log every time the log is updated. 2014-07-31 12:27:25 +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
e967ae5bf7 Restoring the ability to change a project's default branch. Fixes #532 2014-07-31 12:15:26 +01:00
Dan Cryer
cd5d28f7e8 Fixing the ability to delete users. 2014-07-31 12:10:34 +01:00
Dan Cryer
e10901bf1d Fixing the ability to delete projects. Fixes #535 2014-07-31 12:10:22 +01:00
Dan Cryer
075550ace2 Fixing the inevitable PHPCS error 2014-07-30 15:59:16 +01:00
Dan Cryer
303aad105d Adding a new migration that adds the appropriate null / not null status and default values to all database columns.
Fixes #471
2014-07-30 15:58:09 +01:00
Dan Cryer
0e1fe3ea22 Properly handling Gitlab URLs that contain ports.
Fixes #484, closes #501
2014-07-30 15:33:05 +01:00
Dan Cryer
5c600f861e Switching project access information to use JSON instead of serialization, fixes #493 2014-07-30 15:13:50 +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
c6529b6832 Adding handling of HTTP 401 status codes in Ajax requests. Fixes #504 2014-07-30 14:32:38 +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
21341b632c Allow users to turn off SMTP encryption.
Fixes #495
2014-07-29 17:24:13 +01:00
Dan Cryer
c3f73cc621 Fixing links to files on Github when viewing a pull request build.
Fixes #423
2014-07-29 17:19:37 +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
cd12b9ee31 Remove call to non-existant function getPlugins() from the build status page.
Fixes #455
2014-07-29 16:18:36 +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
98cc4af41b Quick fix for the PHPLoc directory setting 2014-07-29 15:31:27 +01:00
Daren Chandisingh
677f135b7c Add build path to phploc directory 2014-07-29 15:25:10 +01:00
Dan Cryer
6421f1428e 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
04a1284117 Fixing #527 2014-07-25 20:49:42 +01:00
Dan Cryer
3f14b2e241 Reverting accidental addition of engine and parent_id columns to the Build table. 2014-07-23 16:19:45 +01:00
Dan Cryer
217d94a8c2 Migrating install and create-admin console commands to use userservice 2014-07-23 15:56:23 +01:00
Dan Cryer
a9c94dd319 Moving user controller to using a service class 2014-07-23 15:50:34 +01:00
Dan Cryer
5c6aad3282 Fixing PHPCI issues for this branch 2014-07-23 14:54:49 +01:00
Marc Aschmann
1dcc483ccb resolves #497 added feature to disable auth with a default user 2014-07-15 11:39:06 +02:00
Dan Cryer
dfb992de48 Updating webhooks to use build service 2014-07-14 16:08:19 +01:00
Dan Cryer
3fd1bc2a36 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
9a51a1458e Fixing some issues with project default branches, adding tests for that too 2014-07-14 14:59:04 +01:00
Dan Cryer
0a0c911356 More work on ProjectService and its tests 2014-07-14 14:37:51 +01:00
Dan Cryer
af4cdd90b6 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
6f0a37d4cb 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
82043ba444 Update Behat plugin to be compatible with Behat 3
Closes #482
2014-07-11 15:50:17 +01:00
Dan Cryer
d2e274dfb1 Fixing ProjectController::add() complexity 2014-07-11 15:38:28 +01:00
Dan Cryer
94f8601445 Various bits of cleanup, should hopefully fix the build 2014-07-11 14:29:27 +00:00
Dan Cryer
d1ae05b006 PHPCS Cleanup 2014-07-11 14:07:27 +01:00
Bertram Truong
14ace86098 fix http urls to use protocol relative urls 2014-07-10 08:49:55 -05:00
Dan Cryer
434d642fc5 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
f82e65eb5e 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
df15f60d40 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
8e23dee03a 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
505c3c9076 resolve issue with undefined variable in Windows 2014-07-03 16:55:34 -04:00
Dmitrijs Vrublevskis
3b78a33a34 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
d5e2ce9334 Check for zero builds count and if so, set pages count to 1. 2014-06-27 19:24:44 +03:00
Steve B
4a7495a75d Merge pull request #464 from bweston92/master
SSH issues.
2014-06-27 14:55:41 +01:00