Commit Graph

289 Commits

Author SHA1 Message Date
Claus-Justus Heine
f6bcde7e6d Move to IBootstrap initialization and remove the deprecated appinfo/app.php 2025-04-17 11:54:20 +02:00
Claus-Justus Heine
1dfe332e78 Claim to support NC 30 2024-08-17 17:44:19 +02:00
Claus-Justus Heine
c1475ce743 Claim to support v29 2024-04-08 17:11:20 +02:00
Claus-Justus Heine
9d0ef4e4fe Add getBackendName() and inherit from INamedBackend 2024-01-29 08:58:38 +01:00
Claus-Justus Heine
a484e1a327 Update appinfo vo NC 28 2024-01-06 18:50:58 +01:00
Claus-Justus Heine
3cc3bf294a Do not count disabled users.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 15:59:06 +02:00
Claus-Justus Heine
2d83a888f7 Claim to support >= PHP 8.0 and NC 25-27
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:23 +02:00
Claus-Justus Heine
7da80d207a Implement ISearchableGroupBackend
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:23 +02:00
Claus-Justus Heine
662b849ed9 Fix broken MySQL example in the README and clarify the meaning of the username column.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:23 +02:00
Claus-Justus Heine
639b9cf995 QueryProvider: use left joins and fix the use of the "disabled" column.
The code used union selects; left joins at least are easier to read. In
some places it was also not so clear that the WHERE part for the
disabled column really worked.

The query FIND_GROUP_USERS also needs to take the disabled column in to
account.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:23 +02:00
Claus-Justus Heine
df5a550fbd DataQuery: properly log exceptions.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:22 +02:00
Claus-Justus Heine
338c6b6ffb Claim NC 27 is supported
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:22 +02:00
Claus-Justus Heine
bb1f370e16 Fix \ArrayAccess type warnings
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:22 +02:00
Claus-Justus Heine
26930efc25 DateQuery: use try-catch around statement prepare.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:22 +02:00
Claus-Justus Heine
e9ccbd95d6 UserBackend: users fetched from the cache have to be converted back from an array representation to the User-object.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:21 +02:00
Claus-Justus Heine
05360d8aa2 Support NC 25.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:21 +02:00
Claus-Justus Heine
f1ca19cb67 Set max version to 24
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:21 +02:00
Claus-Justus Heine
b39421d32d Selecting and counting users from the User-Group table needs DISTINCT to avoid duplicates.
In particular when using the catch-all group ("Default Group" setting)
the queries which count and select users from the User-Group table need
the "DISTINCT" option: the catch-all group is replaced by a '%'
wild-card in the query. As users may belong by design to more than one
group counting and selecting users comes out wrong. Even worse: the many
duplicates interfere with the paging logic of the user admin-settings.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:21 +02:00
Claus-Justus Heine
b1819aa32e Add @AuthorizedAdminSetting to all controller methods.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:20 +02:00
Claus-Justus Heine
ad513bda3e Allow delegation of admin settings.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-08-22 12:59:20 +02:00
Marcin Łojewski
91e8cac761 Release version 4.7.1 2021-11-06 19:48:11 +01:00
Marcin Łojewski
6ba8a4398b Release version 4.7.0 2021-03-24 19:06:34 +01:00
Marcin Łojewski
49d1c76a61 Support Doctrine 3 2021-03-24 11:53:35 +01:00
Marcin Łojewski
09d710fc84 Version 4.7.0-dev 2021-01-16 18:36:51 +01:00
Marcin Łojewski
7bec00dcb7 Support version 20 2021-01-16 18:35:20 +01:00
Marcin Łojewski
17ba698b23 Support version 20 2021-01-16 18:33:07 +01:00
Marcin Łojewski
0742ff313d Merge branch 'develop' of github.com:nextcloud/user_sql into develop 2020-12-26 14:00:27 +01:00
Marcin Łojewski
4975730363 Max version 21 2020-12-26 13:42:48 +01:00
Marcin Łojewski
43d4088c55 Merge pull request #142 from fxmw11/master
MySQL over SSL
2020-12-26 13:39:21 +01:00
Marcin Łojewski
462974559a Merge remote-tracking branch 'origin/master' into develop 2020-12-25 18:45:13 +01:00
Marcin Łojewski
fc49c8ade7 Merge pull request #146 from nextcloud/feature/noid/use-new-dispatcher-for-password_policy
Use new dispatcher for password policy event
2020-07-12 16:14:52 +02:00
Marcin Łojewski
a17a52ea4a Comments alignment 2020-07-12 16:11:29 +02:00
Morris Jobke
08ac663fc2 Use new dispatcher for password policy event
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-09 22:07:51 +02:00
Morris Jobke
482c5c65c4 Merge pull request #145 from nextcloud/revert-144-feature/noid/use-new-dispatcher-for-password_policy
Revert "Use new dispatcher for password policy event"
2020-07-09 22:07:33 +02:00
Morris Jobke
0f55c3d70b Revert "Use new dispatcher for password policy event" 2020-07-09 22:07:24 +02:00
Christoph Wurst
56d412c027 Merge pull request #144 from nextcloud/feature/noid/use-new-dispatcher-for-password_policy
Use new dispatcher for password policy event
2020-07-09 22:04:38 +02:00
Morris Jobke
5facd20111 Use new dispatcher for password policy event
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-09 22:02:09 +02:00
Felix
204c5c5f0b MySQL over SSL
Signed-off-by: Felix <felix.nz@hotmail.de>
2020-06-08 17:07:55 +02:00
Marcin Łojewski
d6cbc24dad Fix issue#123 2020-04-13 22:27:42 +02:00
Marcin Łojewski
765eeab6c0 version 4.6.0-dev 2020-04-13 16:47:09 +02:00
Marcin Łojewski
5ee566f9b5 Release version 4.5.0 2020-04-13 16:44:12 +02:00
Marcin Łojewski
a483168890 Default group option. issue#107 2020-04-13 16:32:15 +02:00
Marcin Łojewski
d7735280a0 Hash HMAC algo 2020-04-13 15:28:50 +02:00
Marcin Łojewski
7e9af00145 GID group column 2020-04-13 13:08:16 +02:00
Marcin Łojewski
e607f5c5d3 firstNonemptyProperty 2020-04-13 12:17:48 +02:00
Marcin Łojewski
059d923bdd Merge branch 'palmtown-master' into develop 2020-04-13 11:48:19 +02:00
Marcin Łojewski
c7e73f2fbb Merge branch 'master' of https://github.com/palmtown/user_sql into palmtown-master
# Conflicts:
#	lib/Backend/UserBackend.php
2020-04-13 11:47:47 +02:00
Marcin Łojewski
953dae293e issue#135 Allow email login 2020-03-29 22:08:43 +02:00
Marcin Łojewski
94714ae987 issue#99 database password in config.php 2020-02-03 21:34:14 +01:00
Marcin Łojewski
9644bce09c issue#94 XenForo bcrypt 2020-02-02 21:43:39 +01:00