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 4fb271c684
System chat messages (#7771)
* fix: removed duplicate checkContent call in addMessage

addMessage is called in one place (sendMessage), and the checks
are already contained there. addMessage is the lower level call
and so should be called only from within core itself.

* feat: #7330 chat system messages for join, leave, rename

* fix: add back content checking in .addMessage();

* fix: tests, and added .addSystemMessage() method

Tests were relying on message indices that changed due to the
new system messages.

* feat: add tests for system chat messages

* refactor: rewrite half of src/messaging/rooms.js, fix tests

* feat: #7743 messaging/room.js

* fix: tests for messaging/room.js, #7743

* fix: trying to fix tests

* fix: omg :rage2:
6 years ago
..
database Change post owner (#7752) 6 years ago
files Replace jimp with sharp (#6774) 6 years ago
helpers testing new socket.io-client extraHeaders (#5985) 7 years ago
mocks fix: #6806 6 years ago
.eslintrc ESlint no-unused-vars 8 years ago
authentication.js Async refactor in place (#7736) 6 years ago
batch.js Async refactor in place (#7736) 6 years ago
blacklist.js fix(deps): update to eslint@6 6 years ago
build.js style(eslint): match operator-linebreak preferences 6 years ago
categories.js Topic await errors (#7727) 6 years ago
controllers-admin.js fix: tests 6 years ago
controllers.js feat: remove unused code, add 2 tests 6 years ago
coverPhoto.js fix: #7116 6 years ago
database.js fix: db info page 6 years ago
defer-logger.js upgrade to winston 3.1, closes #6590 (#6838) 6 years ago
emailer.js fixed tests, closes #6371 7 years ago
feeds.js use includes instead of indexOf 6 years ago
file.js feat: remove unused code, add 2 tests 6 years ago
flags.js fix(deps): update to eslint@6 6 years ago
groups.js fix: closes #7217 6 years ago
image.js up deps 8 years ago
locale-detect.js fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059) 6 years ago
messaging.js System chat messages (#7771) 6 years ago
meta.js parse '123' to 123 if it has no default 6 years ago
mocha.opts set cluster to false again 6 years ago
notifications.js feat: #7743 6 years ago
pagination.js ESlint object-curly-spacing 8 years ago
plugins.js feat: hooks can now return promise or call callbacks 6 years ago
posts.js feat: #7743, finish post module 6 years ago
pubsub.js test pubsub cache 6 years ago
rewards.js remove unnecessary groups.resetCache calls 6 years ago
search-admin.js style(eslint): match operator-linebreak preferences 6 years ago
search.js add searchonly option to searh api 6 years ago
settings.js more settings tests 6 years ago
socket.io.js feat: update unban logic/invocation and refactor User.bans module 6 years ago
template-helpers.js fix: test 6 years ago
topics.js Async refactor in place (#7736) 6 years ago
translator.js fix: #7334 6 years ago
uploads.js fix(deps): update dependency sharp to v0.21.3 (#7267) 6 years ago
user.js feat: #7743 6 years ago
utils.js feat: add utils.promiseParallel 6 years ago