Commit graph

455 commits

Author SHA1 Message Date
Dmitry Khomutov 14e62b9a70
Fixed exception handler for PHP7. 2018-01-28 17:18:25 +07:00
Dmitry Khomutov beb8c818c3
Added PHP Censor logo and version to console and web interfaces. 2018-01-27 17:15:50 +07:00
Dmitry Khomutov 7db036e956
Added code coverage report for PHPUnit plugin. Issue #86. 2018-01-20 16:45:52 +07:00
Dmitry Khomutov cf7fb7a551
Improved Pdepend plugin. Issue #107. 2018-01-20 14:43:10 +07:00
Stepan Strelets 20c38ac45e Add gogs pull request webhook for manage environments branches 2018-01-17 12:46:47 +03:00
Dmitry Khomutov 9fe916c8ea
Fixed error page. 2018-01-13 18:23:19 +07:00
Dmitry Khomutov 407dc54a00
Renamed 'Webhook' to 'Webhook (Push)' in according to 'Webhook (Pull request)'. 2018-01-13 16:58:33 +07:00
Dmitry Khomutov b95992b005
Fixed error with Github commit status. 2017-12-28 22:23:15 +07:00
Dmitry Khomutov daac392dd7
Added application config options 'github.status.commit' and
'bitbucket.status.commit' for allow/deny to post commit status.
2017-12-28 21:56:11 +07:00
Dmitry Khomutov eecf3ea3ce
Added new build source: Webhook (Pull request). 2017-12-27 23:05:04 +07:00
Dmitry Khomutov dc79c499f4
Added update committer email after clone for Git builds. 2017-12-27 22:38:58 +07:00
Dmitry Khomutov 2669440167
Fixed public status widget for archived projects. 2017-12-24 12:18:49 +07:00
Dmitry Khomutov cd9c48aa7a
TechnicalDebt plugin - Code style fixes. Issue #82. 2017-12-14 19:16:38 +07:00
Pélisset Vincent 8bfdea3073
minimalize modification 2017-12-14 19:16:38 +07:00
Pélisset Vincent e8d043fdfd
CS Fixer 2017-12-14 19:16:38 +07:00
Pélisset Vincent d218554bfa
fix flag reset location 2017-12-14 19:16:38 +07:00
Pélisset Vincent 5c409f8856
add dockblock detail 2017-12-14 19:16:38 +07:00
Pélisset Vincent 79274cbb41
ignore only relative dir from start or path 2017-12-14 19:16:38 +07:00
Pélisset Vincent 2b4fe8a384
add better log to technitial debt, trying to fix runtime path bug 2017-12-14 19:16:37 +07:00
Dmitry Khomutov 0a0ab660b8
Fixed TechnicalDebt plugin. Issue #82. 2017-12-14 19:16:37 +07:00
Dmitry Khomutov 3e0a92f523
Fixed TechnicalDebt plugin. Issue #82. 2017-12-14 19:16:37 +07:00
Dmitry Khomutov 97be2fb4f1
Fixed TechnicalDebt plugin. Issue #82. 2017-12-14 19:16:37 +07:00
Dmitry Khomutov 2b57886db0
Fixed TechnicalDebt plugin. Issue #82. 2017-12-14 19:16:37 +07:00
Dmitry Khomutov ce23fac283
Added new errors count to main dashboard and builds list. 2017-12-13 22:40:51 +07:00
Dmitry Khomutov eb55474ff4
New label fixes. 2017-12-10 17:52:49 +07:00
Dmitry Khomutov 6fcfa3668a
Added filtration by new label to "Errors" tab. 2017-12-10 00:00:06 +07:00
Dmitry Khomutov 13f763c9e2
Added new errors label in build "Errors" tab. 2017-12-09 23:53:18 +07:00
root 002e64f4d6 Fixing issue #136 (PHP 7.2 unpack user from session) 2017-12-09 19:31:46 +03:00
Dmitry Khomutov f67d0aa7c0
Removed useless Image class. 2017-12-02 12:39:38 +07:00
Dmitry Khomutov 2f22339a1f
Fixed archived projects public status. 2017-12-02 11:40:52 +07:00
Stepan Strelets fee99bd259 Fix empty build errors - add template and message. 2017-11-17 10:35:25 +03:00
Dmitry Khomutov 5681f5dc56
Fixed responsive classes for dashboard widgets. 2017-11-11 18:34:24 +07:00
Dmitry Khomutov 1304ca29f7
Fixed links to Errors tab from Information tab (Summary). 2017-11-09 23:20:08 +07:00
Dmitry Khomutov c6ae043750
Fixed excessive BuildMeta inserts. 2017-11-09 22:48:46 +07:00
Dmitry Khomutov cd6bfa5942
Code style fixes. 2017-11-09 20:51:07 +07:00
Stepan Strelets 92fe16e75e Fix - invalidate browser cache 2017-11-08 21:13:58 +07:00
Dmitry Khomutov 4e68eb7180
Code style fixes. 2017-11-08 20:45:18 +07:00
Stepan Strelets eca63d81e2 Allow specify project title in webhook request 2017-11-08 12:03:00 +03:00
Stepan Strelets 11f58d7c2b Split dashboard into widgets. Add build errors widget. 2017-11-07 18:14:29 +03:00
Dmitry Khomutov 257aabc113
Fixed BuildError create_date field. Issue #130. 2017-10-30 22:17:58 +07:00
Dmitry Khomutov 42888630e7
Added filtration for errors by severity and plugin. Issue #85. 2017-10-29 21:26:43 +07:00
Dmitry Khomutov 6b102f214e
Added Paginator for build errors. Issue #85. 2017-10-29 14:06:41 +07:00
Dmitry Khomutov 3ab04a6503
Added Paginator helper. Issue #123. 2017-10-26 20:38:22 +07:00
Dmitry Khomutov 45e674a733 Fixed naming. 2017-10-21 15:51:05 +07:00
Luis Cortés 53585b2451 Fix Migrations | Installation Failed 2017-10-20 14:57:42 -05:00
Dmitry Khomutov ab566c1f41 Fixed tests after build changes. 2017-10-19 22:17:40 +07:00
Dmitry Khomutov dd4f3bfbad Added 'user_id' (created by) and 'create_date' columns to 'project' table. 2017-10-19 22:05:00 +07:00
Dmitry Khomutov 7382df7f6d Added 'user_id' (created by) and 'create_date' columns to 'project_group' table. 2017-10-16 21:59:59 +07:00
Dmitry Khomutov 4ec6d854c2 Added 'user_id' column to 'build' table (created by)
+ Renamed columns 'created' -> 'create_date', 'started' -> 'start_date' and 'finished' -> 'finish_date'
+ Code style fixes.
2017-10-16 20:40:00 +07:00
Dmitry Khomutov 58b23fe89d Removed useless code from models + code style fixes. 2017-10-15 20:05:33 +07:00
Dmitry Khomutov 508465fc74 Code style fixes + phpdocs. 2017-10-15 01:29:29 +07:00
Dmitry Khomutov 9e57de043e Removed useless 'project_id' column from 'build_meta' table. 2017-10-15 00:48:53 +07:00
Dmitry Khomutov 145670acde Build sources instead of 'Manual' word. 2017-10-14 21:13:36 +07:00
Dmitry Khomutov ca0f7b4182 Fixed schedule build command. Issue #125. 2017-10-11 18:55:03 +07:00
Dmitry Khomutov c50f04a280 Fixed schedule build command. Issue #125. 2017-10-08 21:51:03 +07:00
Vincent Vermeulen 9b198a128e Use function getLatestBuild 2017-10-05 17:43:33 +02:00
Vincent Vermeulen 5a7d145c94 Added command to schedule tasks if not ran for a specified X days 2017-10-04 22:40:29 +02:00
Dmitry Khomutov a8019e20a8 Fixed 'lifetime' parameter for queue on installation. 2017-09-18 08:18:59 +07:00
Dmitry Khomutov 5820583d4a Reformated JS code. 2017-09-17 11:22:05 +07:00
Dmitry Khomutov 5df94982a1 Removed useless '/' from build status cache path. 2017-09-16 20:20:08 +07:00
Dmitry Khomutov 883ebf1a1a Changed '?' to '�' for binary output. Issue #116. 2017-09-16 12:28:16 +07:00
Dmitry Khomutov a4cbd1b7ec Fixes for non-unicode binary log output. Issue #116. 2017-09-16 12:28:16 +07:00
Dmitry Khomutov e60376fe5f Added a checkbox to build only the default branch specified in the project (Fixes). 2017-09-16 12:22:29 +07:00
Pat Suwalski bbbd9b3cf2 Added a checkbox to build only the default branch specified in the project. 2017-09-13 21:24:19 +07:00
David Sloan 242d08e016 Add the option to pass the short tags (-s) argument to PHP Parallel Lint so that files using PHP Short Tags can be linted. 2017-09-09 23:48:22 +07:00
Stepan Strelets b501775411 Fix env build - omit checkout exact commit 2017-09-04 15:18:52 +03:00
Stepan Strelets 256b32bd81 Add mage v3 plugin (deployment) 2017-09-04 14:36:41 +03:00
Dmitry Khomutov 07359d82f6
'Remember me' on login. Issue #81. 2017-08-31 22:13:48 +07:00
Dmitry Khomutov 90bc9c69a1
Improved public status page UI (Added environment and duration, fixed table cell height). 2017-08-31 22:06:29 +07:00
Dmitry Khomutov 1bc8dfd5eb
Added daily rotate logger for console commands. Issue #108. 2017-08-30 21:21:16 +07:00
SimonHeimberg ffce3e31e7 plugins depending on tests success state run also on exception
Failure notification on an exception seems important.
Now failures in this plugins will not count for build state.
2017-08-22 16:22:56 +02:00
SimonHeimberg 6a32cfb043 valid init value for config of builder, to not fail pluginExecutor when setupBuild failed 2017-08-22 16:22:56 +02:00
StudioMaX d307afa44e Bitbucket build status API, create comments on commits and Pull Requests 2017-08-20 14:19:07 +06:00
Dmitry Khomutov c58c93600c
Fixed markup for public status + PHP Censor logo fixes. 2017-08-20 12:58:15 +07:00
Dmitry Khomutov 74f0537d04
Added PHP Censor logo. 2017-08-19 11:05:44 +07:00
Dmitry Khomutov a6ee2756f5
Fix after rebase on fresh master. 2017-07-23 18:47:52 +07:00
SimonHeimberg 173f785d61
use log-junit when log-json is not supported by phpunit
use json as long as available, since junit does not list skipped tests before phpunit 6
2017-07-23 18:47:52 +07:00
SimonHeimberg 2bd6ae96cb
add junit format for PhpUnitResult 2017-07-23 18:47:52 +07:00
SimonHeimberg c3c103cc78
prepare for several types of phpunit results 2017-07-23 18:47:52 +07:00
SimonHeimberg a77b1115a0
merge similar run methods in PhpUnit 2017-07-23 18:47:51 +07:00
Dmitry Khomutov 13e492240e
Added regex pattern for branch specific config. Issue #97. 2017-07-20 08:01:26 +07:00
Dmitry Khomutov 59837a8ff1
Added param 'priority_path' (For all plugins) for control paths priority when we search plugin binary. Issue #104. 2017-07-19 10:26:51 +07:00
Dmitry Khomutov fdde33e2e2
Fixed 'setup', 'test' and 'deploy' stages. Now if 'setup' or 'test' is failed then next stages will skip. 2017-07-18 07:43:41 +07:00
SimonHeimberg 443d3b2a9a fix wrong assignment in plugin for PhpCodeSniffer 2017-07-17 21:30:12 +02:00
Dmitry Khomutov acd73e2ba1
Changed build_meta.meta_value column type from TEXT to LONGTEXT for MySQL. Issue #94. 2017-07-11 18:40:18 +07:00
Dmitry Khomutov bd1382e90e Merge pull request #93 from SimonHeimberg/logShowsBuildDirNicer
build directory is shown as ./ in log output
2017-07-07 19:18:28 +07:00
SimonHeimberg ce280328af build directory is shown as ./ in log output
It was shown as "/", which is irritating because it looks like root directory.
2017-07-07 13:54:32 +02:00
SimonHeimberg f1702900fb command php-censor:create-build accepts --email and --message
Now builds with full info can be generated from command line.
2017-07-07 13:05:01 +02:00
Dmitry Khomutov 6fe5c78179
Added config option 'php-censor.build.writer_buffer_size' for configuring BuildErrorWriter buffer_size property (Count of inserts in the one SQL query). 2017-07-06 19:51:15 +07:00
Dmitry Khomutov a9309a1feb
sendStatusPostback fix. 2017-07-02 16:51:02 +07:00
SimonHeimberg 0ad8c4b327 FileLink is generated with commit id for github and bitbucket
fixes #89
2017-06-30 21:51:49 +02:00
Dmitry Khomutov 9041457af4
Changed HttpClient to Guzzle library. 2017-06-28 12:42:56 +07:00
Dmitry Khomutov c117a6c11d
Fixed debug mode for "Build now" button. 2017-06-24 14:28:04 +07:00
Dmitry Khomutov 46441106d1
Improved from email address format for notifications. 2017-06-21 21:03:57 +07:00
Dmitry Khomutov 87ef29269f
Small Project form order fix. 2017-06-20 19:51:27 +07:00
StudioMaX 63a2b59244 Fixed ability to fetch private pull requests on Github 2017-06-09 02:13:17 +06:00
Dmitry Khomutov 473b4add27
Improved default branch for SVN. Added ability to set branch full name like "branches/branch-1" or "/branch/branch-2". Issue #67. 2017-06-03 17:25:18 +07:00
Dmitry Khomutov df2af38b81
Improved build-status/view page. Added build links, icons, date etc. Issue #23. 2017-06-03 14:12:52 +07:00
StudioMaX 0eba8c2cfe Fixed GitHub status API and access to the pull requests of private projects 2017-06-02 02:20:29 +06:00
Dmitry Khomutov dd9aecd3ff
Fixed cron worker in fails. Issue #68. 2017-06-01 21:53:06 +07:00
Dmitry Khomutov 2af20dc00c
Fixed worker in fails. Issue #68. 2017-06-01 21:53:06 +07:00
Dmitry Khomutov 41f7597c05
Fixed PhpCsFixer directory. Issue #75. 2017-05-31 21:35:53 +07:00
Dmitry Khomutov e8fbaf08cb
Reduced buffer_size for BuildErrorWriter.
Number of prepared parameters must be less than 65535.
See: https://stackoverflow.com/questions/40361164/pdoexception-sqlstatehy000-general-error-7-number-of-parameters-must-be-bet). Issue #66.
2017-05-29 23:55:04 +07:00
Dmitry Khomutov fd356a4dda
Fixed PDO creation for PostgreSQL without pdo_mysql extension. Issue #73. 2017-05-29 18:50:18 +07:00
Dmitry Khomutov 7e2f63142d
Fixed logging (Now logging autostarting without special loggerconfig.php). Issue #59. 2017-05-23 23:17:39 +07:00
Dmitry Khomutov 5a761dcddb
Removed 'using_custom_file' config option. 2017-05-23 23:06:58 +07:00
Dmitry Khomutov 3a59b66d78
Removed PollCommand. 2017-05-23 23:01:31 +07:00
Dmitry Khomutov e071088bba
Fixed branches for SVN build. Issue #65. 2017-05-17 21:46:55 +07:00
Dmitry Khomutov 6330e3b177
Fixes for build branches with special chars (like '#, /' etc.) 2017-05-09 11:25:16 +07:00
Dmitry Khomutov 446deca0cb
Fixed pagination for environments in project/view page and ajax builds update. 2017-05-08 14:51:32 +07:00
Dmitry Khomutov efbf2650bb
Code style fixes. 2017-05-08 12:37:08 +07:00
Dmitry Khomutov fb424bfb2b
Code style fixes. 2017-05-05 10:55:12 +07:00
Paul Staring c68cb33fa5
ProjectController::build(): Moved the check on whether the project could be found up: no point in trying to get a list of branches of a project that doesn't even exist. 2017-05-05 10:52:20 +07:00
Dmitry Khomutov 1b70128c83
Added public/private project status icon to dashboard. 2017-04-22 22:29:09 +07:00
Dmitry Khomutov 36243ca9cb
Fixed build duration localization in timeline 2017-04-22 22:02:27 +07:00
Dmitry Khomutov 9d269a4cca
Added tags for Github builds (UI Fixes +++). 2017-04-22 21:56:51 +07:00
Dmitry Khomutov bf067e4fda
Added tags for Github builds (UI Fixes). 2017-04-22 21:48:54 +07:00
Dmitry Khomutov 12805d58d9
Added tags for Github builds (Fixes). 2017-04-22 21:06:53 +07:00
Dmitry Khomutov 647a5cedcd
Added tags for Github builds. 2017-04-22 20:02:24 +07:00
Dmitry Khomutov f26f000bb4
Refactored push and tag webhooks for Github (Fixes +++). 2017-04-20 21:14:48 +07:00
Dmitry Khomutov 0e83599b9f
Refactored push and tag webhooks for Github (Fixes). 2017-04-20 20:38:02 +07:00
Dmitry Khomutov 6e60c07103
Refactored push and tag webhooks for Github. 2017-04-20 20:24:53 +07:00
Dmitry Khomutov 89218d7047
Added ability to build only head commit from push (Initial). 2017-04-20 19:35:26 +07:00
Dmitry Khomutov e2b6f5aefd
Refactored plugin PhpCsFixer (Added more backward compatibility). Issue #63. 2017-04-19 19:07:53 +07:00
Dmitry Khomutov 9c1dcbf6a9
Refactored plugin PhpCsFixer. Issue #63. 2017-04-19 18:45:59 +07:00
Dmitry Khomutov 3bd5b2c718
Improved error page +++ 2017-04-16 21:41:11 +07:00
Dmitry Khomutov 142f05b416
Fixed Database::lastInsertId call for PostgreSQL 2017-04-16 21:18:21 +07:00
Dmitry Khomutov a671f4d81d
Improved error page 2017-04-16 20:46:51 +07:00
Dmitry Khomutov c752651d10
Fixed environment field in build table 2017-04-16 20:09:33 +07:00
Dmitry Khomutov 1f9ec69c52
Fixed gray block style (grey -> gray) 2017-04-16 20:02:59 +07:00
Dmitry Khomutov acd2bcc088
Added text wrap for build log 2017-04-14 22:15:45 +07:00
Dmitry Khomutov 3f7882bfe9
Fixed #61 2017-04-13 22:52:03 +07:00
Jools 1aeeb3ba57 display build branch instead of project branch in Home/index and ajax-timeline 2017-04-13 06:45:07 +02:00
Dmitry Khomutov 4f86a98b5e
Build and Project pages UI fixes 2017-04-09 22:51:03 +07:00
Dmitry Khomutov 1b11ec18ac
Fixed build buttons block in project page 2017-04-09 22:39:20 +07:00
Dmitry Khomutov 8a5f15ad78
Fixed localization for environment string 'all' 2017-04-09 21:57:41 +07:00
Dmitry Khomutov f49d2b14bc
Added collapse for boxes 2017-04-09 08:44:30 +07:00
bochkovprivate acf25afdd6 Fix Technical Debt Plugin configuration parameters 2017-04-06 19:34:20 +07:00
Stepan Strelets 18f4abc98b Fix - convert html special chars in error message 2017-04-06 10:25:11 +03:00
Stepan Strelets 79d8e27a7e Fix releasing job 2017-04-05 18:54:06 +03:00
Stepan Strelets ff3ea2d120 Fixes (store variable name; work flow when build not exist) 2017-04-05 18:54:06 +03:00
Stepan Strelets 80aa7d4c06 Fix build execute - in some cases one build executed with many process 2017-04-05 18:54:06 +03:00
Dmitry Khomutov 37abf496d2 Merge pull request #52 from ss-gxp/fix-env-branches-update
Fixed updating branches for exist environment
2017-04-05 21:05:49 +07:00
Stepan Strelets 0c9036af7f Fix update branches for exist environment 2017-04-05 16:44:07 +03:00
Dmitry Khomutov e3e3cf5124
Added SensioLabs Security Checker Plugin. Issue #27 2017-04-04 21:17:48 +07:00
Dmitry Khomutov 31beb233e3
Separated Build status constants and Plugin status constants 2017-04-03 21:19:51 +07:00
Dmitry Khomutov d54c1978b9
Added allowed fail status for plugins (See build summary) 2017-04-03 21:04:27 +07:00
Dmitry Khomutov cb4d7a268e
Small fixes 2017-04-03 20:44:35 +07:00
Dmitry Khomutov 9b9d1b1122
Russian localization for Environments. PullRequest #41. 2017-04-03 19:55:21 +07:00
Dmitry Khomutov 78c66a4dc3
Fixed exception when plugin runs without options (Like "php_parallel_lint: "). Issue #44 2017-04-02 09:17:04 +07:00