Commit graph

422 commits

Author SHA1 Message Date
Kevin Andrews 0286880cce Populate object to object values instead of casting to array, fixes https://github.com/php-censor/php-censor/issues/164 2018-03-15 15:09:48 +00:00
Dmitry Khomutov ba0d9f14fa
Refactored Controllers. 2018-03-14 20:32:19 +07:00
Dmitry Khomutov 7abd3febc1
Refactored Csrf form widget. + Added unit tests for Csrt. 2018-03-13 19:56:05 +07:00
Dmitry Khomutov d3a390d3f8
Added status and source build fields validation. 2018-03-12 19:51:41 +07:00
Dmitry Khomutov 10d41dba81
Added constants for project types (git, hg, github...). 2018-03-12 00:34:48 +07:00
Dmitry Khomutov 2ed6377971
Removed useless field 'last_commit' from table 'project'. 2018-03-11 23:57:18 +07:00
Dmitry Khomutov ad7670e81e
Added unit tests for base models. 2018-03-11 22:38:00 +07:00
Dmitry Khomutov fb11ba4652
Refactored models. 2018-03-11 10:56:36 +07:00
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