mohd
4253f6f650
Added Authentica OTP
2026-02-28 16:58:50 +03:00
mohd
a1da918f95
Enhance documentation, implement Twilio OTP delivery, and update payment gateway methods. Updated AGENTS.md and README.md for clarity on ExecPlans and architecture. Added Twilio as a dependency and implemented capture/refund methods in MoyasarGateway. Improved frontend routing with react-router-dom and added authentication context. Updated styles and localization files for better user experience.
2026-02-28 15:33:50 +03:00
mohd
86fd07c778
miscellaneous documentation
2026-02-28 15:33:18 +03:00
mohd
ca2a6b58b6
Booking lifecycle notifications and status updates
2026-02-28 15:06:35 +03:00
mohd
db36551211
Document payments sanity check and fix demo seed
2026-02-28 13:28:58 +03:00
mohd
a150b18fe7
Wire payments UI and fix frontend tests
2026-02-28 13:15:41 +03:00
mohd
f3c93f500e
Implement Moyasar payments flow with webhooks
2026-02-28 13:01:12 +03:00
mohd
d9767ff0a7
Add payments ExecPlan and set as active
2026-02-28 12:47:59 +03:00
mohd
ce99eba922
enforce tests
2026-02-28 12:43:52 +03:00
mohd
7718f8ccfe
Tests updated & minor environment notes for agents
2026-02-28 12:36:47 +03:00
mohd
411180e312
Created and activated the booking integrity ExecPlan, then implemented staff availability, overlap prevention, and duration validation with backend tests.
...
Added a staff availability model and migration, a booking validation service, and serializer enforcement.
2026-02-28 12:05:57 +03:00
mohd
d40bb10876
Updated PLANS.md, AGENTS.md, and arabic-localization.md to reflect the “foundations now, full translations later” approach and marked progress accordingly.
...
Implemented localization foundations across backend and frontend (locale settings/middleware, preferred language, i18n wiring, RTL support, minimal Arabic UI strings, Accept-Language).
Added targeted backend and frontend tests plus a risks note for pending full translation coverage.
2026-02-28 11:48:58 +03:00
mohd
fd90af33b3
PLANS.md update
2026-02-28 11:38:39 +03:00
mohd
ba74025067
agents.md
2026-02-27 20:31:47 +03:00
mohd
be2590d7f7
Backend and frontend testing stacks (pytest + vitest) and a few initial tests.
2026-02-27 16:03:06 +03:00
mohd
46af911a06
I proceeded with Phase 1 step 1 (phone-first auth + OTP hardening) and updated the plan context. Here’s the current state and the next steps.
...
What I implemented
Phone-first auth endpoints with OTP → JWT issuance.
views.py
urls.py
Phone normalization (KSA-focused, E.164 or Saudi mobile) and validation.
phone.py
serializers.py
OTP protections: rate limit, resend cooldown, attempt counting.
otp.py
models.py
Email is now optional to allow phone-only users.
models.py
0002_phone_auth_fields.py
Admin OTP visibility improved.
admin.py
Risks updated.
risks.md
2026-02-27 15:57:09 +03:00
mohd
dc68ecfe4c
Summary of what I changed and added:
...
Added initial migrations for accounts, salons, bookings, payments.
0001_initial.py
0001_initial.py
0001_initial.py
0001_initial.py
Added demo seeding command.
seed_demo.py
OTP provider abstraction now includes Twilio + Unifonic adapter scaffolds (not implemented yet, they raise).
otp.py
Moyasar gateway scaffold added (not implemented yet, raises).
gateway.py
Added .env loading in settings and expanded .env.example for OTP and Moyasar.
settings.py
.env.example
Captured current gaps/risks in a tracked doc as requested.
risks.md
Updated README with seeding guidance and risk doc pointer.
README.md
2026-02-27 15:10:30 +03:00
mohd
fc06bb6fcd
Initial commit
2026-02-27 15:01:06 +03:00