Commit Graph

58 Commits

Author SHA1 Message Date
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
5d6e2ad083 multiple test fixes 2016-11-23 17:15:36 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
barisusakli
6f86621e30 closes #5096 2016-10-08 19:09:55 +03:00
barisusakli
3cdfd22a65 on user delete remove their uid from digests 2016-09-06 20:20:12 +03:00
barisusakli
bf2133ed7c topic watching 2016-05-18 19:02:43 +03:00
barisusakli
4907773e6a closes #4615 2016-05-10 11:41:35 +03:00
Julian Lam
b12811d21d spring cleaning 2016-05-04 10:09:03 -04:00
barisusakli
2869b3c068 closes #4354 2016-03-12 17:29:33 +02:00
barisusakli
32ca95319e closes #3436 2016-01-20 16:13:04 +02:00
barisusakli
300996b0d1 closes #2329 2015-12-24 12:20:27 +02:00
barisusakli
d5bccfb292 delete chats on user delete 2015-12-16 09:30:55 +02:00
barisusakli
872e00849a moved deleteVotes into deleteAccount 2015-11-11 00:00:13 -05:00
barisusakli
0210c033ee closes #3779 2015-10-22 16:59:25 -04:00
barisusakli
07e7498f45 use sortedSetsRemove 2015-10-22 15:16:31 -04:00
Julian Lam
a1d5132777 Deprecated filter:user.delete hook
Please use static:user.delete instead.
2015-08-25 17:48:29 -04:00
barisusakli
39c3afec62 removed updateUserCount 2015-05-21 14:52:39 -04:00
barisusakli
aa577f4adc part 1
no upgrade script yet
2015-05-19 23:04:28 -04:00
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
2015-05-07 13:43:06 -04:00
barisusakli
73d65dd123 filter:users.search filter:users.build hooks 2015-05-04 18:01:45 -04:00
Barış Soner Uşaklı
9c7c87fd3b closes #2972 2015-04-09 15:37:20 -04:00
Barış Soner Uşaklı
743cd20441 closes #2267 2015-02-19 15:56:12 -05:00
barisusakli
740c52fc4f missing semicolon 2015-01-22 14:19:23 -05:00
barisusakli
22c541d95f closes #2643 2015-01-22 14:13:39 -05:00
barisusakli
03ae7db561 on user delete remove from ip sorted set, fix search by ip 2015-01-17 16:22:04 -05:00
barisusakli
6ccdf187ea closes #2595 2015-01-13 14:54:13 -05:00
barisusakli
4ab288acae delete fullname:uid mapping on user delete 2015-01-10 15:03:29 -05:00
barisusakli
4364b50ecf closes #2562 2014-12-29 15:11:52 -05:00
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