Commit Graph
124 Commits
Author SHA1 Message Date
Hide_D 80d7f264af fix: align legacy speciality selection 2026-07-25 20:55:27 +00:00
Hide_D fdd169fbfd feat: port monthly scout policy actions 2026-07-25 20:28:25 +00:00
Hide_D 9a2d86988d Limit nation betting API scope 2026-07-25 20:17:28 +00:00
Hide_D 25e67e15ae Implement nation betting lifecycle 2026-07-25 20:16:11 +00:00
Hide_D f8645a4576 feat: migrate monthly city trade rates 2026-07-25 16:16:10 +00:00
Hide_D 87e303734a Route managed game APIs under profile prefixes 2026-07-25 14:01:32 +00:00
Hide_D fbfaf8df81 feat: complete user-facing message and account APIs 2026-07-25 11:39:47 +00:00
Hide_D f7311385ce Merge origin/main into frontend parity worktree 2026-07-25 11:16:03 +00:00
Hide_D 93ae4df519 feat: complete legacy-compatible auction system 2026-07-25 10:43:49 +00:00
Hide_D c94c5011f4 Merge branch 'main' into feature/p0-actor-ownership
# Conflicts:
#	app/game-api/src/router/troop/index.ts
2026-07-25 08:52:01 +00:00
Hide_D a9d6541c18 Secure actor-owned game API routes 2026-07-25 08:50:41 +00:00
Hide_D ee6fd00f7d merge: add secure troop management
# Conflicts:
#	app/game-engine/src/turn/types.ts
#	app/game-engine/src/turn/worldLoader.ts
2026-07-25 08:50:01 +00:00
Hide_D a8869a77c2 Merge branch 'codex/p0-general-turn-lifecycle'
# Conflicts:
#	app/game-engine/src/turn/databaseHooks.ts
#	app/game-engine/src/turn/inMemoryWorld.ts
#	app/game-engine/src/turn/reservedTurnHandler.ts
#	packages/infra/src/turnEngineDb.ts
2026-07-25 08:48:10 +00:00
Hide_D ae4cc31a16 feat: add secure troop management 2026-07-25 08:44:44 +00:00
Hide_D 45ba960474 feat: complete general turn lifecycle 2026-07-25 08:42:57 +00:00
Hide_D a9954b5fb1 merge: complete general turn compatibility 2026-07-25 08:16:27 +00:00
Hide_D 79257e8559 feat: complete legacy general turn compatibility 2026-07-25 08:15:19 +00:00
Hide_D 88afcb5465 feat: apply traits in live turn runtime 2026-07-25 08:14:25 +00:00
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