Commit graph

414 commits

Author SHA1 Message Date
Dmitry Khomutov 3783a9dea0
Code style fixes ('<?php print/echo ...' -> '<?= ...'). 2018-03-09 18:15:38 +07:00
Dmitry Khomutov 8d9c4824c7
Code style fixes (camelCased variables). 2018-03-09 13:46:19 +07:00
Dmitry Khomutov 4013fc76ff
Fixes after rebase. 2018-03-09 13:46:19 +07:00
Dmitry Khomutov ba11827340
Code style fixes (DIRECTORY_SEPARATOR -> '/'). 2018-03-09 13:46:18 +07:00
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