Commit Graph
26 Commits
Author SHA1 Message Date
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