Samuele Lorefice REDCODE
  • Joined on 2024-01-01
REDCODE opened issue MilkyShots/MilkyShots#48 2026-07-08 17:38:46 +00:00
Mobile UI: 13 portrait-mode layout & overflow problems on small screens
REDCODE commented on issue MilkyShots/MilkyShots#45 2026-07-08 17:19:28 +00:00
Add user management page for admins

Final summary — all commits on feature/admin-users-page merged into develop via 94bba45

New page: AdminUsers.razor (/Users)

  • Full user table: Username, Email, Role, Status,…
REDCODE pushed to develop at MilkyShots/MilkyShots 2026-07-08 17:18:37 +00:00
94bba45f45 Merge branch 'feature/admin-users-page' into develop
23ef7e3ded fix(auth): detect banned/deleted user on page load via InitializeAsync
a84d93882d fix(auth): show ban/disabled message on login and force-logout on refresh
0ec6888809 fix(admin): show inline errors instead of replacing entire page
977d2325fa feat(admin): add inline editing for username, email, and password
Compare 9 commits »
REDCODE closed issue MilkyShots/MilkyShots#45 2026-07-08 17:18:35 +00:00
Add user management page for admins
REDCODE pushed to feature/admin-users-page at MilkyShots/MilkyShots 2026-07-08 17:15:53 +00:00
23ef7e3ded fix(auth): detect banned/deleted user on page load via InitializeAsync
REDCODE commented on issue MilkyShots/MilkyShots#45 2026-07-08 17:15:51 +00:00
Add user management page for admins

Added banned/deleted user detection on page load in 4f9f9a4:

InitializeAsync() now checks LoggedUser.IsBanned and LoggedUser.DeletedAt after fetching the user profile. If banned or…

REDCODE pushed to feature/admin-users-page at MilkyShots/MilkyShots 2026-07-08 17:11:01 +00:00
a84d93882d fix(auth): show ban/disabled message on login and force-logout on refresh
REDCODE commented on issue MilkyShots/MilkyShots#45 2026-07-08 17:11:00 +00:00
Add user management page for admins

Fixed banned/discovered user experience in c310b8f:

Server-side:

  • AuthController.Login and RefreshToken: Changed StatusCodes.Status100Continue (HTTP 100) → `StatusCodes.Status403Forb…
REDCODE pushed to feature/admin-users-page at MilkyShots/MilkyShots 2026-07-08 17:00:12 +00:00
0ec6888809 fix(admin): show inline errors instead of replacing entire page
REDCODE commented on issue MilkyShots/MilkyShots#45 2026-07-08 17:00:09 +00:00
Add user management page for admins

Fixed: error messages (like "Email cannot be empty") no longer hide the entire page. They now appear as dismissible alerts above the users table instead of replacing the whole content area.

REDCODE commented on issue MilkyShots/MilkyShots#45 2026-07-08 16:56:55 +00:00
Add user management page for admins

Added inline editing for username, email, and password in 6b7b36e:

  • Username: click pencil → input with confirm/cancel. Validates non-empty.
  • Email: click pencil → input with…
REDCODE pushed to feature/admin-users-page at MilkyShots/MilkyShots 2026-07-08 16:56:53 +00:00
977d2325fa feat(admin): add inline editing for username, email, and password
REDCODE commented on issue MilkyShots/MilkyShots#45 2026-07-08 16:54:52 +00:00
Add user management page for admins

Fixed 2f8cdb8: Removed the @onfocusout handler that was breaking the confirm/cancel buttons. The onfocusout on the parent <span> was firing as soon as focus moved to either button (or the…

REDCODE pushed to feature/admin-users-page at MilkyShots/MilkyShots 2026-07-08 16:54:52 +00:00
20975a2872 fix(ui): remove broken onfocusout handler from role edit dropdown
REDCODE pushed to feature/admin-users-page at MilkyShots/MilkyShots 2026-07-08 16:54:10 +00:00
61cf886174 fix(user): hash password in Create endpoint instead of storing raw
REDCODE commented on issue MilkyShots/MilkyShots#45 2026-07-08 16:53:48 +00:00
Add user management page for admins

Fixed 9dccd40: Password is now hashed in UserController.Create before saving. Previously the raw password was stored directly — only the Update endpoint and AuthController were…

REDCODE commented on issue MilkyShots/MilkyShots#45 2026-07-08 16:52:33 +00:00
Add user management page for admins

Pushed fix bf638ca:

  1. Role change now requires explicit confirm/cancel — clicking the pencil shows a dropdown with confirm (checkmark) and cancel (X) buttons. Selecting an option doesn't…
REDCODE pushed to feature/admin-users-page at MilkyShots/MilkyShots 2026-07-08 16:52:31 +00:00
bf638ca995 fix(admin): add confirm/cancel for role change and prevent admin self-demotion
REDCODE reopened issue MilkyShots/MilkyShots#45 2026-07-08 16:51:32 +00:00
Add user management page for admins
REDCODE pushed to feature/admin-users-page at MilkyShots/MilkyShots 2026-07-08 16:47:39 +00:00
a599648d87 feat(admin): add user management page for admins