用于集成 Pushover 通知的插件。
该插件允许通过 Pushover 发送通知,从而通过第三方应用为 iOS 提供推送通知支持。
配置
安装后,您需要一个应用程序 API 令牌。创建新应用程序 并填写表单。
创建应用程序后,将生成的 API 令牌复制到 Discourse 管理员插件页面,并启用该插件。
随后,所有用户都可以在其偏好设置 → 通知中添加他们的用户密钥。
将会立即收到一条 Pushover 消息以确认订阅。
用于集成 Pushover 通知的插件。
该插件允许通过 Pushover 发送通知,从而通过第三方应用为 iOS 提供推送通知支持。
安装后,您需要一个应用程序 API 令牌。创建新应用程序 并填写表单。
创建应用程序后,将生成的 API 令牌复制到 Discourse 管理员插件页面,并启用该插件。
随后,所有用户都可以在其偏好设置 → 通知中添加他们的用户密钥。
将会立即收到一条 Pushover 消息以确认订阅。
Is this for real time notification on the phone when the site is not hosted by Discourse? Or is it for other purposes?
You got it; that’s pretty much it. Desktop and Android both have notification support natively; this is a way for self-hosters to get a notifications on iOS.
Thanks for this! Aside from the one time in-app purchase for each user, what are the pros and cons of using this vs. DiscourseHub?
It’s probably less set up involved if users already are using Pushover (there have been a few requests for this already) - Pushover also allows you to customize which devices get notified. If you’re already in the ecosystem (as I have waded in), it gives an option for you to continue down that path.
On the downsides aside from in app purchases, this plugin isn’t going to be offered by any of DIscourse’s current hosting, so continued support here is really on my own time. You are also dependent on the discourse instance installing the plugin, whereas Hub can be used for any site, regardless of plugins.
DiscourseHub has separate concerns in addition to notifications - namely it allows you to aggregate activity of sites all in a single place. This plugin is just concerned with delivering notifications.
I built this mainly because I missed built in push notifications while moving to iOS, and had started using Pushover in other contexts (IRC, and long-running command line prompts), so it felt natural to start experimenting sending Discourse notifications to Pushover as well.
这个插件还在维护吗?我已经安装了它,并添加了来自 Pushover 的 API 密钥,但在 /u/waffleslop/preferences/notifications 中找不到添加用户密钥的地方。
Discourse 2.7.0.beta5
我还在呢!
最近主要在幕后忙碌。有一段时间没深入研究这个特定插件了,不过让我看看能查到些什么。
@waffleslop 我可以确认该插件仍然有效。您是否已启用插件并保存了您的应用 API 密钥?
如果未启用插件,它将不会显示。启用后,用户需要刷新页面才能看到它。

之后,您将在消息中看到以下内容:
插件对我而言运行正常,一切顺利。
您好 @featheredtoast,最近的 discourse 更新是否可能导致了插件损坏?![]()
在升级到 2.9.0.beta1 几天后,我收到了 Pushover 的消息,称我的 discourse 插件向其 API 发送了太多无效请求。
尽管我的通知量非常低,但还是发生了这种情况。我离他们的配额还差得很远。
嗯,据我所知,没有会破坏 Discourse 端的东西,但我可以看看。
此插件正在发出弃用警告:
Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead.
是否有计划更新该插件?从我所见,这里已经很久没有活动了。
我也想使用这个。但遗憾的是,我可以确认,目前使用此插件会导致控制台错误 ReferenceError: Ember is not defined。
您可以暂时尝试这个分支:
url:https://github.com/Arkshine/discourse-pushover-notifications
branch:fix-deprecation
我稍后会做一个正式的拉取请求。![]()
我能确认您修复的版本在我这边可以正常工作!\n谢谢 ![]()
看起来大卫在这方面比我强,谢谢!![]()
抱歉 @Arkshine - 我正在处理 Site broken due to ember 5 upgrade - #12 by david 上关于同一问题的报告。
在我看来,你的 PR 仍然值得发布,然后我会关闭我的。看起来你的 PR 做了一些清理工作,还修复了一个服务器端弃用 ![]()
没问题 @david
。我想把它分成多个 PR,但在这里可能没那么重要。
我已经提交了 PR ![]()
抱歉最近没有跟进这个插件的维护——感谢 @Arkshine 的更改——非常感激 ![]()
我做了一个小小的 PR 来修复 chat_message 到达时缺失的翻译。