Commit Graph

17 Commits (9dbe479d11e2581cbaf4b4f81c55cfc4219a0aca)

Author SHA1 Message Date
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
barisusakli 3e60451ce4 closes
lets user change languages,
Micheil Smith 3e82cab398 Add missing new lines at end of files.
barisusakli 0ac58dbee6 more error strings
barisusakli 4bc3f54468 closes
barisusakli 0cfd05d839 closes
barisusakli 88c4b90fc8 accounts controller removed duplication
barisusakli 3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js
psychobunny a99be8e7be got rid of all the res.locals.isAPI checks in all controller methods. now 1000% cleaner :shipit:
psychobunny f20a2a2047 merging changes from deprecated routes/user.js
psychobunny 94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route
psychobunny 88ca3733a7 more jshinting
psychobunny f35c14ee07 bugfixes + cleanup for accounts and users routes
psychobunny fa103b2d6e finally done with routes/user.js; accounts.getUserByUID; bug fixing and cleanup
psychobunny 08d3d9feb3 accounts.uploadPicture
psychobunny bfcb61f37d forgot to port getUserDataByUserSlug
psychobunny 7c873c4314 decided to functionally separate accounts from users