Commit Graph
423 Commits
Author SHA1 Message Date
ngqileandClaude Opus 5.5 72b724f468 feat(system): user companyId, kept on update when the request omits it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:25:07 +08:00
ngqileandClaude Opus 5.5 42071a850f feat(db): company, user.company_id and Co-Lite back-office modules
Change SQL in the OpenSpec change folder, mirrored into local/seed.
Local seed keeps only roles 1-3; dev admin no longer needs a first-login change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:23:16 +08:00
ngqileandClaude Opus 5.5 f97bf48d93 docs: propose add-admin-auth-users-roles (change 2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:17:36 +08:00
ngqile c31b6630eb Merge pull request 'docs: archive add-repo-foundation-local-stack' (#2) from archive-repo-foundation-local-stack into main 2026-11-26 11:11:04 +00:00
ngqileandClaude Opus 5.5 6b2fcf5780 docs: archive add-repo-foundation-local-stack
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:10:56 +08:00
ngqile 1c77d9b63f Merge pull request 'chore: repo foundation and local stack (change 1)' (#1) from add-repo-foundation-local-stack into main 2026-11-26 11:10:42 +00:00
ngqileandClaude Opus 5.5 2af54270af docs: record env contract and MySQL settings for later changes; update status
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 16:47:11 +08:00
ngqileandClaude Opus 5.5 edb45a1c30 fix(local): drop stress-test procedures from schema seed instead of gutting them
proc_create_user and proc_create_member generate users and members with a
fixed password hash; they are removed whole. Every other routine and trigger
is now kept intact.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 16:46:58 +08:00
ngqile e73fab9cc6 fixup! chore: copy kept Tastefully modules and portals into Co-Lite 2026-11-26 16:46:58 +08:00
ngqileandClaude Opus 5.5 fc91dc1076 docs: mark local stack change tasks complete
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 16:37:29 +08:00
ngqileandClaude Opus 5.5 d72f48cbc0 chore(local): smoke check and local stack README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 16:32:35 +08:00
ngqileandClaude Opus 5.5 b3fcb2883a chore(local): seed schemas, reference data and a dev admin login
Schema from a Tastefully schema-only dump with data rows, AUTO_INCREMENT
counters and DEFINER users stripped. Reference rows from an allow-list of
service-system lookup tables (no user, member, attendance or order data;
supported_user_agent rows omitted). Adds a local company row and an
admin/colite-dev-admin login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 16:31:00 +08:00
ngqileandClaude Opus 5.5 f4bf239679 chore(local): docker-compose stack with MySQL, Redis, Pub/Sub emulator and all services
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 16:07:01 +08:00
ngqileandClaude Opus 5.5 9e7fbeafa4 chore(local): add local Spring profile pointing Pub/Sub at the emulator
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 16:00:45 +08:00
ngqile 7dc437cae1 fixup! chore: copy kept Tastefully modules and portals into Co-Lite 2026-11-26 15:59:29 +08:00
ngqileandClaude Opus 5.5 97c0e1956a chore(local): list Pub/Sub topics and subscriptions used by kept modules
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 15:59:00 +08:00
ngqileandClaude Opus 5.5 6fee337927 chore(gateway): remove routes to dropped services
Removed 41 routes whose target service is not part of Co-Lite:
bonus, payment (payment, wallet, paymentMethod, voucher, onlinePayment),
inventory (product, category, sku, pricing, deliveryOrder, promotion,
stockist stock and related), job, drive (storage), staff (staff,
staffGroup), css (feedback), sms, stockist, notification service,
kyc and report. Their app.services.name entries are removed too.
Kept targets: auth, system, member, log, counter, email.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 15:58:23 +08:00
ngqileandClaude Opus 5.5 c922be1e0b build: root aggregator pom and colite-v1 core library version
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 15:57:29 +08:00
ngqileandClaude Opus 5.5 5ee51d1913 chore: copy kept Tastefully modules and portals into Co-Lite
Backend modules from tastefully 8bd93d15: core-libs, core-session,
api-gateway, mobile-api, services-auth, services-system,
services-counter, services-member, services-log, services-email.
solvway-admin-portal from babyboo f64d096ea, solvway-customer-portal
from tastefully 8bd93d15. Copied as tracked files only.

Literal secrets replaced with environment placeholders:
- services-email: SMTP_PASSWORD, MAILGUN_API_KEY, SENDGRID_API_KEY,
  MAILJET_API_KEY, MAILJET_SECRET_KEY (optional, empty default)
- services-system: JUMIO_TOKEN, JUMIO_SECRET (optional)
- services-auth: USER_AUTH_API_SECRET (required); commented JWT secret removed
- core-libs: JWT_TOKEN default removed (required), XXL_JOB_TOKEN default
  removed, ipgeolocation key read from IPGEOLOCATION_API_KEY
- services-system EkycAppConfig: commented Jumio credentials removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 15:55:45 +08:00
ngqileandClaude Opus 5.5 e396568cc3 docs: settle seed location and dump scope for local stack change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 15:42:40 +08:00
ngqileandClaude Opus 5.5 4f1fac2611 docs: propose add-repo-foundation-local-stack OpenSpec change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 15:41:40 +08:00
ngqileandClaude Opus 5.5 83cee9640d docs: phase 1 foundation and lead tracking design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 15:39:48 +08:00
ngqileandClaude Opus 5.5 bf66c00ee6 chore: bootstrap Co-Lite repo with OpenSpec and feature list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfn2iCnRznio8YntVdx
2026-11-26 14:14:49 +08:00