Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Mar 13, 2025

Summary

Some refactoring of the route handling for the account management. We separate internal views like disabled or recent accounts from group views like admin or custom-group-id.

The new URL looks like:
/settings/users/VIEW(/GROUP) for example a real group like admin has this new URL: /settings/users/group/admin.
While internal views like recent users look like: /settings/users/recent.

Checklist

Some refactoring of the route handling for the account management.
We separate internal views like *disabled* or *recent* accounts from
group views like *admin* or *custom-group-id*.

The new URL looks like:
`/settings/users/VIEW(/GROUP)` for example a real group like `admin` has
this new URL: `/settings/users/group/admin`.
While internal views like *recent* users look like:
`/settings/users/recent`.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux added 3. to review Waiting for reviews feature: users and groups ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Mar 13, 2025
@susnux susnux added this to the Nextcloud 32 milestone Mar 13, 2025
@susnux susnux requested a review from a team as a code owner March 13, 2025 15:49
@susnux susnux requested review from Pytal, skjnldsv, sorbaugh and szaimen and removed request for a team and sorbaugh March 13, 2025 15:49
@kesselb
Copy link
Contributor

kesselb commented Mar 13, 2025

Thanks for picking it up 🙏

  1. I've run into an issue with the password confirmation modal. Tip: Change nc_lastLogin to 0 in JSConfigHelper.php to always see the password confirmation request.

image

  1. Probably out of scope, but if you create a group called "disabled", then the group is still not visible, but the disabled section is also gone 🤷

@susnux
Copy link
Contributor Author

susnux commented Mar 13, 2025

@kesselb

  1. is unrelated - best report this in https://github.com/nextcloud-libraries/nextcloud-password-confirmation/issues
  2. this one I would fix here. Lets see whats going on there.

@joshtrichards joshtrichards added the hotspot: account name handling User / Group names - invalid, consistency, enforcement, etc. label Jun 20, 2025
This was referenced Aug 22, 2025
This was referenced Sep 2, 2025
This was referenced Sep 25, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
@susnux susnux requested review from come-nc and removed request for Pytal December 1, 2025 13:34
Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should also fix #36424
How come offset and limit are removed?

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews feature: users and groups hotspot: account name handling User / Group names - invalid, consistency, enforcement, etc. ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Weird URL for accounts -> recently active

7 participants