Commit Graph

  • 69186ff3e9 chore: add more options to cleanup command syntaxbullet 2026-01-06 19:44:18 +01:00
  • b989e807dc feat: Add /cleanup admin command and enhance lootdrop cleanup service to optionally include claimed items. syntaxbullet 2026-01-06 19:27:41 +01:00
  • 2e6bdec38c refactor: switch Drizzle ORM from postgres-js to bun-sql driver. syntaxbullet 2026-01-06 18:52:25 +01:00
  • a9d5c806ad feat: Migrate Drizzle ORM to postgres.js, exclude test files from command loading, and adjust postgres dependency type. syntaxbullet 2026-01-06 18:46:30 +01:00
  • 6f73178375 feat: Bind docker-compose database and server ports to localhost. syntaxbullet 2026-01-06 18:37:42 +01:00
  • dd62336571 fix(test): resolve typescript undefined errors in inventory service tests syntaxbullet 2026-01-06 18:25:18 +01:00
  • 8280111b66 feat(inventory): implement item name autocomplete with rarity and case-insensitive search syntaxbullet 2026-01-06 18:24:15 +01:00
  • 34347f0c63 feat: centralized constants and enums for project-wide use syntaxbullet 2026-01-06 18:15:52 +01:00
  • c807fd4fd0 test: fix lint errors in moderation service tests syntaxbullet 2026-01-06 18:05:05 +01:00
  • 47b980eff1 feat: add moderation unit tests and refactor warning logic syntaxbullet 2026-01-06 18:03:36 +01:00
  • bc89ddf7c0 feat: implement scheduled cleanup job for expired data syntaxbullet 2026-01-06 17:44:08 +01:00
  • 606d83a7ae feat: add health check command and tracking syntaxbullet 2026-01-06 17:30:55 +01:00
  • 3351295bdc feat: add database indexes for performance optimization syntaxbullet 2026-01-06 17:26:34 +01:00
  • 92cb048a7a test: fix mock leakage in db tests syntaxbullet 2026-01-06 17:22:43 +01:00
  • 6ead0c0393 feat: implement graceful shutdown handling syntaxbullet 2026-01-06 17:21:50 +01:00
  • 278ef4b6b0 fix: Normalize exam and cooldown dates to the start of the day for consistent calculations. syntaxbullet 2026-01-05 17:36:53 +01:00
  • 9a32ab298d feat: Implement a net worth leaderboard by aggregating user balance and inventory item values. syntaxbullet 2026-01-05 16:40:26 +01:00
  • a2596d4124 docs: Add command reference and database schema documentation. syntaxbullet 2026-01-05 13:13:46 +01:00
  • fbc8952e0a docs: Add guides for lootbox creation and configuration options. syntaxbullet 2026-01-05 13:07:36 +01:00
  • d0b4cb80de feat: Add user existence checks to economy commands and refactor trade service to expose sessions for testing. syntaxbullet 2026-01-05 12:57:22 +01:00
  • 599684cde8 feat: Add lootbox item type with weighted rewards and dedicated UI for item usage results. syntaxbullet 2026-01-05 12:52:34 +01:00
  • 5606fb6e2f fix: Clarify daily claim cooldown message for daily claims. syntaxbullet 2026-01-05 12:17:23 +01:00
  • fb260c5beb feat: Set daily claim cooldown to next UTC midnight and reset streak to 1 if missed by over 24 hours. syntaxbullet 2026-01-05 12:10:41 +01:00
  • a227e5db59 feat: Implement graphical lootdrop cards for lootdrop and claimed messages. syntaxbullet 2025-12-24 23:13:16 +01:00
  • 66d5145885 docs: add guide for standard module structure patterns syntaxbullet 2025-12-24 22:26:14 +01:00
  • 2412098536 refactor(modules): standardize error handling in interaction handlers syntaxbullet 2025-12-24 22:26:12 +01:00
  • d0c48188b9 refactor(core): centralize interaction error handling and organize routes syntaxbullet 2025-12-24 22:26:10 +01:00
  • 1523a392c2 refactor: add leveling view layer syntaxbullet 2025-12-24 22:09:04 +01:00
  • 7d6912cdee refactor: add quest view layer syntaxbullet 2025-12-24 22:08:55 +01:00
  • 947bbc10d6 refactor: add inventory view layer syntaxbullet 2025-12-24 22:08:51 +01:00
  • 2933eaeafc refactor: convert TradeService to object export pattern syntaxbullet 2025-12-24 21:57:30 +01:00
  • 77d3fafdce refactor: standardize transaction pattern in class.service.ts syntaxbullet 2025-12-24 21:57:14 +01:00
  • 10a760edf4 refactor: replace console.* with logger in core lib files syntaxbullet 2025-12-24 21:56:50 +01:00
  • a53d30a0b3 feat: add centralized logger utility syntaxbullet 2025-12-24 21:56:29 +01:00
  • 5420653b2b refactor: Extract interaction handling logic into dedicated ComponentInteractionHandler, AutocompleteHandler, and CommandHandler classes. syntaxbullet 2025-12-24 21:38:01 +01:00
  • f13ef781b6 refactor(lib): simplify BotClient using loader classes syntaxbullet 2025-12-24 21:32:23 +01:00
  • 82a4281f9b feat(lib): extract EventLoader from BotClient syntaxbullet 2025-12-24 21:32:15 +01:00
  • 0dbc532c7e feat(lib): extract CommandLoader from BotClient syntaxbullet 2025-12-24 21:32:08 +01:00
  • 953942f563 feat(lib): add loader types for command/event loading syntaxbullet 2025-12-24 21:31:54 +01:00
  • 6334275d02 refactor: modernize transaction patterns and improve type safety - Refactored user.service.ts to use withTransaction() helper - Added 14 comprehensive unit tests for user.service.ts - Removed duplicate user creation in interactionCreate.ts - Improved type safety in interaction.routes.ts syntaxbullet 2025-12-24 21:23:58 +01:00
  • f44b053a10 feat: add admin moderation commands for managing cases, warnings, and notes. syntaxbullet 2025-12-24 21:02:37 +01:00
  • fe58380d58 fix: Add null check for regex capture group and non-null assertion for type safety. syntaxbullet 2025-12-24 20:59:10 +01:00
  • 64cf47ee03 feat: add moderation module with case tracking database schema syntaxbullet 2025-12-24 20:55:56 +01:00
  • 37ac0ee934 feat: implement message pruning command with dedicated service and UI components. syntaxbullet 2025-12-24 20:45:40 +01:00
  • 5ab19bf826 fix: improve feedback type parsing from custom IDs and add validation for feedback types in interaction and view logic. syntaxbullet 2025-12-24 20:23:52 +01:00
  • 42d2313933 feat: Introduce a comprehensive feedback system with a slash command, interactive UI, and configuration. syntaxbullet 2025-12-24 20:16:47 +01:00
  • cddd8cdf57 refactor: move terminal message and channel ID persistence from a dedicated file to the main application configuration. syntaxbullet 2025-12-24 19:57:00 +01:00
  • eaaf569f4f feat: Implement cumulative XP leveling system with new helper functions and update XP bar to show progress within the current level. syntaxbullet 2025-12-24 18:52:40 +01:00
  • 8c28fe60fc feat: Enable Components V2, use user mentions, and enhance transaction log display in terminal service. syntaxbullet 2025-12-24 18:07:50 +01:00
  • 6d725b73db feat: Add MessageFlags.IsComponentsV2 to terminal message updates and remove redundant SectionBuilder wrappers. syntaxbullet 2025-12-24 17:54:56 +01:00
  • da048eaad1 fix: Update Discord.js message edit property from containers to components for layout. syntaxbullet 2025-12-24 17:47:53 +01:00
  • 56da4818dc feat: Refactor terminal message to use new Discord.js UI builders for structured output. syntaxbullet 2025-12-24 17:43:56 +01:00
  • ca443491cb refactor: Remove backticks and square brackets from terminal activity timestamp. syntaxbullet 2025-12-24 17:26:40 +01:00
  • 345e05f821 feat: Introduce dynamic Aurora Observatory terminal with admin command, scheduled updates, and lootdrop event integration. syntaxbullet 2025-12-24 17:19:22 +01:00
  • 419059904c refactor: relocate interaction routes from events to lib directory syntaxbullet 2025-12-24 14:36:14 +01:00
  • 7698a3abaa chore: delete test-student-id.png syntaxbullet 2025-12-24 14:30:50 +01:00
  • 83984faeae feat: Configure app service to restart automatically in Docker Compose and replace file-based restart trigger with process.exit(). syntaxbullet 2025-12-24 14:28:23 +01:00
  • 2106f06f8f chore: remove student id testing script syntaxbullet 2025-12-24 14:23:55 +01:00
  • 16d507991c feat: Enhance update requirements check to include database migrations and rename related interfaces and methods. syntaxbullet 2025-12-24 14:17:02 +01:00
  • e2aa5ee760 feat: Implement stateful admin update with post-restart context, database migrations, and dedicated view components. syntaxbullet 2025-12-24 14:03:15 +01:00
  • e084b6fa4e refactor: Reorganize admin update flow to prepare restart context before update and explicitly trigger restart. syntaxbullet 2025-12-24 13:50:37 +01:00
  • 3f6da16f89 feat: Add post-update dependency installation, refactor restart logic, and update completion messages. syntaxbullet 2025-12-24 13:46:32 +01:00
  • 71de87d3da chore: Remove migration generation command from update service. syntaxbullet 2025-12-24 13:43:04 +01:00
  • fc7afd7d22 feat: implement a dedicated update service to centralize bot update logic, dependency checks, and post-restart handling. syntaxbullet 2025-12-24 13:38:45 +01:00
  • fcc82292f2 feat: Introduce modular inventory item effect handling and centralize Discord interaction routing. syntaxbullet 2025-12-24 12:20:42 +01:00
  • f75cc217e9 refactor: extract further UI components into views syntaxbullet 2025-12-24 11:44:43 +01:00
  • 5c36b9be25 refactor: Extract UI component creation into new view files for lootdrop, trade, item wizard, and enrollment. syntaxbullet 2025-12-24 11:36:19 +01:00
  • eaf97572a4 refactor: replace direct EmbedBuilder usage with a new createBaseEmbed helper for consistent embed creation syntaxbullet 2025-12-24 11:17:59 +01:00
  • 1189483244 refactor: clean up unused imports and dead code across commands, services, and tests. syntaxbullet 2025-12-24 11:02:13 +01:00
  • f39ccee0d3 fix: Cast user ID to string for member fetching syntaxbullet 2025-12-24 10:07:51 +01:00
  • 10282a2570 feat: Add admin command to create color roles and corresponding shop items. syntaxbullet 2025-12-23 21:56:45 +01:00
  • a3099b80c5 feat: Add color role item effect with role swapping and implement item consumption toggle. syntaxbullet 2025-12-23 21:12:36 +01:00
  • 67d6298793 revert(pay): ping in separate message content due to API limitations syntaxbullet 2025-12-23 18:50:35 +01:00
  • 808fbef11b fix: allow included mentions on payment syntaxbullet 2025-12-23 18:44:17 +01:00
  • b833796fb9 fix: make payments public syntaxbullet 2025-12-23 18:42:13 +01:00
  • 58ea8b92f1 fix: timestamp rendering issues syntaxbullet 2025-12-23 18:36:22 +01:00
  • fbd2bd990f fix: correct Discord timestamp formatting in daily command syntaxbullet 2025-12-22 14:32:33 +01:00
  • f859618367 feat: introduce weekly bonus for daily rewards, updating calculations, configuration, and command UI. syntaxbullet 2025-12-22 13:16:44 +01:00
  • b7b1dd87b8 style: Standardize template literal spacing and remove extraneous markdown code block delimiters. syntaxbullet 2025-12-22 13:08:35 +01:00
  • f3b6af019d refactor: remove unused import, markdown fences, and standardize string interpolation formatting. syntaxbullet 2025-12-22 13:07:11 +01:00
  • 0dea266a6d feat(commands): improve error feedback for economy and admin commands syntaxbullet 2025-12-22 12:59:46 +01:00
  • fbcac51370 refactor(modules): propagate UserError in quest, trade, and class services syntaxbullet 2025-12-22 12:58:47 +01:00
  • 75e586cee8 feat(commands): improve error feedback for use command syntaxbullet 2025-12-22 12:56:37 +01:00
  • 6e1e6abf2d fix(config): enforce runtime schema validation syntaxbullet 2025-12-22 12:56:20 +01:00
  • 4a0a2a5878 refactor(inventory): propagate UserError for predictable failures syntaxbullet 2025-12-22 12:55:46 +01:00
  • 216189b0a4 fix: grammatical errors in daily warning cooldown message syntaxbullet 2025-12-21 11:31:21 +01:00
  • ca1339728a chore: change cooldown display to use relative timestamps for better UX with international users. syntaxbullet 2025-12-21 11:26:53 +01:00
  • 5833224ba9 feat: Implement welcome messages for new enrollments using a new webhook utility and refactor the admin webhook command to utilize it. syntaxbullet 2025-12-20 20:59:44 +01:00
  • 65f5dc3721 chore: remove 'src' directory from config file path definition. syntaxbullet 2025-12-20 20:48:37 +01:00
  • 637f0826db feat: conditionally assign student and class roles to new members if returning, otherwise assign visitor role. syntaxbullet 2025-12-20 20:12:27 +01:00
  • 578987caea chore: update readme syntaxbullet 2025-12-20 11:49:50 +01:00
  • 064efb0ed2 test: add tests for item wizard syntaxbullet 2025-12-20 11:41:53 +01:00
  • 4229e5338f refactor: rename bot client, environment variables, and project name from Kyoko to Aurora. syntaxbullet 2025-12-20 11:23:39 +01:00
  • 1f7679e5a1 test: refactor mocks to use spyOn for better isolation syntaxbullet 2025-12-19 13:31:14 +01:00
  • 4e228bb7a3 test: add tests for trade service syntaxbullet 2025-12-19 12:15:48 +01:00
  • 95d5202d7f test: add tests for quest service syntaxbullet 2025-12-19 12:15:32 +01:00
  • 6c150f753e test: add tests for leveling service syntaxbullet 2025-12-19 11:18:35 +01:00
  • c881b305f0 test: add tests for inventory service syntaxbullet 2025-12-19 11:08:43 +01:00
  • ae5ef4c802 test: add tests for lootdrop service syntaxbullet 2025-12-19 11:05:25 +01:00
  • 2b365cb96d test: add tests for economy service syntaxbullet 2025-12-19 11:04:00 +01:00