Pushover notifications

Plugin for integrating Pushover notifications.

This allows notifications to be sent over Pushover, which grants push-notification support for iOS, through the 3rd party app.

Configuration

Once installed, you will need an Application API token. Create a New Application and fill out the form.

After you created the application, copy the resulting API token to the Discourse admin plugin pages, and enable the plugin.

All users will then be able to add their User keys in their preference → Notifications.

There will be an immediate pushover message confirming the subscription.

18 إعجابًا

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.

4 إعجابات

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?

إعجاب واحد (1)

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.

10 إعجابات

Is this still an active plugin? I have it installed, added the API key from Pushover, though I cannot see any place in /u/waffleslop/preferences/notifications to add a user key.

Discourse 2.7.0.beta5

I’m still around! :wave: Just been more behind-the-scenes lately. Been a bit since I dug into this particular plugin, but let me see what I can find out.

إعجابَين (2)

@waffleslop I can confirm that this plugin still works. Have you enabled the plugin and saved your application API key?

It won’t appear unless the plugin is enabled. A user will need to refresh the page to get it to show up after that.

After that, you will see the following in messages:

Screenshot from 2021-04-17 20-16-14

إعجاب واحد (1)

The plugin works for me. All is well.

مرحباً @featheredtoast، هل من الممكن أن يكون تحديث حديث لـ discourse قد أفسد المكون الإضافي؟ :confused:

بعد أيام قليلة من الترقية إلى 2.9.0.beta1، تلقيت هذه الرسالة من Pushover تفيد بأن مكون discourse الإضافي الخاص بي يقوم بالكثير من الطلبات غير الصالحة إلى واجهة برمجة التطبيقات الخاصة بهم

حدث هذا على الرغم من حجم الإشعارات المنخفض جدًا لدي. أنا لست قريبًا من حصتهم.

حسنًا، لا يوجد شيء على حد علمي قد يتسبب في تعطل هذا من جانب Discourse، ولكن يمكنني إلقاء نظرة.

3 إعجابات

هذا المكون الإضافي يصدر تحذيرًا بشأن الإهمال:

استخدام Ember Global مهمل. يجب عليك استيراد وحدة Ember أو واجهة برمجة التطبيقات المحددة بدلاً من ذلك.

هل هناك أي خطط لتحديث المكون الإضافي؟ لم يكن هناك أي نشاط هنا منذ فترة طويلة على ما يبدو.

إعجاب واحد (1)

كنت أود استخدام هذا أيضًا. ولكن للأسف يمكنني تأكيد أنه في الوقت الحالي يتسبب استخدام هذا المكون الإضافي في حدوث خطأ في وحدة التحكم ReferenceError: Ember is not defined

يمكنك تجربة هذا الفرع في الوقت الحالي:

url: https://github.com/Arkshine/discourse-pushover-notifications
branch: fix-deprecation

سأقوم بإنشاء طلب سحب (PR) مناسب لاحقًا. :+1:

4 إعجابات

يمكنني تأكيد أن نسختك الثابتة تعمل لدي!
شكرا :folded_hands:

إعجاب واحد (1)

يبدو أن ديفيد تغلب علي في هذا، شكرًا! :smile:

إعجابَين (2)

آه، آسف @Arkshine - كنت أعمل على تقرير حول نفس المشكلة في Site broken due to ember 5 upgrade - #12 by david.

في رأيي، لا يزال من المفيد نشر طلب السحب الخاص بك، ثم سأغلق طلبي. يبدو أن طلبك يقوم ببعض التنظيف الإضافي، ويعالج أيضًا إهمالًا من جانب الخادم :chefs_kiss:

إعجاب واحد (1)

لا مشكلة يا @david :ابتسامة:. أردت التقسيم إلى عدة طلبات سحب (PRs)، لكن ربما لا يهم ذلك كثيراً هنا.
لقد قمت بإنشاء طلب السحب :+1:

4 إعجابات

اعتذر عن عدم مواكبة صيانة هذه الإضافة مؤخرًا - شكرًا على التغييرات @Arkshine - أقدر ذلك كثيرًا :heart:

3 إعجابات

لقد قمت بإنشاء طلب سحب صغير لإصلاح الترجمة المفقودة عند وصول رسالة دردشة.

إصلاح الترجمة المفقودة عند وصول رسالة دردشة. حافظ عليها موجزة! · طلب سحب #5 · featheredtoast/discourse-pushover-notifications (github.com)

إعجابَين (2)