Commit graph

171 commits

Author SHA1 Message Date
Pablo Tejada c32a520b91 Implementation of an alternative PHPUnit plugin:
- Reformat the error output.
- Display collapsed trace in the Information tab widget.
- Handle incomplete tests in the results.
- Unit tests for all new classes.
- Display raw phpunit output.
2017-01-05 17:59:58 +07:00
Dmitry Khomutov 435a169589 Improved README and docs 2017-01-04 21:42:26 +07:00
Dmitry Khomutov d4a9dd2493 Fixed PHP Censor theme 2017-01-04 17:53:48 +07:00
Dmitry Khomutov 306fa31e9e Added item per page parameter (default value in main config) 2016-12-28 21:26:22 +07:00
Dmitry Khomutov d4da493f7f Updated assets (AdminLTE2) 2016-07-23 10:50:03 +06:00
Dmitry Khomutov 31f92327c1 Fixed naming (phpci -> php-censor) 2016-07-21 23:02:11 +06:00
Dmitry Khomutov 4fee89fb80 Fixed constants 2016-07-21 21:20:34 +06:00
Dmitry Khomutov 60a2b7282a Fixed namespaces (PHPCI -> PHPCensor) 2016-07-20 18:27:32 +06:00
Dmitry Khomutov 60d74b0b44 Fixed naming (PHPCI -> PHP Censor) 2016-07-19 22:35:21 +06:00
Dmitry Khomutov 976c6c1f1a Fixed build view Error tab list 2016-07-10 15:39:27 +06:00
Dmitry Khomutov d3e99988c4 Localization fixes 2016-07-10 14:50:31 +06:00
Dmitry Khomutov f86834b02f Fix Information tab in build view 2016-07-10 14:33:18 +06:00
Dmitry Khomutov 8436df1c0f Fixes 2016-06-23 21:26:54 +06:00
Dmitry Khomutov ca2f5ed197 Fixes 2016-06-23 21:26:13 +06:00
Dmitry Khomutov 6891b8a75f Code style fixes 2016-06-23 21:21:15 +06:00
Dmitry Khomutov 5371b8fc75 Fixes 2016-06-23 21:18:41 +06:00
Dmitry Khomutov 166e6d8ac0 Fixed doubling of the data in the "Error" tab (Build view)
Fixed some JS errors
2016-06-23 21:17:24 +06:00
Dmitry Khomutov 878d2d1822 Added plugins to Quality Trend chart 2016-06-23 21:17:24 +06:00
Dmitry Khomutov a482356155 Fixed "Quality Trend" chart when warningsPlugin.data[build][key] is NaN (no any of meta_key in build_meta table).
Fixed doubling of the data in the "Error" tab (Build view)
2016-06-23 21:17:24 +06:00
Dan Cryer af029a95d3 Fix for warnings chart, courtesy of @Henk8 closes #1098 2015-11-03 11:58:22 +00:00
Dan Cryer 9df1e1febd Making the lines of code chart hide if no data available. Closes #1103 2015-11-03 11:51:45 +00:00
Dan Cryer 3a9c60b83b Fixing error duplication bug. Closes #1112 2015-11-03 11:42:28 +00:00
Pierre Lavaux 39024c0bd3 ImageOptim'ed assets/ 2015-10-27 02:17:26 +01:00
Dan Cryer 5966908df7 Switching charts to use Chart.js instead of Google Charts 2015-10-15 12:34:58 +01:00
Dan Cryer 28ad88cff9 Big update: New way of storing build errors, updated UI, AdminLTE 2, fixes, etc. 2015-10-15 10:07:54 +01:00
Dan Cryer efbd68a870 Merge pull request #1077 from GeneaLabs/feature/fix-arrangement-of-components
Fix Arrangement of Build Result Components
2015-10-13 15:33:33 +01:00
Mike Bronner 6b953c601c Merge branch 'master' into feature/add-logo-icon-images 2015-10-12 12:26:42 -07:00
Mike Bronner be6ae868f4 Add logo icons 2015-10-12 12:23:55 -07:00
Mike Bronner c3039c701e Add missing sprintf.min.map file 2015-10-10 10:07:31 -07:00
Mike Bronner d446955629 Move id attribute to outer div to hide the result component completely
This will allow the other non-hidden components to properly reflow on the page.
2015-10-10 09:22:53 -07:00
Adirelle 8ba7f1f9dc Track and display the build progression, for each stages and plugins.
Translations for the build summary.

Closed #944
2015-05-28 11:39:35 +02:00
Adirelle 96e6a196cf PHPUnit display: escape HTML code in test messages.
PHPUnit display: display data produced before the TapParser refactoring.

Closed #937
2015-05-28 11:14:20 +02:00
Adirelle 31e89377ad Black-on-white color theme for the build log. 2015-04-28 14:14:25 +02:00
Adam Cooper b98acaa776 Revert CSS file change made in error as part of the codeception update
Close #935
2015-04-23 17:01:44 +02:00
Adam Cooper fa99684d89 An attempt at making the codeception plugin a little more complete.
Codeception JS plugin and theme changes.
Improvements to the display. Extra total information plus some test file locations.

Close #588
2015-04-23 13:18:26 +02:00
Adirelle bc634a570f Reworked TapParser to be compliant and more robust.
Added another test case from #571.

Updated the output of TapParser::processTestLine.

Broke TapParser::parse down in simpler methods.

TapParser: ignore leading garbage and properly complain on missing TAP log.

TapParser: detect and report duplicated TAP log.

TapParser: got rid of the "test" and "suite" values.

They are only available with PHPUnit.

TapParser: append the message from yaml diagnostic to existing message.

Reworked the dispaly of test results.

PHPUnit plugin: pretty print test data.
2015-04-09 12:00:10 +02:00
Adirelle df5e378b8a Use sensiolabs/ansi-to-html to parse the build logs.
Added an AnsiConverter helper.

Use the AnsiConverter in the email and page templates that display the build log.

Use a dedicated stylesheet for the ANSI converter.

It can be customized.
It can be inlined in the notifications.

Do not use ProphecyTestCase when not needed.
2015-04-09 11:54:57 +02:00
Dan Cryer 8268a4b978 Fixing dates: Stop all dates from appearing as the current date/time. Fixes #820 2015-02-25 10:33:11 +00:00
zviryatko f5c585bacf Fix username style in user panel block. 2015-02-24 10:01:36 +02:00
James Inman 2ed0611418 Adding output support to Behat plugin. 2015-02-20 13:38:42 +00:00
Dan Cryer 180edfdd21 Update session cookie to last 12 hours. 2015-02-20 13:11:31 +00:00
James Inman 6be867a517 Adding Technical Debt plugin. 2015-02-18 14:07:26 +00:00
Igor Timoshenko 808ae7725a Added Codeception UI plugin 2015-02-16 11:47:07 +01:00
Dan Cryer b6873d7d73 Fixes 2015-02-12 13:44:16 +00:00
Dan Cryer 379d2db547 Cleaning up permissions on a few files. 2015-02-12 13:42:07 +00:00
Dan Cryer 1cb6acd35a Adding a default robots.txt file. 2015-02-12 13:34:15 +00:00
Dan Cryer 89435423d9 Removing the now-unnecessary JSON.parse() call 2015-02-12 12:38:22 +00:00
Dan Cryer c77ebd6c40 Getting rid of debug code 2015-02-12 11:41:58 +00:00
Lee Willis 6233dfa714 Redesigned build summary for the dashboard to include recent builds.
Closes #783
Closes #708
2015-02-09 11:34:25 +00:00
Adirelle 3dd95c14b9 Localisation support for dates throughout the front-end using moment.js.
Closes #734
Closes #732
2015-02-03 11:53:12 +00:00
Adam Cooper 191c767bac Move CSS into separate file, fix width of plugins that use tables and adds table-responsive class for smaller screens.
Closes #755
2015-02-03 11:38:16 +00:00
Lee Willis bad53fe51b Move legends to below chart to avoid word wrapping issues
Closes #773
2015-02-03 10:12:36 +00:00
Dan Cryer c1ac322d93 Fixes 2014-12-22 16:18:33 +00:00
Artjom Kurapov 6faf24ae25 Logarithmic vertical scale for charts
Since we have one diagram for multiple results, we may have PHPCS result giving 12000 errors, while PHPUnit gives 200 tests, and 1 failed test.. those numbers and their variation won't be very visible, unless we use logarithmic scale

Closes #686
2014-12-22 16:05:31 +00:00
Dan Cryer 5a9e71adc5 Merge fixes 2014-12-18 10:45:21 +00:00
Stephen Ball 9ced5a4097 New plugin to support PHP TAL linting.
Closes #701
2014-12-18 09:45:17 +00:00
Dan Cryer 3db08c7315 Switching to using moment.js for times in JS, rather than a custom solution. Fixes #688 2014-12-07 11:51:41 +00:00
Dan Cryer 62b957fb83 View build 2014-12-04 13:08:48 +00:00
Dan Cryer 95b7f271d1 Dashboard updated to support languages 2014-12-04 11:14:04 +00:00
Dan Cryer 5698cbac5b Merge branch 'master' of github.com:Block8/PHPCI into dc/languages 2014-12-04 10:23:16 +00:00
Dan Cryer 9ceb2841d8 Initial commit 2014-12-04 10:23:10 +00:00
Dan Cryer eea1da0064 Fixes for date JS issues in Safari 2014-12-03 20:53:46 +00:00
Dan Cryer 43fef1539f Front-End Upgrade: New UI Based on Admin LTE.
Closes #673
2014-12-03 15:30:36 +00:00
michael.schramm aa27bf80c7 Improved PHPSpec plugin. Now includes a UI Plugin. 2014-12-03 12:21:55 +00:00
Oliver Nordbjerg 71ce377352 Switch build status image to use Shields.io SVG icon.
Closes #439
2014-12-03 12:08:04 +00:00
Stéphane HULARD b4493cfa03 Update the create project form to only normalise project names if a format is provided for the project type.
Closes #538
2014-11-13 17:41:16 +00:00
Tobias van Beek 4240a65983 Add .htaccess example
Rename htaccess.example to .htaccess.dist

Following the recommendation

Close #544
2014-10-20 22:17:40 +02:00
Adam Cooper abd50bf4bd Adding a branch filter to the project page, allowing users to view builds from a specific branch.
Closes #600
2014-10-16 16:10:24 +01:00
Stan Gumeniuk 2a9dda7526 Updating the PHP Code Sniffer UI plugin to fix the line number link. 2014-10-16 16:00:06 +01:00
Dan Cryer 4d4912a09d Adding handling of HTTP 401 status codes in Ajax requests. Fixes #504 2014-07-30 14:32:38 +01:00
Dan Cryer 46c03e030e Fixing incorrect method call BuildService::delete() and making the project page reload when a build is deleted. Fixes #528 2014-07-29 15:07:26 +01:00
Dan Cryer 3459e86e92 Merge pull request #457 from corpsee/pagination-fix
Project builds pagination improvements
2014-06-13 13:50:47 +01:00
Stephen Ball fd0c68ff15 Adding a build status JS plugin for PHPCPD 2014-06-12 16:06:59 +00:00
Dmitry Khomutov b577aaebfd Project builds pagination improvements 2014-06-08 23:46:42 +07:00
Ange7 0a32ddce01 public/assets/js/phpci.js : Fix IF syntax
public/assets/js/phpci.js : Fix IF syntax for quick links menu
2014-05-19 16:42:02 +02:00
Alexandre Russo 9ed5179c2b Add quick links in menu and set position as fixed for better navigation 2014-05-19 16:12:14 +02:00
Dan Cryer c7c9215121 Merge pull request #432 from devzorg/build-status-svg
Adding / SVG support build status
2014-05-18 09:49:14 +01:00
devzorg 3c269b8c10 Fix / Collapse and word wrap fix for a block with the ssh-key. 2014-05-17 21:36:25 +04:00
devzorg 207da4931e Adding / SVG support build status 2014-05-16 22:10:47 +04:00
James Inman e898306990 Fixing graph for docblock checker. 2014-05-14 11:04:37 +01:00
Dan Cryer eb155cc027 Update index.php 2014-05-12 17:26:40 +01:00
Dmitry Khomutov 174a9ee95e Fixed public key text outinf of panel border 2014-05-10 21:06:16 +07:00
Dan Cryer cc99df4c5a Updating UI plugins to fix memory leak reported in #394 2014-05-09 15:34:14 +01:00
Dan Cryer 9ecd3bfa11 Adding PHP Docblock Checker plugin 2014-05-08 16:02:24 +00:00
Dan Cryer cb70b2d410 Updating PHPUnit plugin to provide a report like PHPMD and PHPCS, fixes #305 2014-05-02 14:36:34 +01:00
Dan Cryer 4197c9e34d Fixing the horrors of overly long lines, misalignment, and incorrect use of new lines. 2014-05-01 16:53:29 +01:00
Dan Cryer 616d52e025 UI updates 2014-04-30 14:13:07 +01:00
Dan Cryer 66bfcea8ed Migrating PHPMD to use XML report format and add a UI plugin to display warning information. See #305 2014-04-25 11:28:27 +00:00
Alexander Wenzel 00d779286c fix #335: unify (loc / quality trend) graph labels 2014-04-16 19:22:04 +02:00
Dan Cryer ba595f7e5f Merge pull request #341 from Block8/dc/installer-fixes
Fixes to improve installation
2014-04-16 09:29:27 +01:00
Alexander Wenzel f4bef26663 fix #334: fix flickering of quality trend graph; fix hidden data points for single errors / warnings 2014-04-12 00:11:46 +02:00
Dan Cryer 89432dac08 Adding blank lane at end of index.php 2014-04-10 16:31:48 +01:00
Dan Cryer 09eeb49a28 Removing web based installer, as it is more trouble than it is worth. 2014-04-10 15:37:28 +01:00
Josef Nevoral c003574f77 Fixed: Array access for $config, which is already object create in bootstrap.php 2014-02-04 23:04:49 +07:00
Dan Cryer aaa876d228 Merge pull request #257 from tobiastom/patch-2
Redirect after installation is broken
2014-01-28 08:57:32 -08:00
Tobias Tom c7de384750 Redirect after installation is broken
Currently the form just redirects to `/session/login`, which is wrong if PHPCI was installed into a subdirectory. 

This pull request fixes the URL that is used in the last form step.
2014-01-25 14:26:47 +01:00
Tobias Tom 37248fcd5b When phpci is default, it should be used.
The installer displays `phpci` as placeholders for the database settings (database and username).

When I do not change them the installer fails with this error:

`Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected' in /Users/tobias/Sites/PHPCI/vendor/block8/b8framework/b8/Database/Map.php on line 40`

I assume it is simply because they are not set. This pull requests uses the given values, or phpci as default.

In theory I would assume all the configuration values should be checked somehow. Is this just not implemented, or is it not desired?
2014-01-25 14:22:15 +01:00
Pavel Pavlov df2a8aeac2 Fixes #236 Javascript bug, delete build error 2013-12-31 13:46:23 +04:00
Steve B 6918addab4 Merge pull request #224 from freez10/master
UI Improvement: Modal confirmation dialog
2013-12-07 08:43:21 -08:00
Pavel Pavlov 148d30f74e Don't redirect or reload a page when confirmation dialog wasn't confirmed 2013-12-07 19:36:50 +04:00