Commit graph

432 commits

Author SHA1 Message Date
Dmitry Khomutov c61602189a
Added "Github Enterprise" build type. Issue #163. 2018-04-10 00:29:12 +07:00
Dmitry Khomutov 8a29f5aefe
Code style fixes ('<?php Lang::out(' -> '<?= Lang::get('). 2018-04-09 20:35:13 +07:00
Dmitry Khomutov 2a3adf25af
Refactored ValidationException (-> InvalidArgumentException). 2018-04-09 20:35:01 +07:00
Dmitry Khomutov cdc926c62a
Refactored View. 2018-04-09 20:34:27 +07:00
Dmitry Khomutov 56fc76d4e5
Web notifications small fixes. Issue #156. 2018-04-09 20:09:02 +07:00
Mark Amoin 3f56e4cc54
Web notifications. Issue #156. 2018-04-09 20:09:02 +07:00
Dmitry Khomutov 8c69129c76
Small fixes. 2018-04-06 23:55:44 +07:00
Dmitry Khomutov 62974ec3ee
Fixed typo in russian translation ('Переодичный' -> 'Периодичный'). 2018-03-19 22:34:32 +07:00
Dmitry Khomutov 55bebf05dc
Finally fixed project directory for Build::writeSshKey and
Build::writeSshWrapper (Now files in system temp directory).
Issue #165.
2018-03-16 20:46:46 +07:00
Dmitry Khomutov 7747193c89
Fixed project directory for Build::writeSshKey and
Build::writeSshWrapper. Issue #165.
2018-03-16 07:08:35 +07:00
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