Giao diện
Plugin
Digiforce cung cấp tính năng qua hệ thống plugin. Mỗi plugin có thể mở rộng data model, API, UI, hoặc tích hợp dịch vụ ngoài.
Tổng quan
186 plugin được tổ chức theo 13 nhóm chức năng. Mỗi plugin có tài liệu riêng với hướng dẫn cài đặt, API reference, và ví dụ thực tế.
Kiến trúc: Plugin architecture | Core concepts: Server Application, Client Application
Cách sử dụng danh sách này
- Tìm theo chức năng: Duyệt các nhóm bên dưới để tìm plugin phù hợp với nhu cầu
- Plugin core vs optional: Plugin có tiền tố
plugin-là optional, có thể bật/tắt độc lập - Tài liệu chi tiết: Click vào tên plugin để xem API, cấu hình, và troubleshooting
- Phụ thuộc: Một số plugin yêu cầu plugin khác (ví dụ:
plugin-workflow-*cầnplugin-workflow)
Các nhóm plugin
| Nhóm | Số lượng | Mô tả |
|---|---|---|
| Phân quyền & xác thực | 16 | ACL, auth providers (LDAP/OIDC/SAML), 2FA, IP restriction |
| Người dùng & tổ chức | 4 | User management, departments, multi-space |
| Action | 10 | Import/export, bulk operations, print |
| Block | 17 | UI blocks (kanban, gantt, calendar, charts, map) |
| Field | 12 | Custom field types (formula, sequence, encryption) |
| Data source | 11 | External DB, REST API, FDW, SQL collections |
| Workflow | 29 | Workflow engine, triggers, nodes (loop/parallel/SQL/JS) |
| Thông báo | 5 | Email, in-app, Firebase notifications |
| File & media | 3 | File manager, S3 storage, Office preview |
| UI & theme | 10 | Theme editor, mobile, Monaco editor |
| Hệ thống & vận hành | 16 | Settings, logging, telemetry, backup, license |
| Hạ tầng & adapter | 6 | Redis/RabbitMQ adapters, distributed lock |
| Tích hợp & API | 9 | API docs, API keys, MCP server, public forms |
| AI | 2 | AI integration, knowledge base |
| Công cụ phát triển | 7 | Schema import/export, mock data, template generator |
Phân quyền & xác thực
Quản lý quyền truy cập, xác thực người dùng qua nhiều phương thức (LDAP, OIDC, SAML, SMS), và bảo mật nâng cao (2FA, IP restriction).
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-acl | Quản lý role, resource permission, đồng bộ ACL engine | RBAC, phân quyền chi tiết theo resource/action |
| plugin-auth | Xác thực người dùng (core auth framework) | Foundation cho tất cả auth providers |
| plugin-auth-ldap | Xác thực qua LDAP | Tích hợp Active Directory, OpenLDAP |
| plugin-auth-oidc | Xác thực qua OpenID Connect | SSO với Keycloak, Auth0, Okta |
| plugin-auth-saml | Xác thực qua SAML | Enterprise SSO (Azure AD, Google Workspace) |
| plugin-auth-sms | Xác thực qua SMS OTP | Passwordless login, xác thực di động |
| plugin-auth-cas | Xác thực qua CAS | Tích hợp hệ thống giáo dục/chính phủ |
| plugin-auth-apple | Xác thực qua Apple ID | Sign in with Apple |
| plugin-auth-telegram | Xác thực qua Telegram | Login qua Telegram bot |
| plugin-two-factor-authentication | Xác thực hai yếu tố (2FA) | Bảo mật tăng cường với TOTP/SMS |
| plugin-verification | Xác minh (email, SMS) | Verify email/phone trước khi kích hoạt |
| plugin-verification-totp-authenticator | TOTP authenticator | Google Authenticator, Authy |
| plugin-password-policy | Chính sách mật khẩu | Độ dài, độ phức tạp, hết hạn |
| plugin-ip-restriction | Giới hạn IP truy cập | Whitelist/blacklist IP, geo-blocking |
| plugin-request-encryption | Mã hóa request | End-to-end encryption cho API |
| plugin-idp-oauth | OAuth identity provider | Biến Digiforce thành OAuth server |
Người dùng & tổ chức
Quản lý người dùng, phòng ban, và tổ chức không gian làm việc.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-users | Quản lý người dùng | User CRUD, profile, roles |
| plugin-departments | Quản lý phòng ban | Cấu trúc tổ chức, hierarchy |
| plugin-user-data-sync | Đồng bộ dữ liệu người dùng | Sync từ LDAP/AD/HR system |
| plugin-multi-space | Đa không gian làm việc | Multi-tenancy, workspace isolation |
Action (thao tác dữ liệu)
Các action mở rộng cho thao tác dữ liệu hàng loạt, import/export, và in ấn.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-action-export | Xuất dữ liệu | Export CSV/Excel/JSON |
| plugin-action-export-pro | Xuất dữ liệu nâng cao | Export với template, scheduling |
| plugin-action-import | Nhập dữ liệu | Import CSV/Excel với mapping |
| plugin-action-import-pro | Nhập dữ liệu nâng cao | Import validation, preview, rollback |
| plugin-action-bulk-edit | Sửa hàng loạt | Sửa nhiều record cùng lúc |
| plugin-action-bulk-update | Cập nhật hàng loạt | Update theo điều kiện, batch processing |
| plugin-action-duplicate | Nhân bản record | Clone record với relations |
| plugin-action-custom-request | Gửi HTTP request tùy chỉnh | Webhook, API integration từ UI |
| plugin-action-print | In dữ liệu | In trực tiếp từ browser |
| plugin-action-template-print | In theo template | In PDF với Carbone template |
Block (khối giao diện)
Các block UI để hiển thị và tương tác với dữ liệu theo nhiều cách khác nhau.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-block-iframe | Block nhúng iframe | Embed external web pages, dashboards |
| plugin-block-markdown | Block Markdown | Rich text content, documentation |
| plugin-block-list | Block danh sách | List view với pagination |
| plugin-block-grid-card | Block grid card | Card layout, gallery view |
| plugin-block-tree | Block cây phân cấp | Hierarchical data (org chart, categories) |
| plugin-block-workbench | Block workbench | Custom workspace layout |
| plugin-block-template | Block template | Reusable UI templates |
| plugin-block-lowcode | Block low-code | Visual UI builder |
| plugin-block-multi-step-form | Form nhiều bước | Wizard, onboarding flows |
| plugin-kanban | Kanban board | Task management, workflow stages |
| plugin-gantt | Gantt chart | Project timeline, scheduling |
| plugin-calendar | Lịch | Events, appointments, scheduling |
| plugin-map | Bản đồ | Geospatial data, location tracking |
| plugin-charts | Biểu đồ | Basic charts (bar, line, pie) |
| plugin-data-visualization | Trực quan hóa dữ liệu | Advanced charts, dashboards |
| plugin-data-visualization-pro | Trực quan hóa nâng cao | Complex analytics, custom visualizations |
| plugin-spreadsheet | Bảng tính | Excel-like grid, bulk editing |
Field (loại trường dữ liệu)
Các field type tùy chỉnh mở rộng khả năng lưu trữ và hiển thị dữ liệu.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-field-advanced | Field nâng cao | Complex field types |
| plugin-field-formula | Field công thức | Calculated fields (sum, avg, concat) |
| plugin-field-sequence | Field số tự tăng | Auto-increment ID, invoice numbers |
| plugin-field-sort | Field sắp xếp | Manual ordering, drag-drop sort |
| plugin-field-code | Field mã code | Syntax highlighting, code snippets |
| plugin-field-encryption | Field mã hóa | Encrypted storage (passwords, secrets) |
| plugin-field-markdown-vditor | Field Markdown (Vditor) | Rich text editor với Vditor |
| plugin-field-m2m-array | Field many-to-many array | Array-based M2M relations |
| plugin-field-attachment-url | Field URL đính kèm | External file URLs |
| plugin-field-vietnam-region | Field vùng miền Việt Nam | Tỉnh/thành, quận/huyện, phường/xã |
| plugin-number-format-field | Định dạng số | Currency, percentage, custom formats |
| plugin-snapshot-field | Field snapshot | Point-in-time data capture |
Data source (nguồn dữ liệu)
Kết nối và quản lý nhiều nguồn dữ liệu (internal DB, external DB, REST API).
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-data-source-main | Data source chính | Main database connection |
| plugin-data-source-manager | Quản lý data source | Multi-datasource orchestration |
| plugin-data-source-rest-api | Data source REST API | Connect to external REST APIs as data source |
| plugin-data-source-external-postgres | External PostgreSQL | Connect to external PostgreSQL databases |
| plugin-data-source-external-mysql | External MySQL | Connect to external MySQL databases |
| plugin-data-source-external-mariadb | External MariaDB | Connect to external MariaDB databases |
| plugin-data-source-external-mssql | External MSSQL | Connect to external SQL Server databases |
| plugin-data-source-external-oracle | External Oracle | Connect to external Oracle databases |
| plugin-collection-fdw | Collection Foreign Data Wrapper | PostgreSQL FDW for external tables |
| plugin-collection-sql | Collection từ SQL query | Virtual collections from SQL queries |
| plugin-collection-tree | Collection cây phân cấp | Hierarchical/tree-structured collections |
Workflow (quy trình tự động)
Workflow engine và các node xử lý cho automation, integration, và business process.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-workflow | Engine workflow chính | Core workflow runtime, execution |
| plugin-workflow-action-trigger | Trigger khi thực hiện action | Trigger on CRUD operations |
| plugin-workflow-custom-action-trigger | Trigger action tùy chỉnh | Custom event triggers |
| plugin-workflow-request-interceptor | Chặn request | Intercept HTTP requests, middleware |
| plugin-workflow-manual | Node xử lý thủ công | Manual approval, human-in-the-loop |
| plugin-workflow-approval-process | Quy trình phê duyệt | Multi-level approval workflows |
| plugin-workflow-loop | Vòng lặp | Iterate over arrays, batch processing |
| plugin-workflow-parallel | Xử lý song song | Parallel execution branches |
| plugin-workflow-subflow | Sub-workflow | Reusable workflow components |
| plugin-workflow-delay | Trì hoãn | Scheduled delays, wait conditions |
| plugin-workflow-request | Gửi HTTP request | HTTP client, API calls |
| plugin-workflow-sql | Chạy SQL | Execute SQL queries in workflow |
| plugin-workflow-javascript | Chạy JavaScript | Custom JS logic, transformations |
| plugin-workflow-aggregate | Tổng hợp dữ liệu | Aggregation queries (sum, count, avg) |
| plugin-workflow-dynamic-calculation | Tính toán động | Dynamic field calculations |
| plugin-workflow-date-calculation | Tính toán ngày | Date arithmetic, business days |
| plugin-workflow-json-query | Truy vấn JSON | JSONPath queries, data extraction |
| plugin-workflow-json-variable-mapping | Ánh xạ biến JSON | Map JSON to workflow variables |
| plugin-workflow-variable | Biến workflow | Variable storage, state management |
| plugin-workflow-notification | Gửi thông báo | In-app notifications |
| plugin-workflow-mailer | Gửi email | Email sending with templates |
| plugin-workflow-send-email | Gửi email (đơn giản) | Simple email sending |
| plugin-workflow-telegram | Gửi Telegram | Telegram bot messages |
| plugin-workflow-cc | Carbon copy | CC notifications, multi-recipient |
| plugin-workflow-response-message | Trả response message | Custom API responses |
| plugin-workflow-webhook | Webhook trigger | Incoming webhook endpoints |
| plugin-workflow-simple-function | Hàm đơn giản | Built-in utility functions |
| plugin-workflow-get-json-field | Lấy field từ JSON | Extract specific JSON fields |
Thông báo
Hệ thống thông báo đa kênh (email, in-app, push notification).
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-notification-manager | Quản lý thông báo | Central notification orchestration |
| plugin-notification-email | Thông báo email | Email notifications với templates |
| plugin-notification-in-app-message | Thông báo trong ứng dụng | Real-time in-app notifications |
| plugin-notifications | Thông báo (legacy) | Legacy notification system |
| plugin-firebase-notification | Thông báo Firebase | Push notifications qua Firebase Cloud Messaging |
File & media
Quản lý file upload, storage, và preview.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-file-manager | Quản lý file | File upload, storage, organization |
| plugin-file-storage-s3-pro | Lưu trữ file S3 nâng cao | S3-compatible storage với advanced features |
| plugin-file-previewer-office | Xem trước file Office | Preview Word, Excel, PowerPoint in browser |
UI & theme
Quản lý giao diện, theme, và mobile experience.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-ui-core | UI core | Core UI components và utilities |
| plugin-ui-schema-storage | Lưu trữ UI schema | Persist UI configurations |
| plugin-ui-templates | Template UI | Pre-built UI templates |
| plugin-client | Client plugin | Client-side plugin infrastructure |
| plugin-theme-editor | Chỉnh sửa theme | Visual theme customization |
| plugin-mobile | Giao diện mobile | Mobile-responsive UI |
| plugin-mobile-client | Mobile client | Mobile app client |
| plugin-digiforce-mobile | Digiforce mobile app | Native mobile application |
| plugin-embed | Nhúng trang | Embed Digiforce pages externally |
| plugin-monaco-editor-component | Monaco code editor | VS Code editor component |
Hệ thống & vận hành
Cấu hình hệ thống, logging, monitoring, backup, và license management.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-system-settings | Cài đặt hệ thống | System-wide configuration |
| plugin-environment-variables | Biến môi trường | Manage environment variables |
| plugin-custom-variables | Biến tùy chỉnh | User-defined variables |
| plugin-localization | Đa ngôn ngữ | i18n, translations |
| plugin-error-handler | Xử lý lỗi | Global error handling |
| plugin-logger | Logger | Application logging |
| plugin-telemetry | Telemetry | Metrics, tracing |
| plugin-telemetry-prometheus | Telemetry Prometheus | Prometheus metrics exporter |
| plugin-audit-logs | Nhật ký kiểm toán | Audit trail, compliance logging |
| plugin-audit-logger | Audit logger | Structured audit logging |
| plugin-record-history | Lịch sử record | Track record changes over time |
| plugin-backup-restore | Sao lưu & phục hồi | Database backup/restore |
| plugin-backups | Backups | Automated backup scheduling |
| plugin-migration-manager | Quản lý migration | Database schema migrations |
| plugin-license | License | License validation |
| plugin-license-manager | Quản lý license | License key management |
| plugin-async-task-manager | Quản lý tác vụ async | Background job queue |
Hạ tầng & adapter
Adapter cho Redis, RabbitMQ, và các dịch vụ hạ tầng phân tán.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-pubsub-adapter-redis | Pub/Sub qua Redis | Real-time messaging, event broadcasting |
| plugin-queue-adapter-redis | Queue qua Redis | Job queue với Redis backend |
| plugin-queue-adapter-rabbitmq | Queue qua RabbitMQ | Enterprise message queue |
| plugin-lock-adapter-redis | Distributed lock qua Redis | Prevent race conditions, mutual exclusion |
| plugin-workerid-allocator-redis | Worker ID allocator qua Redis | Distributed ID generation |
| plugin-credential | Quản lý credential | Secure credential storage |
Tích hợp & API
API documentation, webhooks, và tích hợp bên ngoài.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-api-doc | Tài liệu API (Swagger) | Auto-generated API documentation |
| plugin-api-keys | Quản lý API keys | API authentication, rate limiting |
| plugin-mcp-server | MCP server | Model Context Protocol integration |
| plugin-mailbox | Hộp thư | Email inbox integration |
| plugin-public-forms | Form công khai | Public-facing forms, lead capture |
| plugin-comments | Bình luận | Commenting system for records |
| plugin-form-drafts | Bản nháp form | Auto-save form drafts |
| plugin-text-copy | Sao chép text | Copy-to-clipboard utilities |
AI
Tích hợp AI và knowledge base.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-ai | Tích hợp AI | AI tools, skills, bots, MCP integration |
| plugin-ai-knowledge-base | Cơ sở tri thức AI | RAG, vector search, document Q&A |
Công cụ phát triển
Tools cho developer: schema management, mock data, code generation.
| Plugin | Mô tả | Use case |
|---|---|---|
| plugin-graph-collection-manager | Quản lý collection dạng đồ thị | Visual collection relationship editor |
| plugin-developer-platform | Nền tảng developer | Developer portal, plugin marketplace |
| plugin-verdaccio | npm registry nội bộ | Private npm packages |
| plugin-mock-collections | Mock collection cho test | Test data generation |
| plugin-template-generator | Sinh template | Code scaffolding, boilerplate generation |
| plugin-export-schema | Xuất schema | Export collection schemas |
| plugin-import-schema | Nhập schema | Import collection schemas |
Tìm hiểu thêm
- Kiến trúc plugin: Plugin architecture - Cách plugin hoạt động trong Digiforce
- Core concepts: Server Application, Client Application
- Phát triển plugin: Xem
packages/plugins/trong source code để tham khảo implementation - Plugin lifecycle: Load → Install → Enable → Upgrade → Disable - chi tiết trong tài liệu kiến trúc