Commit Graph
107 Commits
Author SHA1 Message Date
ngqileandClaude Opus 5.5 840b5a3bae feat: company code and status, company on events and emails, admin login names
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 18:44:50 +08:00
ngqileandClaude Opus 5.5 4243a2d6cd docs(openspec): propose add-company-scoping
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 18:23:08 +08:00
ngqileandClaude Opus 5.5 4f38f6b167 docs(openspec): archive add-admin-audit-log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 17:18:02 +08:00
ngqileandClaude Opus 5.5 7aa5c4b921 fix: audit target is the record acted on, never a typed username; guard retention
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 17:16:29 +08:00
ngqileandClaude Opus 5.5 81ef54f996 docs: audit log deploy SQL, topic and retention setting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 17:01:55 +08:00
ngqileandClaude Opus 5.5 7fc3adfe05 feat: admin portal Audit log list and detail
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 17:01:55 +08:00
ngqileandClaude Opus 5.5 8a527e9ffe feat: admin audit-log read API
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 16:44:09 +08:00
ngqileandClaude Opus 5.5 adc62ac436 feat: admin services supply allow-listed audit changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 16:36:37 +08:00
ngqileandClaude Opus 5.5 1523dc566b feat: mobile-api records admin writes and sensitive reads as audit events
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 16:10:14 +08:00
ngqileandClaude Opus 5.5 d715073ab2 feat: services-log stores, purges and serves admin audit events
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 15:53:17 +08:00
ngqileandClaude Opus 5.5 10f59c5ca8 feat: core-libs AuditEvent contract and audit-event topic names
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 15:44:32 +08:00
ngqileandClaude Opus 5.5 b9912478e0 feat: audit_event table, Audit log module and audit Pub/Sub topic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 15:40:26 +08:00
ngqileandClaude Opus 5.5 01603e9ece docs(openspec): propose add-admin-audit-log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 15:35:35 +08:00
ngqileandClaude Opus 5.5 c4ff538a8a docs(openspec): archive add-admin-login-security
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 15:01:28 +08:00
ngqileandClaude Opus 5.5 059107fbaa fix: harden the lockout after the branch review
Settings get upper limits (a huge period made every lock check fail
open), the lock check uses the same 191-character key the history
stores, login_audit.username compares like user.username, and the
module gets its own icon. Docs and design notes follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 14:59:06 +08:00
ngqileandClaude Opus 5.5 e240a9c37f docs: login security SQL and lockout notes in the deployment guide
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 14:52:15 +08:00
ngqileandClaude Opus 5.5 091503a820 feat: Login security screen with history, locked accounts and settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 14:33:53 +08:00
ngqileandClaude Opus 5.5 6598b58cb8 feat: locked sign-in message and Change password dialog in the portal
mobile-api now records the browser user agent the portal forwards as
X-Client-User-Agent instead of the portal server's own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 14:16:11 +08:00
ngqileandClaude Opus 5.5 5ce684168a feat: admin API for login history, locked accounts, unlock and settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 14:01:04 +08:00
ngqileandClaude Opus 5.5 6c6734baa3 feat: admin change-password endpoint with lockout on wrong current password
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 13:51:57 +08:00
ngqileandClaude Opus 5.5 39708224ad feat: lock check and login history on admin sign-in and sign-out
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 13:43:42 +08:00
ngqileandClaude Opus 5.5 f6fe246ad0 feat: services-system endpoint for an admin changing their own password
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 13:34:26 +08:00
ngqileandClaude Opus 5.5 f7ec74c7f0 feat: login history and lockout rule in services-system
LoginSecurityService derives the admin lock from login_audit and the
ADMIN_LOGIN_BLOCK settings; /loginSecurity exposes lock check, record,
history, locked list, unlock, lockout settings and password rules. The
gateway routes /loginSecurity/** and lets the lock check and record
through without a user token for the sign-in path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 13:26:20 +08:00
ngqileandClaude Opus 5.5 a0146be325 feat: login_audit table, lockout settings and Login security module SQL
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 12:29:09 +08:00
ngqileandClaude Opus 5.5 bbf268e00a docs(openspec): propose add-admin-login-security
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 12:27:14 +08:00
ngqileandClaude Opus 5.5 44dace109b docs(openspec): archive add-admin-email-listing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 12:14:53 +08:00
ngqileandClaude Opus 5.5 4b090083fb fix: address the email-listing branch review
List each email once when the recipient join returns it twice. The proposal,
design and handover now say Emails exposes every saved email, including member
verification codes and form submissions, not only password emails. The design
names the single catch-all proxy, the later-SQL table sits after the 04 check,
and the seed header says the release package is frozen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 12:14:30 +08:00
ngqileandClaude Opus 5.5 b3c5395cfc docs: email listing workaround and its SQL in the handover; tick change tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 12:05:21 +08:00
ngqileandClaude Opus 5.5 b18e2e625a docs(openspec): propose add-admin-email-listing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 11:36:10 +08:00
ngqileandClaude Opus 5.5 bc3fd6ff76 docs(openspec): archive add-admin-temporary-password
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 11:28:08 +08:00
ngqileandClaude Opus 5.5 d2560c6b8a fix: address the admin-password branch review
Create shows a link back to Users when the user was saved but the password
was not stored. The spec's secure-generator rule now names admin temporary
passwords only, and the reset requirement no longer implies the emailed reset
refuses the caller's own account. The design and handover note that mobile-api
must stay the only gateway client allowed to reach /user/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 11:27:40 +08:00
ngqileandClaude Opus 5.5 4412d455bd docs: staff onboarding without email in the handover; tick change tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 11:19:10 +08:00
ngqileandClaude Opus 5.5 b49c9f1bc3 docs(openspec): rework add-admin-temporary-password to the legacy admin-set password flow
The admin types the initial password on create and a temporary password on
edit; the user is saved with login = N and must change it at first sign-in.
No email is needed to onboard staff.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 10:34:58 +08:00
ngqileandClaude Opus 5.5 7c0a34508e docs(openspec): propose add-admin-temporary-password
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 10:25:24 +08:00
ngqileandClaude Opus 5.5 eadcbba279 docs(openspec): archive add-release-ci-packaging
Adds the release-packaging main spec and points the handover at the
archived SQL package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 10:22:49 +08:00
ngqileandClaude Opus 5.5 510efa4697 docs: address the release-packaging branch review
Spec states what the images guarantee (no secrets, overridable defaults);
handover notes non-TLS DB connections, root on port 80, the empty-server
package, the SMS key rotation, and the missing email/system Secrets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 10:22:21 +08:00
ngqileandClaude Opus 5.5 acd6483019 docs: deployment handover for the Kubernetes deployer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 10:16:27 +08:00
ngqileandClaude Opus 5.5 af6077eaa4 ci: build, test and publish the nine images from main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 10:15:29 +08:00
ngqileandClaude Opus 5.5 9fd801a1f5 feat(db): production database package without the dev login
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 10:15:29 +08:00
ngqileandClaude Opus 5.5 7ba427ad44 fix: keep secrets out of the service images
Each Java module's build context now holds only its jar, and
local/image-check.sh fails an image that carries a key file, a private
key under any name, or a secret setting with a built-in default. It
found one: service-email defaulted SMSS360_APIKEY to a real-looking key,
now removed (the key is in git history and must be rotated).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 10:15:29 +08:00
ngqileandClaude Opus 5.5 3c093068a3 docs(openspec): publish images under solvway in add-release-ci-packaging
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 09:42:49 +08:00
ngqileandClaude Opus 5.5 bfed80a03b docs(openspec): propose add-release-ci-packaging
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 09:33:42 +08:00
ngqileandClaude Opus 5.5 ebfcdbb808 docs(openspec): archive stop-gateway-body-logging
Adds the gateway-request-logging main spec.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 09:24:50 +08:00
ngqileandClaude Opus 5.5 0562689c6e fix(gateway): never log request bodies
The gateway logged every POST and PUT body with only credentials masked,
so lead, member, user and forgot-password personal data reached the log.
It now logs method, masked path and masked headers only, and no longer
reads or rebuilds the body. The body-masking code and its tests go.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-30 09:24:31 +08:00
ngqileandClaude Opus 5.5 f81202f46c docs(openspec): propose stop-gateway-body-logging
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2026-11-27 18:18:37 +08:00
ngqileandClaude 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
ngqileandClaude 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
ngqileandClaude 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
ngqileandClaude 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
ngqileandClaude 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