-
Notifications
You must be signed in to change notification settings - Fork 35
Production/cafevdb/stable27 #190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Production/cafevdb/stable27 #190
Conversation
Signed-off-by: Claus-Justus Heine <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
… 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 <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
…rom an array representation to the User-object. Signed-off-by: Claus-Justus Heine <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
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 <[email protected]>
… username column. Signed-off-by: Claus-Justus Heine <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
Signed-off-by: Claus-Justus Heine <[email protected]>
c238516 to
2d83a88
Compare
Signed-off-by: Claus-Justus Heine <[email protected]>
22c01bb to
3cc3bf2
Compare
|
Thanks for doing this. I'm not a developer on here, but I wanted to confirm that I'm running Nextcloud 27.1.1 with php8.2 on FreeBSD 13.2-RELEASE and I just installed the version referenced by this PR and it is working on my system. I mean, I know that's not much: it's just one dude saying "works on my machine". But hey, it works on my machine. Thanks for making the PR available! |
|
Any news on this PR? |
|
@rotdrop many thanks for this, you're a life saver ! And finally this got merged, but we still need to have a new version tagged... @mlojewski-me ? |
A couple of updates
This PR supersedes my other PRs.