Autocomplete for PostreSQL

This commit is contained in:
Marcin Łojewski
2017-12-30 10:23:52 +01:00
parent c6956d24af
commit 105f5b6762
3 changed files with 119 additions and 18 deletions

View File

@@ -20,7 +20,43 @@ specified user to login into any account. Use supervisor username and target
username separated by ';' to login as target user using supervisor's password
(ex. superuser;user).
Credits
The column autocomplete works only for MySQL and PostgreSQL database which is used to validate form data.
If you use other database use *occ* command to set the application config parameters with domain suffix.
For example to set 'sql_hostname' parameter in default domain use:
```occ config:app:set user_sql 'sql_hostname_default' --value='localhost'```
### Currently supported parameters
- sql_hostname
- sql_username
- sql_password
- sql_database
- sql_table
- sql_driver
- col_username
- col_password
- col_active
- col_displayname
- col_email
- col_gethome
- set_active_invert
- set_supervisor
- supervisor
- set_allow_pwchange
- set_default_domain
- set_strip_domain
- set_crypt_type
- set_mail_sync_mode
- set_enable_gethome
- set_gethome_mode
- set_gethome
- sql_group_table
- col_group_username
- col_group_name
### Credits
* Andreas Boehler for releasing the first version of this application
* Johan Hendriks provided his user_postfixadmin