2996e0fa0f
docs: README, CLAUDE.md 작성
...
Server CI/CD / deploy (push) Successful in 36s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-25 00:20:43 +09:00
2b8d342896
fix: CORS AllowMethods에 PATCH 추가
...
Server CI/CD / deploy (push) Successful in 35s
유저 권한 변경(PATCH /api/users/:id/role) CORS 오류 수정
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 23:43:57 +09:00
f547593c6f
feat: launcher.exe와 game.zip 별도 업로드/서빙 분리
...
Server CI/CD / deploy (push) Successful in 36s
- POST /api/download/upload/game - 게임 zip 업로드
- POST /api/download/upload/launcher - launcher.exe 업로드
- GET /api/download/launcher - launcher.exe 서빙
- Info 모델에 LauncherURL, LauncherSize 필드 추가
- Content-Disposition 헤더로 올바른 파일명 설정
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 23:34:09 +09:00
18c39bd4c5
feat: 게임 파일 직접 업로드 방식으로 전환
...
Server CI/CD / deploy (push) Successful in 35s
- zip 스트리밍 업로드 (StreamRequestBody) → /data/game/game.zip 저장
- A301.exe SHA256 해시 자동 추출 (zip 분석)
- 버전·파일명·크기 파일명 및 용량에서 자동 추출
- GET /api/download/file 엔드포인트 추가
- BASE_URL, GAME_DIR 환경변수 추가
- Dockerfile에 /data/game 디렉토리 생성
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 23:25:07 +09:00
003eb4c1c2
fix: fileHash 필수 조건 제거 (선택 입력으로 변경)
...
Server CI/CD / deploy (push) Successful in 35s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 22:34:53 +09:00
8dee6f70b3
feat: 다운로드 정보에 fileHash 필드 추가
...
Server CI/CD / deploy (push) Successful in 38s
게임 EXE의 SHA256 해시를 저장하여 런처가 버전 검증에 활용
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 22:22:37 +09:00
3fb182c271
feat: 회원가입 API 추가 (POST /api/auth/register)
...
Server CI/CD / deploy (push) Successful in 37s
- Register 서비스 메서드 추가 (중복 아이디 체크, bcrypt 해시, role: user로 생성)
- Register 핸들러 추가 (빈값, 6자 미만 비밀번호 유효성 검사)
- /api/auth/register 라우트 등록 (public)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 15:11:34 +09:00
17983ad775
feat: 유저 관리 API 추가 (목록 조회, 권한 변경, 삭제)
...
- GET /api/users - 전체 유저 목록 (admin only)
- PATCH /api/users/:id/role - 권한 변경 (admin only)
- DELETE /api/users/:id - 유저 삭제 (admin only)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 14:52:45 +09:00
ec6ac35ac7
refactor: 모델에 JSON 태그 추가 및 gorm.Model 인라인 확장
...
Server CI/CD / deploy (push) Successful in 35s
camelCase JSON 필드명으로 통일, PasswordHash json:"-" 처리
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 14:32:11 +09:00
05d6d5af4d
chore: seed 스크립트 제거
...
Server CI/CD / deploy (push) Successful in 36s
환경변수 기반 admin 자동 생성으로 대체
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 14:29:29 +09:00
633175f5be
feat: 환경변수로 초기 admin 계정 자동 생성
...
서버 시작 시 ADMIN_USERNAME, ADMIN_PASSWORD 환경변수 기반으로
admin 계정이 없을 경우 자동 생성 (이미 있으면 스킵)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 14:28:33 +09:00
bf17d4d1da
fix: username 컬럼 타입을 varchar(100)으로 명시
...
Server CI/CD / deploy (push) Successful in 38s
longtext 타입은 MySQL에서 uniqueIndex를 걸 수 없어
AutoMigrate 실패 및 announcements 테이블 미생성 문제 해결
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 14:24:37 +09:00
2cac2dcfb3
ci: Gitea Actions 배포 파이프라인 및 Dockerfile 추가
...
Server CI/CD / deploy (push) Successful in 50s
- 멀티 스테이지 Dockerfile 추가 (Go 빌드 + Alpine 실행)
- Gitea Actions SSH 배포 워크플로우 추가
- CORS를 https://a301.tolelom.xyz 로 제한
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 14:08:47 +09:00
3345549051
Chore: project init
2026-02-24 13:18:43 +09:00