You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam 17836f2a3a
Re-introduce lodash into src/package-install.js (#10315)
* test: add failing test for if package.json is non-existant, fix tests' beforeEach method

* Revert "fix: #10289, remove lodash dependency in src/cli/package-install.js"

This reverts commit 81fa2e22bc.

* fix: regression caused by 94b79ce402

`./nodebb setup` was no longer able to be called without arguments or env vars

* fix: .updatePackageFile() throwing if no package.json

* fix: removing unneeded code in src/cli/index.js that seemed to be used to handle cases where package.json was missing (initial install)

... However, as .updatePackageFile() now handled cases where there is no package.json, it should be ok to remove this code

* fix: handle missing package.json or node_modules/
3 years ago
..
database test: add test to verify that a sorted set is automatically deleted if its last element is removed (#10261) 3 years ago
files Add more chat hooks, replace toobig.jpg (#9843) 4 years ago
helpers test: don't use csrf_token for get,head, options 3 years ago
mocks feat: closes #10296 3 years ago
posts feat: deleting a user upload dissociates from posts, and vice versa 3 years ago
topics test: fix topic thumb tests and topic thumbs to work properly with post upload assoc. 3 years ago
user feat: deleting a user upload dissociates from posts, and vice versa 3 years ago
.eslintrc ESlint no-unused-vars 8 years ago
api.js chore: remove debug logs in test/api.js 3 years ago
authentication.js test: add api token tests 3 years ago
batch.js chore: eslint no-var, vars-on-top 4 years ago
blacklist.js chore: eslint no-var, vars-on-top 4 years ago
build.js test: dbsearch no longer has staticDir 3 years ago
categories.js breaking: remove socket.emit('categories.getCategory') 3 years ago
controllers-admin.js test: fix derp 3 years ago
controllers.js feat: more tests for ensuring downvoted posts are added to the :votes zset 3 years ago
coverPhoto.js chore: eslint no-var, vars-on-top 4 years ago
database.js refactor: remove tabs after declaration 3 years ago
defer-logger.js chore: eslint no-var, vars-on-top 4 years ago
emailer.js fix: properly unregister hooks in emailer tests 3 years ago
feeds.js breaking: remove socket.io/flags.js 3 years ago
file.js chore: eslint no-var, vars-on-top 4 years ago
flags.js fix: #9484 show user history only to admins and gmods 3 years ago
groups.js breaking: remove deprecated groups socket calls 3 years ago
i18n.js refactor: tab rules 3 years ago
image.js chore: eslint no-var, vars-on-top 4 years ago
locale-detect.js refactor: remove tabs after declaration 3 years ago
messaging.js fix: assertion check to ensure messages are in the room when editing/deleting, etc 3 years ago
meta.js refactor: tab rules 3 years ago
middleware.js refactor: use routePrefixMap instead of routeRegexpMap, +tests (#10035) 3 years ago
notifications.js feat: als (#9749) 4 years ago
package-install.js Re-introduce lodash into src/package-install.js (#10315) 3 years ago
pagination.js refactor: remove tabs after declaration 3 years ago
password.js feat: allow passwords with length > 73 characters (#8818) 4 years ago
plugins-installed.js chore: eslint prefer-arrow-callback 4 years ago
plugins.js test: fix function name 3 years ago
posts.js refactor: move post upload tests to its own file 3 years ago
pubsub.js chore: eslint no-var, vars-on-top 4 years ago
rewards.js chore: eslint no-var, vars-on-top 4 years ago
search-admin.js chore: eslint no-var, vars-on-top 4 years ago
search.js refactor: remove tabs after declaration 3 years ago
settings.js chore: eslint no-var, vars-on-top 4 years ago
socket.io.js test: remove old test 3 years ago
template-helpers.js chore: eslint no-var, vars-on-top 4 years ago
topics.js refactor: move post upload tests to its own file 3 years ago
translator.js fix: translator path traversal 4 years ago
upgrade.js test: upgrade.runParticular 3 years ago
uploads.js fix: local deleteUploads() method in `src/user/delete.js` to call `User.deleteUpload()` 3 years ago
user.js feat: v3 user email tests 3 years ago
utils.js test: fix util test 3 years ago