Julian Lam
d95b4ee29a
fix: assertion check to ensure messages are in the room when editing/deleting, etc
3 years ago
Julian Lam
aaa6f752d0
refactor: put message api calls behind `/messages` prefix, #10097
3 years ago
Julian Lam
16ba16cdc4
fix: deprecate chats.leave
3 years ago
Julian Lam
6294beea0b
fix: re-allow kicking of the other party in a 1-to-1 chat
3 years ago
Julian Lam
d62ee84637
feat: `POST /chats/:roomId/users`
3 years ago
Julian Lam
6eea6451d2
feat: `GET /chats/:roomId/users` [breaking]
3 years ago
Julian Lam
b292960594
feat: `GET /chats/:roomId/:mid`
3 years ago
Julian Lam
f48ed3658a
feat: `PUT /chats/:roomId/:mid`
3 years ago
Julian Lam
140f9d2481
fix: isFinite check for room assertion, more test migrating
3 years ago
Julian Lam
e745e21242
chore: use apiv3 for room rename tests
3 years ago
Julian Lam
c990211cf2
refactor: rewrite messaging tests to use API v3 calls when available, rewrote a bunch of tests to async..await
3 years ago
Barış Soner Uşaklı
c5f08fdc81
breaking: remove socket.io/flags.js
...
refactor: helpers.loginUser returns a single object {jar, csrf_token}
3 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
3 years ago
Barış Soner Uşaklı
4ac9270a2a
test: increase timeout
3 years ago
Barış Soner Uşaklı
c953b1b3d1
fix : #9292 , messageobj.content already parsed
4 years ago
Peter Jaszkowiak
cc9d6fd08b
chore: eslint max-len
4 years ago
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
4 years ago
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
4 years ago
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
4 years ago
Julian Lam
895e3d939e
fix : #9149 , server-side handling of disableChatMessageEditing
4 years ago
psychobunny
5b427a0c3b
feat: option in ACP to configure notification/email delay for chats
4 years ago
Barış Soner Uşaklı
067034082f
fix : #6422 , update deleted/restored messages
5 years ago
Barış Soner Uşaklı
23810cc64b
fix : #8133 , check if user is in room before removing
5 years ago
Barış Soner Uşaklı
1f13ab8a19
fix: restrict getUsersInRoom to members
5 years ago
Julian Lam
ecc579a29c
fix: tests for messaging
5 years ago
Barış Soner Uşaklı
1b08f37612
fix: tests, was using hardcoded message id
5 years ago
Barış Soner Uşaklı
6a63c1a100
fix: escape system message, don't allow editing system messages
5 years ago
Barış Soner Uşaklı
e3c9dafa08
fix: tests
5 years ago
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
Barış Soner Uşaklı
bc41848adb
fix: test
6 years ago
Barış Soner Uşaklı
e55fb43703
fix : #7086
6 years ago
Barış Soner Uşaklı
805da98a36
remove unnecessary groups.resetCache calls
6 years ago
Julian Lam
a08572b800
kick support for chats, #6479
7 years ago
Julian Lam
1ce448f2a1
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Baris Usakli
e99d4a5c61
closes #6313
7 years ago
Julian Lam
c47987b305
fixed test for error when adding self to chat
7 years ago
Julian Lam
d1ccd78ac2
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
ff6c6a54c1
make upload permissions global
...
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
7 years ago
Julian Lam
82a95a03be
Chat message soft deletion -- closes #6181
...
Squashed commit of the following:
commit f84c06bdcc45f24ef7ffde6a8f33b48d8f97fc36
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 14:42:47 2017 -0500
added restore handler for chat messages
commit 725cd370c6ea1e8f4a28298350f3dc024d4e668e
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 14:23:52 2017 -0500
backend logic and testing complete for deletion and restoration of chat messages
commit 072da758319cc93fa4c6f8bc0d672a1b716dc06e
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 13:52:35 2017 -0500
changing message delete logic to not remove mids, but to filter when retrieving
commit 68bf373305ab82737658a7c31dc5549af4d6d69f
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 12:37:58 2017 -0500
logic to handle deletion of a deleted chat message -- added some failing tests
commit 6899d0d234fa752e227188aa69cfcabd0d0500cc
Author: Julian Lam <[email protected] >
Date: Mon Dec 18 11:35:36 2017 -0500
chat message deletion logic
7 years ago
Baris Usakli
b19310049d
closes #6136
7 years ago
Barış Soner Uşaklı
3bf7faf5fc
increase rate limit delay
7 years ago
Barış Soner Uşaklı
a46db9616c
fix message delete and add test
8 years ago
Baris Usakli
37a8247293
add test for teaser content escape
8 years ago
Peter Jaszkowiak
1471fbdc14
Fix tests
8 years ago
Peter Jaszkowiak
b171f3072b
Fix many "duplicate key" errors
...
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
8 years ago
Barış Soner Uşaklı
c364cebbe4
more tests
8 years ago
Barış Soner Uşaklı
7fb45cc148
more tests
8 years ago
barisusakli
b8c606cbbd
closes #5519
8 years ago
Peter Jaszkowiak
dd2b930824
Resolve merge conflicts, minify only `.js` files
8 years ago
barisusakli
5c01c7b1c7
delayed notification test
8 years ago