23 Commits (fcf8fd51cb3499d90d8e4427e302933836f49377)

Author SHA1 Message Date
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ı e55fb43703 fix: #7086 6 years ago
Barış Soner Uşaklı e17c4b2766 uid fixes 6 years ago
Julian Lam 5c04ec2d63 removed client-side chat message length check in favour of server-side check, firing new hook on messaging.checkContent for hooks to intercept 7 years ago
Baris Usakli 4200cff47c closes #6662 7 years ago
Barış Soner Uşaklı b0dad9bd7f closes #6369 7 years ago
Barış Soner Uşaklı 7a1888dfbf closes #6514 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
barisusakli b45111d44b show max message length in error message 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
Paul Westerdale 05a55c7d65 add roomId to messaging filter (#4596) 9 years ago
barisusakli 0887105046 created chat:room hashes, save owner uid in hash, update chat uids when they message 9 years ago
Barış Soner Uşaklı f4e502c793 simpler isNewSet 9 years ago
barisusakli 832a20e59e markRead fixes 9 years ago
barisusakli d8810ceae9 send messages 9 years ago
barisusakli 784ff07907 ability to add/remove users from chat rooms, tagsinput 9 years ago
barisusakli f8a6666e1a chat notify changes 9 years ago
barisusakli c5d2f61b01 more fixes 9 years ago
barisusakli 58d05f7c79 recent chat list with rooms 9 years ago
barisusakli e2e547db45 first part of messaging refactor 9 years ago