edtech / apps /api /src

Commit History

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

    CognxSafeTrack
    8cd83e2
  2. 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(types): remove per-route rateLimit config and fix content-type parser done() types

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

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

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

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

    CognxSafeTrack
    04b12d1

  1. feat(api): add root healthcheck for huggingface proxy

    CognxSafeTrack
    b74fcbf
  2. fix(redis): bypass ioredis minor version type mismatch and refactor scheduler

    CognxSafeTrack
    bef7a3d
  3. fix(redis): utilize ioredis and REDIS_URL for robust authenticated connections

    CognxSafeTrack
    25374b3
  4. fix(whatsapp): handle parameterless health check pings from meta webhook

    CognxSafeTrack
    17572d8
  5. fix(whatsapp): ignore trailing slashes globally for meta webhook

    CognxSafeTrack
    cca255d
  6. fix(whatsapp): strict text/plain response for Meta webhook verification

    CognxSafeTrack
    5107825
  7. feat: sync all recent changes (AI, whatsapp, redis passwords, script fixes)

    CognxSafeTrack
    3c6fc2a
  8. feat(payment): integrate stripe checkout, webhooks, and worker dispatch

    CognxSafeTrack
    b5f6b08
  9. feat: implement AI document generation (mock, pdf, pptx) and worker integration

    CognxSafeTrack
    2d7440e
  10. feat: implement dynamic admin dashboard with API data

    CognxSafeTrack
    6c2d132
  11. fix: resolve TS compilation errors in api service

    CognxSafeTrack
    7d1fb38

  1. feat: add Dockerfile and script for Hugging Face Spaces

    CognxSafeTrack
    a59f28c
  2. chore: add netlify.toml and fix tsconfig exports

    CognxSafeTrack
    dced83b
  3. Initial commit: Monorepo setup with React+Vite, Fastify, Prisma, and Docker Compose

    CognxSafeTrack
    cc442ef