@PitaJ Yea that's not a big deal to do really. I just need to know the API I should be polling client side. Maybe check if sock.js is connected and don't poll if it is.
meredrica
Posts
-
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail) -
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)@PitaJ any way I could contribute to the plugin? I can write the worker but I don't have the time to figure out the internals of nodebb right now.
-
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)@julian I think it would be a good idea to implement the worker. Maybe add it to the notification plugin? Or maybe a web worker, I'm not sure if that wouldn't be better.
Or maybe just a good old Javascript timer would do the trick.
Service workers can become very complicated and if you have bugs in them they are very hard to get rid of. I would not use them if you don't want to have offline functionality.
-
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)Ok after a few days of testing:
- After allowing notifications the tab has to be closed and reopened for them to work.
- I can't find a way to make them work on Chrome mobile or the PWA.
- Chat messages play the sound on mobile... sometimes. I think the chat has to be opened for this first.
- There are no desktop notifications for chat messages
I'm pretty close to giving up and moving to another forum software... which would be a real shame since NodeBB offers everything else that I need and I wrote an LDAP plugin.
-
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)@PitaJ I have literally no clue what happened, but it works now.
All I did was disable the addon, wait a few days, reenable it and restart nodebb -
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)@PitaJ I'd be more than happy to help. Without notifications that work on mobile a forum will have a very hard time to take off/be an alternative to facebook and whatsapp.
-
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)@PitaJ yes. I tried mentions and chat, no notifications
-
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)The popup asking for permission is there, after that nothing is happening. I checked the server and browser log, no errors.
Tried on Chrome mobile, Linux and Windows and the progressive web app.
-
[nodebb-plugin-desktop-notifications] Desktop Notifications (like GMail)Sorry for the necro, but for me the plugin seems broken. - As far as I can see, the code on github looks fine. Anyone has an idea?
-
nodebb--plugin-sso-ldapauthHi.
Maybe this helps? sso-open-ldap
-
OpenLDAP Plugin with Group SyncHi!
I wrote a plugin for OpenLDAP.
It overrides the default login and falls back to local login if the user is not found in LDAP.
It also creates all groups found in LDAP and automatically joins the user into them.
Using it as an alternative login is not implemented as I couldn't figure it out quick enough. It should be easy to do - feel free to add a pull request.The source is on github. Pull requests are welcome!
Please be kind, my JavaScript skills are limited.