Commit Graph

92 Commits

Author SHA1 Message Date
이정수 ad8b47d4ec feat: add console output to logger and remove redundant deferReply in autorole command 2026-04-10 10:25:55 +09:00
이정수 1e31f83ff3 fix(i18n): restore missing channelLocked translation key in ko.ts 2026-04-10 09:40:26 +09:00
이정수 bbc4bed551 Merge branch 'origin/main' into feature/invite-role and resolve conflicts 2026-04-10 09:38:39 +09:00
이정수 dcaa14091f chore: update graphify analysis and configuration files 2026-04-09 17:43:01 +09:00
이정수 7beed8f69e docs: update project configuration and add Graphify setup documentation 2026-04-09 17:38:58 +09:00
이정수 e196017bb8 feat: generate graph visualization and cache files for project structure analysis 2026-04-09 17:36:44 +09:00
이정수 aa59e47a62 feat: add graphify tool support with documentation and agent rules 2026-04-09 17:21:54 +09:00
안명현 9afaaf9a2e Merge pull request 'fix(fishing): clear stale sessions for deleted threads' (#10) from myong_dev into main
Reviewed-on: #10
2026-04-09 04:49:53 +00:00
안명현 b9d509a9e8 fix(fishing): clear stale sessions for deleted threads 2026-04-09 13:48:33 +09:00
안명현 d9f3e160aa Merge pull request 'fix(fishing): avoid stale no-session response on session end' (#9) from myong_dev into main
Reviewed-on: #9
2026-04-09 04:14:39 +00:00
안명현 55fc7b46fc fix(fishing): avoid stale no-session response on session end 2026-04-09 13:12:24 +09:00
안명현 53027ac21f Merge pull request 'myong_dev' (#8) from myong_dev into main
Reviewed-on: #8
2026-04-09 03:54:13 +00:00
안명현 7022900eff fix(fishing): use editReply for deferred slash responses 2026-04-09 12:52:29 +09:00
안명현 233615e6d0 Merge branch 'main' into myong_dev 2026-04-09 12:46:45 +09:00
안명현 9f903f676f chore: remove BOM from fishing-related files 2026-04-09 12:39:07 +09:00
안명현 1432e0d090 fix(commands): re-sync global commands when definitions change 2026-04-09 12:25:04 +09:00
안명현 c80bcffb08 Implement fishing progression features 2026-04-09 12:02:54 +09:00
mineseo-kim dbadd936ca feat(logging): wire LOG_DIR through env and align systemd helper
- logger uses config/env for LOG_DIR and LOG_LEVEL (single source of truth)
- Document absolute LOG_DIR for wipe/redeploy (Jenkins) in env and .env.example
- setup-kord-user-log-file.sh reads LOG_DIR from KORD_HOME/.env and syncs
  StandardOutput/StandardError/ExecStartPre mkdir to the same path

Made-with: Cursor
2026-04-09 10:00:58 +09:00
mineseo-kim 5280f1987b chore(scripts): add systemd ExecStartPre for kord log directory
When StandardOutput=append points under ~/kord/logs, systemd opens the
file before ExecStart; a missing directory causes status 209/STDOUT.
Inject mkdir -p via ExecStartPre so restarts survive a deleted logs folder.

Made-with: Cursor
2026-04-09 09:56:46 +09:00
mineseo-kim ca9413e665 fix(db): honor DATABASE_URL schema for pg Pool and PrismaPg
node-postgres ignores Prisma's ?schema= query param, so connections
defaulted to public. Parse the schema from the URL, set search_path on
the pool, and pass schema to PrismaPg (see prisma/prisma#28611).

Made-with: Cursor
2026-04-09 09:45:10 +09:00
mineseo-kim f317be9eab fix(logging): clarify LOG_DIR creation and bootstrap errors
- Wrap mkdir in ensureLogDir with stderr message on failure.

- Trim LOG_DIR; note in .env.example that the directory is created at startup.

Made-with: Cursor
2026-04-09 09:38:59 +09:00
mineseo-kim f2ffdb64a8 feat(logging): switch to log4js with file output and env-driven level
- Replace console logger with log4js dateFile under LOG_DIR (default logs).

- No console appender; daily rotation with 7-day retention (numBackups).

- Add LOG_LEVEL and LOG_DIR to env and .env.example; document in env.ts.

Made-with: Cursor
2026-04-09 09:34:15 +09:00
mineseo-kim f5f597d73d fix(i18n): restore ko locale and remove UTF-8 BOM
- Replace mojibake in ko.ts with proper Korean aligned to en.ts.

- Strip UTF-8 BOM from the 9 other text files (docs, commands, services, tests, en.ts).

Made-with: Cursor
2026-04-09 09:23:14 +09:00
mineseo-kim 586f516d4a Respect DOTENV_CONFIG_PATH for dotenv load path
Matches systemd Environment=DOTENV_CONFIG_PATH=/home/psa/.env so keys are not reported as 0 when only ~/.env exists.

Made-with: Cursor
2026-04-09 09:14:57 +09:00
mineseo-kim 1a4652c185 Fix slash command timeouts: defer before locale DB reads
- interactionCreate: deferReply(ephemeral) immediately for chat commands, then getInteractionLocale.

- All slash handlers use editReply; remove redundant deferReply in audit/fishing/music.

- localeHelper: parallelize user/guild Prisma lookups for getInteractionLocale and getContextLocale.

Note: deferred replies are ephemeral; public-only responses (e.g. music queue) are now user-visible only.
Made-with: Cursor
2026-04-09 09:09:32 +09:00
mineseo-kim a2e755b708 Remove Redis and replace with in-memory caches
- Drop ioredis, docker-compose redis service, and REDIS_* env vars.

- Remove src/cache; use Map-based invite and webhook caching in services.

- Run global command registration and voice boot sync without distributed locks.

- Update README, agent rules, and docs to match the new stack.

Made-with: Cursor
2026-04-09 08:50:53 +09:00
이정수 6072ab716f refactor: remove invite tracking functionality and migrate member join handling to AutoRoleService 2026-04-07 16:34:08 +09:00
이정수 c4f5e8d53c refactor: remove invite management system and associated command, events, and localization keys 2026-04-07 16:30:20 +09:00
이정수 579e9a8a61 refactor: remove retroactive autorole functionality and associated database tables 2026-04-07 15:14:25 +09:00
이정수 798d3d589c docs: add discord_ui_ux rule file capturing philosophy 2026-04-07 09:07:34 +09:00
이정수 f3f882cd06 feat(autorole): implement multi-role UX, persistence and automatic toggle logic 2026-04-06 18:05:33 +09:00
이정수 c71d263607 chore: update Korean localization strings 2026-04-06 17:16:43 +09:00
이정수 d941daf005 feat: add bot autorole configuration and migrate interaction handling to interactionCreate event 2026-04-06 15:36:45 +09:00
이정수 26cfd356ff feat: add invite command to manage role-based invite code mappings 2026-04-06 15:05:23 +09:00
이정수 107c00cb13 feat: implement AutoRoleService with retroactive assignment and configuration support 2026-04-06 15:04:21 +09:00
이정수 e4bcf53308 docs: add project structure documentation and update main index file 2026-04-06 14:28:57 +09:00
mineseo-kim 2a8b6d41dc Merge branch 'delete-redis'
# Conflicts:
#	yarn.lock
2026-04-02 11:18:10 +09:00
mineseo-kim c10822ea87 빌드 성공 2026-04-01 17:41:09 +09:00
안명현 80e104a9f4 Merge pull request 'Add fishing rarity rewards and result art' (#5) from myong_dev into main
Reviewed-on: #5
2026-04-01 08:20:43 +00:00
안명현 9876a331c1 Add fishing rarity rewards and result art 2026-04-01 17:19:23 +09:00
안명현 bcaf378111 Merge pull request 'Restore UTF-8 encoding in docs index' (#4) from myong_dev into main
Reviewed-on: #4
2026-03-31 10:20:37 +00:00
안명현 25b84592c0 Restore UTF-8 encoding in docs index 2026-03-31 19:06:04 +09:00
안명현 e7d435d7ea Merge pull request 'Complete fishing minigame phase 1' (#3) from myong_dev into main
Reviewed-on: #3
2026-03-31 09:49:57 +00:00
안명현 45d2b22978 Complete fishing minigame phase 1 2026-03-31 18:46:00 +09:00
mineseo-kim 57d38a4e09 빌드성공 2026-03-31 10:49:35 +09:00
mineseo-kim 57805644fb Merge remote-tracking branch 'origin/main' into delete-redis
# Conflicts:
#	prisma/schema.prisma
#	src/client/KordClient.ts
#	yarn.lock
2026-03-31 10:27:05 +09:00
mineseo-kim aad37ef855 빌드 성공
빌드 성공본 업데이트
2026-03-31 10:26:16 +09:00
이정수 f9769ba87c feat: initialize project structure with documentation and modular Prisma schemas 2026-03-31 10:16:07 +09:00
이정수 ba253a8ad3 Merge branch 'feautre/minigame' 2026-03-31 10:16:01 +09:00
mineseo-kim c1d18d7d8f Service 고도화 작업
난 한국어 커밋 메세지가 좋아
2026-03-31 10:13:38 +09:00