1. 16 Apr, 2026 3 commits
    • Hoanganhvu123's avatar
      feat: port BrightBean Studio social management suite into Canifa pipeline · 853b7504
      Hoanganhvu123 authored
      Phase 2 - AI Content Pipeline & Social Management:
      
      == Backend Modules ==
      - common/notification/: Notification engine (in-app, email, webhook, Slack, HMAC-signed)
      - common/social/approval_gate.py: Editorial state machine (draft -> review -> approved -> published)
      - common/social/post_queue.py: Post queue + calendar slot scheduling
      - common/social/scheduler.py: Background publish engine (parallel, exponential backoff)
      - common/media/image_processor.py: Media processor (Pillow resize, ffmpeg thumbnails)
      - common/content_templates.py: 30+ fashion content templates + Vietnamese RSS feeds (ported from BrightBean builtin_templates.py 968L)
      
      == API Routes ==
      - api/notification_route.py: Notification CRUD + test endpoints
      - api/content_approval_route.py: Approval workflow (approve/reject/submit)
      - api/queue_route.py: Queue + calendar + posting slots
      - api/media_route.py: Media library (upload/resize/delete)
      - api/templates_route.py: Content templates + RSS feed catalog
      - api/social_inbox_route.py: Unified social inbox (FB/IG/TikTok messages)
      
      == Static Dashboards (zero-build) ==
      - static/content-approval/index.html: Approval queue UI
      - static/content-calendar/index.html: Weekly calendar + queue sidebar
      - static/media-library/index.html: Drag-drop upload + asset grid + platform resize
      - static/social-inbox/index.html: 3-column inbox (filters/list/detail) + reply/note composer
      - static/content-composer/index.html: Post editor + templates + AI enhancement + schedule
      
      == Server ==
      - server.py: Registered all new routers + publish engine autostart + dashboard links in banner
      853b7504
    • Vũ Hoàng Anh's avatar
    • Vũ Hoàng Anh's avatar
  2. 14 Apr, 2026 1 commit
  3. 13 Apr, 2026 1 commit
  4. 10 Apr, 2026 1 commit
    • Vũ Hoàng Anh's avatar
      feat: add AI Diagram Agent - 2-agent LangGraph with Mermaid.js · 68319fd8
      Vũ Hoàng Anh authored
      - New diagram agent: Planner generates Mermaid code, Responder explains
      - FastAPI route: /api/diagram/chat + /clear with Redis session history
      - Frontend: split-pane UI with canvas pan/zoom (scroll wheel + drag)
      - Auto-fit diagram to view, grid background, PNG export
      - Prompt enforces ASCII syntax labels for Mermaid compatibility
      - Planner LLM max_tokens=4000 for complex diagram generation
      - Supports: flowchart, sequence, class, ER, gantt, mindmap, pie chart
      68319fd8
  5. 09 Apr, 2026 1 commit
  6. 04 Apr, 2026 4 commits
  7. 03 Apr, 2026 1 commit
  8. 27 Mar, 2026 2 commits
  9. 25 Mar, 2026 1 commit
  10. 19 Mar, 2026 1 commit
  11. 18 Mar, 2026 1 commit
  12. 17 Mar, 2026 2 commits
  13. 13 Mar, 2026 1 commit
  14. 09 Mar, 2026 1 commit