skillhub/.gitignore
XiaoSeS 626e00219e feat: add user profile update feature with moderation support (#90)
* feat: add user profile update feature with moderation support

Add ability for users to update their display name with optional machine/human review.

Backend:
- Add profile_change_request table (V15 migration)
- Add UserProfileService with moderation workflow
- Add PATCH /api/v1/user/profile and GET /api/v1/user/profile endpoints
- Add ProfileModerationService interface with NoOp implementation
- Add ProfileModerationProperties for machine/human review toggles
- Update AuthController /me to refresh session when displayName changes
- Add i18n messages for profile validation and responses

Frontend:
- Add /settings/profile page with edit-on-click pattern
- Add profileApi.updateProfile() to client
- Update user menu: add "Profile Settings", make "Security Settings" local-only
- Add i18n translations (en/zh) for profile settings

Testing:
- Add UserProfileControllerTest with 8 test cases
- Add UserProfileServiceTest with 6 test cases
- Add AuthControllerTest case for session refresh on displayName change

* version sql

* merge main
2026-03-19 10:16:40 +08:00

75 lines
803 B
Text

# OS files
.DS_Store
Thumbs.db
# Editors / IDEs
.idea/
.vscode/
.claude/
*.iml
*.swp
*.swo
.classpath
.project
.settings/
# Logs
*.log
logs/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Environment / local config
.env
.env.*
!.env.example
!.env.*.example
# Java / Spring Boot
target/
build/
.gradle/
out/
*.class
*.jar
*.war
*.ear
# Keep wrapper binaries/config in VCS
!gradle/wrapper/gradle-wrapper.jar
!mvnw
!mvnw.cmd
# React / frontend
node_modules/
dist/
coverage/
.cache/
.parcel-cache/
.vite/
.eslintcache
*.tsbuildinfo
package-lock.json
# Temporary files
.tmp/
tmp/
__pycache__/
*.py[cod]
# Git worktrees
.worktrees/
# Local dev runtime
.dev/
# Superpowers (AI planning artifacts)
docs/superpowers/
docs/review/
docs/requirements/
CLAUDE.md
# oh-my-claudecode
.omc