Commit Graph

7 Commits

Author SHA1 Message Date
Claude
0723407a6d
fix: harden Railway startup — fault-tolerant lifespan + DB retry + credential cleanup
- Wrap PostHog/DLQ init in try/except so startup survives missing services
- Delay self-improvement worker 30s to reduce startup load
- Run init_db() for ALL database types (was SQLite-only, skipping PostgreSQL)
- Add 3-attempt retry with backoff in init_db() for Railway DB startup race
- Fix FastAPI deprecation: regex → pattern in intelligence.py
- Remove hardcoded Ultramsg credentials from auto_pipeline.py

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-25 22:19:25 +00:00
Claude
0ffba2167c
fix: normalize DATABASE_URL for Railway Postgres (postgres:// → postgresql+asyncpg://)
Railway Postgres gives postgres:// but SQLAlchemy asyncpg needs
postgresql+asyncpg://. This was the root cause of all Railway crashes.

https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
2026-04-25 21:43:27 +00:00
Cursor Agent
69f5082e5e
chore(dealix): launch runbooks, staging env templates, SQLite init on startup, product journey test
Co-authored-by: VoXc2 <VoXc2@users.noreply.github.com>
2026-04-12 11:01:09 +00:00
Claude
b4a46076fc
fix: Add SessionLocal and async_session_factory aliases to database.py
Critical bug fix: 5 worker modules import SessionLocal and async_session_factory
which were not exported from database.py. Added aliases pointing to async_session.

This fixes runtime crashes in:
- follow_up_tasks.py
- message_tasks.py
- notification_tasks.py
- affiliate_tasks.py
- sequence_tasks.py

https://claude.ai/code/session_01LsnvBa7HwF5hs99VZbgLGj
2026-04-11 09:36:50 +00:00
Sami Assiri
7cc4fafd3b 🚀 Complete Dealix AI Sales Empire Update - Security Scrubbed, Lead Engine & Multi-Channel Ready 2026-04-02 17:17:13 +03:00
Sami Assiri
1744cb7134 Dealix OS Frontend implementation v1 2026-03-31 19:53:49 +03:00
Claude
f1852c1121
Add SalesMatic AI Sales SaaS Platform - Complete Foundation
Full-stack AI-powered sales automation platform for Saudi SMEs:

Backend (FastAPI + PostgreSQL):
- Multi-tenant architecture with row-level isolation
- JWT auth with RBAC (owner/manager/agent/admin)
- Lead, Customer, Deal, Pipeline, Activity, Message, Proposal models
- Dashboard analytics API (overview, pipeline, revenue)
- WhatsApp Business API, Email (SMTP/SendGrid), SMS (Unifonic) integrations
- Celery + Redis workers for automated follow-ups and scheduled messages
- Property model for Real Estate module (Riyadh districts)
- Hijri date utilities, Arabic/English localization

Frontend (Next.js + Tailwind):
- Professional Arabic RTL landing page with 10 sections
- Brand identity: SalesMatic (سيلزماتك) with custom SVG logo
- Color system: Trust Blue #0F4C81, Growth Teal #00BFA6, CTA Orange #FF6B35
- IBM Plex Sans Arabic + Inter typography
- Responsive design, dark hero section, pricing table, FAQ

Industry Templates:
- Healthcare/Clinics: pipeline stages, WhatsApp message templates, auto-workflows
- Real Estate Riyadh: 20 districts, property tours, payment plans, matching

Infrastructure:
- Docker Compose (PostgreSQL, Redis, Backend, Celery, Frontend, Nginx)
- Nginx reverse proxy config
- Makefile for common operations

https://claude.ai/code/session_01LLR7jzpyNRwDA9kojtT3CW
2026-03-28 03:06:53 +00:00