Barış Soner Uşaklı
1b08f37612
fix: tests, was using hardcoded message id
2020-01-20 11:15:26 -05:00
Barış Soner Uşaklı
6a63c1a100
fix: escape system message, don't allow editing system messages
2020-01-19 22:20:43 -05:00
Barış Soner Uşaklı
e3c9dafa08
fix: tests
2019-11-01 22:13:00 -04:00
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:
2019-07-19 12:20:11 -04:00
Barış Soner Uşaklı
bc41848adb
fix: test
2019-01-24 15:17:24 -05:00
Barış Soner Uşaklı
e55fb43703
fix : #7086
2018-12-08 19:36:38 -05:00
Barış Soner Uşaklı
805da98a36
remove unnecessary groups.resetCache calls
2018-09-30 13:42:33 -04:00
Julian Lam
a08572b800
kick support for chats, #6479
2018-04-30 12:35:17 -04:00
Julian Lam
1ce448f2a1
Merge remote-tracking branch 'origin/master' into develop
2018-02-16 21:23:25 -05:00
Baris Usakli
e99d4a5c61
closes #6313
2018-02-07 15:46:11 -05:00
Julian Lam
c47987b305
fixed test for error when adding self to chat
2018-01-12 13:19:14 -05:00
Julian Lam
d1ccd78ac2
Merge remote-tracking branch 'origin/master' into develop
2018-01-06 12:04:07 -05:00
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
2018-01-03 13:27:34 -05:00
Julian Lam
82a95a03be
Chat message soft deletion -- closes #6181
...
Squashed commit of the following:
commit f84c06bdcc45f24ef7ffde6a8f33b48d8f97fc36
Author: Julian Lam <julian@nodebb.org >
Date: Mon Dec 18 14:42:47 2017 -0500
added restore handler for chat messages
commit 725cd370c6ea1e8f4a28298350f3dc024d4e668e
Author: Julian Lam <julian@nodebb.org >
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 <julian@nodebb.org >
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 <julian@nodebb.org >
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 <julian@nodebb.org >
Date: Mon Dec 18 11:35:36 2017 -0500
chat message deletion logic
2017-12-18 14:45:06 -05:00
Baris Usakli
b19310049d
closes #6136
2017-11-29 11:46:36 -05:00
Barış Soner Uşaklı
3bf7faf5fc
increase rate limit delay
2017-11-20 19:58:46 -05:00
Barış Soner Uşaklı
a46db9616c
fix message delete and add test
2017-08-21 16:48:18 -04:00
Baris Usakli
37a8247293
add test for teaser content escape
2017-08-16 13:40:33 -04:00
Peter Jaszkowiak
1471fbdc14
Fix tests
2017-07-02 16:26:31 -06:00
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
2017-05-26 17:16:59 -06:00
Barış Soner Uşaklı
c364cebbe4
more tests
2017-05-20 20:20:53 -04:00
Barış Soner Uşaklı
7fb45cc148
more tests
2017-05-20 20:03:46 -04:00
barisusakli
b8c606cbbd
closes #5519
2017-04-14 10:08:50 -04:00
Peter Jaszkowiak
dd2b930824
Resolve merge conflicts, minify only .js files
2017-02-23 18:31:49 -07:00
barisusakli
5c01c7b1c7
delayed notification test
2017-02-22 13:35:05 +03:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
1c6cee207f
meta/settings test
2016-12-10 00:51:50 +03:00
barisusakli
b807915515
removed incorrect markread nid
2016-11-24 15:53:46 +03:00
barisusakli
5d6e2ad083
multiple test fixes
2016-11-23 17:15:36 +03:00
barisusakli
fda535a351
more chat tests
2016-11-08 20:42:56 +03:00
barisusakli
d23966c534
more tests
2016-11-08 19:59:19 +03:00
barisusakli
553ee7dcdd
more chat tests
2016-10-26 12:07:00 +03:00
barisusakli
0d90279463
chat controller test
2016-10-25 17:56:37 +03:00
barisusakli
f0f3a86908
closes #5128
...
write more messaging tests
2016-10-18 20:45:31 +03:00
barisusakli
4a0f67afdc
search tests
...
new method emptydb
use emptydb instead of flushdb, flushdb removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
2016-10-17 23:34:14 +03:00
barisusakli
1a63672e66
more test fixes
2016-10-16 21:51:42 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
HeeL
4c6a75d85c
Rename tests folder to test to follow standards
2016-09-28 10:01:37 +02:00