I am seeing similar behavior too for read API (for example get user by email api), master token and _uid are ignored when sending request. The document states that master token can be used, however it doesn't seem to be the case for all APIs.
Ignoring individual threads
Based on testing and feedback from users back home, I added filtering of notification updates so that users don't get notifications (e.g., mentions, upvotes) from ignored topics or topics in ignored categories.
If anyone is interested in taking a look, it's in this branch on github:
You'd also need the persona or vanilla theme if you're using those (ugh...yes, I messed up creating a feature branch for these):
This would be interesting as a plugin
This would be interesting as a plugin
I don't think there are the necessary hooks to make that happen.
there a new hook before notification happens, what else do you need? maybe we can ask for new hooks to devsbut patching nodebb core it a big headache for updates and so
probably good option for large setups but may be overkill for all others... just my 2 cents.
there a new hook before notification happens, what else do you need?
What's the new hook in notifications?
Additionally, at least a way to filter the list of unread topics.
i think this one
Alright so I took the changes from @boomzilla 's PR and made some changes, but the idea is the same. You can now ignore individual topics from the dropdown in the topic view.
There are couple of changes in the wording mainly because we use
Watched topicsin unread and
watchedin the user profile.
The default state when a new topic is created is
Not Watchingunless you change your user settings
Watch topics on replyor
Watch topics you create.If you enable
Watch topics on replythe topic will be watched when you make a reply to it and if you enable
Watch topics you createthe topic will be automatically watched when you post it.
Ignoring a topic will remove it from the /unread list and you won't get the
There is a new postnotification on the /unread and /recent pages. You will also not get reply notifications.
I also made some changes to core so you can ignore a category but watch a topic inside. In this case the topic will show up in /unread and you will get reply notifications for that topic. But the other topics in that category won't show up in /unread. Previously if a category was ignored all topics disappeared from unread even if you watched some of them.
These settings only effect the new reply notifications so you will still get notifications if someone mentions you in a ignored topic or if one of your posts is upvoted.
@baris Seems to work really well. I did notice one slightly odd thing. When changing to Not Watching, this message is still the same as before:
If the user is going from Ignoring to Not Watching, this message doesn't really make sense. I would suggest something like
You will see this topic in the unread topics list, but you will not receive notifications when somebody posts to this topic.
@NedFodder indeed. i can finally stop seeing all those damn flamewars constantly popping up in my unread tab...
My only down side to this is i can't set the watching status without actually entering the thread at least once.... there's a reason i got out of the kitchen! i can't take the heat!
it's not a huge deal, but being able to set the watch status on threads without entering the thread would be a nice to have.
Hi, is this a core feature? Because I don't have it on my NodeBB How to get it?
@azeus It was added after the latest stable version (v1.0.3). It looks like it will be officially released in version 1.1.0. If you don't want to wait, you can upgrade to the latest version on the
masterbranch. See instructions and warnings here.
Thank you. I'm running on 1.0.3 and some users just asked about this feature...