nodebb-plugin-ns-awards
nodebb-plugin-ns-awards copied to clipboard
A system for rewarding forum users. The plugin allows admin to define set of awards that could be granted to users for special accomplishments.
filter:account/profile.build is passed an object with req, res and templateData. Template data has the user info. Without this change the code crashes with ``` TypeError: Cannot read properties of undefined...
Error did occur: {"errno":-2,"code":"ENOENT","syscall":"copyfile","path":"/run/nodebb/node_modules/nodebb-plugin-ns-awards/public/uploads/award-dcc3c7ac-1659-42d0-a988-9ab0cab7db46.jpg","dest":"/app/code/public/uploads/awards/award-dcc3c7ac-1659-42d0-a988-9ab0cab7db46.jpg"} 
It seems pretty far out of step with nodebb versions
on v2.8.1, when opening my own user profile: ``` 2023-01-13T18:25:30.091Z [4567/89082] - error: GET /user/admin TypeError: Cannot read properties of undefined (reading 'uid') at /home/frozen_byte/Projects/nodebb-plugin-ns-awards/plugin/controller.js:193:54 at nextTask (/home/frozen_byte/Projects/nodebb-plugin-ns-awards/node_modules/async/dist/async.js:5759:13) at next...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...