ngqile
e271c06e07
Merge pull request 'docs(openspec): archive add-lead-listing-export' ( #10 ) from archive-add-lead-listing-export into main
2026-11-27 09:36:20 +00:00
ngqile and Claude Opus 5.5
c7989e8f2f
docs(openspec): archive add-lead-listing-export
...
Adds the lead-records and lead-export main specs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 17:36:11 +08:00
ngqile
0de4b089e4
Merge pull request 'feat: lead listing, lead detail and xlsx export (change 4b)' ( #9 ) from add-lead-listing-export into main
2026-11-27 09:35:50 +00:00
ngqile and Claude Opus 5.5
29a3f13503
fix: export route timeout and nullable lead fields from the branch review
...
The export routes wait up to 120 s as the design says, instead of the
30 s default. Event names and updatedAt can be null, and a history card
for a removed event shows no empty name line. Notes on export paging
and on url-less folder modules in the ACL menu.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 17:35:35 +08:00
ngqile and Claude Opus 5.5
0593b5379c
fix(services-system): keep url-less M modules in the ACL menu
...
BO_LEADS_EDIT and BO_LEADS_EXPORT are grantable url-less M modules, but
the ACL menu kept only modules with a url or type A, so the portal's
hasModule never saw them and the edit form and Export button never
showed. Found in the browser check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 17:23:13 +08:00
ngqile and Claude Opus 5.5
5f4f2705e8
feat(admin-portal): xlsx export buttons on both lead listings
...
A binary mobile-api call with the same error shape, export proxy routes
that pass Content-Type and Content-Disposition through, and an Export
button under BO_LEADS_EXPORT that downloads with the current search or
filters and shows EXPORT_TOO_LARGE on the page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 17:09:23 +08:00
ngqile and Claude Opus 5.5
82b6943474
feat(admin-portal): leads listing and lead detail
...
Lead Listing with search and server paging, lead detail with event
history, shared-contact warning and an edit form under BO_LEADS_EDIT,
and a View lead link from the event lead edit page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 16:53:44 +08:00
ngqile and Claude Opus 5.5
eab4053c06
feat(mobile-api): xlsx export of the lead and event lead listings
...
Same columns and filters as the screen, all pages, refused above 20,000
rows. Mobiles are text and dates are dates. Each export is logged with
user, listing and row count only. Adds poi-ooxml 4.1.0, as in services-system.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 16:32:56 +08:00
ngqile and Claude Opus 5.5
963735d524
feat(mobile-api): leads admin API and @AdminModule(also)
...
List, detail and update under /api/admin/leads. Update validates and
normalises like capture and needs both Edit leads and Leads, enforced by
the new also() attribute, which fails closed if any lookup throws.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 16:15:36 +08:00
ngqile and Claude Opus 5.5
6855906cf1
fix(db): make Edit leads and Export leads grantable url-less M modules
...
The Roles screen only grants type M modules, so type A could never be
granted. A url-less M module with no children stays out of the sidebar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 16:12:21 +08:00
ngqile and Claude Opus 5.5
6ab495ad3e
docs(openspec): enforce the second module with @AdminModule(also)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 15:59:38 +08:00
ngqile and Claude Opus 5.5
e75ef80dc0
feat(services-counter): lead search, detail and update
...
Search lists every lead in the company with its event count, last event
and latest salesperson, worked out at read time. Detail adds the event
history and other leads sharing the mobile or email.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 15:59:02 +08:00
ngqile and Claude Opus 5.5
a1d9a82d88
feat(db): event_lead lead index and the Leads, Edit leads and Export leads modules
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 15:42:43 +08:00
ngqile and Claude Opus 5.5
5453302b5c
docs(openspec): propose add-lead-listing-export
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 15:09:03 +08:00
ngqile
4865b631b4
docs(openspec): archive add-event-lead-capture ( #8 )
2026-11-27 06:22:06 +00:00
ngqile and Claude Opus 5.5
46ecdc3dee
docs(openspec): archive add-event-lead-capture
...
Syncs the event-lead-capture and lead-interests specs into main specs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 14:21:58 +08:00
ngqile
21e4feabf0
feat: event lead capture (change 4a) ( #7 )
2026-11-27 06:21:39 +00:00
ngqile and Claude Opus 5.5
8ce641ea86
docs: correct interest storage comment and record event scoping gap
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 14:21:20 +08:00
ngqile and Claude Opus 5.5
fad639d690
test(admin-portal): wait for picker cards before asserting
...
The picker tests waited only for the load call, then read the cards
before they rendered, which failed intermittently in the full suite.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 14:16:56 +08:00
ngqile and Claude Opus 5.5
29f5c6f094
docs(openspec): tick browser check for add-event-lead-capture
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 14:10:29 +08:00
ngqile and Claude Opus 5.5
adaca0a4eb
feat(admin-portal): event lead edit page
...
Edits salesperson, temperature, status, interests, follow-up date and
notes. An off-team current salesperson and an inactive interest already
on the lead stay selectable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 13:51:03 +08:00
ngqile and Claude Opus 5.5
7fe8dcc8a5
feat(admin-portal): two-step event lead key-in form
...
Step 1 matches on mobile or email and offers each candidate (or opens an
already-captured one). Step 2 captures a new or picked lead with
salesperson, temperature, status, interests and follow-up date. A picked
lead only gets contact values that are its own, so no two people merge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 13:31:29 +08:00
ngqile and Claude Opus 5.5
94e1e7fdde
feat(admin-portal): event picker and event leads listing
...
Picker lists events with those running today first. The listing filters
by salesperson, temperature, status, interest and lead type, with a
table at md and up and tappable cards on phones.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 13:09:55 +08:00
ngqile and Claude Opus 5.5
90f25debc2
feat(admin-portal): event leads data layer
...
One proxy route for /api/admin/event-leads (dot segments rejected),
service, types, and /event-leads gated by BO_EVENT_LEADS.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 12:20:47 +08:00
ngqile and Claude Opus 5.5
18672ba173
feat(admin-portal): interests screen
...
Lists, adds, renames, orders and activates/deactivates interests,
gated by BO_INTERESTS. API errors map to field messages under Name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 12:18:21 +08:00
ngqile and Claude Opus 5.5
fe9d9bd38d
feat(mobile-api): event leads API with phone normalisation and team rule
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 11:37:27 +08:00
ngqile and Claude Opus 5.5
5d768b1566
feat(mobile-api): admin interests API
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 11:20:10 +08:00
ngqile and Claude Opus 5.5
48507979bd
feat(services-counter): capture, match, list and edit event leads
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 11:13:49 +08:00
ngqile and Claude Opus 5.5
b75d636886
feat(services-counter): store each company's interest list
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 10:09:56 +08:00
ngqile and Claude Opus 5.5
4c853c428e
feat(db): lead, event_lead and interest tables with their modules
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 09:42:24 +08:00
ngqile and Claude Opus 5.5
3fc0510615
docs(openspec): propose add-event-lead-capture
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 09:33:21 +08:00
ngqile
66581f1944
Merge pull request 'docs(openspec): archive add-admin-events' ( #6 ) from archive-add-admin-events into main
2026-11-26 18:38:20 +00:00
ngqile and Claude Opus 5.5
846a08da57
docs(openspec): archive add-admin-events
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 02:38:12 +08:00
ngqile
5588ade48d
Merge pull request 'feat: admin events with salesperson teams (add-admin-events)' ( #5 ) from add-admin-events into main
2026-11-26 18:37:53 +00:00
ngqile and Claude Opus 5.5
4e77440709
docs(openspec): add-admin-events browser verification
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 02:32:51 +08:00
ngqile and Claude Opus 5.5
82d47f4023
fix(admin-portal): show the CalendarDays icon for the Events menu
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 02:32:50 +08:00
ngqile and Claude Opus 5.5
b6671280fa
docs(openspec): tick add-admin-events task 4.2
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 02:18:27 +08:00
ngqile and Claude Opus 5.5
c57aa3e7cc
feat(admin-portal): events list, create and edit screens with team picker
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 02:18:20 +08:00
ngqile and Claude Opus 5.5
33f1e7a505
fix(mobile-api): keep a deactivated member already on an event's team
...
Only users being added must be active admins; someone already on the team stays
until an admin removes them, so an unrelated event edit no longer fails.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 01:48:35 +08:00
ngqile and Claude Opus 5.5
2efdcba1ae
fix(mobile-api): event errors use the portal's details/errors contract
...
The portal forwards only code, errors and flat details from a ProblemDetail, so
the failing field and the TEAM_NOT_SAVED event uuid move into details and the
missing-field list into errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 00:25:55 +08:00
ngqile and Claude Opus 5.5
c908fbe9fc
feat(admin-portal): port babyboo's date picker and calendar
...
Adds react-day-picker 10.0.1 (it brings date-fns). The portal bans native date
inputs, and the events and leads forms need a date field.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 00:23:56 +08:00
ngqile and Claude Opus 5.5
1fa7c60fee
feat(mobile-api): admin events API with salesperson teams
...
/api/admin/events list, get, create, update and salesperson-options, all behind
BO_EVENTS. Whole-day dates, uuid as a string, team ids checked before saving.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 00:18:32 +08:00
ngqile and Claude Opus 5.5
70e0651a75
feat(services-counter): store each event's team of salespeople
...
GET /counter/eventSalesperson/findByEventUuid/{eventUuid} and
POST /counter/eventSalesperson/replace (bulk delete then insert, one transaction).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 23:57:50 +08:00
ngqile and Claude Opus 5.5
814c51da3d
feat(db): event_salesperson table and BO_EVENTS module
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 23:23:34 +08:00
ngqile and Claude Opus 5.5
246fec3c7b
docs(openspec): propose add-admin-events
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 23:19:39 +08:00
ngqile
dfed2919a0
Merge pull request 'docs(openspec): archive add-admin-auth-users-roles' ( #4 ) from archive-add-admin-auth-users-roles into main
2026-11-26 14:41:05 +00:00
ngqile and Claude Opus 5.5
4acfaff8e5
docs(openspec): archive add-admin-auth-users-roles
...
Adds the admin-access, admin-users and admin-roles main specs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 22:40:58 +08:00
ngqile
5d63b2bbec
Merge pull request 'feat: admin auth, users and roles (change 2)' ( #3 ) from add-admin-auth-users-roles into main
2026-11-26 14:40:32 +00:00
ngqile and Claude Opus 5.5
69e2b4eb7b
fix(mobile-api): read roles services-system sends as bare ids
...
services-system writes a role already seen in a response as its bare id. The
module check missed it, so a role granted two modules was refused the second;
the super-admin target guard now reads it too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 22:37:49 +08:00
ngqile and Claude Opus 5.5
4c48ebea2e
fix(mobile-api): stop admins widening their own access
...
- A non-super admin cannot change the roles on their own account (403 OWN_ROLES).
- ROLE_ADMIN and ROLE_MEMBER cannot be assigned (400 UNKNOWN_ROLE, as if absent).
- A non-super admin cannot change the grants of a role they hold (403 OWN_ROLE);
this replaces the BO_ROLES lock-out check, which it makes unreachable.
- POST /api/admin/users/{id}/changePassword is removed; the emailed reset stays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 22:30:11 +08:00
ngqile and Claude Opus 5.5
816c8bcb5e
fix(admin-portal): drop the direct set-password dialog; the emailed reset stays
...
An admin could set a colleague's password to a value of their choosing. Only the
emailed temporary-password reset remains.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 22:29:38 +08:00
ngqile and Claude Opus 5.5
92c8ad3b25
docs(openspec): close admin self-escalation found in review
...
A non-super admin cannot change their own roles or the grants of a role they hold,
hidden roles cannot be assigned, and the direct set-password endpoint goes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 22:22:49 +08:00
ngqile and Claude Opus 5.5
ca98d4dc22
docs(openspec): browser check screenshots for admin auth, users and roles
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 22:16:07 +08:00
ngqile and Claude Opus 5.5
49966586ca
fix(admin-portal): match the screens to the Co-Lite backend after the browser check
...
- Login copy describes the event CRM instead of orders and payouts.
- Role dialog has no parent field; the role routes require a trimmed name and forward only {name}.
- New-user banner says a temporary password was emailed; TEMP_PASSWORD_NOT_SENT shows a message and a link back to users.
- Username is read-only when editing.
- Password hint and an 8-character minimum match the backend admin password rules.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 22:16:02 +08:00
ngqile and Claude Opus 5.5
ad4713094a
fix(gateway): let admin forgot-password reach services-system without a user token
...
Found in the browser check: forgot-password always failed with 401 at the gateway,
so no temporary password was ever sent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 21:59:12 +08:00
ngqile and Claude Opus 5.5
b2e0a17790
chore(local): smoke check logs in through mobile-api admin login; README runs the portal
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 21:44:40 +08:00
ngqile and Claude Opus 5.5
da813874ec
feat(admin-portal): forgot password page; own account cannot be deactivated
...
/forgot-password always shows the same message; the route never forwards upstream
errors or a token. /api/admin/me now returns id and username so the user form can
lock the Active switch on your own account.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 21:38:42 +08:00
ngqile and Claude Opus 5.5
1071ddaa2a
feat(admin-portal): cut babyboo portal down to Co-Lite login, users and roles
...
Removes every other screen, API route, component, test and the dependencies only
they used. Cookie colite_admin, Co-Lite branding, BO_USERS/BO_ROLES modules only.
The user form no longer loads branches, events or country scope.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 21:24:30 +08:00
ngqile and Claude Opus 5.5
a8cdf33a24
feat(mobile-api): admin roles API (list, create, rename, module grants)
...
Member and ROLE_ADMIN roles are hidden; super admin grants are not editable;
removing your own last BO_ROLES grant is refused. Renaming keeps child roles intact.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 20:48:05 +08:00
ngqile and Claude Opus 5.5
4d261d20d5
docs: hide ROLE_ADMIN from role management (attached to every admin, grants nothing)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 20:26:46 +08:00
ngqile and Claude Opus 5.5
f5d1b6d032
feat(mobile-api): admin users API (list, create, edit, deactivate, reset password)
...
New users get a temporary password by email and the creating admin's company.
Self-deactivation and super-admin changes by non-super admins are refused.
services-system: saving a user no longer cascades into role rows.
Local seed: dev admin on the GLOBAL branch (id 0 does not exist).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 20:26:33 +08:00
ngqile and Claude Opus 5.5
9f22837a00
feat(mobile-api): admin login, first-login, forgot password, logout, refresh and me
...
Wrong, blank or failed logins all answer the same 401. A deactivated admin is
refused and the token services-auth issued is revoked. resetAdminPassword now
refuses deactivated users and users without an email.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:55:58 +08:00
ngqile and Claude Opus 5.5
1bfc1c73c6
docs: record admin guard details found while building task 3.1
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:44:11 +08:00
ngqile and Claude Opus 5.5
0a990cbcaf
feat(mobile-api): admin guard on /api/admin/** (admin token, session state, module grants)
...
Ported from babyboo: @AdminModule, AdminModuleAccess, AdminSessionGuard and the
admin branch of AppAccessAspect. Adds the BO area, and services-auth findUserByToken
now returns no user for a logged-out token.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-26 19:44:03 +08:00
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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
ngqile and Claude 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