Barış Soner Uşaklı
62e162cf1e
fix: backport ws token fix
2 years ago
Barış Soner Uşaklı
e0b2065802
test: update socket.io test
2 years ago
Barış Soner Uşaklı
1aff9cad91
lint: fix arrow
2 years ago
Barış Soner Uşaklı
37b48b82a4
fix: don't crash if event name is not a string
2 years ago
Barış Soner Uşaklı
586eed1407
fix: vulnerability in socket.io nested namespaces ( #11117 )
2 years ago
Barış Soner Uşaklı
961be70725
fix test on redis
2 years ago
Julian Lam
f93a0b83bb
test: fix tests so that when user.create is called, email is set prior to confirmation
2 years ago
Barış Soner Uşaklı
68fd087567
test: remove old test
3 years ago
Barış Soner Uşaklı
49641a3217
breaking: remove socket.emit('user.banUsers');
...
remove socket.emit('user.unbanUsers');
3 years ago
Barış Soner Uşaklı
4604a5724c
breaking: remove socket.emit('posts.reply')
...
remove socket.emit('posts.getPost')
3 years ago
Barış Soner Uşaklı
5c3d5f1f40
test: make it async
3 years ago
Barış Soner Uşaklı
26f00ffb60
test: fix
3 years ago
Barış Soner Uşaklı
a7d1dfb65c
breaking: remove deprecated socket user create/delete functions
...
add missing tests
3 years ago
Barış Soner Uşaklı
79de48c57f
breaking: remove deprecated methods
3 years ago
Barış Soner Uşaklı
edf7c647e8
test: fix tpl name
3 years ago
Barış Soner Uşaklı
6d186ff10d
test: add mising email.test tpls
3 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
3 years ago
Barış Soner Uşaklı
d27c9696e3
feat: add node 16 ( #9847 )
...
* feat: add node 16
* fix: check errors in fork
* test: add use-spawn
* test: another test
* Revert "test: another test"
This reverts commit 606efe26fe1decd5d9269d63d5b649441ba2203b.
* test: another test
* fix: lint
* fix: remove spawn-wrap
* test: comment out plugin installs
* fix: lint
* test: uncomment all tests except npm i
* fix: lint
* test: bring back tests
* test: remove leftover override
3 years ago
Barış Soner Uşaklı
123354ca36
fix: psql tests
3 years ago
Barış Soner Uşaklı
3479832593
test: add missing tests
3 years ago
Julian Lam
a3a3b10fb3
test(emails): fixing broken tests introduced by e5ff68acd
4 years ago
Barış Soner Uşaklı
670cde78da
feat: add invalid event name to error message
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
Peter Jaszkowiak
4ee0f1459d
chore: eslint import/newline-after-import
4 years ago
Barış Soner Uşaklı
647d3ba810
fix: removed methods
4 years ago
Peter Jaszkowiak
2be396ff6e
fix: email testing and settings change from ACP
...
- changing email SMTP settings wouldn't apply the first time
- "Send Test Email" now will report emailer errors in most cases
4 years ago
Barış Soner Uşaklı
1c45fa1ba5
feat: socket.io 3 changes ( #8845 )
...
* feat: socket.io 3 changes
* feat: replace socketio-wildcard with socket.onAny
up socket.io-redis to 6.x
* feat: remove mongodb/psql socket.io adapters
* feat: show data on fail
* fix: tests
* fix: typo
* fix: logger test fix
* fix: logger.io_close
* chore: up deps
* chore: update readme to reflect redis requirement
* fix: increase timeout show data if test fails
4 years ago
Barış Soner Uşaklı
61c6a762ad
fix: test
4 years ago
Barış Soner Uşaklı
e367c5403e
refactor: move groups.leave, fix some tests
4 years ago
Barış Soner Uşaklı
872bacf1c4
Admin/users ( #8762 )
...
* feat: wip admin/users
* feat: more work
* feat: more fixes
* feat: #8662 , verified/unverified user groups
* feat: add filter
* feat: change user search to use filters array
* refactor: remove unused search call
* fix: tests
* fix: cant join system groups
* fix: upgrade script
4 years ago
Barış Soner Uşaklı
5f10d67db5
Remove sounds ( #8617 )
...
* feat: remove sounds
* feat: remove more sounds
* feat: disable sounds plugin
* fix: openapi
4 years ago
Baris Usakli
0da4f7ee8d
fix: event tests
5 years ago
Barış Soner Uşaklı
2f0a331f02
fix: don't return promise
6 years ago
Barış Soner Uşaklı
44a3352003
fix: socket.io methods calling callbacks twice if method returns promise
6 years ago
Aziz Khoury
3fbb6faf28
feat: update unban logic/invocation and refactor User.bans module
...
* auto unban when User.getUsersFields is called and the user is banned but has expired
* cleanups and removal of expiry_readable
* expiry_readable make an alias for backward compatibility
* User.bans.func vs User.*ban*Func
* console.log cleanups, plus todo message added
* use code util.deprecate
* fix: remove ununsed winston require
6 years ago
Julian Lam
0c09b7402d
feat: logging password resets and errors into event log
...
closes #7343 , also adds tests for password reset socket calls
6 years ago
Baris Usakli
0c1ac4d6a2
feat: #7032
6 years ago
Barış Soner Uşaklı
c27be9db5a
Recent refactor ( #6879 )
...
* wip
* fix inf scroll
* remove duplicated code
* remove dupe code in /unread
* use topicList
* update tag page to use topicList
* fix tests
* combine ifs
* remove more dupe code
* disable timeout
6 years ago
Baris Usakli
28f2144933
remove time out on plugin upgrade test
6 years ago
Barış Soner Uşaklı
f77091d1ed
change user delete so it returns quickly
6 years ago
Barış Soner Uşaklı
805da98a36
remove unnecessary groups.resetCache calls
6 years ago
Barış Soner Uşaklı
797857e1d2
remove old test
7 years ago
Peter Jaszkowiak
da9da8190f
Bump dependencies
...
Bumping eslint & configs meant making some linting fixes
For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
7 years ago
Baris Usakli
c49837143c
fix test
7 years ago
Barış Soner Uşaklı
4f31dec82c
reduce usage of io.emit in 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
Julian Lam
d3d58b77d9
added test for custom date range ACP, #5541
8 years ago
Julian Lam
4c00a5ece6
fixing tests
8 years ago