Commit Graph

75 Commits

Author SHA1 Message Date
mihir 38f58ee3b1 feat(identity): add customer self-registration
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
POST /auth/register creates an ACTIVE, role-less account in the given
organization and returns a session. Customers can use their own cart,
checkout, addresses, orders and wishlist, and nothing permissioned.
Throttled by the auth guard plus 10 registrations per IP per hour;
duplicates return 409. Email verification is not implemented yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:53:16 +05:30
mihir 74c129ba6c fix(security): rate-limit per client IP behind trusted proxies
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
- Add TRUST_PROXY (IPs, CIDRs or loopback/linklocal/uniquelocal; never
  "true") so request.ip uses X-Forwarded-For only from known hops.
  Without it every visitor shares the proxy's rate-limit bucket.
- Occasionally sweep long-expired rate_limits rows.
- Patch zod, nodemailer, multer, fast-uri and effect advisories; the
  production audit reports no known vulnerabilities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:52:49 +05:30
mihir e3ee5ef019 feat(workflows): add atomic audited order expiry sweeps
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2026-10-08 22:12:43 +05:30
mihir 5f729571cb feat(profitability): add sealed batch contribution scenarios 2026-10-08 22:02:51 +05:30
mihir 83f2584133 feat(accounting): add scoped financial source event feed 2026-10-08 22:02:51 +05:30
mihir 6da3aaad19 feat(forecasts): add transparent capture-rate planning baseline 2026-10-08 22:02:51 +05:30
mihir 2e605262a9 feat(analytics): add bounded commerce activity reports 2026-10-08 22:02:51 +05:30
mihir 727968729c fix(database): enforce UTC for pooled connections 2026-10-08 22:02:51 +05:30
mihir 28af830548 feat(forum): add independently moderated threads and replies 2026-10-08 22:02:51 +05:30
mihir 0ec26dc532 feat(segments): add live consent-aware customer audiences 2026-10-08 22:02:51 +05:30
mihir fa0073e109 feat(blog): add reviewed publication snapshots and SEO metadata 2026-10-08 22:02:51 +05:30
mihir 779496cc15 feat(messaging): add explicit versioned consent and eligibility 2026-10-08 22:02:51 +05:30
mihir 0f4e73f06e feat(cart): add private idle cart recovery 2026-10-08 22:02:51 +05:30
mihir 7bcce6fe4d feat(discounts): apply campaign offers to eligible collection merchandise 2026-10-08 22:02:51 +05:30
mihir 9f12fc686e fix(test): use stored campaign dates for coupon window checks 2026-10-08 22:02:51 +05:30
mihir ceb881e30a feat(discounts): bind immutable coupons to versioned campaign drafts 2026-10-08 22:02:51 +05:30
mihir 8431fbca4b feat(discounts): define collection-only campaign discount policy 2026-10-08 22:02:51 +05:30
mihir c8cf3515ba feat(campaigns): publish versioned seasonal campaign windows 2026-10-08 22:02:51 +05:30
mihir fae73b38b0 feat(campaigns): add scoped versioned campaign drafts 2026-10-08 22:02:51 +05:30
mihir d60d5d79d0 feat(campaigns): define seasonal campaign schedule contracts 2026-10-08 22:02:51 +05:30
mihir 600bed2ada feat(reviews): add verified purchases and review moderation 2026-10-08 22:02:50 +05:30
mihir 5a8087b51a feat(wishlist): add private variant wishlists 2026-10-08 22:02:50 +05:30
mihir eb02a059b8 feat(b2b): add partner order and payment reports 2026-10-08 22:02:50 +05:30
mihir 16296e5e22 feat(b2b): add custom candle requests and independent review 2026-10-08 22:02:50 +05:30
mihir 93db8564a7 chore(graphify): add queryable backend source graph 2026-10-08 22:02:50 +05:30
mihir 60ccbc92a1 feat(b2b): record partial partner order payments
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2026-10-03 19:00:34 +05:30
mihir aca127aafe feat(b2b): add partner purchase orders
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2026-10-03 16:59:30 +05:30
mihir a5e450abce feat(b2b): add versioned artwork approvals
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2026-10-03 00:14:04 +05:30
mihir 9ea8f4ccc3 feat(b2b): add reviewed sample requests 2026-10-02 00:05:00 +05:30
mihir fd1b1f34f8 feat(b2b): add reviewed credit policies 2026-10-01 13:02:28 +05:30
mihir a7f07d7325 feat(b2b): add immutable merchandise quotations 2026-09-30 19:30:02 +05:30
mihir 5908d68a9e feat(b2b): add partner price lists and minimum quantities 2026-09-30 01:39:29 +05:30
mihir 98b0a898f6 feat(b2b): add business profiles and manual verification 2026-09-30 01:11:59 +05:30
mihir de57022412 feat(inventory): add audited material stock adjustments 2026-09-30 00:50:28 +05:30
mihir 41e9b17bd1 feat(inventory): transfer material stock between warehouses 2026-09-30 00:33:21 +05:30
mihir 2b448d22e3 feat(production): receive finished goods into warehouse stock 2026-09-29 20:51:49 +05:30
mihir 6651ed3f4e feat(production): post packaging use to warehouse stock 2026-09-29 20:09:37 +05:30
mihir ede522a441 feat(production): post material usage to warehouse stock 2026-09-29 17:58:00 +05:30
mihir 33692b0163 feat(inventory): post QC receipts to warehouse material stock 2026-09-29 17:28:17 +05:30
mihir 37bcebaac3 feat(costing): snapshot completed batch material costs 2026-09-29 17:08:32 +05:30
mihir 307afdb510 feat(costing): add versioned material rates and BOM estimates 2026-09-29 16:47:13 +05:30
mihir a90b30df7c feat(production): record packaging execution for completed batches 2026-09-29 11:51:23 +05:30
mihir 9c5eb2eeea feat(production): add independent packaging BOM revisions 2026-09-29 01:18:37 +05:30
mihir 76e7d416b0 feat(production): record material consumption and wastage 2026-09-29 00:58:02 +05:30
mihir d4aa7d5c79 feat(identity): prepare guarded local admin seed credentials 2026-09-29 00:30:48 +05:30
mihir c7e2160b10 feat(production): track batches against active BOM revisions 2026-09-29 00:30:05 +05:30
mihir cbb53d74db fix(test): allow database setup time across integration suites 2026-09-28 21:26:14 +05:30
mihir f280df5dd0 feat(production): add versioned product bills of materials 2026-09-28 21:26:04 +05:30
mihir ba201e831c feat(procurement): add private versioned supplier documents 2026-09-28 15:40:13 +05:30
mihir 1be408bf4f feat(procurement): record supplier payments and reversals 2026-09-28 15:14:42 +05:30