@Dravere said in Choose which notification user can receive:
I think he means if there is a way to limit for which notification users can receive e-mails. Thus to reduce the amount of e-mails NodeBB sents out.
We want to reduce the amount of emails that NodeBB sent .
We want sending email just in order to recover passwords and verifying account emails.
I think I have discovered another breaking change that you didn't mention, though it is probably super-niche.
This commit: https://github.com/NodeBB/NodeBB/commit/ec91ef1c644044bba44198b031913655e784b4bb
broke our custom SSO plugin. The result was that after successfully logging in our external identity provider and being redirected to our Forum's callback endpoint, I was ending up not logged in (the button in the header still said "Log in") and stuck on /register/complete roadblock. It looked like our Passport strategy verify callback, that parses output from the identity provider and fetches user data via OAuth2 was not invoked at all.
It turns out that the changes in this commit don't play well together with passport-oauth2 (https://github.com/jaredhanson/passport-oauth2) internal ability to protect against CSRF (which we were using). This strategy was already using state parameter to pass its own CSRF token. I don't have more time to investigate but I suspect things shipwrecked when NodeBB overwrote the state parameter with its own CSRF token.
Turning off passport-oauth2 internal CSRF protection (by removing state: true from its options) fixed the issue.
julianlam committed to NodeBB/NodeBB
Well now I feel dumb. Couldn't I have waited another hour after waiting three months?
But that is great news, just doing some testing and now I can test with 1.10.2 and hopefully do the update soon. Thank you!
@Jenkler CSS, maybe. JS, no. Use a requirejs module with modules hash in plugin.json if you have js that's used sparingly.
If it's small js, it'll be easier to just include it in the main plugin.json scripts.
We have our forum https://talk.bitzlato.com/, running on NodeBB.
We need to do 3 tasks:
Configure / modify the plugin for obtaining definitions via browser
Configure / modify the plugin for obtaining permissions via Telegram
Add function to enable / disable global chat.
If you can help us, please make an offer in pm or here.
I think it'd be cool if you had a ratio score of posts / reputation also. So, someone with like 5,000 posts but 100 upvotes isn't as high a level as someone with only 2,000 posts, but 750 upvotes.
Does that make sense?
Maybe upvotes should be weighted far more than posts for the purposes of levels, in other words.