Commit Graph
15 Commits
Author SHA1 Message Date
azures04 c96e728228 fixed cape upload 2026-01-18 23:47:29 +01:00
azures04 308c3b5479 fixed cape upload 2026-01-18 23:34:40 +01:00
azures04 086468405a fixed cape upload 2026-01-18 23:32:32 +01:00
azures04 83d46425b3 Update adminService.js 2026-01-18 21:26:40 +01:00
azures04 7eac539598 Update adminService.js 2026-01-18 21:25:40 +01:00
azures04 9a6b119d37 Update adminService.js 2026-01-18 21:24:35 +01:00
azures04 d8318f874f Update adminService.js 2026-01-18 21:23:56 +01:00
azures04 487bd08141 Update adminService.js 2026-01-18 21:21:42 +01:00
azures04 30a0ac3927 Update adminService.js 2026-01-18 21:19:32 +01:00
azures04 a31be145cc Update adminService.js 2026-01-18 21:04:08 +01:00
azures04 86349bcf4f Add admin login and password change endpoints
Introduces POST /login and PATCH /password routes for admin authentication and password management. Adds corresponding schema validation for login and password change, enforces stricter password requirements, and updates adminService with JWT-based profile retrieval and improved token handling.
2026-01-18 19:38:24 +01:00
azures04 c5b6f6c107 Add Discord OAuth2 account linking and login support
Introduces Discord OAuth2 integration for account association and login, including new routes for linking, unlinking, and authenticating via Discord. Adds supporting services, repositories, and schema validation for the OAuth2 flow. Refactors database schema and queries for consistency, and updates dependencies to include required OAuth2 libraries.
2026-01-11 21:03:12 +01:00
azures04 5b81f57adb Rename deleteGlobalCape to deleteCape
Refactored the function and route handler from deleteGlobalCape to deleteCape for consistency and clarity in naming. Updated all references accordingly.
2026-01-05 05:07:53 +01:00
azures04 bfad2a39c1 Add player action logging for admin operations
Introduces a new addPlayerAction method in adminRepository and logPlayerAction in adminService to record admin actions on player accounts. Updates relevant admin routes to log actions such as bans, unbans, forced name changes, and skin resets. Also improves error messages in adminService for consistency and clarity.
2026-01-05 05:06:06 +01:00
azures04 439094013d Add admin API, permissions, and player management routes
Introduces admin database tables, repository, and service for managing administrators and permissions. Adds new admin routes for banning players, managing cosmetics (capes), changing player passwords and usernames, and handling player textures. Updates user and session services to support admin actions and permission checks. Adds related schema validation for new endpoints.
2026-01-05 04:44:56 +01:00