Commit Graph

16 Commits

Author SHA1 Message Date
hayato5246
ba18887ed8 PostgreSQL 의존성 및 내부 유틸리티 추가:
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m47s
- `github.com/lib/pq` PostgreSQL 드라이버 vendor 디렉토리에 추가.
- PostgreSQL 관련 내부 패키지(`pqsql`, `proto`, `pqtime`, `pgpass`, `pgservice`, `pqutil`) 구현:
  - SQL 어휘 처리, 프로토콜 상수 및 구조 정의, 시간 파서/포맷터(`Parse`, `Format`).
  - `.pgpass` 파일 및 `pg_service.conf` 관리 기능 추가.
  - 파일/사용자 권한 검증 및 플랫폼별 사용자 정보 조회 기능 포함.
- 데이터베이스 초기화 로직 추가 (`services/db.go`):
  - PostgreSQL 연결 설정 및 초기 스키마 생성.
- 자동매매 관련 DB 레포지토리(`services/autotrade_repo.go`) 구현:
  - 자동매매 규칙 및 포지션 관리 로직 추가 (`dbInsertRule`, `dbLoadRules` 등).
2026-04-08 19:07:32 +09:00
hayato5246
5aeb5f2b80 자산 현황 및 자동매매 페이지 제거:
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 11m20s
- `/templates/pages/asset.html`, `/templates/pages/autotrade.html` HTML 템플릿 삭제.
- `/static/js/asset.js`, `/static/js/autotrade.js` 클라이언트 스크립트 제거.
- 관련 함수 및 초기화 로직 삭제 (자산 조회 및 자동매매 기능 비활성화).
2026-04-07 21:43:24 +09:00
hayato5246
5a29d50752 로그인 상태에 따른 네비게이션 및 페이지 보호 로직 추가:
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m12s
- `+layout.svelte`에서 로그인 상태에 따라 공개/보호 네비게이션 항목 분리 및 표시.
- 로그인 여부 확인 로직 `+layout.ts`로 이전 (`fetch` 결과에 따라 `loggedIn` 값 반환).
- 보호 페이지(`autotrade`, `asset`)는 미로그인 시 `/login` 리다이렉트 (`next` 파라미터 포함).
- 인증 예외 경로 `/api/watchlist`에 추가.
2026-04-06 20:11:24 +09:00
hayato5246
47bb040eb8 프론트엔드 서버 기존 Nginx 구성에서 Caddy로 마이그레이션:
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m11s
- Nginx 설정 파일(`nginx.conf`) 제거 및 Caddy 설정 파일(`Caddyfile`) 추가.
- Dockerfile에서 Nginx 이미지 대신 Caddy 이미지 사용하도록 수정.
- 정적 파일 경로(`/usr/share/nginx/html` → `/srv`) 변경 및 관련 설정 업데이트.
- 정적 에셋 캐싱 및 SPA fallback 로직 Caddy에 맞게 재구성.
2026-04-05 20:57:59 +09:00
hayato5246
00ffc6b54c 프론트엔드 추가 및 자동매매 로직 개선:
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m42s
- Svelte 기반 프론트엔드 프로젝트 초기 설정 추가 (`vite`, `tailwindcss` 등 포함).
- "자동매매" 주요 상태 및 규칙 관리 페이지 구현.
- 1차/2차 손절 및 익절 조건 평가 로직 추가(`calcStopTargets`, `evalExitReason` 등).
- 포지션 상세 로그 및 WebSocket 기반 실시간 로그 스트림 추가.
- API 서비스 및 Frontend 간 Proxy 설정(Vite 서버).
- 세션 체크를 위한 `CheckSession` 핸들러 추가.
2026-04-05 20:30:52 +09:00
hayato5246
f10a1ede3b 자동화 개선: Gitea Workflow 수정 - 불필요한 디버깅 명령(pwd, ls -al) 제거 및 Docker Compose 실행 디렉토리 변경
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m0s
2026-04-02 20:37:53 +09:00
hayato5246
a6176b863d 자동화 개선: Gitea Workflow 수정 - 디버깅 명령의 위치 조정 (디렉토리 변경 후 실행)
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 56s
2026-04-02 20:35:26 +09:00
hayato5246
b806e87fe5 자동화 개선: Gitea Workflow에 디버깅용 pwdls -al 명령 추가
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 56s
2026-04-02 20:32:54 +09:00
hayato5246
31f4516817 자동화 개선: Gitea Workflow 수정 - 불필요한 디렉토리 변경 제거 및 Docker Compose 경로 업데이트
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m0s
2026-04-02 20:31:15 +09:00
Oracle Public Cloud User
f920bc5a04 remove docker-compose.yaml
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 15s
2026-04-02 04:00:34 +00:00
Oracle Public Cloud User
c35208e1ce update workflow
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m6s
2026-04-02 03:57:01 +00:00
hayato5246
39579240c8 외부 의존성 추가: golang.org/x/net/proxygolang.org/x/time/rate 패키지 vendor 디렉토리에 추가
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 1m34s
2026-04-01 22:06:46 +09:00
hayato5246
6da3c65b77 자동화 개선: deploy.sh 제거 및 워크플로에 Registry 비밀값 유효성 검사 추가
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 13s
2026-04-01 22:06:17 +09:00
hayato5246
0ae4c69118 자동화 개선: deploy.sh 제거 및 워크플로에 Registry 비밀값 유효성 검사 추가
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 27s
2026-04-01 21:48:05 +09:00
hayato5246
2aa433013b 자동화 구축: Docker 이미지를 빌드, 푸시, 재시작하는 GitHub Actions 워크플로 추가 및 고도화된 매수 체결 로직 반영
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 12s
2026-04-01 20:50:16 +09:00
hayato5246
d10b794c9f first commit 2026-03-31 19:32:59 +09:00