Add TODOs

This commit is contained in:
Marcin Łojewski
2018-06-13 09:12:38 +02:00
parent 6d4c57193d
commit e3e6aded01

View File

@@ -139,6 +139,7 @@ CREATE TABLE sql_user_group
### WordPress ### WordPress
Thanks to this app, Nextcloud can easily integrate with Wordpress. Thanks to this app, Nextcloud can easily integrate with Wordpress.
In the Nextcloud user table settings of SQL Backends, configure it as: In the Nextcloud user table settings of SQL Backends, configure it as:
``` ```
User table: wp_users User table: wp_users
@@ -151,6 +152,7 @@ Hashing algorithm: Unix (Crypt)
### JHipster ### JHipster
It is very easy to integrate Nextcloud with JHipster. It is very easy to integrate Nextcloud with JHipster.
Follow the Using the Database instructions in [Using Jhipster in development](http://www.jhipster.tech/development/) to configure your database. Assume you chose MySQL as JHipster database. Follow the Using the Database instructions in [Using Jhipster in development](http://www.jhipster.tech/development/) to configure your database. Assume you chose MySQL as JHipster database.
In the Nextcloud user table settings of SQL Backends, configure it as: In the Nextcloud user table settings of SQL Backends, configure it as:
``` ```
@@ -162,54 +164,28 @@ Email column: email
Hashing algorithm: Unix (Crypt) Hashing algorithm: Unix (Crypt)
``` ```
## Features # Hash algorithms
Currently, it supports most of postfixadmin's encryption options, except dovecot and saslauthd.
It was tested and developed for a postfixadmin database.
Password changing is disabled by default, but can be enabled in the Admin area. TODO
Caution: user_sql does not recreate password salts, which imposes a security risk.
Password salts should be newly generated whenever the password changes.
The column autocomplete works only for MySQL and PostgreSQL database which is used to validate form data. # Development
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: ## Add new database support
```occ config:app:set user_sql 'sql_hostname_default' --value='localhost'``` TODO
## Add new hashing algorithm
### Currently supported parameters TODO
- sql_hostname # Acknowledgments
- 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_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
## Acknowledgments
This repository contains continuation of work done in [this repo](https://www.aboehler.at/hg/user_sql/). This repository contains continuation of work done in [this repo](https://www.aboehler.at/hg/user_sql/).
This plugin was heavily based on user_imap, user_pwauth, user_ldap and user_redmine!
This plugin is heavily based on user_imap, user_pwauth, user_ldap and user_redmine! Since version 4.0.0 the whole core implementation has been rewritten.
### Credits # Credits
* Andreas Boehler for releasing the first version of this application * Andreas Boehler for releasing the first version of this application
* Johan Hendriks provided his user_postfixadmin * Johan Hendriks provided his user_postfixadmin