Commit graph

899 commits

Author SHA1 Message Date
Dan Cryer ddd46ba9ad Fixing user profile edit to display updated information after save. 2014-12-01 16:03:35 +00:00
Dan Cryer 7b792c9541 Updating session variables to add phpci_ prefix.
Fixes #652
2014-12-01 15:56:33 +00:00
Dan Cryer 084203f0cf Adding support for Github Content-Type: application/json web hooks.
See #668
2014-12-01 15:48:22 +00:00
Dan Cryer b2a6ea38ee Updating PHP Copy/Paste Detector to new parameter format
Fixes #669
2014-12-01 15:39:19 +00:00
Dan Cryer a92c72e801 Remove infinite recursion when using an array of directories in PHP Unit config.
Fixes #596
2014-12-01 15:32:50 +00:00
Sam Van der Borght 8b7b1afe71 Remove un-necessary and incorrect validator for branch field on the project add/edit form.
Closes #506
Fixes #580
Fixes #562
Fixes #573
Fixes #633
2014-11-13 17:42:39 +00:00
Stefan eb508baa4f Make IRC plugin join channel before attempting to send a message.
Closes #579
2014-11-13 17:35:58 +00:00
Wanderson 61d864e4f0 Add support for skipped tests in TAP Parser.
Closes #624
See #611
2014-11-13 17:33:27 +00:00
Jimmy Cleuren 2f4063c788 Add a commit message to builds imported via PollCommand.
Closes #626
2014-11-13 17:30:27 +00:00
Michael Schramm 404a0c1039 Fix parallel lint directory to include build path.
Closes #645

directory should be inside of build path
2014-11-13 17:27:30 +00:00
Stefan a2493bff3d Fix profile update - missing parameter in function call.
Fixes #629
Fixes #590
Fixes #591
2014-11-13 17:20:41 +00:00
Marco Vito Moscaritolo 6adbee0bc9 Fixed webhook method docs.
Closes #565
2014-10-16 16:23:17 +01:00
Stefan d21dc179e2 Add new variable %BRANCH% to interpolator.
Closes #597
2014-10-16 16:12:20 +01:00
Adam Cooper 0aa342e774 Adding a branch filter to the project page, allowing users to view builds from a specific branch.
Closes #600
2014-10-16 16:10:24 +01:00
Schorsch3000 24498d1bc4 Added Gulp JS plugin.
Closes #606
2014-10-16 16:02:36 +01:00
James Inman c02795988c Fixing support for SMTP encryption.
Closes #614
Closes #619
2014-10-16 15:44:41 +01:00
James Inman 3172b0f1d8 Adding check for a valid encryption context to MailerFactory. 2014-10-16 15:43:54 +01:00
Marc Aschmann a5d5be1a8b Merge remote-tracking branch 'block8/master' 2014-08-05 13:44:32 +02:00
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
Steve B 9e146a275d Merge pull request #459 from FriTOol/master
Feature: Choose branch
2014-06-27 14:31:52 +01:00
Bradley Weston 3cc1cba8b1 SshKey generate always returns an array. 2014-06-18 10:25:24 +01:00
Bradley Weston aae86ea054 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 27d37c924d fixing the phpunit plugin 2014-06-17 23:47:15 +02:00
Dan Cryer 48f3ebf440 Merge pull request #448 from corpsee/installation-fix
Installation fix
2014-06-13 13:53:43 +01:00
Dan Cryer 31b1f047b2 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 1fa844a1ac 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 9ae14625d2 Merge pull request #457 from corpsee/pagination-fix
Project builds pagination improvements
2014-06-13 13:50:47 +01:00
Dan Cryer c9f56cb460 Merge pull request #458 from corpsee/phpunit-improvements
Removed useless args
2014-06-13 13:49:32 +01:00
Stephen Ball e72dee9e80 Adding a build status JS plugin for PHPCPD 2014-06-12 16:06:59 +00:00
Anatoly Skornyakov 5d360413bd Feature: Choose branch 2014-06-11 17:18:31 +04:00
Corpsee 53e8a432a2 Project builds pagination improvements 2014-06-09 00:08:46 +07:00
Corpsee bfb40df19a Project builds pagination improvements 2014-06-08 23:46:42 +07:00
Corpsee 55d354d000 Fixed trailing slash 2014-06-05 22:00:49 +07:00
maximevalette d021550be5 Follow the Link HTTP headers for GitHub repositories request. 2014-05-27 14:06:38 +02:00
Corpsee fcec8b2c8b Fixed key in add action when 'ssh-keygen' command is not available 2014-05-26 08:55:32 +07:00
Corpsee 9e73151755 Fixed phpdoc 2014-05-26 02:58:36 +07:00
Corpsee df2b9c9e28 Fixed PHPCI installation (Doesnt load the database settings when saving admin user) 2014-05-26 02:56:27 +07:00
Corpsee 3834d01f0f Removed useless args 2014-05-26 01:17:29 +07:00
Dan Cryer 8469628f7d Merge pull request #438 from cangelis/ignore_file_phpcpd
Fixed file ignoring for phpcpd
2014-05-23 13:22:57 +01:00
Dan Cryer f26d6562b3 Merge pull request #440 from Ange7/xmpp
Add new XMPP Notification plugin
2014-05-23 13:21:27 +01:00
Dan Cryer 85b1191021 Merge pull request #441 from Ange7/quicklinks
Add quick links in menu
2014-05-23 13:21:01 +01:00
Dan Cryer 5b3ab8cc42 Log output when reports fail to process 2014-05-22 11:59:26 +01:00
Dan Cryer 646f0eb121 Fixing rebuild 2014-05-22 11:33:14 +01:00
Dan Cryer 97889b3449 Merge branch 'master' of github.com:Block8/PHPCI 2014-05-22 10:54:15 +01:00
Dan Cryer a205556ea5 Fixing rebuild 2014-05-22 10:54:08 +01:00
Alexandre Russo 05ba6df964 PHPCI/Plugin/Xmpp.php : Use implode() method instead of foreach() to build recipients for command 2014-05-21 21:57:40 +02:00
Alexandre Russo a262af8ee2 PHPCI/Plugin/Xmpp.php : Remove unused $args variable 2014-05-21 21:57:20 +02:00
Jarek Kostrz 167ff06cc0 Fixed MailerFactory Helper config email settings. 2014-05-21 16:56:16 +02:00
Alexandre Russo bb500d49b4 PHPCI/Plugin/Xmpp.php : Fix command to send to system 2014-05-21 14:11:47 +02:00
Alexandre Russo 70ac59e65b PHPCI/Plugin/Xmpp.php : Fix build message method 2014-05-21 14:11:46 +02:00
Alexandre Russo 475cd6556b PHPCI/Plugin/Xmpp.php : default date format is now %c 2014-05-21 14:11:45 +02:00
Alexandre Russo 7ac26cb52f PHPCI/Plugin/Xmpp.php : Fix get configuration file method 2014-05-21 14:11:44 +02:00
Alexandre Russo 915fd5351f PHPCI/Plugin/Xmpp.php : Fix date_format variable 2014-05-21 14:11:43 +02:00
Alexandre Russo daa2d7e716 PHPCI/Plugin/Xmpp.php : Fix config file name of sendxmpp (sendxmpprc instead of sendxmpp) 2014-05-21 14:11:42 +02:00
Alexandre Russo 96767d7d58 PHPCI/Plugin/Xmpp.php : Fix syntax variable «date_format» 2014-05-21 14:11:41 +02:00
Alexandre Russo ade680e145 PHPCI/Plugin/XMPP.php rename to PHPCI/Plugin/Xmpp.php 2014-05-21 14:11:14 +02:00
Alexandre Russo 2db88ac431 PHPCI/Plugin/XMPP.php : Add new param «dateFormat» to display date/hour in notification message. Move code to build message string in separate method 2014-05-21 14:11:13 +02:00
Alexandre Russo 97d6a6030b PHPCI/Plugin/XMPP.php : Add test on empty recipients list and add test to check that all command was successful 2014-05-21 14:10:54 +02:00
Alexandre Russo 9deb00a096 PHPCI/Plugin/XMPP.php : Add XMPP plugin notification to send notification via XMPP Network to recipients list 2014-05-21 14:10:32 +02:00
Can Geliş 96747a453f Fix file ignore phpcpd
phpcpd's --exclude parameter only accepts "folders". Files should be used
with --names-exclude.
2014-05-19 20:00:31 +03:00
Alexandre Russo 69cb67913e Add quick links in menu and set position as fixed for better navigation 2014-05-19 16:12:14 +02:00
Dan Cryer 16b44220d5 Fixing installation migration, it needs to actually create tables. 2014-05-19 10:46:23 +01:00
Dan Cryer c2b3461262 Merge pull request #432 from devzorg/build-status-svg
Adding / SVG support build status
2014-05-18 09:49:14 +01:00
devzorg a0861a5775 Adding / SVG support build status 2014-05-17 21:42:18 +04:00
devzorg 251f08c6b8 Fix / Collapse and word wrap fix for a block with the ssh-key. 2014-05-17 21:36:25 +04:00
devzorg d8e1a9d364 Adding / SVG support build status 2014-05-16 22:10:47 +04:00
Andrew 2d01a37362 Fix behat plugin 2014-05-16 17:14:14 +03:00
Dan Cryer 3a8456deb7 Update for PR #346 to fix PHPMD error 2014-05-15 13:39:54 +01:00
Claus Due 7eddec6157 Feature: Plugin.CopyBuild wipe instruction
When set to `true`, this added `wipe` property will completely remove the target directory contents (except hidden files) before copying the build files into it.

The instruction is only allowed if `directory` is **not** `/` as a tiny and very inadequate measure against unintentional destruction of the host system.
2014-05-15 14:11:13 +02:00
yourilima 1652e3ccfe Update view.phtml
Fix call to undefined method after changes in d63a029b74
2014-05-14 10:27:41 +02:00
James Inman e84a8766fc HipChat integration. 2014-05-13 16:56:05 +01:00
Dan Cryer ba8d88f233 Renaming project.git_key and project.public_key to project.ssh_private_key and project.ssh_public_key respectively. 2014-05-13 15:15:33 +00:00
Dan Cryer d63a029b74 Adding migrations functionality to PHPCI using Phinx 2014-05-13 15:15:06 +00:00
Dan Cryer a62307250f Fix the git plugin merge command, see #326 2014-05-12 18:57:55 +01:00
Dan Cryer 84cfda3538 PHP 5.3 cleanup, fixes #360 2014-05-12 18:42:57 +01:00
Dan Cryer b4c0783f4d Adding a warning that PHPCI can't save your settings if the config.yml file is not writeable, fixes #369 2014-05-12 18:37:48 +01:00
Dan Cryer 9d58add843 Removing PHPCI's attempt to install plugins via composer automatically, as it usually doesn't work. See #395 2014-05-12 18:26:44 +01:00
Dan Cryer 5ba629e874 Adding / correcting the file docblock throughout the project 2014-05-12 17:26:17 +01:00
Dan Cryer 70b50c108e Reducing complexity of PhpCodeSniffer::__construct() - see #386 2014-05-12 17:07:20 +01:00
Dan Cryer e81232dd22 Reducing complexity of ProjectController::add() - See #384 2014-05-12 17:01:05 +01:00
Dan Cryer 55570317ef Merge pull request #414 from Block8/dc/build-pull-requests
Allow PHPCI to test Github Pull Requests
2014-05-12 16:43:49 +01:00
Dan Cryer f1627b0f15 Merge pull request #411 from meadsteve/master
Reduce complexity of mess detector plugin execute method.
2014-05-12 16:43:40 +01:00
Dan Cryer 4806d1a783 Hopefully fixing the clone issues for Pull Requests 2014-05-12 16:28:48 +01:00
Dan Cryer 079ebc5275 Making WebhookController actually store the array when passed 2014-05-12 16:06:58 +01:00
Dan Cryer 6177b6e406 Fixing BuildStore 2014-05-12 15:56:39 +01:00
Dan Cryer 1efbf62ff3 Fixing BuildStore 2014-05-12 15:55:56 +01:00
Dan Cryer 01df334bb3 Cleaning up the WebhookController class, making it actually send status postbacks, skipping duplicate commits 2014-05-12 15:53:29 +01:00
Dan Cryer 3f0074de88 Fixing build model 2014-05-12 15:22:32 +01:00
Dan Cryer 77ec9998b6 Fixing build model 2014-05-12 15:20:42 +01:00
Dan Cryer 1739afeca6 Update GithubBuild to allow for testing pull requests, hopefully 2014-05-12 15:18:42 +01:00
Dan Cryer a2997713d1 Removing reference to getPlugins() from BuildController 2014-05-12 15:01:34 +01:00
Dan Cryer 328e579037 Removing reference to getPlugins() from BuildsTable view 2014-05-12 14:58:48 +01:00
Dan Cryer 5ec83f64db Fixing WebhookController 2014-05-12 14:58:30 +01:00
Dan Cryer fd5416a431 Updating webhook controller to support pull request payloads 2014-05-12 14:46:45 +01:00
Dan Cryer 03351214f1 Updating Build model to add accessor for the extra column 2014-05-12 14:07:09 +01:00
Dan Cryer 9486bd0863 Removing unused plugins column, adding extra column to allow for type-specific build information (such as forked repo information for pull requests or a patch file 2014-05-12 13:46:26 +01:00
Dan Cryer edc8bb0754 Cleaning up the composer plugin a little 2014-05-12 11:58:43 +01:00
Dan Cryer 32ca0b438d Trying adding --prefer-source when --prefer-dist is not enabled 2014-05-12 11:47:07 +01:00
steve.brazier 614af204f5 Add missing newline to end of BaseCommandExecutor. 2014-05-12 09:07:27 +01:00
Steve B f583d045cf Merge pull request #404 from corpsee/fixes-for-windows
Init abstraction of command execution on different operation systems
2014-05-11 18:20:59 +01:00
Steve B 9d3e9d1719 Reduce complexity of mess detector plugin execute method. 2014-05-11 16:59:54 +01:00
Corpsee f6d1896096 Pull request review fixes 2014-05-11 22:38:33 +07:00
Corpsee 2476086f7c Fixes 2014-05-09 23:55:13 +07:00
Corpsee 37bdffbbdd Merge branch 'master' into fixes-for-windows 2014-05-09 23:50:16 +07:00
Corpsee fa85f13ae8 Small fixes for SQL plugins (phpdocs, some fixes) 2014-05-09 23:49:20 +07:00
Corpsee 3e7c38df35 Added Sqlite plugin 2014-05-09 23:41:26 +07:00
Dan Cryer 66772d3bf1 Reducing the complexity of ProjectController::add() 2014-05-09 16:19:15 +01:00
Dan Cryer aab931c293 Reducing complexity of phpdocblockchecker::execute(), see #402 2014-05-09 16:05:21 +01:00
Dan Cryer 1f7f318634 Fixing merge conflict 2014-05-09 15:56:34 +01:00
Dan Cryer 7d50256a53 Initial work on fixing the complexity of user controller 2014-05-09 15:51:13 +01:00
Dan Cryer a6d1afd3f4 Merge pull request #399 from Block8/dc/error-handling
Better error handling for the front-end UI
2014-05-09 15:36:50 +01:00
danio1024 cbc769d8ef Changed PhpSpec run command order to match docs 2014-05-09 15:15:55 +02:00
danio1024 52202c08c9 Added missing run statement for PhpSpec 2014-05-09 14:51:45 +02:00
Corpsee d32c43713d Separeted CommandExecutor for different OS 2014-05-09 19:09:27 +07:00
Dan Cryer 7357f81dc3 Cleaning up exceptions in the User controller 2014-05-09 12:19:48 +01:00
Dan Cryer 302717bad0 Cleaning up exceptions in the BuildStatus controller 2014-05-09 12:16:24 +01:00
Dan Cryer 5fc0ed0249 Cleaning up exceptions in the Build controller 2014-05-09 12:15:11 +01:00
Dan Cryer f2bf4ba440 Cleaning up exceptions in the Project controller 2014-05-09 12:11:02 +01:00
Dan Cryer baee67a43b Updating exception handler to return the appropriate HTTP response code 2014-05-09 12:10:48 +01:00
Dan Cryer b146af66b7 Adding some form of exception handling to front-end requests 2014-05-09 12:04:42 +01:00
Dan Cryer 68a92e4682 Merge branch 'master' of github.com:Block8/PHPCI 2014-05-09 11:49:41 +01:00
Dan Cryer 5908e86fc0 Enabling the exception / error handler for console mode only. Also fixing a catchable fatal error in the BuildFactory class. 2014-05-09 11:47:42 +01:00
Dan Cryer a180d8ac08 Making login redirect you to where you were trying to go after logging in. 2014-05-09 11:41:34 +01:00
Corpsee 5f0b45924e Merge branch 'master' into fixes-for-windows 2014-05-09 15:23:39 +07:00
Corpsee b3cf244944 Added CommandExecutorInterface 2014-05-09 15:23:30 +07:00
Corpsee 2d52c8dd01 Fixed phpdocs 2014-05-09 15:21:53 +07:00
Corpsee d7db9cf593 Few fixes for windows 2014-05-09 14:57:22 +07:00
Corpsee a42dc67fad Fixed duplicate methods of CommandExecutor helper: executeCommand and buildAndExecuteCommand 2014-05-09 14:25:24 +07:00
Dan Cryer 3a0e62657b Merge branch 'master' of github.com:Block8/PHPCI 2014-05-09 07:01:12 +01:00
Dan Cryer f6c7f65f01 Removing 5.4+ array syntax from GenerateCommand 2014-05-09 07:01:03 +01:00
Dan Cryer 19d166c5c4 Merge pull request #396 from jimmycleuren/master
Remove coverage log line
2014-05-08 22:20:50 +01:00
Jimmy Cleuren 63298f2a23 remove coverage log line 2014-05-08 23:03:13 +02:00
Dan Cryer 45b7dec478 Fixing PHPCS and PHPMD errors 2014-05-08 21:43:06 +01:00
Dan Cryer 6b0d210344 Adding forgot password functionality. 2014-05-08 21:38:32 +01:00
Dan Cryer 0654bcccee Adding edit profile (and change password) option for users. 2014-05-08 17:59:08 +00:00
Dan Cryer e297f60273 Fixing zero config ignore setting 2014-05-08 16:02:51 +00:00
Dan Cryer 43ce5554a6 Adding PHP Docblock Checker plugin 2014-05-08 16:02:24 +00:00
Steve B e7e84308d6 Merge pull request #388 from mobileka/fix-217
Fix #217
2014-05-08 09:33:47 +01:00
Steve B bdad9ceb14 Merge pull request #389 from JariInc/master
Interpolate PHPUnit arguments
2014-05-08 09:32:33 +01:00
Dan Cryer 0333016828 Converting build meta to use longtext instead of text, for builds with a lot of errors. 2014-05-07 16:09:56 +01:00
Dan Cryer 9eefc7bf8e Making phpunit plugin log the TAP string in the event it fails to process it. 2014-05-07 10:20:21 +01:00
Dan Cryer 77daef3a5f Fixing daemonise mode, forcing RunCommand to only get one build at a time when running under daemon mode 2014-05-06 16:43:47 +01:00
Dan Cryer 9379af8724 Implement clone_depth setting in build_settings, to allow shallow clones. Fixes #391 2014-05-05 21:03:44 +01:00
Jari Ylimäinen 067aa85876 Interpolate PHPUnit arguments 2014-05-02 22:58:22 +03:00
Armen Markossyan 5cd2e21e07 Fix #217 2014-05-02 23:47:08 +06:00
Dan Cryer d17ea1bd38 Further cleanup for #384 2014-05-02 17:38:43 +01:00
Dan Cryer 1e44a1531b Simplifying ProjectController a little, see #384 2014-05-02 17:32:18 +01:00
Dan Cryer d98e85ffc3 Removing success field from Builder as it is only used in one method, see #382 2014-05-02 14:58:21 +00:00
Dan Cryer 2f473763a7 Reducing complexity of Git::runAction() - See #385 2014-05-02 15:06:53 +01:00
Dan Cryer cf6e0471e4 PHPMD cleanup 2014-05-02 14:48:40 +01:00
Dan Cryer 03f3b15fb8 Updating PHPUnit plugin to provide a report like PHPMD and PHPCS, fixes #305 2014-05-02 14:36:34 +01:00
Dan Cryer 4c8083602a Merge pull request #381 from corpsee/master
Humanized yaml application config
2014-05-02 08:41:56 +01:00
Alexander Wenzel 5b7177f9aa Fix broken project view layout
Layout was broken for projects, that are not 'github', 'gitlab' or 'bitbucket' due to misplaced `endif;`
2014-05-01 19:00:46 +02:00
Dan Cryer b9a845a60e Re-PSR2ing the generated model base classes. 2014-05-01 17:03:48 +01:00
Dan Cryer 9ad06cfc7d OH THE HORROR, a mis-spaced try-catch. 2014-05-01 16:55:44 +01:00
Dan Cryer 69ea47874f Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Dan Cryer 31ee6522c1 Make build page use PHPCI_URL for project link, fixes #378 2014-05-01 13:47:38 +01:00
Dan Cryer 146470f39d Make project overview table update when build list does on dashboard, fixes #336 2014-04-30 15:24:55 +01:00
Dan Cryer c50f7d07f2 Adding a basic external project status page, accessible via /build-status/view/{id}. Fixes #353 2014-04-30 15:00:35 +01:00
Dan Cryer ee9a7ebc53 Adding getFileLinkTemplate() to the default Build model. Fixes #375 2014-04-30 14:20:20 +01:00
Dan Cryer 8cff78cee4 Setting allowed_warnings and allowed_errors to 0 by default, -1 in zero config mode. Fixes #377 2014-04-30 14:18:58 +01:00
Dan Cryer 99c80e73f9 Merge branch 'master' of github.com:Block8/PHPCI 2014-04-30 14:15:46 +01:00
Dan Cryer 2363775e34 Adding PHPCS report parsing. 2014-04-30 14:15:25 +01:00
Dan Cryer 28b64a2ad9 Adding PHPCS report parsing. 2014-04-30 14:14:44 +01:00
Dan Cryer 36f2bdff20 Making the public key a property that we store for projects, and displaying it for later use. 2014-04-30 14:14:23 +01:00
Dan Cryer a474a5d179 UI updates 2014-04-30 14:13:07 +01:00
Corpsee a38adb5d78 Humanised yaml application config 2014-04-29 23:22:04 +07:00
Joseph Pugh a789f7cb26 implement RemoteGitBuild::getFileLinkTemplate
required by PHPCI/View/Build/view.phtml
2014-04-28 14:26:37 -05:00
Dan Cryer 985c51c5e4 Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305 2014-04-25 11:28:27 +00:00
Dan Cryer 96eee9c9b7 Making new manual builds use the active user's email as the committer address 2014-04-25 11:26:33 +00:00
Dan Cryer ab848b9ebf UI improvements for the Build view screen 2014-04-25 11:25:46 +00:00
Dan Cryer 2e4e3129b7 Adding the ability to run projects with no build configuration. Runs what plugins it can automatically. Closes #235 2014-04-25 10:17:39 +01:00
Dan Cryer 099d342871 Merge branch 'master' of github.com:Block8/PHPCI 2014-04-24 16:25:31 +01:00
Dan Cryer 08afe7b104 Adding per-page titles throughout PHPCI, fixes #371 2014-04-24 16:25:24 +01:00
Claus Due 1f8a18d113 Cross-platform safe copy in Plugin.CopyBuild
Rather than using `xargs` which behaves differently on BSD and Linux, it's safer to use the straight `cp`. We lose the output of which files were copied - but I'd be more than happy to add this as a separate command to list which files were copied and which were ignored.
2014-04-18 15:46:46 +02:00
Dan Cryer 78e4b9d104 Updating RemoteGitBuild to support a Git SSH wrapper. See #114 2014-04-16 16:38:19 +00:00
Dan Cryer 3bf9e1ab25 Inlining the validateSession functionality in Application, fixes #312 2014-04-16 12:37:32 +01:00
Dan Cryer acf4d093bb Updating PHPMD to enforce rules being an array. Fixes #319 2014-04-16 12:30:03 +01:00
Dan Cryer 0e6523e2cd Adding basic git plugin 2014-04-16 10:14:19 +00:00
Dan Cryer 886d79946d Fixing issues when adding a gitlab project 2014-04-16 10:14:06 +00:00
Dan Cryer ad38db47bd Updating PHPSpec plugin to work with v2. Fixes #339 2014-04-16 10:23:04 +01:00
Dan Cryer 257249fadd Adding guard around ssh-keygen in project controller, hopefully fixes #340 2014-04-16 09:15:39 +00:00
Dan Cryer 0a8b7cd35b Merge pull request #342 from corpsee/database-yml
Added database-based yml build config #2
2014-04-16 09:44:13 +01:00
Dan Cryer 918cc758af Merge pull request #341 from Block8/dc/installer-fixes
Fixes to improve installation
2014-04-16 09:29:27 +01:00
Dan Cryer 1bc5f9048c Fixes for feedback in #341. 2014-04-16 09:29:01 +01:00
Dan Cryer e53c05c56c Merge branch 'master' of github.com:Block8/PHPCI 2014-04-16 09:05:57 +01:00
Dan Cryer 6917e88f9b Adding global try/catch in Builder, in hope of fixing forever-hanging. Closes #354, Closes #304 2014-04-16 09:05:48 +01:00
Dan Cryer 6513454265 Adding global try/catch in Builder, in hope of fixing forever-hanging. Closes #354, Closes #304 2014-04-16 09:05:46 +01:00
Dan Cryer 0bf7698cac Check $this->path is set before use, fixes #355 2014-04-16 08:57:17 +01:00
Steve B 1023541907 Merge pull request #349 from NamelessCoder/patch-5
Wipe Plugin - wipes a folder
2014-04-14 10:35:41 +01:00
Steve B 4b61d6b435 Merge pull request #350 from NamelessCoder/patch-6
Preserve absolute paths in Plugin.PhpMessDetector
2014-04-14 08:58:05 +01:00
Steve B ecc2ff3fc6 Merge pull request #347 from NamelessCoder/patch-3
Missing property declaration for `ignore` on Plugin.CopyBuild
2014-04-14 08:56:25 +01:00
Claus Due 34ea46e139 Preserve absolute paths in Plugin.PhpMessDetector
Before: all paths, including absolute paths, were treated relative to build directory.

After: any absolute path is not prefixed with the build directory path; it gets used as-is.
2014-04-12 17:28:52 +02:00
Claus Due 9cb63dbe06 Wipe Plugin - wipes a folder 2014-04-12 14:31:31 +02:00
Claus Due 402e576cad Missing property declaration for ignore on Plugin.CopyBuild 2014-04-12 13:50:10 +02:00
Claus Due 187d689808 Bad copy/pasted method comment in CopyBuild plugin 2014-04-12 02:44:27 +02:00
Corpsee 7ac671424e Genereted models by console phpci:generate command 2014-04-10 23:52:21 +07:00
Corpsee ccb3d91ae1 Inverted priority of configs: phpci.yml is primary now 2014-04-10 23:41:02 +07:00
Corpsee f87fc2ef90 Merge branch 'master' into database-yml 2014-04-10 23:11:41 +07:00
Dan Cryer 8841eabc94 Merge pull request #330 from sklerotraficon/master
Bugfix Errors with PHPCI GitHub hook #296
2014-04-10 16:33:35 +01:00
Dan Cryer 2b791b1f3b Removing commented code from the installer 2014-04-10 16:31:10 +01:00