Add dendrite captcha config to doc and hCaptcha (#2290)
* added dendrite captcha options * added hcaptcha doc * proper url * Apply suggestions from code review Co-authored-by: Slavi Pantaleev <slavi@devture.com> * Update main.yml * renamed captcha vars to new naming scheme * change vars to new format * Rename back some incorrect renamed variables These variables are either not just part of the `client_api` subsection, or are not even part of that section at all. They shouldn't have been renamed in baaef2ed616e2645550d9 * Fix up naming inconsistencies Some of these variables had been renamed in one place, but not in other places, so it couldn't have worked that way. * Add validation/deprecation for renamed Dendrite variables Related to 4097898f885cf4c73, baaef2ed616e2645550, 68f4418092fa8ad and a0b4a0ae6b2f1f18 Co-authored-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
committed by
GitHub
parent
16c18b0344
commit
504d4a4134
@ -76,7 +76,7 @@ matrix_dendrite_systemd_wanted_services_list: []
|
||||
# matrix_dendrite_template_dendrite_config: "{{ playbook_dir }}/inventory/host_vars/<host>/dendrite.yaml.j2"
|
||||
matrix_dendrite_template_dendrite_config: "{{ role_path }}/templates/dendrite/dendrite.yaml.j2"
|
||||
|
||||
matrix_dendrite_registration_shared_secret: ''
|
||||
matrix_dendrite_client_api_registration_shared_secret: ''
|
||||
matrix_dendrite_allow_guest_access: false
|
||||
|
||||
matrix_dendrite_max_file_size_bytes: 10485760
|
||||
@ -89,18 +89,21 @@ matrix_dendrite_sync_api_real_ip_header: ''
|
||||
matrix_dendrite_tmp_directory_size_mb: 500
|
||||
|
||||
# Rate limits
|
||||
matrix_dendrite_rate_limiting_enabled: true
|
||||
matrix_dendrite_rate_limiting_threshold: 20
|
||||
matrix_dendrite_rate_limiting_cooloff_ms: 500
|
||||
matrix_dendrite_client_api_rate_limiting_enabled: true
|
||||
matrix_dendrite_client_api_rate_limiting_threshold: 20
|
||||
matrix_dendrite_client_api_rate_limiting_cooloff_ms: 500
|
||||
|
||||
# Controls whether people with access to the homeserver can register by themselves.
|
||||
matrix_dendrite_registration_disabled: true
|
||||
matrix_dendrite_client_api_registration_disabled: true
|
||||
|
||||
# reCAPTCHA API for validating registration attempts
|
||||
matrix_dendrite_enable_registration_captcha: false
|
||||
matrix_dendrite_recaptcha_public_key: ""
|
||||
matrix_dendrite_recaptcha_private_key: ""
|
||||
matrix_dendrite_recaptcha_siteverify_api: "https://www.google.com/recaptcha/api/siteverify"
|
||||
matrix_dendrite_client_api_enable_registration_captcha: false
|
||||
matrix_dendrite_client_api_recaptcha_public_key: ""
|
||||
matrix_dendrite_client_api_recaptcha_private_key: ""
|
||||
matrix_dendrite_client_api_recaptcha_siteverify_api: ""
|
||||
matrix_dendrite_client_api_recaptcha_api_js_url: ""
|
||||
matrix_dendrite_client_api_recaptcha_form_field: ""
|
||||
matrix_dendrite_client_api_recaptcha_sitekey_class: ""
|
||||
|
||||
# A list of additional "volumes" to mount in the container.
|
||||
# This list gets populated dynamically based on Dendrite extensions that have been enabled.
|
||||
@ -147,11 +150,10 @@ matrix_dendrite_userapi_database: "dendrite_userapi"
|
||||
matrix_dendrite_pushserver_database: "dendrite_pushserver"
|
||||
matrix_dendrite_mscs_database: "dendrite_mscs"
|
||||
|
||||
matrix_dendrite_turn_uris: []
|
||||
matrix_dendrite_turn_shared_secret: ""
|
||||
matrix_dendrite_turn_allow_guests: false
|
||||
matrix_dendrite_client_api_turn_uris: []
|
||||
matrix_dendrite_client_api_turn_client_api_shared_secret: ""
|
||||
matrix_dendrite_client_api_turn_allow_guests: false
|
||||
|
||||
# Controls whether the self-check feature should validate TLS certificates.
|
||||
matrix_dendrite_disable_tls_validation: false
|
||||
|
||||
matrix_dendrite_trusted_id_servers:
|
||||
|
Reference in New Issue
Block a user