feat: add Planka service provider with full notification and command support

Webhook-based provider for Planka (self-hosted Kanban board) with:
- 15 event types (cards, boards, lists, comments, tasks, attachments, labels)
- Bearer token webhook authentication
- Async API client for boards/cards/lists
- 30 notification templates (en/ru) + 26 command templates (en/ru)
- Bot commands: /status, /boards, /cards, /lists
- Default tracking config, template config, command config seeded on startup
- DB migration for 15 new tracking_config columns
- Frontend: provider config UI with auto-name, Planka-specific hints
- Frontend: tracking config event toggles for all 15 Planka events
This commit is contained in:
2026-03-23 15:54:00 +03:00
parent 39bac828fd
commit 0fde3c6b3d
83 changed files with 1827 additions and 3 deletions
@@ -142,6 +142,30 @@ _SAMPLE_CONTEXT = {
"release_body": "Initial release",
"release_draft": False,
"release_prerelease": False,
# Planka variables (for planka provider templates)
"board_name": "My Project",
"board_id": "123456",
"board_url": "https://planka.example.com/boards/123456",
"card_name": "Fix login bug",
"card_id": "789012",
"card_url": "https://planka.example.com/cards/789012",
"card_description": "Users cannot log in with SSO",
"card_due_date": "2026-04-01T00:00:00.000Z",
"list_name": "In Progress",
"list_id": "list-1",
"old_list_name": "To Do",
"new_list_name": "In Progress",
"old_list_id": "list-0",
"new_list_id": "list-1",
"comment_text": "Looks good, ready for review!",
"comment_id": "comment-1",
"task_name": "Write unit tests",
"task_id": "task-1",
"task_completed": True,
"attachment_name": "screenshot.png",
"attachment_id": "att-1",
"label_name": "bug",
"label_color": "berry-red",
# Scheduler variables (for scheduler provider templates)
"schedule_name": "Daily Reminder",
"fire_count": 42,