Commit Graph
15 Commits
Author SHA1 Message Date
namdh c2088f42dc fix: update config 2026-08-24 08:08:14 +07:00
namdh a1fe31cf70 ref: project structure 2026-08-19 23:25:08 +07:00
namdhandClaude Sonnet 5 05a93cfc09 Remove SDD scratch workspace from branch history
.superpowers/sdd/ is process scratch space (task briefs, reports, review
diffs) for the subagent-driven-development workflow, not intended to be
committed. One file leaked into an earlier fix-wave commit by accident;
removing it now that the plan is complete — the commit history is the
durable record.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 21:22:38 +07:00
namdhandClaude Sonnet 5 af1b287816 Remove dead using from DependencyInjection.cs
Mws.Application.Projects import orphaned by Task 4/5's IProjectService
and IProjectMemberService deletions; nothing else in the file references
that namespace. Found by final whole-branch review.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 21:21:59 +07:00
namdhandClaude Sonnet 5 4a1bd0a0f9 Convert Tasks module to MediatR commands/queries
Replaces ITaskService/TaskService, completing the CQRS/mediator
refactor. All 9 old service interfaces are now gone except
IPermissionService, ITokenService, and IPasswordHasher, which stay
plain injected services by design (see spec).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 21:07:27 +07:00
namdhandClaude Sonnet 5 c3384d76d9 Convert Documents module to MediatR commands/queries
Replaces IDocumentService/DocumentService. The permission-check and
descendant-deletion logic moves to a shared DocumentAccess static
helper used by all seven handlers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 21:03:16 +07:00
namdhandClaude Sonnet 5 798637c6c1 Convert ProjectMembers module to MediatR commands/queries
Replaces IProjectMemberService/ProjectMemberService, completing the
Projects module conversion.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 20:58:50 +07:00
namdhandClaude Sonnet 5 7e265805c3 Convert Projects module to MediatR commands/queries
Replaces IProjectService/ProjectService. IProjectMemberService is
left in place for now — ProjectMembersController still depends on it
until the next task converts it too.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-14 08:47:02 +07:00
namdhandClaude Sonnet 5 3a926e8693 Convert Roles module to MediatR commands/queries
Replaces IRoleService/RoleService. The permission-builder logic moves
to a shared RolePermissionBuilder static helper used by both the
create and update handlers. RolesController keeps its inline
IPermissionService checks unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-14 08:42:43 +07:00
namdhandClaude Sonnet 5 50faf9052c Convert Accounts module to MediatR commands/queries
Replaces IAccountService/AccountService with one command/query per
operation, following the pattern set in the Auth module.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-14 08:38:31 +07:00
namdhandClaude Fable 5 ae03208f79 Fix MediatR version per design spec
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 23:56:36 +07:00
namdh c5199fd23f Convert Auth module to MediatR command
Adds the MediatR package and wires AddMediatR in DI. Replaces
IAuthService/AuthService with LoginCommand/LoginHandler, the pattern
the remaining modules will follow.
2026-08-13 23:12:57 +07:00
namdh f72aaa2329 Commit MWS backend source tree
The ASP.NET Core solution (mws.api/mws.application/mws.domain/
mws.infrastructure) existed only as untracked working files. Adding
it to version control, plus a .gitignore for build output and local
tooling directories, so the CQRS/mediator refactor plan has a real
git history to branch and diff against.
2026-08-13 23:10:22 +07:00
namdhandClaude Sonnet 5 96944ad2c3 Add design spec for CQRS/mediator refactor
Documents the plan to replace the 9 IXService interfaces with
MediatR commands/queries + handlers, keeping IPermissionService,
ITokenService, and IPasswordHasher as plain injected helpers.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-13 22:56:20 +07:00
Dang Hoang Nam 5f60ae3789 Initial commit 2026-08-10 20:38:22 +07:00