nodebb/test
CommanderRoot 200f0b2e4f
refactor: replace deprecated String.prototype.substr() ()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
..
database refactor: replace deprecated String.prototype.substr() ()
files Add more chat hooks, replace toobig.jpg ()
helpers test: don't use csrf_token for get,head, options
mocks test: log configJSON
posts feat: deleting a user upload dissociates from posts, and vice versa
topics test: fix topic thumb tests and topic thumbs to work properly with post upload assoc.
user feat: deleting a user upload dissociates from posts, and vice versa
.eslintrc
api.js fix: persona test fail
authentication.js test: add api token tests
batch.js chore: eslint no-var, vars-on-top
blacklist.js chore: eslint no-var, vars-on-top
build.js test: dbsearch no longer has staticDir
categories.js test: fix category tests
controllers-admin.js test: fix one more test
controllers.js refactor: replace deprecated String.prototype.substr() ()
coverPhoto.js chore: eslint no-var, vars-on-top
database.js refactor: remove tabs after declaration
defer-logger.js chore: eslint no-var, vars-on-top
emailer.js fix: properly unregister hooks in emailer tests
feeds.js breaking: remove socket.io/flags.js
file.js chore: eslint no-var, vars-on-top
flags.js feat: min:rep:upvote, and other limits similar to downvotes
groups.js breaking: remove deprecated groups socket calls
i18n.js test: skip i18n tests if the github event is a pull request
image.js chore: eslint no-var, vars-on-top
locale-detect.js refactor: remove tabs after declaration
messaging.js fix: assertion check to ensure messages are in the room when editing/deleting, etc
meta.js refactor: tab rules
middleware.js fix(security): explicitly declare cache-control header instead of using middleware
notifications.js feat: als ()
package-install.js Re-introduce lodash into src/package-install.js ()
pagination.js refactor: remove tabs after declaration
password.js feat: allow passwords with length > 73 characters ()
plugins-installed.js chore: eslint prefer-arrow-callback
plugins.js test: fix function name
posts.js refactor: move post upload tests to its own file
pubsub.js chore: eslint no-var, vars-on-top
rewards.js chore: eslint no-var, vars-on-top
search-admin.js chore: eslint no-var, vars-on-top
search.js refactor: remove tabs after declaration
settings.js chore: eslint no-var, vars-on-top
socket.io.js test: remove old test
template-helpers.js chore: eslint no-var, vars-on-top
topics.js refactor: move post upload tests to its own file
translator.js fix: translator path traversal
upgrade.js test: upgrade.runParticular
uploads.js fix: local deleteUploads() method in `src/user/delete.js` to call `User.deleteUpload()`
user.js feat: v3 user email tests
utils.js test: fix util test