Commit graph

245 commits

Author SHA1 Message Date
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 fcec8b2c8b Fixed key in add action when 'ssh-keygen' command is not available 2014-05-26 08:55:32 +07: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
devzorg a0861a5775 Adding / SVG support build status 2014-05-17 21:42:18 +04:00
devzorg d8e1a9d364 Adding / SVG support build status 2014-05-16 22:10:47 +04: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 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 e81232dd22 Reducing complexity of ProjectController::add() - See #384 2014-05-12 17:01:05 +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 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 a2997713d1 Removing reference to getPlugins() from BuildController 2014-05-12 15:01:34 +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 66772d3bf1 Reducing the complexity of ProjectController::add() 2014-05-09 16:19:15 +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 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 a180d8ac08 Making login redirect you to where you were trying to go after logging in. 2014-05-09 11:41:34 +01: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 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 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 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 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 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 08afe7b104 Adding per-page titles throughout PHPCI, fixes #371 2014-04-24 16:25:24 +01:00
Dan Cryer 886d79946d Fixing issues when adding a gitlab project 2014-04-16 10:14:06 +00: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
Corpsee f87fc2ef90 Merge branch 'master' into database-yml 2014-04-10 23:11:41 +07:00
Dan Cryer 2b791b1f3b Removing commented code from the installer 2014-04-10 16:31:10 +01: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
Corpsee c380fbb0bf Merge branch 'master' into database-yml 2014-03-25 22:28:09 +07:00
Corpsee e7e685e9bd ProjectController::view 404 fix 2014-03-20 22:27:04 +07:00
Corpsee 7a910631e6 Added database-based yml build config 2014-03-15 12:18:12 +07:00
Dan Cryer 10dc3eedbb Fixing rebuild 2014-02-27 10:57:04 +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 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 0193f07de2 Making commit links work throughout the UI 2014-02-25 17:00:05 +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 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 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
meadsteve 4b9207e05f update plugin controller to display plugin information as well as composer package information. 2013-12-29 17:35:33 +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
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 03aeb7e3b1 remove unreachable if 2013-12-07 14:33:59 +00:00
Pavel Pavlov 27e3b8b469 UI Improvement: Modal confirmation dialog 2013-11-27 18:09:14 +04: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
Jimmy Cleuren 8c127d692c catching permission error 2013-11-18 22:47:44 +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 17a19c0707 Fixing PHPCS errors on PluginController 2013-10-12 09:44:51 +01: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
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 77fae9a56d Holy cleanup, batman. 2013-10-10 01:01:06 +01:00
Dan Cryer d060227fbd Better docblock type hinting for stores. 2013-10-08 18:24:20 +01:00
Dan Cryer 160097182f New plugins screen 2013-10-08 16:28:46 +01:00
Dan Cryer edc4fc1b1b Fixes 2013-10-08 13:52:05 +01:00
Dan Cryer adab6b20c0 Fixing build status image. 2013-10-08 12:41:12 +01:00
Dan Cryer deb71ec9e2 Fixes #125 2013-10-08 07:50:42 +01:00
Dan Cryer b33189e08e UI plugins, including quality trend chart, logs and lines of code. Some UI tweaks. 2013-10-08 07:21:46 +01:00
Dan Cryer 47ac812432 Merge pull request #144 from SibSet/master
Mercurial build support
2013-09-20 09:09:19 -07:00
Roy Lindauer 0282e68119 Renamed IndexController to HomeController to avoid errors with Apache Multiviews. Related to issue #74
Updated ajax url request path in index.phtml
2013-09-19 23:51:04 -07:00
Pavel Gopanenko e86852efa5 Mercurial build support 2013-09-04 19:54:26 +07:00
a.cianfarani 47be59ae46 Added Gitlab support 2013-08-23 16:05:12 +02:00
a.cianfarani db42fb4224 restored chmod 2013-08-21 15:37:23 +02:00
a.cianfarani 287a2b3632 Merge remote-tracking branch 'upstream/master'
Conflicts:
	composer.json
2013-08-02 12:11:23 +02:00
Dan Cryer 0723c5d964 Updating PHPCI to use its new logo 2013-08-02 08:55:09 +01:00
Dan Cryer eac86ff2bd Finishing updates to make PHPCI use Bootstrap v3, as per issue #99 2013-07-31 21:04:34 +01:00
Dan Cryer a053c44b75 Merge branch 'master' of github.com:Block8/PHPCI into feature/bootstrapv3 2013-08-01 11:55:22 +01:00
Dan Cryer 8b5abc1f98 Initial work on upgrading to Bootstrap v3 2013-08-01 11:55:10 +01:00
Tobias Tom 0590890511 Some fixes for subdirectory support. 2013-07-30 19:45:27 +02:00
Dan Cryer c935c5c7ee Merge branch 'master' of github.com:Block8/PHPCI 2013-07-30 02:56:10 +01:00
Dan Cryer b47dfbd0b3 Various bug fixes 2013-07-30 02:55:29 +01:00
Alex Russell cadcdcd3d2 Added new controller to accept Gitlab-like webhooks 2013-07-29 17:34:21 +01:00
a.cianfarani e77a5a75fb Merge remote-tracking branch 'upstream/master' 2013-07-26 09:45:36 +02:00
mrafalko 3b5db87c31 removed inline JS, added e.preventDefault to avoid redirecting to 'false' URL 2013-07-26 00:48:08 +03:00
Maks Rafalko 2576f33029 Added exit to correct redirect after Rebuild and Delete build is clicked
Without `exit` it's not redirected.
2013-07-15 23:30:25 +03:00
Maks Rafalko 34bb69ec5e Added exit to correct redirect after Build Now is clicked
Withow `exit` statement it's not redirected to new created build.
2013-07-15 23:28:22 +03:00
Dan Cryer b767da324a Merge pull request #85 from sanpii/remote
Allow arbitrary repository URL
2013-06-25 04:32:25 -07:00
Sanpi 7f09e4df07 Allow arbitrary repository URL 2013-06-19 17:47:25 +02:00
Sanpi 5c1b5dc13f Dot is allowed in github repository name 2013-06-19 15:06:15 +02:00
Gabriel Baker d02e5d86d0 Merge branch 'master' of git://github.com/Block8/PHPCI into feature/summaryview 2013-06-09 20:15:58 +01:00
a.cianfarani 74f3b145f2 Merge upstream/master 2013-06-05 16:48:01 +02:00
Gabriel Baker 76adf14b28 Initial summary changes 2013-06-05 06:23:47 +01:00
Gabriel Baker 757a82c26f removed deprecated registry and use session 2013-06-04 20:17:17 +01:00
Dan Cryer acb58ff5e0 Adding project overview to dashboard, closes #55 2013-05-22 17:15:02 +01:00
Dan Cryer 67386df9ef Refactoring to support updated b8framework. 2013-05-22 16:36:55 +01:00
Dan Cryer b74a7070a7 Fixing Github sign-in 2013-05-17 21:42:29 +01:00
Dan Cryer 7b70fe3c69 Fixing Github sign-in 2013-05-17 21:39:32 +01:00
Dan Cryer f256db237b Fixing PHPCI so that it'll work in a subdirectory. 2013-05-17 17:34:31 +01:00
Dan Cryer b9415316d4 Merging fixes for strict standards errors. Closes #44 2013-05-17 16:24:17 +01:00
Dan Cryer 71a01425cb Merge branch 'master' of https://github.com/kinncj/PHPCI into fix/standards_errors 2013-05-17 16:14:08 +01:00
Dan Cryer 653f4cb620 Adding build status images, both to the dashboard and as an external facing feature. Closes #43 2013-05-17 16:10:54 +01:00
Kinn Coelho Julião 3de71b2155 Removed from view once it's loaded by AJAX request 2013-05-17 10:08:15 -04:00
Kinn Coelho Julião e037f063aa Added missing $plugins to the view
added $view->plugins
2013-05-16 18:21:51 -04:00
Kinn Coelho Julião 3f9b678d2b Validate if github_token exists
Validate if the github_token session key exists before call it
2013-05-16 18:06:01 -04:00
Dan Cryer 14841477a6 Improved commenting throughout the project. Fixes #18 2013-05-16 17:17:29 +01:00
Dan Cryer 7d9abf21fb Fixing PHPMD and PHPCS plugins, updating code to pass both, and updating phpci.yml to enable them. Issue #18 2013-05-16 16:46:46 +01:00
Dan Cryer 645936f309 PHPCI/Store PSR2 compliance. Issue #18 2013-05-16 16:03:34 +01:00
Dan Cryer e4a6e224c4 PSR2 compliance for PHPCI/Controller - Issue #18 2013-05-16 15:25:39 +01:00
Dan Cryer 160540b6ee Add class-level docblock to every file. 2013-05-16 02:30:48 +01:00
Dan Cryer 6094b7013c Add file-level docblock to every file. 2013-05-16 02:16:56 +01:00
Dan Cryer eb8383ff5c Fix for signing in with Github when adding a new project. 2013-05-16 01:41:20 +01:00
Dan Cryer aaeda894ae Fixing the add / edit project form to make the reference field validation more intelligent. Fixes #19 2013-05-16 00:33:12 +01:00
MarkMaldaba 251f4d6713 Fix for running PHP under CGI on Windows machines. In this situation, the environement variables defining the system temp path are not necessarily available to PHP, so sys_get_temp_dir() falls back to using the system path (e.g. C:\WINDOWS), which is normally unwritable. This means that temp-file creation fails.
I've added code to detect this situation, and if it occurs we point it to %SystemRoot%\TEMP instead, which usually is present and writable.  May not fix 100% of cases, but should fix the vast majority of situations where this may occur.
2013-05-15 16:04:55 +01:00
Dan Cryer be838c6765 Merging master to bring github branch into line. 2013-05-14 19:57:37 +01:00
Dan Cryer fa18d89ddc Adding support for local path based projects. See pull #2 2013-05-14 19:44:14 +01:00
Dan Cryer 5f9f839613 Removing the extra /tmp from sys_get_temp_dir() 2013-05-14 18:34:26 +01:00
meadsteve 0a9c7bda93 On a windows system having a file path like '/tmp/' . md5(microtime(true)) caused problems. I've updated this to use the system temp directory. 2013-05-14 18:01:14 +01:00
Dan Cryer 918b4deff4 Adding Github statuses integration 2013-05-14 17:49:39 +01:00
Dan Cryer 812dfcb95a Github pull request status updates 2013-05-14 16:58:14 +01:00
Dan Cryer dfeac39be3 Github integration. 2013-05-14 16:37:54 +01:00
Dan Cryer 4037964d4c Adding a status indicator for each plugin on the build page, fixing ignores for PHPCPD 2013-05-14 13:09:54 +01:00
Dan Cryer 0c4320b38c Fixing Bitbucket controller. 2013-05-10 17:15:48 +01:00
Dan Cryer 93052d6cf0 Fixing the build controller. 2013-05-10 16:36:25 +01:00
Dan Cryer 188162f0a2 Adding user accounts. 2013-05-10 16:25:51 +01:00
Dan Cryer a07ba4020c Adding proper Bitbucket support 2013-05-10 16:25:37 +01:00
Dan Cryer 3647ac1cd8 Big update. 2013-05-10 12:28:43 +01:00
Dan Cryer dd59bff838 Fixes for live 2013-05-03 16:33:27 +01:00
Dan Cryer 2c860e8009 Initial commit. 2013-05-03 16:02:53 +01:00