• 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
Name
Last commit
Last update
..
.pyscn/reports Loading commit data...
agent Loading commit data...
api Loading commit data...
auth Loading commit data...
common Loading commit data...
dag Loading commit data...
data Loading commit data...
datadb Loading commit data...
docs Loading commit data...
logs Loading commit data...
plan Loading commit data...
prompts Loading commit data...
static Loading commit data...
static_backup Loading commit data...
tests Loading commit data...
worker Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
API_DOCUMENTATION.md Loading commit data...
Dockerfile.dev Loading commit data...
Dockerfile.prod Loading commit data...
Makefile Loading commit data...
__init__.py Loading commit data...
config.py Loading commit data...
docker-compose.dev.yml Loading commit data...
docker-compose.n8n.yml Loading commit data...
docker-compose.prod.yml Loading commit data...
entrypoint.sh Loading commit data...
fix_bitmap.py Loading commit data...
locustfile.py Loading commit data...
migrate_ai_matches.py Loading commit data...
nginx.conf.example Loading commit data...
promtail-config.yaml Loading commit data...
pyproject.toml Loading commit data...
pyrightconfig.json Loading commit data...
pyscn.yaml Loading commit data...
requirements.txt Loading commit data...
seed_flow.py Loading commit data...
seed_roadmap.py Loading commit data...
server.py Loading commit data...
update_weather_tags.py Loading commit data...
worker.py Loading commit data...