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