Commit Graph

473 Commits

Author SHA1 Message Date
Melvin Chia
53b69dad2d refactor(server): update pb property in Request interface to be a function 2026-01-18 21:25:02 +08:00
Melvin Chia
9552fe3602 feat(server): update core routes to use new SDK 2026-01-18 21:24:51 +08:00
Melvin Chia
e6ce28d39b refactor(server): overhaul core routes to use new forge instance, remove deprecated schema file 2026-01-18 21:24:38 +08:00
Melvin Chia
1aec96377f refactor(server): remove forgeController and related types (delegated to server utils package), update router logic 2026-01-18 21:24:21 +08:00
Melvin Chia
280c7f45dd refactor(server): update PBService to use new types and remove deprecated interfaces
feat(server): enhance database service methods with improved type safety
fix(server): correct collection name handling in getFinalCollectionName
chore(server): clean up unused code and improve overall structure
2026-01-18 21:23:52 +08:00
Melvin Chia
ee2a43356c chore(server): remove test files (for now) 2026-01-18 21:23:22 +08:00
Melvin Chia
3044a74c10 refactor(server): migrate forgeRouter etc. to server-sdk and clean up routes 2026-01-13 21:04:09 +08:00
Melvin Chia
89cd8a810d feat(server): implement CLI argument parsing for log level 2026-01-12 23:53:18 +08:00
Melvin Chia
3654f01f01 refactor(server): add media property to Express Request interface 2026-01-12 23:52:21 +08:00
Melvin Chia
e21ebbff8a refactor(server): replace moment with dayjs for date formatting, simplify encryption callback 2026-01-12 23:52:12 +08:00
Melvin Chia
e742a5b053 refactor(server): simplify forgeController, finally not spaghetti code 2026-01-12 23:51:51 +08:00
Melvin Chia
51bd449917 refactor(server): refactor encryption functions and key management 2026-01-12 23:50:58 +08:00
Melvin Chia
b065fd57d6 refactor(server): replace moment with dayjs for date handling 2026-01-12 23:50:42 +08:00
Melvin Chia
f3f718ff31 refactor(server): replace coreLogger with createServiceLogger in multiple files 2026-01-12 23:50:16 +08:00
Melvin Chia
c6961b906f refactor(server): replace LoggingService with @lifeforge/log package 2026-01-12 20:30:34 +08:00
Melvin Chia
dade1e7e5e feat(server): add duck-typing check for ForgeControllerBuilder 2026-01-12 16:19:07 +08:00
Melvin Chia
e25638e77b feat(server): add dynamic loading of module routes and schemas 2026-01-12 16:18:01 +08:00
Melvin Chia
4f9779a0f5 feat(server): add ROOT_DIR constant and refactor path handling 2026-01-12 16:17:06 +08:00
Melvin Chia
699b548904 feat(server): add dev mode route, module listing and uninstalling route, category AI translation route 2026-01-11 16:51:03 +08:00
Melvin Chia
3f0bc640f8 refactor(server): remove debug log for moduleDistPath 2026-01-11 16:50:02 +08:00
Melvin Chia
71f0c7bdca feat(server): enhance error handling with caller module information 2026-01-11 16:49:48 +08:00
Melvin Chia
623c581292 refactor(server): move getCallerModuleId function to utils module 2026-01-11 16:49:19 +08:00
Melvin Chia
95fe2611f2 refactor(server): simplify callback in list query for category order 2026-01-10 18:17:08 +08:00
Melvin Chia
1589c9900e fix(server): remove noEncryption from manifest query 2026-01-10 18:16:46 +08:00
Melvin Chia
66722cf838 feat: move category ordering mechanism into server 2026-01-10 17:09:49 +08:00
Melvin Chia
f610594be9 feat(client): implement module federation and add external module providers 2026-01-10 09:18:16 +08:00
Melvin Chia
907c7da847 refactor: retrieve API key access from package.json instead of manifest.ts. 2026-01-05 14:28:40 +08:00
Melvin Chia
b8e7b08c45 refactor(server): regenerate api keys schema 2026-01-05 13:56:29 +08:00
Melvin Chia
13c84f87fd refactor(shared,server): simplify collection name parsing and normalization 2026-01-05 13:14:12 +08:00
Melvin Chia
a20e1b4e0c feat(server): update route and schema imports for consistency 2026-01-05 13:14:11 +08:00
Melvin Chia
8ad85cbcda feat: everything works now but still very messy 2026-01-05 13:14:11 +08:00
Melvin Chia
df5449b1e1 feat: very crude implementation 2026-01-05 13:14:11 +08:00
Melvin Chia
f2d94966b1 feat(server): add locale management functions to update and clean cached locales 2026-01-01 23:49:36 +08:00
Melvin Chia
ae3f921cc6 feat(server,forgeCLI): add chore command for initialize server routes and schema file 2026-01-01 08:37:47 +08:00
Melvin Chia
72d62894b4 chore(localizationManager): remove localization manager tool and related files 2025-12-31 06:32:19 +08:00
Melvin Chia
d0f0b86753 fix(server): remove sessionId from return value in verifySessionToken callback 2025-12-31 06:31:55 +08:00
Melvin Chia
4e0fb0ed5f fix(server,forgeCLI): route and schema template file generation is now run in forgeCLI before starting the server 2025-12-30 21:16:22 +08:00
Melvin Chia
f1f1cfaa68 refactor(client,server): improve data structure for APIKeyAccess manifest declaration 2025-12-30 20:44:03 +08:00
Melvin Chia
288759f334 refactor(server): enhance locale loading mechanism and further refactor server initialization 2025-12-30 11:12:27 +08:00
Melvin Chia
80c128fbe2 fix(client,server): remove description field from API key modal and routes 2025-12-30 10:47:52 +08:00
Melvin Chia
e7700f905a refactor(server): remove description field from server logic for API key vault 2025-12-30 10:23:41 +08:00
Melvin Chia
cb1d6e95d8 feat(server): enhance server initialization, replace user defined route and schema file with template 2025-12-30 10:21:13 +08:00
Melvin Chia
6f3b569839 fix(server): handle errors when retrieving API key entry 2025-12-29 23:21:23 +08:00
Melvin Chia
d12b3a78b0 refactor(server): remove unnecessary fields from collection validation 2025-12-29 23:21:23 +08:00
Melvin Chia
78ab18b60f refactor(server): remove useless description field from api keys schema 2025-12-29 23:21:23 +08:00
Melvin Chia
330eddfd47 refactor(server): simplify error handling in serverError function 2025-12-29 23:21:23 +08:00
Melvin Chia
d9539e40b2 refactor(server): update path resolution to use more stable import.meta.dirname 2025-12-29 23:21:23 +08:00
Melvin Chia
ac2bd48a00 feat(server): enhance API key retrieval with caller validation and logging 2025-12-29 23:21:23 +08:00
Melvin Chia
dc0c1c205a refactor(client,server): simplify API key management and remove unused code 2025-12-29 23:21:23 +08:00
Melvin Chia
6b224cf7e0 fix(server): handle missing subnamespace gracefully in getLocale 2025-12-29 19:03:24 +08:00