edtech / apps /api

Commit History

  1. feat: implement WOW Sprint 1 (BusinessProfile, Structured Feedback, STT Hardening, Progress Bar)

    CognxSafeTrack
    65aabf4

  1. feat: audit and hardening of audio pipeline, AI localization, and WhatsApp UX improvements

    CognxSafeTrack
    9eff59c
  2. fix: port alignment, cascade delete, and audio pipeline hardening

    CognxSafeTrack
    0de1348
  3. feat: complete audio pipeline hardening and audit requirements

    CognxSafeTrack
    538f814
  4. build: force deep rebuild v4 with improved logging

    CognxSafeTrack
    3ec3d38

  1. debug: add detailed logging for transcription connection error

    CognxSafeTrack
    1fe7477
  2. fix(audio): Ensure /tmp/audio exists and fix nixpacks syntax

    CognxSafeTrack
    24260b4
  3. feat(audio): Enforce strict AI_API_BASE_URL and add FFmpeg MP3 STT conversion

    CognxSafeTrack
    29ead2c
  4. feat(audio): Complete robust outbound/inbound pipeline and async AI generation

    CognxSafeTrack
    818c5f2
  5. fix: Prevent HF webhook from pushing empty Whatsapp access token to Railway worker

    CognxSafeTrack
    a5db32b
  6. fix: Split Webhook into Gateway (HuggingFace) and Processor (Railway), fix missing https:// in API_URL

    CognxSafeTrack
    df0edd7
  7. fix(whatsapp): resolve duplicate CONTINUE action match and remote 120s blocking delay on feedback

    CognxSafeTrack
    0e83f45
  8. feat: implement STT inbound audio, TTS fallback, and Interactive Lists

    CognxSafeTrack
    abc4e24
  9. fix(deploy): make Stripe keys optional at initialization

    CognxSafeTrack
    e290651
  10. refactor(prod): unify currentDay exclusively in Enrollment model to fix scheduler sync

    CognxSafeTrack
    8cd83e2
  11. feat(prod): implementation of missing features for production readiness

    CognxSafeTrack
    b150436

  1. fix(webhook): ADMIN_API_KEY demoted to warning — API starts with only WHATSAPP_VERIFY_TOKEN, Meta validation can reach public /webhook

    CognxSafeTrack
    617b081
  2. fix(audit): 6 bugs fixed — static imports, store-audio endpoint, CONTINUE fallthrough, SUITE regex, no more require() calls

    CognxSafeTrack
    8549297
  3. fix(startup): WHATSAPP_APP_SECRET demoted to warning — API no longer crashes if absent

    CognxSafeTrack
    ce3c4bc
  4. feat(railway): combined API+Worker Dockerfile + fix list char limits + 10s AI timeout

    CognxSafeTrack
    07420e1
  5. feat(ux): interactive buttons for language choice + LIST menu for sector selection (8 sectors FR/Wolof)

    CognxSafeTrack
    1dec751
  6. fix(comp5): add 429 catch on generateFeedback, use proper imports for whatsappQueue/scheduleTrackDay + Wolof translations

    CognxSafeTrack
    1403ab3
  7. fix(audit): add /v1/ai/transcribe endpoint + fix cross-package storage require in worker

    CognxSafeTrack
    9dfe8d2
  8. feat(arch): interactive LIST menu, audio download-media job, OpenAI 429 fallback, DAY action IDs

    CognxSafeTrack
    9cc0a90
  9. fix(audit): extend DISABLE_WHATSAPP_SEND + remove dead INSCRIPTION handler

    CognxSafeTrack
    1a66683
  10. fix(arch): HF inbound-only + seedDatabase export + DISABLE_WORKER + DISABLE_WHATSAPP_SEND

    CognxSafeTrack
    fe2f79f
  11. fix(prod): in-process seed + DNS fix for worker ENOTFOUND

    CognxSafeTrack
    fc3b1c4
  12. feat(module1): integrate the 12-day curriculum in FR/WO with seed data and auto-routing

    CognxSafeTrack
    cd75882
  13. fix(whatsapp): remove httpsAgent IPv4 constraint causing ENOTFOUND and timeouts on Railway

    CognxSafeTrack
    af32fee
  14. feat(whatsapp): implement interactive pedagogy architecture with Voice and Button routing

    CognxSafeTrack
    5746532
  15. fix(whatsapp): send day 1 content instantly and allow INSCRIPTION to reset state for testing

    CognxSafeTrack
    f9629ec

  1. fix: explicit dns setDefaultResultOrder ipv4first at global level

    CognxSafeTrack
    f20ac25
  2. chore: revert /debug/net to google.com

    CognxSafeTrack
    d06feaa
  3. chore: add /debug/graph endpoint to explicitly test Facebook Graph API accessibility on HF

    CognxSafeTrack
    b924b46
  4. chore: map debug route to graph.facebook.com to check HF DNS block

    CognxSafeTrack
    e2387c9
  5. feat: add /debug/net route to test HF outbound network

    CognxSafeTrack
    8577fe3
  6. fix: explicit httpsAgent with family 4 for Axios to bypass docker IPv6 ENOTFOUND

    CognxSafeTrack
    a37c6ef
  7. fix: replace native fetch with axios to fix Node 20 ipv6 DNS ENOTFOUND in Docker

    CognxSafeTrack
    3cee00b
  8. fix: update privacy policy contact email to seydi@safetrack.tech

    CognxSafeTrack
    18fe85b
  9. feat: add /privacy route for Meta app publication requirement

    CognxSafeTrack
    fb2b5c3
  10. fix: cast meta.json() to typed interface to fix TS18046 strict error

    CognxSafeTrack
    8f86281
  11. feat: admin auth login, real WhatsApp Cloud API, Cloudflare R2 storage

    CognxSafeTrack
    0349430
  12. fix(security): audit fixes — Stripe webhook scope, fail-fast secrets, prisma singleton, worker auth, Zod validation, WA number env var

    CognxSafeTrack
    c8a4f4b
  13. fix(tsconfig): override base with Node.js backend settings (CommonJS, node moduleResolution)

    CognxSafeTrack
    785a2fd
  14. fix(types): remove per-route rateLimit config and fix content-type parser done() types

    CognxSafeTrack
    d11ce48
  15. fix(index): use dynamic import for rate-limit to fix local TS module error

    CognxSafeTrack
    a7a1900
  16. fix(auth): inline onRequest hook in guardedRoutes scope to properly protect private routes

    CognxSafeTrack
    9595ade
  17. fix(api): move all imports to top level to fix ESM error in index.ts

    CognxSafeTrack
    7cf001f
  18. feat(security): API key auth, HMAC webhook verification, rate limiting, Zod validation

    CognxSafeTrack
    04b12d1

  1. chore(build): use tsc --build to bust docker cache for new healthcheck

    CognxSafeTrack
    b1c5720