Commit Graph

19 Commits

Author SHA1 Message Date
Urvish Prajapati f8917f013a bug(invalid-discount): removed unintended legacy staggered cross-module discount calculation, implemented discount rules from the docs 2026-10-14 16:06:04 +05:30
Amit Salunke 29279bfd72 Merge pull request 'Issue 20 : fix require non-whitespace special character in password validation' (#9) from fix/issue-20-password-special-character-validation into main
Reviewed-on: https://10.10.0.4/AcuPedia/acupedia-api/pulls/9
Reviewed-by: Amit Salunke <amit@noreply.localhost>
2026-10-06 12:25:34 +00:00
Amit Salunke 52c69e4cfc Merge pull request 'Issue 5 : fix- resolve currency-specific access plans dynamically for cart calculation and checkout' (#8) from fix/issue-5-usd-gateway-fee-gst into main
Reviewed-on: https://10.10.0.4/AcuPedia/acupedia-api/pulls/8
Reviewed-by: Amit Salunke <amit@noreply.localhost>
2026-10-06 12:23:46 +00:00
Amit Salunke 5237c6c010 Merge pull request 'fix(cart): validate coupons strictly against database and verify active/expiry status' (#6) from fix/cart-coupon-db-validation into main
Reviewed-on: https://10.10.0.4/AcuPedia/acupedia-api/pulls/6
Reviewed-by: Amit Salunke <amit@noreply.localhost>
2026-10-06 12:22:45 +00:00
ShivaniKhaire e6ecf4610b fix(auth): require non-whitespace special character in password validation 2026-10-05 17:23:15 +05:30
ShivaniKhaire 98450ac4ec fix(cart): resolve currency-specific access plans dynamically for cart calculation and checkout 2026-10-05 16:53:58 +05:30
ShivaniKhaire 23725880e3 fix(cart): validate coupons strictly against database and check active/expiry status 2026-10-03 17:12:16 +05:30
ShivaniKhaire fbccafcfe0 allow search facet to read json object fields 2026-09-30 09:43:52 +05:30
Amit Salunke 64d5097e1b display order fix for m0001 2026-09-28 07:47:19 +05:30
Amit Salunke 92c29dd673 Updated serach fix 2026-09-26 22:13:04 +05:30
Amit Salunke b44e0a2dd2 Added module fix 2026-09-12 20:29:53 +05:30
Urvish Prajapati ea729554c8 Merge origin/main and resolve conflict in app/main.py 2026-09-11 17:04:49 +05:30
Urvish Prajapati bcfbdc8442 fix(backup): fallback to docker container for pg_dump when not installed on host 2026-09-11 16:29:00 +05:30
Urvish Prajapati bbae243054 fix(invoices): serve custom Acupedia tax invoice template instead of Razorpay link 2026-09-11 16:11:05 +05:30
Urvish Prajapati 7afa8e1913 feat(api): modularize admin services, add storefront plans, and support country in profile update
- Auth:
  - Add `country` field to `ProfileUpdateRequest` schema
  - Update `AuthService.update_profile` and `AuthRepository.update_profile` to persist country changes to `auth.app_users`

- Storefront Parity:
  - Add public `GET /api/plans` endpoint in `app/features/plans.py` with dual-currency pricing (INR/USD), feature badges, and module slugs
  - Mount plans router and add `GET /` root health status endpoint in `app/main.py`
  - Update CORS allowed origins for backoffice port 3001

- Admin Architecture & Endpoints:
  - Refactor monolithic admin service into domain-driven sub-services under `app/features/admin/services/` (modules, plans, coupons, customers, payments, database, reports)
  - Retain backwards-compatible `AdminService` facade in `services/__init__.py`
  - Add full endpoint parity in `app/features/admin/api.py` for customer 360 drawer, streaming CSV reports, live DB stats, dump downloads, and HTML invoice preview
  - Add `created_at` timestamp to `AdminUserListResponse` and validation schemas in `app/features/admin/schema.py`
2026-09-11 14:51:15 +05:30
Amit Salunke c76e56f3e4 Added nutrition data 2026-09-10 17:48:32 +05:30
Amit Salunke 7bacda624c Added new api 2026-09-07 19:19:44 +05:30
Amit Salunke 60767dad12 initial commit 2026-09-06 21:07:37 +05:30
Amit Salunke b36b900c44 Init Api 2026-09-05 19:29:21 +05:30