Samuele Lorefice REDCODE
  • Joined on 2024-01-01
REDCODE deleted branch feature/106-auth-redesign from MilkyShots/MilkyShots 2026-07-14 20:23:24 +00:00
REDCODE pushed to develop at MilkyShots/MilkyShots 2026-07-14 20:23:24 +00:00
05b99ab6c5 Merge pull request 'feat: #106 auth/permissions redesign — 5-actor model, #93 visibility levels (backend)' (#125) from feature/106-auth-redesign into develop
88a0098314 perf: add AsSplitQuery to repository queries with multiple Include calls
8b53899648 docs: add data size estimates to AGENTS.md
e2b0eaba37 refactor: rename AlbumSearchParametersDto.UploadedBy to AssetUploadedBy
e1504dbf72 style: standardize access level comparison to switch expressions
Compare 36 commits »
REDCODE merged pull request MilkyShots/MilkyShots#125 2026-07-14 20:23:23 +00:00
feat: #106 auth/permissions redesign — 5-actor model, #93 visibility levels (backend)
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 20:06:28 +00:00
88a0098314 perf: add AsSplitQuery to repository queries with multiple Include calls
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 19:46:25 +00:00
8b53899648 docs: add data size estimates to AGENTS.md
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 19:31:01 +00:00
e2b0eaba37 refactor: rename AlbumSearchParametersDto.UploadedBy to AssetUploadedBy
e1504dbf72 style: standardize access level comparison to switch expressions
b67b2260fe docs(repo): fix stale pageSize default in IAlbumRepository XML doc
Compare 3 commits »
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 19:20:02 +00:00
06fd26e641 refactor: move all visibility filtering from mappers and controllers to repositories
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 18:58:48 +00:00
74c74cbbdf fix(mapper): scope asset counts in album/ person previews to visible assets
774ee0d7c7 fix(media): allow Maintainer to access media files for cosplayers they maintain
45b3c56ce2 fix(controller): split Maintainer from User in AssetController.GetAll visibility filter
b0fa104642 fix(mapper): replace null-forgiving operator with null-conditional in AlbumMapper
Compare 4 commits »
REDCODE commented on pull request MilkyShots/MilkyShots#125 2026-07-14 18:48:28 +00:00
feat: #106 auth/permissions redesign — 5-actor model, #93 visibility levels (backend)

Ain't having the mapper doing anything than mapping. Closed.

REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 18:36:43 +00:00
d4cd305c28 fix(controller): scope AssetController maintainer permissions via album→person chain
671783fd16 fix(repo): scope AlbumRepository.SearchQuery maintainer visibility to maintained persons
674710986f fix(model): add [PrimaryKey] annotation to PersonMaintainer for clarity
Compare 3 commits »
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 18:27:59 +00:00
77a6ee9747 fix(dto): make AssetCreateDto.UploadedBy nullable for scanner-created assets
1f2bf02d02 fix(migration): default Visibility to Protected instead of Public, preserve old IsPubliclyShared mapping
c5b8c93a39 fix(migration): remap existing EAccessLevel values to prevent data corruption
Compare 3 commits »
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 17:22:17 +00:00
b9251c3e19 style(repo): use explicit named enum cases in PersonRepository switch expressions
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 17:14:38 +00:00
0d1ce9feb3 style(repo): expand switch expression arms for readability
REDCODE pushed to feature/106-auth-redesign at MilkyShots/MilkyShots 2026-07-14 17:13:22 +00:00
0673017765 style(repo): convert visibility filters to switch expressions for readability
REDCODE commented on pull request MilkyShots/MilkyShots#125 2026-07-14 17:12:34 +00:00
feat: #106 auth/permissions redesign — 5-actor model, #93 visibility levels (backend)

Honestly this should become a switch case, might be way more readable