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
Dan Cryer
65f51cff4a
Adding verification to the install and update commands to check whether PHPCI is installed.
2014-04-10 14:59:01 +00:00
Dan Cryer
9f182aad91
Updating console installer to be more reliable, easier to use, and use Symfony console properly.
2014-04-10 15:38:16 +01:00
Dan Cryer
efe8529d3f
Removing warning about install.php being present.
2014-04-10 15:37:54 +01:00
Witold Wasiczko
72b7a3d912
Use args in Codeception plugin
2014-03-31 00:45:20 +02:00
zigster
9f5b05aa2a
Bugfix Errors with PHPCI GitHub hook #296
...
> fixed access to undefined class member _buildStore to buildStore
2014-03-30 11:59:56 +02:00
Remo Laubacher
5892fcb26e
fix BuildLogger instantiation
2014-03-26 08:22:27 +01:00
Steve B
2fe80bdd00
Merge pull request #282 from freez10/functionalIssues
...
Fix for #276
2014-03-25 22:13:29 +00:00
Corpsee
c380fbb0bf
Merge branch 'master' into database-yml
2014-03-25 22:28:09 +07:00
Steve B
ff6dfefb98
Merge pull request #307 from meadsteve/feature/pluginfactoryconfig
...
Allow configuration of the plugin factory on a per install basis
2014-03-25 14:20:02 +00:00
steve.brazier
326113ebbc
psr tidy up of util/Factory.php
2014-03-25 14:18:50 +00:00
steve.brazier
7e669ada47
Merge remote-tracking branch 'origin/master' into feature/pluginfactoryconfig
...
Conflicts:
PHPCI/Builder.php
PHPCI/Plugin/Util/Factory.php
2014-03-25 14:17:03 +00:00
steve.brazier
cc71045e57
Merge remote-tracking branch 'origin/master' into feature/pluginfactoryconfig
...
Conflicts:
PHPCI/Builder.php
PHPCI/Plugin/Util/Factory.php
2014-03-25 14:13:45 +00:00
Steve B
a5f81f0975
Merge pull request #309 from corpsee/error-log
...
Added simple error/exception handle and logging
2014-03-25 10:32:00 +00:00
Corpsee
08a15d8724
Added exception context for errror/exception handler logging
2014-03-24 23:43:20 +07:00
Corpsee
04dae16157
Fixed require() in LoggerConfig
2014-03-20 22:51:30 +07:00
Corpsee
15d5c022c5
Improved error/exception handler and logging
2014-03-20 22:28:01 +07:00
Corpsee
b28b5a575f
Fixed rm for windows
2014-03-20 22:27:06 +07:00
Corpsee
b2240104b4
Fixed rm for windows
2014-03-20 22:27:05 +07:00
Corpsee
e7e685e9bd
ProjectController::view 404 fix
2014-03-20 22:27:04 +07:00
Corpsee
92647c6bf9
Added simple error/exception handler and logging
2014-03-18 01:10:47 +07:00
Corpsee
3aa4806e25
Windows fixes
2014-03-15 13:01:41 +07:00
Corpsee
20bab0d47a
Windows fixes
2014-03-15 12:57:06 +07:00
Corpsee
f4df607a16
Moved handleConfig functionality into general Build method.
2014-03-15 12:22:59 +07:00
Corpsee
7a910631e6
Added database-based yml build config
2014-03-15 12:18:12 +07:00
Corpsee
656e0a882e
Change 'cp' command to 'copy' for windows
2014-03-14 00:06:59 +07:00
Corpsee
18701544a0
Fixed 'cd' command for windows
2014-03-13 00:37:57 +07:00
Corpsee
39477678d2
Fixed git checkout for commitId = 'Manual'
2014-03-13 00:05:54 +07:00
Corpsee
af22da6a1c
Fixed CommitId link
2014-03-13 00:05:53 +07:00
steve.brazier
851f637899
format tidy up of buildPluginFactory()
2014-03-10 12:28:42 +00:00
steve.brazier
9c24fbaecb
Psr\Log\LoggerInterface to the types that the plugin factory supplies by default.
2014-03-10 12:27:17 +00:00
steve.brazier
24b5bc549d
Add debug logging to findBinary()
2014-03-10 12:12:38 +00:00
steve.brazier
ff9ebdf744
Add debug logging to findBinary()
2014-03-10 12:08:16 +00:00
steve.brazier
d9ff36ddb4
Merge remote-tracking branch 'corpsee/master'
2014-03-10 09:48:50 +00:00
Corpsee
e7bca06363
Fixed unittests on windows
2014-03-09 01:46:03 +07:00
Corpsee
c3b9e62adf
Fixed composer plugin for using on Windows
2014-03-09 00:30:32 +07:00
Corpsee
ffc7d1c1b9
Fixed findBinary function for windows (which -> where)
2014-03-09 00:30:00 +07:00
Christian Wahler
2290e37b97
Use PHP 5.3 compatible array syntax
2014-03-03 18:10:33 +01:00
meadsteve
20d5e5a6b2
Add code to builder so pluginconfig.php is loaded if found in the root
2014-03-02 20:00:43 +00:00
meadsteve
6d4e49d07b
Add code to allow configuration for the plugin factory to be stored on a per install basis.
2014-03-02 19:59:52 +00:00
steve.brazier
bf4822c73b
Merge branch 'bugfix/phpmd-phpcs-cleanup' of https://github.com/Block8/PHPCI
2014-02-27 14:24:32 +00:00
steve.brazier
b60e278cf9
psr2 tidy up of logging code.
2014-02-27 14:23:51 +00:00
steve.brazier
f5950d0be3
Merge branch 'bugfix/phpmd-phpcs-cleanup' of https://github.com/Block8/PHPCI
2014-02-27 14:18:35 +00:00
steve.brazier
5178c4c229
tidy up code in Command namespace
2014-02-27 14:12:19 +00:00
steve.brazier
6431ef501e
fix psr2 violations in EmailPlugin
2014-02-27 14:04:08 +00:00
steve.brazier
112adba332
fix psr2 violations in Plugin/Util
2014-02-27 14:02:21 +00:00
Dan Cryer
10dc3eedbb
Fixing rebuild
2014-02-27 10:57:04 +00:00
Dan Cryer
b4c931be6b
Adding committer email to build view
2014-02-26 15:33:11 +00:00
Dan Cryer
192fa20284
Fixing getAccessInformation()
2014-02-26 15:23:24 +00:00
Dan Cryer
48a8c8b89a
Merge branch 'master' of github.com:Block8/PHPCI
2014-02-26 15:18:54 +00:00
Dan Cryer
ac0bac111a
Fixing getAccessInformation()
2014-02-26 15:18:46 +00:00
steve.brazier
b421b20935
fix code sniff violations.
2014-02-26 14:35:14 +00:00
Pavel Pavlov
e7dcd82125
This fixes #276 : Delete Build button not functioning in view build
2014-02-26 15:50:01 +04:00
Steve B
3370240242
Merge pull request #267 from meadsteve/plugin-discovery
...
RFC: Plugin discovery
2014-02-25 22:43:38 +00:00
meadsteve
06625513d2
update email tests now that cc can be specified.
2014-02-25 22:39:37 +00:00
meadsteve
2b93fe0c94
add getProjectTitle convenience method to the Build class.
2014-02-25 22:36:20 +00:00
meadsteve
aa33a8761e
update PluginController to use PHPCI plugin directory as well as composer to get information about installed plugins.
2014-02-25 22:22:32 +00:00
meadsteve
28fc30682b
add FilesPluginInformation class to retrieve plugins contained with a directory.
2014-02-25 20:52:19 +00:00
meadsteve
dd5ff7a835
Extract interface for InstalledPluginInformation
2014-02-25 19:40:00 +00:00
meadsteve
6b2d0aebf1
rename LoadedPluginInformation to ComposerPluginInformation.
2014-02-25 19:33:00 +00:00
meadsteve
1f42741623
Merge branch 'master' of https://github.com/Block8/PHPCI into plugin-discovery
2014-02-25 19:26:25 +00:00
Dan Cryer
4d5f4b44b7
Fixing BuildInterpolator bug
2014-02-25 17:00:18 +00:00
Dan Cryer
0193f07de2
Making commit links work throughout the UI
2014-02-25 17:00:05 +00:00
Dan Cryer
d2d966ee69
Fixing bug in Builder related to the new PHPCI\Store
2014-02-25 16:59:28 +00:00
Dan Cryer
eaec52b525
Adding commit message to Build
2014-02-25 16:43:06 +00:00
Dan Cryer
e888032bdf
Updating Bitbucket to match Github and Gitlab in regards to building all payload commits instead of one per branch
2014-02-25 16:24:51 +00:00
Dan Cryer
33c7312f8e
Merge branch 'master' of github.com:Block8/PHPCI
2014-02-25 16:04:28 +00:00
Dan Cryer
948d32110f
Adding CC option to email plugin
2014-02-25 16:03:00 +00:00
Dan Cryer
079a567cf0
Update Codeception.php
2014-02-25 10:57:44 +00:00
Dan Cryer
d935c94041
Lots of clean up: Fixed remote git build to only checkout a commit if there is one, cleaned up logging to remove the logger cruft from the visible log and shortened paths within the log by removing the build directory, added a build-level exception handler to catch things like failed clones and so on.
2014-02-25 10:16:58 +00:00
Dan Cryer
a1f47ddfe1
Fixing Gitlab support
2014-02-25 09:47:09 +00:00
Dan Cryer
08af82e84b
Updating Gitlab webhook support
2014-02-25 09:09:38 +00:00
Dan Cryer
0c125ab962
Pulling email address out of raw author from bitbucket
2014-02-24 21:13:40 +00:00
Dan Cryer
73abea2485
Adding a formatted email for build fails
2014-02-24 21:04:08 +00:00
Dan Cryer
e6ef498db4
Adding support for HTTP commit-based builds too
2014-02-24 20:34:31 +00:00
Dan Cryer
43ecd57775
Adding support for building specific revisions, rather than just branches
2014-02-24 20:28:18 +00:00
Dan Cryer
4f39e1cca4
Fixing Bitbucket and Github webhooks
2014-02-24 20:14:57 +00:00
Dan Cryer
a0ff2f6ab8
Fix
2014-02-24 19:35:42 +00:00
Dan Cryer
0bcb13af09
Updating Bitbucket Webhook
2014-02-24 19:23:46 +00:00
Dan Cryer
1ddce31488
Updating PHPCI to support new b8framework release
2014-02-24 15:30:44 +00:00
kodok-buncit
30b3be7c2d
fix wrong url on view
2014-02-18 18:41:39 +07:00
Wogan May
37f06defc7
Fixing short tags
2014-01-28 23:27:39 +02:00
Steve B
54694d197b
Merge pull request #253 from woganmay/create-admin-user
...
Create admin user
2014-01-16 00:55:32 -08:00
Steve B
ddf7f8a4c3
Merge pull request #249 from c2is/master
...
Added executable option for behat plugin
2014-01-16 00:52:58 -08:00
Steve B
53e295f145
Merge pull request #241 from meadsteve/buillder-component-extraction
...
Buillder component extraction
2014-01-16 00:52:42 -08:00
Wogan May
cd3a18d73c
Create admin user
...
New console command just to create an admin user
2014-01-14 23:09:40 +02:00
Wogan May
89931d01b5
Revert "Create an admin user"
...
This reverts commit f6f5a6e111
.
2014-01-14 23:07:12 +02:00
Wogan May
f6f5a6e111
Create an admin user
...
New console command to add an admin user without trying to reinstall the
whole app.
2014-01-14 23:03:23 +02:00
a.cianfarani
a1f0b93861
Added executable option for behat plugin
2014-01-10 10:58:14 +01:00
Steve B
c35e3386cc
Merge pull request #242 from freez10/master
...
Fix for #236
2014-01-04 02:53:07 -08:00
Raul Ferriz
1ac77fd268
Removed unused use clauses.
2014-01-04 10:20:20 +01:00
Raul Ferriz
4b50b9eb77
Fix daemonise crash.
2014-01-04 10:19:55 +01:00
Raul Ferriz
8bc043065a
Check for option verbose instead of get it.
...
This avoid crashing when called by daemonise command.
2014-01-04 10:17:24 +01:00
Pavel Pavlov
df2a8aeac2
Fixes #236 Javascript bug, delete build error
2013-12-31 13:46:23 +04:00
meadsteve
4b9207e05f
update plugin controller to display plugin information as well as composer package information.
2013-12-29 17:35:33 +00:00
meadsteve
71588cd8e1
add LoadedPluginInformation class to process composer's installed.json file and pull out information about phpci plugins.
2013-12-29 17:34:41 +00:00
Steve B
bc838e0c43
Merge pull request #238 from meadsteve/command-execution
...
Move shell command execution out of builder into separate class and fix issue #218
2013-12-20 01:38:03 -08:00
meadsteve
cfb0db5b81
fixing builder so that PluginExecutor receives BuildLogger instance
2013-12-17 15:44:49 +00:00
meadsteve
1b2f19c81f
remove interopolation code from builder and make use of BuildInterpolator object.
2013-12-17 15:24:13 +00:00