85 Commits

Author SHA1 Message Date
4a0fcf65f3 Update userRepository.js 2026-01-23 21:38:54 +01:00
cc8e581cbe Update userRepository.js 2026-01-23 21:38:21 +01:00
b4ae5fa4d9 Update index.js 2026-01-23 21:33:13 +01:00
7018e8c497 Update userRepository.js 2026-01-23 21:30:41 +01:00
8e0a1ab673 Update userRepository.js 2026-01-23 21:29:37 +01:00
e089957db7 Update userRepository.js 2026-01-23 21:28:54 +01:00
c8812c5153 Add getSkins and getCapes methods to user modules
Introduces getSkins and getCapes functions in both userRepository and userService to retrieve player skins and capes from the database. These methods return structured data for use in higher-level application logic.
2026-01-23 21:27:45 +01:00
66db52e7c8 Update server.js 2026-01-19 20:37:12 +01:00
21fd655a1f Update register.js 2026-01-19 20:35:58 +01:00
074a5dc04b Update register.js 2026-01-19 20:35:19 +01:00
6cf822e603 Update register.js 2026-01-19 20:34:51 +01:00
535c21b971 register 2026-01-19 20:34:07 +01:00
44a9ff12b1 register 2026-01-19 20:31:13 +01:00
f5df40f264 Update register.html 2026-01-19 20:28:56 +01:00
caa318f2c7 register 2026-01-19 20:26:58 +01:00
d6ac0fd8b4 r 2026-01-19 20:26:05 +01:00
6666025726 Update register.html 2026-01-19 20:24:30 +01:00
57aeb47ed1 Update register.html 2026-01-19 20:19:19 +01:00
4975f7e191 Add static registration page and static file serving
Added a new registration HTML page under data/static/register.html and introduced a static file serving route in routes/static.js. Minor adjustments were made to authRepository.js and userRepository.js to update module imports. This enables serving static assets and provides a registration UI.
2026-01-19 02:47:55 +01:00
c96e728228 fixed cape upload 2026-01-18 23:47:29 +01:00
308c3b5479 fixed cape upload 2026-01-18 23:34:40 +01:00
086468405a fixed cape upload 2026-01-18 23:32:32 +01:00
0b8ab9f194 Update databaseGlobals.js 2026-01-18 23:18:58 +01:00
01e0b94d35 Add composite primary key to player_capes and update messages
Added a composite primary key (playerUuid, assetHash) to the player_capes table for better data integrity. Updated userRepository.js to use English messages for cape assignment and removal operations.
2026-01-18 23:16:11 +01:00
0049ae8ec6 Update server.js 2026-01-18 23:10:31 +01:00
9469822ef9 Update [hash].js 2026-01-18 23:10:13 +01:00
99598f2b7a Update [hash].js 2026-01-18 23:06:40 +01:00
85ba96cb6f Update [hash].js 2026-01-18 23:05:59 +01:00
ac6eca3f31 Update [hash].js 2026-01-18 23:03:05 +01:00
53e58bdb30 Log header validation result in server.js
Added a console.log statement to output the result of header validation in the request handler. Also fixed a minor formatting issue in the cape texture schema file.
2026-01-18 23:00:59 +01:00
adddbadbf3 Update [hash].js 2026-01-18 22:58:43 +01:00
b15595ecb1 Update [hash].js 2026-01-18 22:54:03 +01:00
aacfca136c Update databaseGlobals.js 2026-01-18 21:52:01 +01:00
9ac904ba08 Update capes.js 2026-01-18 21:39:35 +01:00
fab7066ee3 Update [hash].js 2026-01-18 21:38:39 +01:00
86490ebd2d Update [hash].js 2026-01-18 21:35:55 +01:00
dd04b2014a Update server.js 2026-01-18 21:30:42 +01:00
83d46425b3 Update adminService.js 2026-01-18 21:26:40 +01:00
7eac539598 Update adminService.js 2026-01-18 21:25:40 +01:00
9a6b119d37 Update adminService.js 2026-01-18 21:24:35 +01:00
d8318f874f Update adminService.js 2026-01-18 21:23:56 +01:00
487bd08141 Update adminService.js 2026-01-18 21:21:42 +01:00
30a0ac3927 Update adminService.js 2026-01-18 21:19:32 +01:00
21cf0f49e6 Update server.js 2026-01-18 21:18:50 +01:00
a31be145cc Update adminService.js 2026-01-18 21:04:08 +01:00
0e0f176e50 Update login.js 2026-01-18 21:01:46 +01:00
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
d590ecce6d Fixed '_' char in column name in admin repo 2026-01-18 19:04:24 +01:00
617e60cf75 Fix admin permissions table name and seed default permissions
Corrects the table name from 'apiAdministrators_permissions' to 'apiAdministratorsPermissions' in adminRepository.js for consistency with the database schema. Also seeds default permissions into 'apiAdministratorsPermissionsList' during database setup.
2026-01-18 18:55:22 +01:00
f1a482c58f Moved cosmectics schemas to valid location 2026-01-18 18:27:12 +01:00