Commit Graph

510 Commits

Author SHA1 Message Date
melvinchia3636
f7d19eab8e fix(cli): hopefully fix #84 2026-06-25 08:54:10 +08:00
melvinchia3636
15c46e71e7 feat: standardize locale package naming to @lifeforge/owner--lang-code and implement Zod validation for locale package structure and author. 2026-06-25 08:54:10 +08:00
melvinchia3636
6def8fd5b5 refactor(server): improve dev mode handling and module listing logic 2026-06-25 08:54:10 +08:00
Melvin Chia
e15cb6ad6f chore(server): reorder import of cleanSchemas in schema files 2026-01-21 15:57:36 +08:00
Melvin Chia
369cff0102 fix(server): move getModulesWithLocales call inside getLocale callback 2026-01-21 15:57:26 +08:00
Melvin Chia
272901abe1 fix(server): return error details as JSON in parseBodyPayload and parseQuery 2026-01-21 15:56:56 +08:00
Melvin Chia
2338ab7ad1 fix(server): cast callerModule to never in createHandler function 2026-01-21 15:56:36 +08:00
Melvin Chia
4500fd28cb refactor(server): improve environment detection logging in loadModuleRoutes 2026-01-20 06:00:39 +08:00
Melvin Chia
a5226e72de refactor(server): add fallback to module path loading logic 2026-01-20 05:58:16 +08:00
Melvin Chia
14000e1b96 fix(server): update language pack filter to exclude package.json 2026-01-20 05:57:54 +08:00
Melvin Chia
577955d6ce feat(server): enhance module scanning with dev mode support and client dist check 2026-01-19 17:33:24 +08:00
Melvin Chia
2cce082ef4 chore(server): remove unused routes.type.ts file 2026-01-19 17:28:39 +08:00
Melvin Chia
d60f219105 feat(forge): specify user scope in createForge function 2026-01-18 21:57:10 +08:00
Melvin Chia
05aad07fcd chore(server): update zod version and add server-utils as dependency 2026-01-18 21:25:15 +08:00
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
bbc20bcd93 refactor(server): remove moment and add commander and dayjs dependencies 2026-01-12 23:53:28 +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
ac63013774 feat(client,server): update package names to scoped format and improve build scripts 2026-01-12 18:37:06 +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
8709da5b55 fix(client,server): streamline dev scripts 2026-01-10 17:10:34 +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
9bc717bbf5 feat(client,server,db): restructure docker setup, add db-init and client-builder services
feat(db): implement db-init container for migration generation and application
feat(client): create client-builder for on-demand client rebuilds
refactor(server): optimize Dockerfile and entrypoint for better build process
refactor(tools): enhance module install/uninstall with Docker reload options
fix(tools): prevent migration history-sync in Docker mode
feat(tools): add docker management commands for reload functionality
2026-01-07 18:47:22 +08:00
Melvin Chia
9ac9c3a0c1 feat(client,server): enhance build scripts 2026-01-06 20:45:36 +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
9056a7646d refactor(server): remove unused path from tsconfig include 2026-01-05 13:14:12 +08:00
Melvin Chia
13c84f87fd refactor(shared,server): simplify collection name parsing and normalization 2026-01-05 13:14:12 +08:00
Melvin Chia
bf41e4a40f fix(shared,server): update zod dependency version to ^4.1.12 2026-01-05 13:14:12 +08:00