Pushover notifications

Plugin for integrating Pushover notifications.

https://github.com/featheredtoast/discourse-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개의 좋아요

이 플러그인이 여전히 활성화된 상태인가요? 플러그인을 설치하고 Pushover에서 API 키를 추가했지만, /u/waffleslop/preferences/notifications에서 사용자 키를 입력할 장소를 찾을 수 없습니다.

Discourse 2.7.0.beta5

여전히 여기 있어요! :wave: 요즘은 좀 더 백스테이지에서 활동하고 있어요. 이 특정 플러그인을 살펴본 지 좀 됐지만, 찾아볼게요.

2개의 좋아요

@waffleslop 이 플러그인이 여전히 작동하는 것을 확인했습니다. 플러그인을 활성화하고 애플리케이션 API 키를 저장하셨나요?

플러그인이 활성화되지 않으면 표시되지 않습니다. 활성화 후에도 표시되지 않으면 사용자가 페이지를 새로고침해야 합니다.

Screenshot from 2021-04-17 20-18-10

그 후, 메시지 창에서 다음을 확인하실 수 있습니다:

1개의 좋아요

플러그인은 제 환경에서 정상적으로 작동합니다. 모두 정상입니다.

Hi @featheredtoast, 최근 discourse 업데이트가 플러그인을 깨뜨렸을 가능성이 있을까요? :confused:

2.9.0.beta1로 업그레이드한 지 며칠 후에 Pushover로부터 내 discourse 플러그인이 그들의 API에 너무 많은 잘못된 요청을 보내고 있다는 메시지를 받았습니다.

이것은 내 알림 양이 매우 적음에도 불구하고 발생했습니다. 저는 그들의 할당량에 훨씬 못 미칩니다.

음, Discourse 쪽에서 이런 문제를 일으킬 만한 건 내가 아는 한 없는데, 한번 살펴볼게요.

3개의 좋아요

이 플러그인이 Deprecation 경고를 발생시키고 있습니다:

Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead.

플러그인을 업데이트할 계획이 있나요? 제가 확인한 바로는, 꽤 오랫동안 여기에 활동이 없었습니다.

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 에서 작성하고 있었네요.

개인적으로 당신의 PR을 올리는 것이 여전히 가치가 있다고 생각합니다. 그러면 제 PR은 닫겠습니다. 당신의 PR이 정리 작업을 더 많이 수행하는 것 같고, 서버 측 비권장 사항(deprecation)도 수정하는 것 같습니다. :chefs_kiss:

1개의 좋아요

문제가 없어요 @david :smile:. 여러 개의 PR로 나누려 했었는데, 여기서는 그렇게 중요하지 않을 것 같아요.
PR을 만들었어요 :+1:

4개의 좋아요

요즘 이 플러그인의 유지보수에 제때 대응하지 못한 점 사과드립니다. @Arkshine 님의 변경 사항에 진심으로 감사드립니다 :heart:

3개의 좋아요

chat_message가 도착할 때 누락된 번역을 수정하기 위해 작은 PR을 만들었습니다.

fix the missing translation when a Chat message arrives. Keep it compact! · Pull Request #5 · featheredtoast/discourse-pushover-notifications (github.com)

2개의 좋아요