If you are getting uid===-1 on the /api/config route it means your request was classified as a spider. https://github.com/NodeBB/NodeBB/blob/master/src/routes/authentication.js#L38
I was looking in the docs for the 0.6.0 changes to filters, etc. and could not find the up to date information. Also it is not clear what version of NodeBB each page of documentation is about. This is the page I was looking at today.
Am I looking at the wrong place? Is there a more up to date version? Are there any plans to keep documentation up to date?
- Are developer docs falling behind?
- Yes. [unfortunately]
AFAIK there are three main sources where developers could learn something about NodeBB, after they have explored https://docs.nodebb.org/ and https://github.com/NodeBB/NodeBB/wiki and they have understood the conception.
These sources are placed here in descending order:
- Source code on Github - is the best documentation ever existed, always up to date.
- Source code of plugins that are developed by intelligent guys from NodeBB community.
- This forum.
If anyone knows other sources, please, post them here.
It needs a bit of standardisation, since new hook documentation was added rather haphazardly, but most (if not all) of the hooks should be there. If not, they can be added by anybody who wants to, by editing the wiki doc itself.