Commit graph

460 commits

Author SHA1 Message Date
Dmitry Khomutov d5333b2b80
Code style fixes. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov 50b117455e
Code style fixes. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov a16c82babc
Code style fixes (and -> &&). 2018-03-09 13:46:18 +07:00
Dmitry Khomutov 3b700f8d3c
Refactored project structure (Improvements). 2018-03-09 13:46:18 +07:00
Dmitry Khomutov c015d8c58b
Refactored project structure. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov cfe93434ad
Refactored Form. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov 1fdf9a7ab1
Refactored Http. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov aadfabd714
Refactored HttpExceptions. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov 69e969436d
Refactored Application. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov d1c37fc293
Refactored Controller. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov dd9f43b7dd
Refactored Config. 2018-03-09 13:46:18 +07:00
Dmitry Khomutov e23ad3237a
Refactored Database. 2018-03-09 13:46:17 +07:00
Dmitry Khomutov 8b5a874789
Refactored Store. 2018-03-09 13:46:17 +07:00
Dmitry Khomutov 905d6d41d1
Refactored models. 2018-03-09 13:46:17 +07:00
Dmitry Khomutov 5d9b56d194
Replaced func_get_args() by ...$params (PHP 5.6+). 2018-03-09 13:46:16 +07:00
Dmitry Khomutov 7bbd2e54db
Fixed exception on empty Build::create_date. Issue #162. 2018-03-08 23:32:43 +07:00
Dmitry Khomutov 2bbdd8c393
Fixed BuildFactory::getBuildById. Issue #162. 2018-03-08 23:20:05 +07:00
Dmitry Khomutov f4ecb0e1e7
Fixes for project type (git, github, gogs etc.). Issue #162. 2018-03-08 15:54:19 +07:00
Dmitry Khomutov 2a933a7ecb
Added global application config (config.yml) option
'php-censor.build.allow_public_artifacts' for allow/deny to generate
public artifacts (PHPUnit code coverage html report, Pdepend html
reports). Issue #107.
2018-03-08 01:31:25 +07:00
Dmitry Khomutov 0fc2a66678
Now builds artifacts remove when remove build and project. Issue #107. 2018-03-07 22:21:57 +07:00
Dmitry Khomutov c5ce085371
Added PHPUnit code coverage log output and chart in information tab.
Issue #148.
2018-03-06 19:47:10 +07:00
Dmitry Khomutov 42a8316479
Added tests for the Store (MySQL and PostgreSQL). 2018-03-01 19:47:34 +07:00
Dmitry Khomutov 9fc73577ca
Added tests and fix for lastInsertId() on camel case tables. 2018-03-01 17:23:47 +07:00
Dmitry Khomutov 5a76868e0b
Added tests for DB connections DSN. 2018-02-28 23:34:07 +07:00
Dmitry Khomutov 4cb041e8fb
PHPUnit tests improvements. 2018-02-28 22:40:50 +07:00
Dmitry Khomutov 8d0d23f5f4
Merged PostgreSQL and MySQL tests inti one PHPUnit XML config. 2018-02-28 18:45:03 +07:00
Dmitry Khomutov 008dc74ff2
Moved commit message to the new line in the timeline widget at home
page.
2018-02-28 10:19:02 +07:00
Dmitry Khomutov 58f1004652
Renamed projects types and build classes: 'remote'/RemoteGitBuild to
'git'/GitBuild, MercurialBuild to HgBuild, SubversionBuild to SvnBuild,
'bitbuckethg' to 'bitbucket-hg'.
2018-02-28 10:02:55 +07:00
Dmitry Khomutov d0c69d2ef0
Refactored Model class. 2018-02-28 09:40:14 +07:00
David Sloan 17d9917096
Ironically fix the docblock. 2018-02-26 22:04:58 +00:00
David Sloan 08cab04bde
PHPDocBlockChecker Plugin Detailed Error Logging
This PR logs the error from the PHPDocBlockChecker rather than just logging that the doc block is missing.
2018-02-26 21:50:20 +00:00
Glenn McEwan 40541f16d2
Set allowed errors to the correct property. 2018-02-24 11:03:52 +07:00
Dmitry Khomutov 9e428a4da6
Small fixes. 2018-02-23 23:05:06 +07:00
Dmitry Khomutov 0cfb12f222
Fixed migration for pull request branches. 2018-02-23 20:47:45 +07:00
Dmitry Khomutov 3400271bc5
Added pull request remote branch to GUI. 2018-02-23 19:31:06 +07:00
Dmitry Khomutov 429405809e
Refactored build type 'Pull request' logic. 2018-02-23 18:54:03 +07:00
Dmitry Khomutov d28d496264
Added options 'php-censor.ssh.strength' and 'php-censor.ssh.comment'
for SSH keys generation. Issue #154.
2018-02-23 12:23:03 +07:00
AlexisFinn 0f6e502962
Correct issue #153: phpcs ignores 'path' setting
The 'path' value was not being set in the class constructor.
2018-02-22 16:59:01 +01:00
Dmitry Khomutov 70b1dd36db
Fixed ionicons path. Issue #152. 2018-02-21 19:09:49 +07:00
Dmitry Khomutov f26726c6e9
Removed User model from $_SESSION. 2018-02-21 10:46:57 +07:00
Dmitry Khomutov 597a20deea
Refactored view/template. 2018-02-21 10:46:57 +07:00
Dmitry Khomutov 09cee5a5df
Added more tests for the forms. 2018-02-21 10:46:56 +07:00
Dmitry Khomutov 1dc8acd263
Replace cache to Symfony/Cache component. 2018-02-21 10:46:55 +07:00
Dave 7658504d36
PhpParallelLint Short tags Option expecting string
This is actually a bool already, so it should just read it straight in.

Otherwise:
```
php_parallel_lint:
    shorttags: true
```

Won't get applied.
2018-02-20 16:08:50 +00:00
SimonHeimberg 2da98f6ff1 replaceIllegalCharacters replaces too long byte sequences
MySql only supports utf8 characters encoded shorter than four bytes.
2018-02-06 09:51:00 +01:00
Dmitry Khomutov 5e9e3088cc
Code style fixes for plugins. 2018-02-04 14:22:07 +07:00
Dmitry Khomutov 16755eadd4
Code style fixes + more tests for invalid UTF-8 log. 2018-02-04 13:20:46 +07:00
Dmitry Khomutov dd1d7e2be3
Fixed var names for framework. 2018-02-04 13:20:01 +07:00
Dmitry Khomutov e59e4a397f
Code style fixes. 2018-02-04 13:20:01 +07:00
Dmitry Khomutov ffb8ef334c
Merge pull request #147 from SimonHeimberg/phpUnitJsonImprove
Php unit json improve
2018-02-03 20:08:44 +07:00
SimonHeimberg 80e01a7e9e PhpUnitJson reports an unfinished test as error at the end 2018-02-03 13:53:50 +01:00
SimonHeimberg 499c4cd4bb PhpUnitJson does not fail on empty trace 2018-02-03 13:53:50 +01:00
SimonHeimberg 48e81efb86 Fixed build log for invalid encoded utf8 characters. Issue #145. 2018-02-03 13:38:46 +01:00
Dmitry Khomutov 45f8102ea5
Fixed build log for non-unicode characters. Issue #145. 2018-02-03 12:55:36 +07:00
Dmitry Khomutov 18880e8c21
Fixed new directories rights. Issues #86, #107. 2018-01-30 19:56:05 +07:00
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