[nodebb-plugin-pushbullet] Push Notifications for NodeBB
-
@julian is this plugin still premium?
-
@Kacper-Domański oh good lord I forgot about open sourcing it! Let me get right on that..!
-
@julian Updated OP for you
-
Cool.
Has this been verified on v0.5.2-dev?
Can't seem to get OAuth working. What should "origin" field be set to when creating client keys?
-
After adding 1.1.1 I still get a 404 on the "/pushbullet/auth" url on the forum. So unless pushbullet does a POST request (which nodebb picks up) something still seems to be wrong.
Are you sure /pushbullet/auth is a valid express-route?
-
@hek As far as I know the
allowed_origin
value was not there when I originally set up Pushbullet for NodeBB. It's still empty now for this install, and it seems to be working fine. Let me fix up another bug I found and I'll take a look at the/auth
route, thanks! -
v1.1.2 is out, although I can't seem to reproduce your bug @hek. Are you trying to access
/pushbullet/auth
manually? You should only be sent there by Pushbullet after granting authorization, and the url should look something like this:http://localhost:4567/pushbullet/auth?code=5zqyqC67eTI8FaYVt4jYzmDiKeogVbJL&state=
-
@julian in my case i'm landing on approve pushbullet site and when i click approving small wheel starts turning and never stops
-
@julian i was missing "http://" now working smooth
And now i'm getting notifications from this one too, sweet! -
Got it working in our prod-env now. I have no idea why I couldn't get it started in stage.
Anyhow happy!
-
@julian the settings page is working, but I still don't receive notifications.
I think I have narrowed the problem down.
The enabled check is looking for a numerical value:
parseInt(results.settings[index]['pushbullet:enabled'], 10) === 1
The data from the db contains a string value (I disabled and enabled notifications multiple times to make sure it's always a string):
settings: [ { 'pushbullet:enabled': 'true', 'pushbullet:target': '' } ]