Added russian doc configuring-application.md.
This commit is contained in:
parent
216917ef7e
commit
ce3e1dc712
|
@ -163,7 +163,7 @@ to [@vinpel](https://github.com/vinpel). Pull request [#141](https://github.com/
|
||||||
- Filtration for errors by severity and plugin. Issue [#85](https://github.com/php-censor/php-censor/issues/85).
|
- Filtration for errors by severity and plugin. Issue [#85](https://github.com/php-censor/php-censor/issues/85).
|
||||||
- Links to errors from summary block (Information tab). Issue [#85](https://github.com/php-censor/php-censor/issues/85).
|
- Links to errors from summary block (Information tab). Issue [#85](https://github.com/php-censor/php-censor/issues/85).
|
||||||
- New dashboard widget with only failed projects (See
|
- New dashboard widget with only failed projects (See
|
||||||
[documentation](https://github.com/php-censor/php-censor/blob/master/docs/en/configuring.md#dashboard-widgets)).
|
[documentation](https://github.com/php-censor/php-censor/blob/master/docs/en/configuring-application.md#dashboard-widgets)).
|
||||||
Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request [#131](https://github.com/php-censor/php-censor/pull/131).
|
Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request [#131](https://github.com/php-censor/php-censor/pull/131).
|
||||||
- Ability to call Git webhook by project name instead id. Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request
|
- Ability to call Git webhook by project name instead id. Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request
|
||||||
[#132](https://github.com/php-censor/php-censor/pull/132).
|
[#132](https://github.com/php-censor/php-censor/pull/132).
|
||||||
|
@ -171,7 +171,7 @@ Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request [#131](https://gith
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Dashboard on the index page, now dashboard more flexible and include separated widgets (See
|
- Dashboard on the index page, now dashboard more flexible and include separated widgets (See
|
||||||
[documentation](https://github.com/php-censor/php-censor/blob/master/docs/en/configuring.md#dashboard-widgets)).
|
[documentation](https://github.com/php-censor/php-censor/blob/master/docs/en/configuring-application.md#dashboard-widgets)).
|
||||||
Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request [#131](https://github.com/php-censor/php-censor/pull/131).
|
Thanks to [@ss-gxp](https://github.com/ss-gxp). Pull request [#131](https://github.com/php-censor/php-censor/pull/131).
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -10,7 +10,7 @@ Getting Started
|
||||||
* [Run builds using cronjob](workers/cron.md)
|
* [Run builds using cronjob](workers/cron.md)
|
||||||
* [Adding PHP Censor Support to Your Projects](configuring_project.md)
|
* [Adding PHP Censor Support to Your Projects](configuring_project.md)
|
||||||
* Updating PHP Censor (See [README](../../README.md))
|
* Updating PHP Censor (See [README](../../README.md))
|
||||||
* [Configuring PHP Censor](configuring.md)
|
* [Configuring PHP Censor](configuring-application.md)
|
||||||
|
|
||||||
Using PHP Censor
|
Using PHP Censor
|
||||||
----------------
|
----------------
|
||||||
|
|
|
@ -15,7 +15,7 @@ Configuration
|
||||||
* **template** - The template to use, options are short and long. Default is short on success and long otherwise.
|
* **template** - The template to use, options are short and long. Default is short on success and long otherwise.
|
||||||
|
|
||||||
**Note:** _This plugin will only work if you configured email settings during installation or configured them later in
|
**Note:** _This plugin will only work if you configured email settings during installation or configured them later in
|
||||||
[`config.yml`](../configuring.md)._
|
[`config.yml`](../configuring-application.md)._
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
See [Adding PHP Censor Support to Your Projects](../configuring_project.md) for more information about how to configure plugins.
|
See [Adding PHP Censor Support to Your Projects](../configuring_project.md) for more information about how to configure plugins.
|
||||||
|
|
109
docs/ru/configuring-application.md
Normal file
109
docs/ru/configuring-application.md
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
Настройка PHP Censor
|
||||||
|
====================
|
||||||
|
|
||||||
|
Формат конфигурационного файла
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
Ниже приведен пример конфигурационного файла приложения:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
b8:
|
||||||
|
database:
|
||||||
|
servers:
|
||||||
|
read:
|
||||||
|
- host: localhost
|
||||||
|
port: 3306
|
||||||
|
write:
|
||||||
|
- host: localhost
|
||||||
|
port: 3306
|
||||||
|
type: mysql # Database type: "mysql" or "pgsql"
|
||||||
|
name: php-censor-db
|
||||||
|
username: php-censor-user
|
||||||
|
password: php-censor-password
|
||||||
|
php-censor:
|
||||||
|
language: en
|
||||||
|
per_page: 10
|
||||||
|
url: 'http://php-censor.local'
|
||||||
|
email_settings:
|
||||||
|
from_address: 'PHP Censor <no-reply@php-censor.local>'
|
||||||
|
smtp_address: null
|
||||||
|
smtp_port: null
|
||||||
|
smtp_username: null
|
||||||
|
smtp_password: null
|
||||||
|
smtp_encryption: false
|
||||||
|
queue:
|
||||||
|
use_queue: true
|
||||||
|
host: localhost
|
||||||
|
name: php-censor-queue
|
||||||
|
lifetime: 600
|
||||||
|
log:
|
||||||
|
rotate: true
|
||||||
|
max_files: 10
|
||||||
|
bitbucket:
|
||||||
|
username: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
|
app_password: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
||||||
|
comments:
|
||||||
|
commit: false # This option allow/deny to post comments to Bitbucket commit
|
||||||
|
pull_request: false # This option allow/deny to post comments to Bitbucket Pull Request
|
||||||
|
status:
|
||||||
|
commit: false # This option allow/deny to post status to Bitbucket commit
|
||||||
|
github:
|
||||||
|
token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
||||||
|
comments:
|
||||||
|
commit: false # This option allow/deny to post comments to Github commit
|
||||||
|
pull_request: false # This option allow/deny to post comments to Github Pull Request
|
||||||
|
status:
|
||||||
|
commit: false # This option allow/deny to post status to Github commit
|
||||||
|
build:
|
||||||
|
remove_builds: true # This option allow/deny build cleaning
|
||||||
|
writer_buffer_size: 500 # BuildErrorWriter buffer size (count of inserts in one SQL query)
|
||||||
|
security:
|
||||||
|
disable_auth: false # This option allows/deny you to disable authentication for PHP Censor
|
||||||
|
default_user_id: 1 # Default user when authentication disabled
|
||||||
|
auth_providers: # Authentication providers
|
||||||
|
internal:
|
||||||
|
type: internal # Default provider (PHP Censor internal authentication)
|
||||||
|
ldap:
|
||||||
|
type: ldap # Your LDAP provider
|
||||||
|
data:
|
||||||
|
host: 'ldap.php-censor.local'
|
||||||
|
port: 389
|
||||||
|
base_dn: 'dc=php-censor,dc=local'
|
||||||
|
mail_attribute: mail
|
||||||
|
dashboard_widgets:
|
||||||
|
all_projects:
|
||||||
|
side: left
|
||||||
|
last_builds:
|
||||||
|
side: right
|
||||||
|
```
|
||||||
|
|
||||||
|
### Настройки базы данных
|
||||||
|
|
||||||
|
### Общие настройки
|
||||||
|
|
||||||
|
### Почтовые настройки
|
||||||
|
|
||||||
|
### Настройки очереди сборок
|
||||||
|
|
||||||
|
### Настройки логирования
|
||||||
|
|
||||||
|
### Настройки интеграции с BitBucket
|
||||||
|
|
||||||
|
### Настройки интеграции с GitHub
|
||||||
|
|
||||||
|
### Настройки сборки
|
||||||
|
|
||||||
|
### Настройки безопасности
|
||||||
|
|
||||||
|
### Настройки панели управления
|
||||||
|
|
||||||
|
* `all_projects` - all projects build status
|
||||||
|
* `last_builds` - last builds
|
||||||
|
* `build_errors` - not successful builds
|
||||||
|
|
||||||
|
Each widget can be located in the left or right column, use the `side` option for this:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
all_projects:
|
||||||
|
side: left
|
||||||
|
```
|
Loading…
Reference in a new issue