Commit graph

118 commits

Author SHA1 Message Date
Dmitry Khomutov 069026bc2d
Added ability to merge in-database project config over in-repository
config instead of only overwrite. This commit solve issues: #14, #70,
#106, #121.
2018-04-15 15:58:23 +07:00
Dmitry Khomutov 0fe0249490
Improved Github and Gitlab projects. Issue #163. 2018-04-11 23:28:48 +07:00
Dmitry Khomutov c61602189a
Added "Github Enterprise" build type. Issue #163. 2018-04-10 00:29:12 +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 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 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 fee4b127b0
Small bootstrap.php cleanup. 2018-03-09 18:46:09 +07:00
Dmitry Khomutov 3783a9dea0
Code style fixes ('<?php print/echo ...' -> '<?= ...'). 2018-03-09 18:15:38 +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 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 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 409ac11c47
Added more tests for Database (for PostgreSQL and MySQL). 2018-03-01 15:11:26 +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 429405809e
Refactored build type 'Pull request' logic. 2018-02-23 18:54:03 +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 c05d3d6c90
Fixed PHPUnit assert calls to static. 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
SimonHeimberg 2d67afc4c7 Testing replaceIllegalCharacters without doing normalisation
We do not use any compound characters, so normalisation is a no op.
2018-02-07 11:05:33 +01: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 16755eadd4
Code style fixes + more tests for invalid UTF-8 log. 2018-02-04 13:20:46 +07:00
Dmitry Khomutov 7db036e956
Added code coverage report for PHPUnit plugin. Issue #86. 2018-01-20 16:45:52 +07:00
Dmitry Khomutov 45e674a733 Fixed naming. 2017-10-21 15:51:05 +07:00
Dmitry Khomutov 268ab03c86 Fixed Database test for Postgres. 2017-10-19 22:33:00 +07: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 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 145670acde Build sources instead of 'Manual' word. 2017-10-14 21:13:36 +07:00
Dmitry Khomutov 1bc8dfd5eb
Added daily rotate logger for console commands. Issue #108. 2017-08-30 21:21:16 +07:00
SimonHeimberg 7a8ed48e3d test cases inherit from PhpUnit testcase with namespeces
This name is available since phpunit 4.8.36 and 5.4.3.
2017-07-24 08:59:49 +02:00
SimonHeimberg c89a6e979c
test PhpUnitResultJunit
Test data is generated by real test suite, with phpunit 6.2
2017-07-23 18:47:52 +07:00
SimonHeimberg f87cb40e6f
test PhpUnitResult with some output from test 2017-07-23 18:47:52 +07:00
SimonHeimberg 21c93ba5af
recreate test result with real test suite -- phpunit 4.8 2017-07-23 18:47:52 +07:00
SimonHeimberg 03f2e353eb
reorder test data so that it could really happen 2017-07-23 18:47:52 +07:00