You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,11 +47,11 @@ Here are all currently supported options.
47
47
48
48
Name | Description | Details
49
49
--- | --- | ---
50
-
**Allow display name change** | With this option enabled user can change its display name. The display name change is propagated to the database. | Optional.<br/>Default: false.<br/>Requires user's*Display name* column.
50
+
**Allow display name change** | With this option enabled user can change its display name. The display name change is propagated to the database. | Optional.<br/>Default: false.<br/>Requires: user *Display name* column.
51
51
**Allow password change** | Can user change its password. The password change is propagated to the database. See [Hash algorithms](#hash-algorithms). | Optional.<br/>Default: false.
52
52
**Use cache** | Use database query results cache. The cache can be cleared any time with the *Clear cache* button click. | Optional.<br/>Default: false.
53
53
**Hashing algorithm** | How users passwords are stored in the database. See [Hash algorithms](#hash-algorithms). | Mandatory.
54
-
**Email sync** | Sync e-mail address with the Nextcloud.<br/>- *None* - Disables this feature. This is the default option.<br/>- *Synchronise only once* - Copy the e-mail address to the Nextcloud storage if its not set.<br/>- *Nextcloud always wins* - Always copy the e-mail address to the database. This updates the user table.<br/>- *SQL always wins* - Always copy the e-mail address to the Nextcloud storage. | Optional.<br/>Default: *None*.<br/>Requires user's*Email* column.
54
+
**Email sync** | Sync e-mail address with the Nextcloud.<br/>- *None* - Disables this feature. This is the default option.<br/>- *Synchronise only once* - Copy the e-mail address to the Nextcloud storage if its not set.<br/>- *Nextcloud always wins* - Always copy the e-mail address to the database. This updates the user table.<br/>- *SQL always wins* - Always copy the e-mail address to the Nextcloud storage. | Optional.<br/>Default: *None*.<br/>Requires: user *Email* column.
55
55
**Home mode** | User storage path.<br/>- *Default* - Let the Nextcloud manage this. The default option.<br/>- *Query* - Use location from the user table pointed by the *home* column.<br/>- *Static* - Use static location. The `%u` variable is replaced with the username of the user. | Optional<br/>Default: *Default*.
56
56
**Home Location** | User storage path for the `static`*home mode*. | Mandatory if the *Home mode* is set to `Static`.
It is very easy to integrate Nextcloud with JHipster.
155
155
156
-
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.
156
+
Follow the Using the Database instructions in [Using Jhipster in development](http://www.jhipster.tech/development/)
157
+
to configure your database. Assume you chose MySQL as JHipster database.
157
158
In the Nextcloud user table settings of SQL Backends, configure it as:
158
159
```
159
160
User table: jhi_users
@@ -170,13 +171,16 @@ TODO
170
171
171
172
## Development
172
173
173
-
#### Add new database support
174
+
#### New database driver support
174
175
175
-
TODO
176
-
177
-
#### Add new hashing algorithm
176
+
Add a new class in the `OCA\UserSQL\Platform` namespace which extends the `AbstractPlatform` class.
177
+
Add this driver in `admin.php` template to `$drivers` variable and in method `getPlatform(Connection $connection)`
178
+
of `PlatformFactory` class.
178
179
179
-
TODO
180
+
#### New hashing algorithm support
181
+
182
+
Create a new class in `OCA\UserSQL\Crypto` namespace which implements `IPasswordAlgorithm` interface.
0 commit comments