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
Barış Soner Uşaklı
c12e1d19a7
fix: tests
6 years ago
Baris Usakli
23da300958
feat: pass options to digest
6 years ago
Barış Soner Uşaklı
eb7ae54f81
Category watch state ( #7109 )
...
* feat: wip, category watch change
* feat: pass data to client
* feat: allow changing state
* fix: account page categories
* fix: show in unread if topic is followed or category is watched
* feat: add default watch state to acp
* feat: save user category watch state
* feat: update unread recent pages
* fix: remove dupe code
* fix: flip conditions
* fix: handle empty arrays
* fix: ignore/watch on others profile
* feat: upgrade script for category states
if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers
* fix: upgrade
* fix: tests
* fix: redis count
* fix: more tests
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
566564ed74
fix redis tests
...
fixed typo in groups/data.js
added postcount,viewcount to int fields
6 years ago
Barış Soner Uşaklı
fb6067a7ca
only parse if field is requested
6 years ago
Barış Soner Uşaklı
f3a679e268
remove parseInts
6 years ago
Barış Soner Uşaklı
537b7ff7e8
remove more parseInts
6 years ago
Baris Usakli
a228dc2de9
closes #6797
6 years ago
Barış Soner Uşaklı
ac39112271
remove more parseInts
6 years ago
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
6 years ago
Barış Soner Uşaklı
c06480b82e
add tests for blocked users teaser/unread
6 years ago
Baris Usakli
a867b77509
add assert message to test
6 years ago
Barış Soner Uşaklı
5c7dd54815
fix zsets and update them on post move, closes #6823 ( #6827 )
6 years ago
Barış Soner Uşaklı
a7c4c59121
change to series
6 years ago
Barış Soner Uşaklı
805da98a36
remove unnecessary groups.resetCache calls
6 years ago
Barış Soner Uşaklı
944972c6f2
change to series
6 years ago
Barış Soner Uşaklı
1cb2e1e368
remove console.log switch to series
6 years ago
Barış Soner Uşaklı
f618ba8e1e
add private category test for unread tids
6 years ago
Barış Soner Uşaklı
ccad95cf73
closes #6579
7 years ago
Barış Soner Uşaklı
2fd2accf8c
add tests for top topics
...
fix popular page displaying 18 topics per page
7 years ago
Barış Soner Uşaklı
4684ab3bf6
suggest topic test
7 years ago
Barış Soner Uşaklı
505e511e4d
fix tests
7 years ago
Barış Soner Uşaklı
f3fda152bf
closes #6216
7 years ago
Barış Soner Uşaklı
a2ba01b0d7
fix test
7 years ago
Baris Usakli
3551d7d68e
closes #4804
7 years ago
Barış Soner Uşaklı
4f2f84e47c
#4804
7 years ago
Baris Usakli
a500e0019c
closes #6005
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
Barış Soner Uşaklı
0f5be5ae25
remove plugin.hook check
8 years ago
Peter Jaszkowiak
1471fbdc14
Fix tests
8 years ago
Barış Soner Uşaklı
be79b85526
fix test
8 years ago
Barış Soner Uşaklı
d65f494c6d
closes #5127
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
Baris Usakli
61eb7aa68b
more tests
8 years ago
Barış Soner Uşaklı
77894915eb
closes #5684
8 years ago
Barış Soner Uşaklı
5e3946a6be
teaser tests
8 years ago
Julian Lam
860999fa6c
Merge remote-tracking branch 'origin/master' into develop
8 years ago
psychobunny
a67d48e719
#5513 ( #5520 )
...
closes #5513
8 years ago
barisusakli
0c8058ba9d
closes #5516
8 years ago
Julian Lam
af2d9fb85b
Merge branch 'master' into develop
8 years ago
barisusakli
63b3c29a1a
test invalid data
8 years ago
barisusakli
cd448f90cd
more topic tests
8 years ago
Julian Lam
72e77772db
Merge branch 'master' into develop
8 years ago
Julian Lam
e71bd7a27f
Merge branch 'master' into styleguide
8 years ago
barisusakli
ca1fe557c7
topic controller tests
8 years ago
Peter Jaszkowiak
dd2b930824
Resolve merge conflicts, minify only `.js` files
8 years ago
Barış Soner Uşaklı
35ff71c37d
more tests
8 years ago
Julian Lam
672d7352bb
Merge branch 'master' into develop
8 years ago