前言介紹
- 這款 WordPress 外掛「SlashPress」是 2020-04-27 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2023-02-17,距離現在已有 807 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.7.1 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
lev0 |
外掛標籤
slack | ChatOps | Mattermost | slash commands |
內容簡介
在 Mattermost 上建立自訂斜線命令或在 Slack 上建立私人應用程式帶有斜線命令功能非常容易。此外掛可將該方便的聊天介面轉換為可訂閱的事件,使用標准 WordPress filter 和 action hooks。這可使需要按需執行的任務自動化,並為其提供互動式幫助。
提供的 hooks 如下:
slashpress_command_${command}
slashpress_command
slashpress_help_${command}
slashpress_help
訂閱的事件接收代表已發送斜線命令的輔助物件,可使用 Markdown 或豐富的回應物件回應聊天服務。插件可以聽取特定的斜線命令或整個網站的命令,並根據命令內容作出回應。長時間運行的任務(>3 秒)可以提供即時確認回應,然後稍後提供結果回應;這可藉由確保網站的cron 呼叫適當,然後將輔助物件傳遞給 wp_schedule_single_event() 以在背景中執行任務並在完成時發送狀態訊息,就可輕鬆實現。
此外掛本身不執行任何操作。它旨在向開發人員和維護者抽象出乏味的連接和身分驗證,使您能保持 DRY 原則。它支援令牌和 HMAC 簽署的身分驗證。此端點所能處理的此類集成沒有數量限制。僅接受並發送 POST 方法請求以保持存取記錄清晰。可以設定互動式幫助關鍵字。
此外掛未包含任何日誌、指標、分析、麻煩事或違反您的隱私或 GDPR 義務的內容。它不是 freemium,沒有「專業版」。
原文外掛簡介
It’s very easy to create a custom slash command on Mattermost, or a private app on Slack that has the slash command feature. This plugin turns that convenient chat interface into a subscribable event using standard WordPress filter & action hooks. This enables automation of tasks that need to be run on-demand, and provision of interactive help for them.
The hooks provided are as follows:
slashpress_command_${command}
slashpress_command
slashpress_help_${command}
slashpress_help
The subscribed events receive a helper object representing the sent slash command, with methods to respond using Markdown or a rich response object the chat service can render. Plugins may listen for a specific slash command or a site-wide one, and respond based on the command content. Long-running tasks (> 3 seconds) can provide an immediate acknowledgement response, then later a result response; this is easily achieved by ensuring a proper cron invocation for the site, then passing the helper object to wp_schedule_single_event() to run the task in the background and POST a status message back upon completion.
By itself, this plugin doesn’t do anything. It is aimed at developers and maintainers to abstract away the boring plumbing and authentication, allowing you to keep your code DRY. It supports authentication by both tokens and HMAC signatures. There is no limit on the number of such integrations this endpoint can handle. Only POST method requests are accepted and sent so access logs are kept clean. The interactive help keyword is configurable.
There is no logging, metrics, analytics, nags, or anything that would violate your privacy or GDPR obligations contained in this plugin. It is not freemium; there is no ‘Pro’ version.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「SlashPress」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.1.0 | trunk |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。