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
meadsteve
f0d224ce3c
copy code from Builder to create BuildInterpolator.
2013-12-17 15:23:17 +00:00
meadsteve
248579f67d
add getProjectTitle() to buildBase as shorthand for getProject()->getTitle()
2013-12-17 15:14:26 +00:00
localhost8080
f6ee6493e2
adding support for the 'committer' parameter
...
adding support for the committer parameter in the email configuration
section of phpci.yaml
enabled with
committer: true
in your phpci.yml
2013-12-15 20:21:12 +00:00
meadsteve
356a2293a1
move logging related classes to appropriate namespace.
2013-12-13 16:10:54 +00:00
meadsteve
1bc2117c69
extracted build logging logic from the Builder class.
2013-12-13 15:57:56 +00:00
meadsteve
725e2aeadd
Merge branch 'master' of https://github.com/meadsteve/PHPCI
2013-12-13 15:01:02 +00:00
meadsteve
c67b29eacd
adding missing required packages to the PluginController.
2013-12-13 15:00:05 +00:00
meadsteve
3a3cc98f86
rename CommandExecutor::executeCommand() so that it's not confused with the Builder::executeCommand()
2013-12-13 14:41:02 +00:00
steve.brazier
8d8714746c
move findBinary from Builder to CommandExecutor.
2013-12-12 16:17:11 +00:00
steve.brazier
d26568b962
fix issue #218 by blanking last output before executing new command.
2013-12-12 14:16:14 +00:00
steve.brazier
5801c6083e
move command execution code out of builder class
2013-12-12 14:15:44 +00:00
indigodp
cfe45f54d0
Update LocalBuild.php
...
Add fetching needed branch for local build
2013-12-11 09:33:59 +02:00
Steve B
e49128f4d6
Merge pull request #232 from Block8/feature/shell_plugin_updates
...
Updating shell plugin with suggestions from #188
2013-12-10 02:53:31 -08:00
Dan Cryer
2cc554d9aa
Merge pull request #233 from meadsteve/build-status-fix
...
Refactor how the plugin stages are called
2013-12-09 08:52:41 -08:00
Steve B
4e4607434c
Merge pull request #230 from Block8/plugin-builder
...
Allow 3rd party plugins
2013-12-09 08:45:36 -08:00
Dan Cryer
123815aec9
Fix for #210
2013-12-09 16:27:39 +00:00
Dan Cryer
853510a1d3
Updating shell plugin with suggestions from #118
2013-12-09 16:12:54 +00:00
Steve B
6918addab4
Merge pull request #224 from freez10/master
...
UI Improvement: Modal confirmation dialog
2013-12-07 08:43:21 -08:00
Pavel Pavlov
148d30f74e
Don't redirect or reload a page when confirmation dialog wasn't confirmed
2013-12-07 19:36:50 +04:00
meadsteve
169a92dfeb
refactor the plugin stage calling code.
2013-12-07 14:45:13 +00:00
Steve B
03aeb7e3b1
remove unreachable if
2013-12-07 14:33:59 +00:00
Steve B
ce88f50958
fix the plugin executor so that the status is correctly reported.
2013-12-07 13:53:05 +00:00
steve.brazier
974aeeffdc
Merge branch 'unit-testing' into plugin-builder
2013-12-06 15:18:37 +00:00
steve.brazier
6aed18158b
extract the success/failure logging of the builder to an interface.
2013-12-06 11:31:39 +00:00
meadsteve
912776801d
move plugin execution code in to helper class.
2013-12-06 11:26:56 +00:00
steve.brazier
9207c39105
remove non existent variable.
2013-12-06 09:59:32 +00:00
steve.brazier
a942525f84
switch to correct namespace separator in plugin construction.
2013-12-06 09:59:07 +00:00
Steve B
4a9103d6eb
Merge pull request #227 from meadsteve/unit-testing
...
Unit testing - LoggerConfig
2013-11-29 02:17:02 -08:00
meadsteve
c8dc8a67b7
Fix casing in LoggerConfig.
2013-11-28 21:18:11 +00:00
meadsteve
4f1d81e6fd
update loggerConfig constructor to take array by default to make unit testing simpler.
2013-11-28 21:04:27 +00:00
Steve B
99adec03d5
allow non phpci native plugins.
2013-11-28 14:23:11 +00:00
steve.brazier
74df61cd6c
Merge branches 'master' and 'plugin-builder' of https://github.com/meadsteve/PHPCI into plugin-builder
2013-11-28 14:10:43 +00:00
Steve B
9891a4be62
force plugin factory to only build plugins matching interface.
2013-11-28 14:05:26 +00:00
Pavel Pavlov
6c0aed7f28
UI Improvement: Modal confirmation dialog for deletion actions
2013-11-27 21:04:24 +04:00
Pavel Pavlov
f7e396d04c
Fixed merging bug
2013-11-27 18:14:40 +04:00
Pavel Pavlov
27e3b8b469
UI Improvement: Modal confirmation dialog
2013-11-27 18:09:14 +04:00
Mark Clements
12cca9c93c
Merge pull request #223 from deep9/issue_221_gitlab
...
Proposed enhancement - fix for #221 GitlabBuild
2013-11-27 03:38:39 -08:00
Ondrej Huta
02dff2b081
Proposed enhancement - fix for #221 GitlabBuild
2013-11-27 12:08:03 +01:00
Ondrej Huta
77cfd1e5b2
Fix the SettingsController 5.4 call (refactor)
2013-11-27 11:54:17 +01:00
Ondrej Huta
35bc3dad31
Fix the SettingsController 5.4 call
2013-11-27 11:42:34 +01:00
Steve B
5b2f66565c
Merge pull request #220 from meadsteve/master
...
remove callable typehint as this is not in php 5.3
2013-11-27 00:58:31 -08:00
steve.brazier
db3fcb45d6
remove callable typehint as this is not in php 5.3
2013-11-27 08:49:03 +00:00
meadsteve
6d5bceea16
fix copy-paste mistake in phpunit plugin runDir()
2013-11-25 21:49:14 +00:00
Steve B
477fd58641
Merge pull request #213 from meadsteve/plugin-builder
...
Plugin construction change - plugin factory
2013-11-25 05:43:43 -08:00
Dan Cryer
235ac26932
Merge pull request #202 from rlindauer/master
...
Fix two bugs in PhpMessdetector Plugin
2013-11-25 03:46:12 -08:00
Dan Cryer
a21c63705a
Merge pull request #205 from stianlik/master
...
Bugfix for bare "Local Path" repositories
2013-11-25 03:45:42 -08:00
Dan Cryer
c3d4286354
Merge pull request #208 from elkangaroo/phpcs-count-fix
...
Fixed counting (errors, warnings) in PHP Code Sniffer plugin
2013-11-25 03:44:51 -08:00
Dan Cryer
8d28273c0c
Merge pull request #209 from elkangaroo/phplint-upstream-update
...
Update PHP Parallel Lint plugin to reflect upstream changes
2013-11-25 03:44:15 -08:00
steve.brazier
767d05cd80
Update constants to uppercase to match psr2.
2013-11-20 11:47:29 +00:00
Jimmy Cleuren
8f58902339
catch empty commit id from github
2013-11-19 22:47:12 +01:00
Jimmy Cleuren
4bc7a6c767
Remove commented line
2013-11-18 22:54:49 +01:00
Jimmy Cleuren
4d3372af88
Command to poll github for new commits
2013-11-18 22:49:18 +01:00
Jimmy Cleuren
8c127d692c
catching permission error
2013-11-18 22:47:44 +01:00
meadsteve
6467a83d1a
adds additional comments to plugin factory.
2013-11-17 22:31:51 +00:00
meadsteve
2bc7558b93
wiring in the plugin factory. doh!
2013-11-17 21:38:51 +00:00
meadsteve
42e462b4c9
remove leading slash.
2013-11-17 21:29:49 +00:00
meadsteve
9d1d2443a9
Move the mailer constructor logic out of the plugin and in to a factory class for reuse.
2013-11-17 21:26:38 +00:00
meadsteve
51f73458c8
allow swiftmailer object to be passed in to Email Plugin.
2013-11-17 17:50:06 +00:00
meadsteve
a56df8ed87
Merge HEAD, branch 'master' of https://github.com/Block8/PHPCI into plugin-builder
2013-11-17 17:25:35 +00:00
meadsteve
ebb3b9a3e6
switches builder to make use of plugin factory.
2013-11-17 17:24:47 +00:00
meadsteve
e1d8239e8a
Create factory for plugins that resources can be registered with.
2013-11-17 17:23:35 +00:00
meadsteve
f88df400f0
Remove __constructor from plugin interface to increase flexibility.
2013-11-17 17:22:31 +00:00
Alexander Wenzel
801cc8ee5e
store errors from parallel-lint as build_meta (key "phplint-errors");
...
add them to the "Quality Trend" graph on the build view
2013-11-13 19:55:45 +01:00
Alexander Wenzel
a0d5f4b4d8
fix Plugin\PhpParallelLint to reflect latest upstream changes:
...
> executable is now "parallel-lint" instead of "run"
> supports --exclude flag (ignore directories)
2013-11-13 19:18:24 +01:00
Alexander Wenzel
2fb162900d
fixed counting of errors and warnings in Plugin/PhpCodeSniffer;
...
use --report=emacs in Plugin/PhpCodeSniffer to not spam the logs with the full blown report but rather display a small human readable summary report
2013-11-13 18:50:07 +01:00
Alexander Wenzel
9c330687a0
fixed LoggedBuildContextTidier: now correctly replaces "build" object with "buildID" in log entries
2013-11-12 23:19:55 +01:00
Stian Liknes
7d306b2295
Load configuration and create build directory for bare repositories
2013-11-12 22:18:09 +01:00
Steve B
f987688269
Merge pull request #197 from meadsteve/logging
...
Logging configuration
2013-11-12 05:12:13 -08:00
Roy Lindauer
fb08cdbbe7
Fix bug where ruleset file could not be set in PHPMessdetector plugin
2013-11-10 18:22:54 -08:00
Roy Lindauer
d5763b8d78
Fix bug where options could not be overridden in PHPMessdetector plugin
2013-11-10 18:22:05 -08:00
meadsteve
a5957d687a
Added logging to the daemon and update commands.
2013-11-02 15:52:55 +00:00
meadsteve
37c50bdb4c
Added a logger config key that is loaded for all commands. To allow a general purpose log.
2013-11-02 15:52:21 +00:00
meadsteve
6563c60ab3
Previous commit omitted these changes. doh!
2013-11-02 15:32:51 +00:00
meadsteve
0fc91f053a
Added to the console so that external logging definitions are pulled in from a loggerconfig.php file if the file exists.
2013-11-02 15:28:24 +00:00
born_free
6b015d3106
fixed XSS in user name and project name properties
2013-11-02 16:39:55 -07:00
Steve B
e1d68bece7
Merge pull request #191 from meadsteve/logging
...
RFC: First draft of using monolog for logging
2013-11-01 05:14:08 -07:00
Dan Cryer
14f00ee512
Merge pull request #192 from c2is/atoum
...
Added chdir because atoum as bundle need to be run from app root path
2013-11-01 03:46:46 -07:00
Jimmy Cleuren
924dadcdcd
remove the double buildpath
2013-11-01 11:22:39 +01:00
a.cianfarani
e2c7a4cd43
Added chdir because atoum as bundle need to be run from app root path
2013-10-28 17:41:15 +01:00
meadsteve
35b3db13d8
Fixing more tab -> space conversion issues.
2013-10-27 14:26:37 +00:00
meadsteve
a453571fcb
Adding the LoggedBuildContextTidier to the monolog logging so that the build id is added to log messages.
2013-10-27 14:25:43 +00:00
meadsteve
e44c7b90d6
All build logs calls now pass the build through as part of the context so this gets recorded in the log message.
2013-10-27 14:21:08 +00:00
meadsteve
fc2434b65d
Exceptions can now be passed in to the failure logging function.
2013-10-27 12:51:49 +00:00
meadsteve
b943c07f87
Fixing some formatting issues
2013-10-26 16:25:34 +01:00
meadsteve
8c88581021
Modified the builder so that it expects to have a psr3 compliant logger attached.
2013-10-26 16:15:29 +01:00
meadsteve
1989203635
Adding two custom log handlers. One to link the logs to symphony console output to the logging and another to record build specific information in the DB.
2013-10-26 16:11:46 +01:00
Sami Tikka
3d8be0e218
error handling like in other webhooks
2013-10-18 16:04:13 +03:00
Sami Tikka
6b63e47cfd
gitcontroller, allows calling webhook for local/remote git project
2013-10-18 16:04:13 +03:00
Dan Cryer
4120cb683d
Fixing PHPMD warnings count... Hopefully.
2013-10-12 09:50:15 +01:00
Dan Cryer
17a19c0707
Fixing PHPCS errors on PluginController
2013-10-12 09:44:51 +01:00
Dan Cryer
095bf9730d
Merge pull request #180 from gabriel403/hotfix/composerHome
...
Hotfix/composer home
2013-10-17 03:56:22 -07:00
Pavel Pavlov
d214c9dc0e
Reduced cyclomatic complexity
2013-10-17 14:51:20 +04:00
Gabriel Baker
7a0893737a
composer_home
2013-10-17 08:53:05 +01:00
Gabriel Baker
24602766aa
fix for composer_home being missing
2013-10-17 08:50:37 +01:00
Pavel Pavlov
2c1c5bfbe9
Typo fix
2013-10-17 04:17:06 +04:00
Pavel Pavlov
f1b13e48f8
Cleanup
2013-10-17 02:17:40 +04:00
Pavel Pavlov
7b3eea7cbb
Added Phing plugin
2013-10-17 02:12:42 +04:00
Allister Antosik
e120773803
Added warning message if install.php is detected
...
If the file install.php is detected an alert-danger message is
displayed on all pages.
2013-10-15 19:19:44 +01:00
Mathieu Dumoulin
b197a9c030
Added leading slash to closure to prevent reference to PHPCI namespace
...
Don't forget to put \ in front of PHP namespaced objects or you end up in your own namespace.
In reference to commit: 53993a1add
2013-10-15 09:34:24 -04:00
Dan Cryer
53993a1add
Fixing callable error in run builds, fixes #170
2013-10-15 14:29:23 +01:00
Dan Cryer
2a47b08fec
Removed Github configuration from ProjectController / ProjectForm and added it to a new settings area.
2013-10-11 21:51:23 +01:00
Dan Cryer
cc86e85adb
Fixing Github Controller to ignore all-zeroes commit IDs
2013-10-10 01:38:32 +01:00
Dan Cryer
13dbcc4260
Fixing Github postbacks.
2013-10-10 01:30:40 +01:00
Dan Cryer
5213a00a3a
Adding some github debug stuff
2013-10-10 01:27:43 +01:00
Dan Cryer
d46ea12dd7
Fixing summary table so it doesn't completely die when there is a running build.
2013-10-10 01:26:06 +01:00
Dan Cryer
a5734fb330
Fixing some more PHPCS/PHPMD errors
2013-10-10 01:19:42 +01:00