barisusakli
872e00849a
moved deleteVotes into deleteAccount
9 years ago
barisusakli
0210c033ee
closes #3779
9 years ago
barisusakli
07e7498f45
use sortedSetsRemove
9 years ago
Julian Lam
a1d5132777
Deprecated filter:user.delete hook
...
Please use static:user.delete instead.
10 years ago
barisusakli
39c3afec62
removed updateUserCount
10 years ago
barisusakli
aa577f4adc
part 1
...
no upgrade script yet
10 years ago
Barış Soner Uşaklı
c56b30ff60
convert uid mappings to sorted sets
...
email:uid, username:uid, userslug:uid, fullname:uid all converted to
sorted sets
prevents hitting mongodb document size limit
10 years ago
barisusakli
73d65dd123
filter:users.search filter:users.build hooks
10 years ago
Barış Soner Uşaklı
9c7c87fd3b
closes #2972
10 years ago
Barış Soner Uşaklı
743cd20441
closes #2267
10 years ago
barisusakli
740c52fc4f
missing semicolon
10 years ago
barisusakli
22c541d95f
closes #2643
10 years ago
barisusakli
03ae7db561
on user delete remove from ip sorted set, fix search by ip
10 years ago
barisusakli
6ccdf187ea
closes #2595
10 years ago
barisusakli
4ab288acae
delete fullname:uid mapping on user delete
10 years ago
barisusakli
4364b50ecf
closes #2562
10 years ago
barisusakli
1a34327f9d
removed unnecessary require
10 years ago
barisusakli
e7a52b615b
remove user from users:online on delete
10 years ago
barisusakli
8e84e47578
if a user is deleted remove from banned sorted set as well
10 years ago
barisusakli
c4a39c8163
use processSortedSet instead of getting all users
10 years ago
barisusakli
bedadd8b5f
#2137
11 years ago
psychobunny
d6e0be52ce
companion to 48c123592e
- prevent deleting your own account if you're admin
11 years ago
barisusakli
4b80bbb9c4
optimized user.delete
11 years ago
barisusakli
493d0dea1e
part 1 of notif refactor
11 years ago
barisusakli
576081e25f
delete user ignored cids on account delete
11 years ago
barisusakli
eef200be10
closes #1284
11 years ago
barisusakli
5b681678b1
could use async.apply here hm
11 years ago
barisusakli
d7520508e3
#1375 part1
11 years ago
barisusakli
6e66911ef7
delete unread chats on account delete
11 years ago
barisusakli
fcd460438d
closes #1824
11 years ago
dhingey
9d45373b59
Change user.delete hook from action to filter
...
The user.delete hook is now a filter, giving plugins a chance to access
the user's data before it's deleted from Redis.
11 years ago
dhingey
f7372ba8d5
Added a hook: action:user.delete
...
Allows plugins to access the uid of the user being deleted.
11 years ago
barisusakli
311a7ad5b9
#1281 topic purge
11 years ago
barisusakli
a65d612907
#1281 post purge
11 years ago
barisusakli
7610c11cd1
closes #450
...
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.
added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.
the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
11 years ago
barisusakli
d8fd29581e
deleting a user will delete topic tags too
11 years ago
barisusakli
68fd997efd
closes #1419
11 years ago
barisusakli
10f56faf9d
admin cleanup
...
removed unnecessary admin checks in src/admin/user then realized they
are just one liners so moved them to src/socket.io.admin.js moved
categories update to categories folder
11 years ago
barisusakli
ac88b5fc25
fixing user deletion, missing cb
11 years ago
barisusakli
fdf0076f37
decrease user count when user is deleted
11 years ago
Barış Soner Uşaklı
9f5893bc83
Update delete.js
11 years ago
Julian Lam
c893effcb9
WIP commit -- groups refactoring + upgrade scripts
11 years ago
barisusakli
1eafc6ba3d
moved user delete to its own file, closes #746
11 years ago