a9f9eaf7a7
AppInfo: add config checks before using backends
...
Config checks were removed when moving to IBootstrap:
f6bcde7 (Move to IBootstrap initialization and remove the deprecated appinfo/app.php, 2025-04-10)
Due to the missing checks, the Nextcloud log is flooded with error messages (SQL errors) if
the configuration is incomplete. This is also if either only the user or group backend is used.
2025-07-26 21:38:51 +02:00
Claus-Justus Heine
5cc12730c5
Cache: use at least a capped memory cache if a distributed cache is not available
2025-06-30 11:55:18 +02:00
Claus-Justus Heine
f565705b4f
Backend\UserBackend: avoid recursion in getUser().
2025-06-30 11:37:50 +02:00
Claus-Justus Heine
cafa6bbd78
Action\EmailSync -- ignore case when comparing email addresses.
2025-06-30 11:35:33 +02:00
Claus-Justus Heine
1354242744
Tweak debug logging
2025-05-07 23:44:16 +02:00
Claus-Justus Heine
dc5458e9a8
Get rid of logException()
2025-04-18 17:46:51 +02:00
Claus-Justus Heine
964260ab7a
Bump NC version requirement to 31.
2025-04-17 11:55:19 +02:00
Claus-Justus Heine
560f8cdf08
Silence a PHP warning
2025-04-17 11:55:19 +02:00
Claus-Justus Heine
47f598d42a
Get rid of ILogger.
2025-04-17 11:55:19 +02:00
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