Bỏ qua, đến nội dung

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ần plugin-workflow)

Các nhóm plugin ​

NhómSố lượngMô tả
Phân quyền & xác thực16ACL, auth providers (LDAP/OIDC/SAML), 2FA, IP restriction
Người dùng & tổ chức4User management, departments, multi-space
Action10Import/export, bulk operations, print
Block17UI blocks (kanban, gantt, calendar, charts, map)
Field12Custom field types (formula, sequence, encryption)
Data source11External DB, REST API, FDW, SQL collections
Workflow29Workflow engine, triggers, nodes (loop/parallel/SQL/JS)
Thông báo5Email, in-app, Firebase notifications
File & media3File manager, S3 storage, Office preview
UI & theme10Theme editor, mobile, Monaco editor
Hệ thống & vận hành16Settings, logging, telemetry, backup, license
Hạ tầng & adapter6Redis/RabbitMQ adapters, distributed lock
Tích hợp & API9API docs, API keys, MCP server, public forms
AI2AI integration, knowledge base
Công cụ phát triển7Schema 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).

PluginMô tảUse case
plugin-aclQuản lý role, resource permission, đồng bộ ACL engineRBAC, phân quyền chi tiết theo resource/action
plugin-authXác thực người dùng (core auth framework)Foundation cho tất cả auth providers
plugin-auth-ldapXác thực qua LDAPTích hợp Active Directory, OpenLDAP
plugin-auth-oidcXác thực qua OpenID ConnectSSO với Keycloak, Auth0, Okta
plugin-auth-samlXác thực qua SAMLEnterprise SSO (Azure AD, Google Workspace)
plugin-auth-smsXác thực qua SMS OTPPasswordless login, xác thực di động
plugin-auth-casXác thực qua CASTích hợp hệ thống giáo dục/chính phủ
plugin-auth-appleXác thực qua Apple IDSign in with Apple
plugin-auth-telegramXác thực qua TelegramLogin qua Telegram bot
plugin-two-factor-authenticationXác thực hai yếu tố (2FA)Bảo mật tăng cường với TOTP/SMS
plugin-verificationXác minh (email, SMS)Verify email/phone trước khi kích hoạt
plugin-verification-totp-authenticatorTOTP authenticatorGoogle Authenticator, Authy
plugin-password-policyChính sách mật khẩuĐộ dài, độ phức tạp, hết hạn
plugin-ip-restrictionGiới hạn IP truy cậpWhitelist/blacklist IP, geo-blocking
plugin-request-encryptionMã hóa requestEnd-to-end encryption cho API
plugin-idp-oauthOAuth identity providerBiế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.

PluginMô tảUse case
plugin-usersQuản lý người dùngUser CRUD, profile, roles
plugin-departmentsQuản lý phòng banCấu trúc tổ chức, hierarchy
plugin-user-data-syncĐồng bộ dữ liệu người dùngSync từ LDAP/AD/HR system
plugin-multi-spaceĐa không gian làm việcMulti-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.

PluginMô tảUse case
plugin-action-exportXuất dữ liệuExport CSV/Excel/JSON
plugin-action-export-proXuất dữ liệu nâng caoExport với template, scheduling
plugin-action-importNhập dữ liệuImport CSV/Excel với mapping
plugin-action-import-proNhập dữ liệu nâng caoImport validation, preview, rollback
plugin-action-bulk-editSửa hàng loạtSửa nhiều record cùng lúc
plugin-action-bulk-updateCập nhật hàng loạtUpdate theo điều kiện, batch processing
plugin-action-duplicateNhân bản recordClone record với relations
plugin-action-custom-requestGửi HTTP request tùy chỉnhWebhook, API integration từ UI
plugin-action-printIn dữ liệuIn trực tiếp từ browser
plugin-action-template-printIn theo templateIn 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.

PluginMô tảUse case
plugin-block-iframeBlock nhúng iframeEmbed external web pages, dashboards
plugin-block-markdownBlock MarkdownRich text content, documentation
plugin-block-listBlock danh sáchList view với pagination
plugin-block-grid-cardBlock grid cardCard layout, gallery view
plugin-block-treeBlock cây phân cấpHierarchical data (org chart, categories)
plugin-block-workbenchBlock workbenchCustom workspace layout
plugin-block-templateBlock templateReusable UI templates
plugin-block-lowcodeBlock low-codeVisual UI builder
plugin-block-multi-step-formForm nhiều bướcWizard, onboarding flows
plugin-kanbanKanban boardTask management, workflow stages
plugin-ganttGantt chartProject timeline, scheduling
plugin-calendarLịchEvents, appointments, scheduling
plugin-mapBản đồGeospatial data, location tracking
plugin-chartsBiểu đồBasic charts (bar, line, pie)
plugin-data-visualizationTrực quan hóa dữ liệuAdvanced charts, dashboards
plugin-data-visualization-proTrực quan hóa nâng caoComplex analytics, custom visualizations
plugin-spreadsheetBảng tínhExcel-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.

PluginMô tảUse case
plugin-field-advancedField nâng caoComplex field types
plugin-field-formulaField công thứcCalculated fields (sum, avg, concat)
plugin-field-sequenceField số tự tăngAuto-increment ID, invoice numbers
plugin-field-sortField sắp xếpManual ordering, drag-drop sort
plugin-field-codeField mã codeSyntax highlighting, code snippets
plugin-field-encryptionField mã hóaEncrypted storage (passwords, secrets)
plugin-field-markdown-vditorField Markdown (Vditor)Rich text editor với Vditor
plugin-field-m2m-arrayField many-to-many arrayArray-based M2M relations
plugin-field-attachment-urlField URL đính kèmExternal file URLs
plugin-field-vietnam-regionField vùng miền Việt NamTỉnh/thành, quận/huyện, phường/xã
plugin-number-format-fieldĐịnh dạng sốCurrency, percentage, custom formats
plugin-snapshot-fieldField snapshotPoint-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).

PluginMô tảUse case
plugin-data-source-mainData source chínhMain database connection
plugin-data-source-managerQuản lý data sourceMulti-datasource orchestration
plugin-data-source-rest-apiData source REST APIConnect to external REST APIs as data source
plugin-data-source-external-postgresExternal PostgreSQLConnect to external PostgreSQL databases
plugin-data-source-external-mysqlExternal MySQLConnect to external MySQL databases
plugin-data-source-external-mariadbExternal MariaDBConnect to external MariaDB databases
plugin-data-source-external-mssqlExternal MSSQLConnect to external SQL Server databases
plugin-data-source-external-oracleExternal OracleConnect to external Oracle databases
plugin-collection-fdwCollection Foreign Data WrapperPostgreSQL FDW for external tables
plugin-collection-sqlCollection từ SQL queryVirtual collections from SQL queries
plugin-collection-treeCollection cây phân cấpHierarchical/tree-structured collections

Workflow (quy trình tự động) ​

Workflow engine và các node xử lý cho automation, integration, và business process.

PluginMô tảUse case
plugin-workflowEngine workflow chínhCore workflow runtime, execution
plugin-workflow-action-triggerTrigger khi thực hiện actionTrigger on CRUD operations
plugin-workflow-custom-action-triggerTrigger action tùy chỉnhCustom event triggers
plugin-workflow-request-interceptorChặn requestIntercept HTTP requests, middleware
plugin-workflow-manualNode xử lý thủ côngManual approval, human-in-the-loop
plugin-workflow-approval-processQuy trình phê duyệtMulti-level approval workflows
plugin-workflow-loopVòng lặpIterate over arrays, batch processing
plugin-workflow-parallelXử lý song songParallel execution branches
plugin-workflow-subflowSub-workflowReusable workflow components
plugin-workflow-delayTrì hoãnScheduled delays, wait conditions
plugin-workflow-requestGửi HTTP requestHTTP client, API calls
plugin-workflow-sqlChạy SQLExecute SQL queries in workflow
plugin-workflow-javascriptChạy JavaScriptCustom JS logic, transformations
plugin-workflow-aggregateTổng hợp dữ liệuAggregation queries (sum, count, avg)
plugin-workflow-dynamic-calculationTính toán độngDynamic field calculations
plugin-workflow-date-calculationTính toán ngàyDate arithmetic, business days
plugin-workflow-json-queryTruy vấn JSONJSONPath queries, data extraction
plugin-workflow-json-variable-mappingÁnh xạ biến JSONMap JSON to workflow variables
plugin-workflow-variableBiến workflowVariable storage, state management
plugin-workflow-notificationGửi thông báoIn-app notifications
plugin-workflow-mailerGửi emailEmail sending with templates
plugin-workflow-send-emailGửi email (đơn giản)Simple email sending
plugin-workflow-telegramGửi TelegramTelegram bot messages
plugin-workflow-ccCarbon copyCC notifications, multi-recipient
plugin-workflow-response-messageTrả response messageCustom API responses
plugin-workflow-webhookWebhook triggerIncoming webhook endpoints
plugin-workflow-simple-functionHàm đơn giảnBuilt-in utility functions
plugin-workflow-get-json-fieldLấy field từ JSONExtract specific JSON fields

Thông báo ​

Hệ thống thông báo đa kênh (email, in-app, push notification).

PluginMô tảUse case
plugin-notification-managerQuản lý thông báoCentral notification orchestration
plugin-notification-emailThông báo emailEmail notifications với templates
plugin-notification-in-app-messageThông báo trong ứng dụngReal-time in-app notifications
plugin-notificationsThông báo (legacy)Legacy notification system
plugin-firebase-notificationThông báo FirebasePush notifications qua Firebase Cloud Messaging

File & media ​

Quản lý file upload, storage, và preview.

PluginMô tảUse case
plugin-file-managerQuản lý fileFile upload, storage, organization
plugin-file-storage-s3-proLưu trữ file S3 nâng caoS3-compatible storage với advanced features
plugin-file-previewer-officeXem trước file OfficePreview Word, Excel, PowerPoint in browser

UI & theme ​

Quản lý giao diện, theme, và mobile experience.

PluginMô tảUse case
plugin-ui-coreUI coreCore UI components và utilities
plugin-ui-schema-storageLưu trữ UI schemaPersist UI configurations
plugin-ui-templatesTemplate UIPre-built UI templates
plugin-clientClient pluginClient-side plugin infrastructure
plugin-theme-editorChỉnh sửa themeVisual theme customization
plugin-mobileGiao diện mobileMobile-responsive UI
plugin-mobile-clientMobile clientMobile app client
plugin-digiforce-mobileDigiforce mobile appNative mobile application
plugin-embedNhúng trangEmbed Digiforce pages externally
plugin-monaco-editor-componentMonaco code editorVS Code editor component

Hệ thống & vận hành ​

Cấu hình hệ thống, logging, monitoring, backup, và license management.

PluginMô tảUse case
plugin-system-settingsCài đặt hệ thốngSystem-wide configuration
plugin-environment-variablesBiến môi trườngManage environment variables
plugin-custom-variablesBiến tùy chỉnhUser-defined variables
plugin-localizationĐa ngôn ngữi18n, translations
plugin-error-handlerXử lý lỗiGlobal error handling
plugin-loggerLoggerApplication logging
plugin-telemetryTelemetryMetrics, tracing
plugin-telemetry-prometheusTelemetry PrometheusPrometheus metrics exporter
plugin-audit-logsNhật ký kiểm toánAudit trail, compliance logging
plugin-audit-loggerAudit loggerStructured audit logging
plugin-record-historyLịch sử recordTrack record changes over time
plugin-backup-restoreSao lưu & phục hồiDatabase backup/restore
plugin-backupsBackupsAutomated backup scheduling
plugin-migration-managerQuản lý migrationDatabase schema migrations
plugin-licenseLicenseLicense validation
plugin-license-managerQuản lý licenseLicense key management
plugin-async-task-managerQuản lý tác vụ asyncBackground job queue

Hạ tầng & adapter ​

Adapter cho Redis, RabbitMQ, và các dịch vụ hạ tầng phân tán.

PluginMô tảUse case
plugin-pubsub-adapter-redisPub/Sub qua RedisReal-time messaging, event broadcasting
plugin-queue-adapter-redisQueue qua RedisJob queue với Redis backend
plugin-queue-adapter-rabbitmqQueue qua RabbitMQEnterprise message queue
plugin-lock-adapter-redisDistributed lock qua RedisPrevent race conditions, mutual exclusion
plugin-workerid-allocator-redisWorker ID allocator qua RedisDistributed ID generation
plugin-credentialQuản lý credentialSecure credential storage

Tích hợp & API ​

API documentation, webhooks, và tích hợp bên ngoài.

PluginMô tảUse case
plugin-api-docTài liệu API (Swagger)Auto-generated API documentation
plugin-api-keysQuản lý API keysAPI authentication, rate limiting
plugin-mcp-serverMCP serverModel Context Protocol integration
plugin-mailboxHộp thưEmail inbox integration
plugin-public-formsForm công khaiPublic-facing forms, lead capture
plugin-commentsBình luậnCommenting system for records
plugin-form-draftsBản nháp formAuto-save form drafts
plugin-text-copySao chép textCopy-to-clipboard utilities

AI ​

Tích hợp AI và knowledge base.

PluginMô tảUse case
plugin-aiTích hợp AIAI tools, skills, bots, MCP integration
plugin-ai-knowledge-baseCơ sở tri thức AIRAG, vector search, document Q&A

Công cụ phát triển ​

Tools cho developer: schema management, mock data, code generation.

PluginMô tảUse case
plugin-graph-collection-managerQuản lý collection dạng đồ thịVisual collection relationship editor
plugin-developer-platformNền tảng developerDeveloper portal, plugin marketplace
plugin-verdaccionpm registry nội bộPrivate npm packages
plugin-mock-collectionsMock collection cho testTest data generation
plugin-template-generatorSinh templateCode scaffolding, boilerplate generation
plugin-export-schemaXuất schemaExport collection schemas
plugin-import-schemaNhập schemaImport 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