Julian Lam
a5af2dc819
feat: added PUT/DELETE /api/v1/users/:uid/ban routes
2020-10-08 15:33:10 -04:00
Barış Soner Uşaklı
59242d31aa
fix : #8010 , fix isBanned call
2019-10-31 16:31:49 -04:00
Barış Soner Uşaklı
9eb1fcd4e5
fix : #7762 , allow array for isBanned
...
dont filter banned users one by one in digest
2019-07-14 16:25:30 -04:00
Baris Usakli
1970214a24
feat: #7743 user/ban, up mubsub
2019-07-12 16:34:41 -04:00
Aziz Khoury
45acf80987
remove expire timestamp when banning user permanently, fixes #7547 ( #7548 )
2019-04-18 17:22:33 -04:00
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
2019-04-05 14:14:48 -04:00
Barış Soner Uşaklı
d8f114c982
dont check if guests/spiders are banned or load reason
2018-11-22 21:58:25 -05:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
95501e8fee
closes #6738 closes #6290 ( #6785 )
...
* closes #6738 closes #6290
* fix test, delete keys
* delete all bans on user delete
* fix upgrade script to actually read reason
2018-09-24 20:20:52 -04:00
Barış Soner Uşaklı
3ed856f587
change if
2018-09-24 17:42:54 -04:00
Barış Soner Uşaklı
95196ceedc
closes #5692
2017-05-19 14:52:36 -04:00
Barış Soner Uşaklı
ed9a429ca9
test invalid expiry
2017-05-13 22:45:13 -04:00
psychobunny
2a405ad439
fixed permaban on redis
2017-05-05 20:11:18 -04:00
Peter Jaszkowiak
4bb49a7171
ESlint no-unused-vars
2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
9e52d5ec04
new hook, action:user.delete
2016-12-14 16:49:09 +03:00
barisusakli
a4dfe608e9
ban tests, user/info test
2016-11-01 13:02:12 +03:00
Julian Lam
f97f45a138
logic to show a modal to banned users when they try to log in via SSO
2016-10-27 14:16:37 -04:00