Commit Graph

77 Commits

Author SHA1 Message Date
barisusakli
1a34327f9d removed unnecessary require 2014-12-16 23:55:02 -05:00
barisusakli
e7a52b615b remove user from users:online on delete 2014-11-28 21:46:50 -05:00
barisusakli
8e84e47578 if a user is deleted remove from banned sorted set as well 2014-11-01 15:11:47 -04:00
barisusakli
c4a39c8163 use processSortedSet instead of getting all users 2014-10-26 20:10:57 -04:00
barisusakli
bedadd8b5f #2137 2014-09-24 00:07:24 -04:00
psychobunny
d6e0be52ce companion to 48c123592e - prevent deleting your own account if you're admin 2014-09-17 12:59:34 -04:00
barisusakli
4b80bbb9c4 optimized user.delete 2014-09-16 22:25:12 -04:00
barisusakli
493d0dea1e part 1 of notif refactor 2014-09-14 12:07:23 -04:00
barisusakli
576081e25f delete user ignored cids on account delete 2014-08-29 16:40:06 -04:00
barisusakli
eef200be10 closes #1284 2014-08-26 13:47:53 -04:00
barisusakli
5b681678b1 could use async.apply here hm 2014-08-08 17:42:03 -04:00
barisusakli
d7520508e3 #1375 part1 2014-07-28 18:18:20 -04:00
barisusakli
6e66911ef7 delete unread chats on account delete 2014-07-19 11:01:54 -04:00
barisusakli
fcd460438d closes #1824 2014-07-14 13:25:44 -04:00
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.
2014-07-09 22:20:49 -07:00
dhingey
f7372ba8d5 Added a hook: action:user.delete
Allows plugins to access the uid of the user being deleted.
2014-07-08 00:21:58 -07:00
barisusakli
311a7ad5b9 #1281 topic purge 2014-06-10 16:57:00 -04:00
barisusakli
a65d612907 #1281 post purge 2014-06-10 14:24:56 -04:00
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.
2014-06-06 22:12:19 -04:00
barisusakli
d8fd29581e deleting a user will delete topic tags too 2014-05-21 19:39:10 -04:00
barisusakli
68fd997efd closes #1419 2014-04-24 18:59:19 -04:00
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
2014-04-01 17:12:07 -04:00
barisusakli
ac88b5fc25 fixing user deletion, missing cb 2014-04-01 17:00:24 -04:00
barisusakli
fdf0076f37 decrease user count when user is deleted 2014-03-27 19:59:44 -04:00
Barış Soner Uşaklı
9f5893bc83 Update delete.js 2014-03-23 23:34:04 -04:00
Julian Lam
c893effcb9 WIP commit -- groups refactoring + upgrade scripts 2014-03-19 20:33:39 -04:00
barisusakli
1eafc6ba3d moved user delete to its own file, closes #746 2014-03-15 15:09:54 -04:00