20 KiB
20 KiB
Change Log
PHP Censor v0.17.0 (2017-09-03)
- Fixed build stages workflow. If
setup
,test
ordeploy
stage failed then next stages (setup
,test
ordeploy
) skip. - Fixed failures for notification plugins (Now notification failures doesn't fail all build). Thanks to @SimonHeimberg. PullRequest #113.
- Fixed error with
allowed_errors
/allowed_warnings
in PhpCodeSniffer plugin. Thanks to @SimonHeimberg. PullRequest #101. - Added ability to create comments on Bitbucket for commits and pull requests (Like on Github). Thanks to @StudioMaX. PullRequest #112.
- Added "Remember me functionality on login page. Issue #81.
- Added daily rotate logger for console commands. Issue #108.
- Added param
priority_path
(For all plugins) for control paths priority when we search plugin binary. Issue #104. - Added regex pattern for branch specific config. Issue #97.
- Added JUnit result parser for PHPUnit plugin (for PHPUnit >= 6.0). Thanks to @SimonHeimberg. PullRequest #102, #105.
- Improved public status page UI (Added environment and duration, fixed table cell height).
- Improved Shell plugin documentation. Thanks to @SimonHeimberg. PullRequest #103.
- Improved documentation. Thanks to @SimonHeimberg. PullRequest #110, #111.
- Improved Worker (Daemon) documentation about
nohug
andsystemd
. Thanks to @ketchoop. PullRequest #98, #100. - Improved documentation about PHP Censor update.
- Added new PHP Censor logo.
- Updated dependencies.
PHP Censor v0.16.0 (2017-07-16)
- Removed HttpClient class and changed it to Guzzle library.
- Added config option
php-censor.build.writer_buffer_size
for configuringBuildErrorWriter->buffer_size
property (Count of inserts in the one SQL query). Default value: 500. Thanks to @LEXASOFT for the idea. - Added params 'email' and 'message' for
php-censor:create-build
console command. Thanks to @SimonHeimberg. PullRequest #92. - Fixed project create/edit form fields order.
- Fixed debug mode for 'Build now' button.
- Fixed
FileLink
for builds (Link to branch -> link to commit). Thanks to @SimonHeimberg. PullRequest #90. - Fixed error in
sendStatusPostback
in the build. - Fixed build_meta.meta_value column type (
TEXT
->LONGTEXT
) for MySQL. Issue #94. - Improved build log build directory appearence ('/' -> './'). Thanks to @SimonHeimberg. PullRequest #93.
- Improved documentation. Thanks to @SimonHeimberg. PullRequest #83, #84, #96. Issue #2.
- Improved email address format for notifications (Field 'from').
- Updated dependencies. Issue #79.
PHP Censor v0.15.0 (2017-06-10)
- Removed PollCommand.
- Fixed worker fail with eternal log writing. Issue #68.
- Fixed bulk error writing error (
SQLSTATE[HY000]: General error: 7 number of parameters must be between 0 and 65535
). Issue #66. - Fixed PDO PostgreSQL connection without installed
pdo_mysql
extension. Issue #73. - Fixed
/app
directory in Git repository. Issue #73. - Fixed branches for SVN build. Issue #65.
- Fixed PhpCsFixer directory option. Issue #75.
- Fixed webhook for GitHub pull requests from private repositories. Thanks to @StudioMaX. PullRequest #76, #78.
- Improved logging configuration (Now logging autostart without special config
loggerconfig.php
). Issue #59. - Removed
using_custom_file
application config (app/config.yml
) option. - Improved build-status/view page (Added build links, icons, date etc.). Issue #23.
- Improved default branch for SVN (Added ability to set branch full name like
branches/branch-1
or/branch/branch-2
). Issue #67.
PHP Censor v0.14.0 (2017-05-15)
- Added text wrap for build log.
- Fixed build branch in dashboard timeline. Thanks to @JoolsMcFly. PullRequest #62.
- Fixed project clone to working directory in Alpine Linux 3.5. Issue #61.
- Fixed environment field in build table.
- Fixed Database::lastInsertId call for PostgreSQL.
- Fixed SensioLabs Security Checker warning: squizlabs/php_codesniffer (2.7.1) - Arbitrary shell execution (Updated squizlabs/php_codesniffer).
- Fixed pagination for environments in project/view page and ajax builds update.
- Fixed builds for branches with special chars (like '#, /' etc.).
- Fixed and refactored plugin PhpCsFixer. Issue #63.
- Improved webhook for GitHub: builds only one head commit per push.
- Improved webhook for GitHub: added tag build and UI information about tag.
- Improved error page.
- Improved UI and code style.
PHP Censor v0.13.0 (2017-04-10)
- Added Environments. Thanks to @ss-gxp. PullRequest #41, #47, #52. For details see documentation.
- Added write cache for build log (It's increase build speed). Thanks to @ss-gxp. PullRequest #45, #48.
- Added write cache for build errors (It's increase build speed). Thanks to @ss-gxp. Issue #49. PullRequest #50.
- Added SensioLabs Security Checker Plugin (This plugin is "zero-config" and used in builds without config). Issue #27. Config example:
test:
security_checker:
allowed_warnings: -1
- Added allowed fail status for plugins (See build summary in the build page).
- Added
suggest
section tocomposer.json
. Issue #53. - Fixed build execution with many workers. Thanks to @ss-gxp. PullRequest #51.
- Fixed build view (Added html encoding for build errors output). Thanks to @ss-gxp. PullRequest #54.
- Fixed exception when plugin runs without options (Like "php_parallel_lint: "). Issue #44.
- Fixed TechnicalDebt Plugin configuration parameters. Thanks to @bochkovprivate. PullRequest #55.
- Fixed PHPCpd plugin documentation. Thanks to @bochkovprivate. PullRequest #56.
- Improved plugins code.
- Improved UI.
PHP Censor v0.12.0 (2017-03-25)
test:
...
deploy:
deployer:
webhook_url: "http://deployer.local/deploy/xxxxx"
reason: "PHP Censor Build #%BUILD% - %COMMIT_MESSAGE%"
update_only: true
- Added Magallanes (Mage) deployment plugin. Thanks to @ss-gxp. PullRequest #36, #40. Build config example:
deploy:
mage:
env: production
bin: /usr/local/bin/mage
- Added build duration on Dashboard Timeline. Thanks to @JoolsMcFly. PullRequest #33
- Added support for Mercurial (Hg) based repos in Bitbucket (BitbucketHgBuild). Used @bochkovprivate code.
- Fixed 'CommitterEmail' parameter in bitbucket webhook. Used @bochkovprivate code.
- Fixed 'branch' parameter in Mercurial (Hg) build. Used @bochkovprivate code.
- Fixed language select on user/edit page
- Fixed localization for 'project_group' string. Thanks to @JoolsMcFly. PullRequest #39
- Fixed PHPUnit plugin behavior for case without tests
- Code style fixes, fixes for tests, improvements for documentation
- Removed useless daterangepicker and datepicker. Issue #37
- Improved PhpCodeSniffer plugin. Thanks to @ValerioOnGithub. PullRequest #31, #35, #42
- Improved French localization. Thanks to @JoolsMcFly. PullRequest #39
PHP Censor v0.11.0 (2017-03-12)
- Added duration column to the project page
- Fixed Build.log column size for MySQL (removed "NOT NULL")
- Fixed PhpCpd ignore option. Used @ZinitSolutionsGmbH code.
- Fixed shell plugin execution. Issue #30.
- Fixed pagination position in the project view (UI)
- Fixed branch link in the timeline (UI)
- Code style fixes
- Improved README, Docs and CHANGELOG
PHP Censor v0.10.0 (2017-02-24)
- Added 'Build with debug' button to the project page (For admin user). Issue #22.
- Fixed quoting for database entities.
- Fixed project config reload for worker between builds. Issue #17.
- Fixed problem with runtime/status_cache directory. Issue #19.
- Fixed add/edit project page. Issue #21.
- Fixed form name pattern. Thanks to @ket4yii. PullRequest #24.
- Fixed build.log column size for MySQL (text -> longtext). Issue #26.
- Fixed build_error.message column size (varchar(255) -> text).
- Fixed profile language saving. Issue #11.
- Fixed builds for branches which start with a hash character. Used @soulflyman code.
- Improved Gogs support. Thanks to @vinpel. PullRequest #25.
- Improved TravisCI build settings (Added DB tests for PostgreSQL and MySQL).
- Improved README.
PHP Censor v0.9.0 (2017-02-11)
- Fixed multiple install command execution (Now admin and project group don't duplicate).
- Added yaml highlight for build config in project page.
- Improved Gogs support. Thanks to @vinpel. PullRequest #18.
- Improved dashboard UI.
PHP Censor v0.8.0 (2017-02-09)
- Refactored console/commands. Removed localization from logs.
- Removed hacks for Windows (IS_WIN constant). Because it doesn't work on Windows normally anyway.
- Improved README and Documentation.
- Added param
config-from-file
for installing application with prepared config:
cd ./php-censor.local
# Non-interactive installation with prepared config.yml file
./bin/console php-censor:install --config-from-file=yes --admin-name=admin --admin-password=admin --admin-email='admin@php-censor.local'
- Added params for non-interactive admin creating:
cd ./php-censor.local
# Non-interactive admin creating
./bin/console php-censor:create-admin --admin-name=admin --admin-password=admin --admin-email='admin@php-censor.local'
- Added caching for public build status badge. Issue #15.
- Added build from Gogs (build type and webhook). The feature is based on @denji's code. Issue #13.
- Improved Codeception plugin. Thanks to @vinpel. PullRequest #16.
- Updated french translation. Thanks to @vinpel. PullRequest #16.
- Fixed init language. Issue #9.
PHP Censor v0.7.0 (2017-01-29)
- Application closed for search robots
- Improved README.md and added CHANGELOG.md file
- Renamed application configuration (
app/config.yml
) section for work with queue
The old way to configure queue:
php-censor:
worker:
host: localhost
queue: php-censor-queue
job_timeout: 600
And a new way:
php-censor:
queue:
host: localhost
name: php-censor-queue
lifetime: 600
- Added PostgreSQL support as application DB. Changed DB configuration
The old way to configure DB:
b8:
database:
servers:
read: 'localhost:3306'
write: 'localhost:3306'
name: php-censor-db
username: php-censor-user
password: php-censor-password
And a new way:
b8:
database:
servers:
read:
- host: localhost
port: 3306
write:
- host: localhost
port: 3306
type: mysql
name: php-censor-db
username: php-censor-user
password: php-censor-password
Type of DB (type
) should be mysql
or pgsql
PHP Censor v0.6.0 (2017-01-22)
- Added pluggable authentication and LDAP authentication provider
php-censor:
security:
auth_providers:
internal:
type: internal
ldap-php-censor:
type: ldap
data:
host: 'ldap.php-censor.local'
port: 389
base_dn: 'dc=php-censor,dc=local'
mail_attribute: mail
If you enter by new LDAP-user, the record in the DB will be created automatically. The basement of the feature is @Adirelle and @dzolotov code.
- Unified application configuration (app/config.yml) authentication options
The old way to disable authentication:
php-censor:
autentication_settings:
state: true
user_id: 1
And a new way:
php-censor:
security:
disable_auth: true
default_user_id: 1
PHP Censor v0.5.0 (2017-01-21)
- Fixed projects archive (Archived projects can not be built and projects moved to the archive section)
- Added option to the application configuration (
app/config.yml
) to allow/deny removing the build directory after build (php-censor.build.remove_builds
)
php-censor:
build:
remove_builds: true
- Added options to the application configuration (
app/config.yml
) to allow/deny sending errors in the commits/pull requests as comments on Github (php-censor.github.comments.commit
andphp-censor.github.comments.pull_request
)
php-censor:
github:
token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
comments:
commit: false
pull_request: false
- Improved plugin Codeception
- Removed agent/worker Daemon mode (You should use Worker mode instead)
- Removed pluginconfig configuration file (You should use plugin full name including the namespace)
test:
\PluginNamespace\Plugin:
allow_failures: true
PHP Censor v0.4.0 (2017-01-15)
- Fixed delete confirmation for all items
- Added ajax update for the main page (dashboard)
- Added public status information to the project page
- UI and localization fixes
PHP Censor v0.3.0 (2017-01-11)
- Improved UI
- Updated dependencies
- Updated PHPUnit from 4.8 to 5.7
- Improved build without config
PHP Censor v0.2.0 (2017-01-07)
- Improved PHPUnit plugin
- Improved UI
- Added login by name (name or email)
- Fixed public build status page
PHP Censor v0.1.0 (2017-01-04)
Initial release. Changes from PHPCI (1.7.1):
- Upped PHP minimal version from 5.3 to 5.6
- Fixed tests and other small fixes
- Redesigned project structure
- Added more debug info into the build log
- Moved CSS/JS dependencies from sources to Composer dependencies (asset-packagist.org)
- Added item per page parameter for build list
PHP Censor v0 (2016-06-23)
Project started