Commit Graph
106 Commits
Author SHA1 Message Date
Hide_D 7ed1b5df7f test: audit and strengthen legacy test suite 2026-07-25 06:54:18 +00:00
Hide_D 35935c9eca Refactor equipped items into persistent instances 2026-07-25 06:46:56 +00:00
Hide_D 4b13c6d4f5 feat: align battle simulator with legacy handlers 2026-07-25 05:57:05 +00:00
Hide_D 5040691d7c feat: implement input event system with durable command handling
- Introduced InputEvent model with status tracking (PENDING, PROCESSING, SUCCEEDED, FAILED) and unique request IDs.
- Added DatabaseTurnDaemonTransport for sending commands and handling idempotency.
- Implemented executeInputEvent function to manage input event lifecycle and error handling.
- Created DatabaseTurnDaemonCommandQueue for managing command processing and lease recovery.
- Enhanced turn daemon lifecycle to support atomic command execution and error recovery.
- Added tests for input event atomicity, command queuing, and error handling scenarios.
2026-07-25 05:36:34 +00:00
Hide_D c5da507df9 Implement crew type execution model 2026-07-25 05:16:11 +00:00
Hide_D b0a8f768e9 feat: add survey view with voting functionality and admin panel
- Implemented SurveyView.vue for displaying and managing polls, including voting, comments, and results.
- Added new database tables for vote polls, votes, and comments in migration script.
- Created unique lottery logic for handling unique item rewards based on voting.
- Developed unit tests for unique lottery functionality to ensure deterministic behavior and correct counting of occupied unique items.
2026-02-03 18:25:26 +00:00
Hide_D d3277f204a feat: add dynasty management features including list and detail views
- Implemented `OldNation`, `OldGeneral`, and `Emperor` models in Prisma schema.
- Created API routes for fetching dynasty lists and details.
- Developed frontend views for displaying dynasty list and detail information.
- Enhanced in-memory world to track deleted nation snapshots during unification.
- Added functionality to settle dynasty information after unification events.
2026-01-29 19:09:17 +00:00
Hide_D c4a5361fc6 feat: 토너먼트 메타 조정 및 결과 처리 기능 추가 2026-01-29 18:33:56 +00:00
Hide_D 9fff671c2f feat: add ranking and hall of fame features
- Implemented new routes for Best General and Hall of Fame views in the frontend.
- Created BestGeneralView and HallOfFameView components to display rankings based on game data.
- Added new database models for RankData and HallOfFame to store ranking information.
- Introduced ranking types and hall of fame types in common types for better type safety.
- Developed ranking router to handle fetching of best general and hall of fame data.
- Updated database schema with migrations to include new tables for rank data and hall of fame.
- Enhanced the main view with links to the new ranking features.
2026-01-29 18:18:35 +00:00
Hide_D 8c5ab5074d feat: 연감 기능 추가 및 데이터베이스 모델 생성 2026-01-28 16:18:14 +00:00
Hide_D 87e4639663 feat: 외교부 기능 추가 및 외교 문서 관련 데이터베이스 모델 생성 2026-01-28 15:35:17 +00:00
Hide_D bebb0de3c4 feat: add board functionality with articles and comments
- Implemented BoardView for creating and displaying articles with comments.
- Added NationAffairsView for managing national policies and financial settings.
- Created ScoutMessageView for editing recruitment messages.
- Introduced database migrations for board_post and board_comment tables.
2026-01-28 14:44:15 +00:00
Hide_D 87fe1edae1 feat: 내 정보 및 설정 페이지 추가, 관련 라우트 및 UI 구성 2026-01-28 13:35:49 +00:00
Hide_D 46759022fd feat: 일반 생성 로직에 killturn 메타 데이터 추가 2026-01-25 05:52:05 +00:00
Hide_D 5d5ed9ee2a feat: add killturn to general meta and update related tests
- Introduced a new meta property `killturn` to the GeneralMeta interface.
- Implemented a function `readMetaNumber` to handle the retrieval of numeric values from meta.
- Updated the `mapGeneralRow` function to ensure `killturn` is required and properly handled.
- Modified various tests to include the `killturn` property in the general's meta data.
- Adjusted related action files to utilize the new GeneralMeta type for better type safety.
- Ensured backward compatibility by updating existing test cases across multiple scenarios.
2026-01-25 05:48:56 +00:00
Hide_D fbfb52f54e Refactor tournament logic: Move helper functions to workerHelpers.ts
- Extracted various helper functions related to tournament operations from worker.ts to a new file workerHelpers.ts for better organization and maintainability.
- Updated imports in worker.ts to utilize the new helper functions.
- Removed redundant code and improved clarity by centralizing common functionalities.
2026-01-24 13:02:16 +00:00
Hide_D 5c67f08917 nation router 분리 2026-01-24 12:53:13 +00:00
Hide_D 2ea8e11f50 feat: createNoopDaemonTransport 함수 추가 및 토너먼트 상태 처리 개선, 캘린더 핸들러 반환 타입 수정 2026-01-24 11:36:01 +00:00
Hide_D 52be3b40ef feat: implement auction bidding and resource adjustment commands
- Added `adjustGeneralResources` command to handle resource adjustments for generals.
- Introduced `patchGeneral` command for updating general attributes.
- Created `auctionBid` command to facilitate bidding in auctions with validation.
- Refactored database interactions to use transactions for auction bids and resource adjustments.
- Enhanced error handling for auction and resource operations.
- Updated command handling in the turn daemon to support new commands.
- Introduced `AuctionBidder` interface and implementation for managing auction bids.
- Improved overall structure and readability of auction-related code.
2026-01-24 04:25:04 +00:00
Hide_D cbee0d4c20 feat: 국가 메타 업데이트 기능 추가 및 관련 로직 구현 2026-01-24 03:16:05 +00:00
Hide_D 6e439f074d feat: 토너먼트 자동 시작 핸들러 개선 및 관련 기능 추가 2026-01-23 18:58:05 +00:00
Hide_D 7a2b4c3911 feat: 토너먼트 결과 정산 및 관련 기능 추가 2026-01-23 18:49:41 +00:00
Hide_D 5846146ff3 feat: 토너먼트 자동 시작 핸들러 추가 및 관련 로직 구현 2026-01-23 18:34:50 +00:00
Hide_D 144b8d5705 feat: 토너먼트 상태 취소 기능 추가 및 관리자 메시지 수정 2026-01-23 18:19:48 +00:00
Hide_D fbf8cd876f feat: 참가자 잠금 기능 추가 및 관리자 상태 조회 기능 구현 2026-01-23 17:56:58 +00:00
Hide_D f466e25058 feat: 참가 신청 기능 추가 및 관련 로직 수정 2026-01-23 17:49:47 +00:00
Hide_D f540808514 feat: 로그 항목 및 에너지 상태 추가 2026-01-23 17:42:27 +00:00
Hide_D 4997ef9a1c feat: 토너먼트 보상 처리 기능 추가 및 관련 타입 정의 2026-01-23 17:22:54 +00:00
Hide_D 0704a1f967 feat: 참가자 정렬 및 참가자 보장 기능 추가 2026-01-23 17:06:56 +00:00
Hide_D c01d5eef04 feat: 참가자 시드 설정 기능 추가 및 베팅 요약 조회 로직 구현 2026-01-23 17:04:39 +00:00
Hide_D e02e6c8fc4 feat: 베팅 기능 추가 및 베팅 항목 저장 로직 구현 2026-01-23 17:01:01 +00:00
Hide_D 293a5035c6 feat: 토너먼트 관련 기능 추가 및 베팅 처리 로직 구현 2026-01-23 16:58:59 +00:00
Hide_D b6164868b7 토너먼트 진행 2026-01-23 16:52:31 +00:00
Hide_D 2d87cf881e 토너먼트 준비 2026-01-23 16:45:36 +00:00
Hide_D 1ed9953c67 경매 구현 2026-01-22 18:23:43 +00:00
Hide_D b5b761984e 경매 관련 진행 준비 2026-01-22 17:25:39 +00:00
Hide_D 9ac59893c4 feat: add schema validation and event table checks in scenario seeder 2026-01-18 18:13:55 +00:00
Hide_D 4647b67ba3 전투 시뮬레이터 구현 2026-01-18 17:41:13 +00:00
Hide_D 5b51aad6d0 내무부, 금/쌀수입, 감찰부 구현 2026-01-18 16:40:12 +00:00
Hide_D bb618a9ade feat: add NpcControlView component for managing NPC policies and priorities 2026-01-18 14:59:06 +00:00
Hide_D e2accc31a7 feat: e2e 테스트 실행 및 에러 수정 2026-01-18 13:28:02 +00:00
Hide_D e1f21d3209 feat: 환경 변수에 GAME_TRPC_PATH 및 GATEWAY_TRPC_PATH 추가, 관련 문서 업데이트 2026-01-18 12:44:22 +00:00
Hide_D 3ce1f441d0 feat: add unification handler and inheritance system
- Implemented `unificationHandler.ts` to manage nation unification logic, including inheritance point calculations and logging.
- Created `InheritView.vue` for frontend management of inheritance points, buffs, and logs.
- Added database migration for new inheritance tables: `inheritance_point`, `inheritance_log`, `inheritance_result`, and `inheritance_user_state`.
- Developed inheritance buff logic in `inheritBuff.ts` to apply buffs during domestic and war actions.
2026-01-18 10:59:04 +00:00
Hide_D 2f05e5a1e1 feat: zod 라이브러리 버전을 4.3.5로 업데이트 2026-01-18 08:27:36 +00:00
Hide_D e3f7758187 feat: RedisTurnDaemonTransport에서 lastId 초기값을 '0-0'으로 변경 및 RedisCommandStream에서 블록 시간 제한 추가 2026-01-18 07:38:00 +00:00
Hide_D 879104622a feat: auth/gameToken 모듈로의 경로 변경 및 tsdown 설정 추가 2026-01-18 06:39:43 +00:00
Hide_D a9ddffa97c feat: add integration tests for initialization flow
- Implemented end-to-end integration tests covering database reset, bootstrap admin creation, demo user provisioning, scenario installation, and general creation.
- Added support for deterministic seeding and auto admin general creation.
- Created a new package for integration tests with necessary configurations and scripts.
- Updated various modules to support new features, including admin user handling and scenario seeding.
- Enhanced error handling and validation in the join and orchestrator modules.
2026-01-18 06:32:19 +00:00
Hide_D 70d4832af7 fix: 정규 표현식 수정 및 조건부 렌더링 개선; 코드 가독성 향상 2026-01-17 15:24:27 +00:00
Hide_D 1a03252782 feat: add NationGeneralsView and NationPersonnelView components for managing generals and personnel in the nation 2026-01-17 15:11:46 +00:00
Hide_D 07ea17dacf feat: refactor utility functions for improved consistency and usability; consolidate parsing logic 2026-01-17 12:36:58 +00:00