barisusakli
02fb81901d
moved posts related stuff to user/posts.js
2014-11-14 21:47:24 -05:00
barisusakli
8be9e6d413
action:user.verify change #1527
2014-11-08 14:41:49 -05:00
barisusakli
9e1789dc58
closes #2297
2014-11-05 20:41:31 -05:00
barisusakli
37d7756271
hasEnoughRep can take an array
...
user follow uid checks
2014-11-04 18:44:08 -05:00
barisusakli
df4b555717
less db calls
...
no db call for settings if uid 0
no db call for isFollowing if uid 0
2014-11-04 18:31:21 -05:00
barisusakli
84b7a2c92d
checks in socket.io/user
...
reset doesnt need socket
2014-11-01 16:55:50 -04:00
barisusakli
8e84e47578
if a user is deleted remove from banned sorted set as well
2014-11-01 15:11:47 -04:00
Julian Lam
adfb89a2ad
closed #2321
2014-10-30 17:50:27 -04:00
barisusakli
121de11400
closes #2323
2014-10-30 14:21:44 -04:00
barisusakli
0fba1e37a7
no need for double trim :P
2014-10-28 18:41:34 -04:00
barisusakli
5be1c17aa7
refactor user.create
...
dont fire filter:user.create if there userData is invalid
2014-10-28 18:28:26 -04:00
barisusakli
c4a39c8163
use processSortedSet instead of getting all users
2014-10-26 20:10:57 -04:00
barisusakli
dcf2691a12
fix indent
2014-10-21 14:42:18 -04:00
Barış Soner Uşaklı
591a8b6b12
Merge pull request #2270 from stevelacy/master
...
Add user.updateProfile - hook user profile updates
2014-10-21 14:40:45 -04:00
barisusakli
1b80e6dbb2
fix email update on mongo
2014-10-21 14:17:30 -04:00
barisusakli
f15631c3e1
topic notification nid doesn't need post id
2014-10-19 18:41:54 -04:00
barisusakli
224218f519
fix missing callback
2014-10-19 16:39:36 -04:00
barisusakli
304f5b1c76
removed duped and empty bodyLong
2014-10-18 17:02:37 -04:00
barisusakli
6802bf7ce9
closes #2284
2014-10-18 16:45:39 -04:00
Steve Lacy
2d238e61ac
correct object
2014-10-17 23:15:13 -07:00
barisusakli
93d4a7c1f1
fix notifications to actually get recent
2014-10-17 18:51:58 -04:00
barisusakli
7bf655541c
cleanup and optimize notifications
2014-10-17 18:31:20 -04:00
barisusakli
cfd7edbf34
added nid
2014-10-17 17:23:47 -04:00
barisusakli
b5fb7691cd
optimize getUnreadByField
...
only get the most recent 100 notifications
dont call UserNotifications.getNotifications which does alot more work,
call the db directly
2014-10-17 17:20:45 -04:00
barisusakli
9e8be432b3
notification changes
...
-only send a notification when the person you follow creates a topic
-you still get a notification per post if you are following a topic
-changed notifications.push so that it sends the notifications over a
period of time, currently to 50 users per second
-optimized topics.notifyFollowers and
user.notifications.sendTopicNotification, they no longer query the
database for the topic and post data instead they get it as params
-you can no longer follow yourself :)
-changed mongo sortedSetRemove so that it doesn't use $in if there is
only a single value to remove
2014-10-15 21:55:31 -04:00
Steve Lacy
3ff7719cd4
add hook: filter: user.updateProfile
2014-10-15 16:26:40 -07:00
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
2014-10-14 23:12:47 -04:00
psychobunny
729ed6fbda
all your semi-colons are belongs to me
2014-10-08 12:18:32 -04:00
barisusakli
348911fd2d
closes #2195
2014-10-06 16:03:59 -04:00
barisusakli
33780e6fdb
closes #2133
2014-10-03 14:14:41 -04:00
barisusakli
cf252a29a7
closes #2196
2014-10-01 15:32:54 -04:00
barisusakli
977cd98a79
dont crash if user doesn't have email
2014-10-01 00:29:51 -04:00
barisusakli
5ff293109d
fix getUnreadByField
2014-09-30 23:20:25 -04:00
barisusakli
d303dea6c7
closes #1986
2014-09-29 12:30:07 -04:00
barisusakli
bedadd8b5f
#2137
2014-09-24 00:07:24 -04:00
barisusakli
64c51d5cba
check nid before pusing and marking read
2014-09-23 16:02:23 -04:00
barisusakli
c640e01969
show stack
2014-09-21 22:07:08 -04:00
barisusakli
3d4dad226e
crash fix
2014-09-19 19:24:28 -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
Julian Lam
b80b0e1e99
re: #2098 , chat message emails are now opt-in
2014-09-16 13:54:03 -04:00
barisusakli
e10fbfa0d2
Merge remote-tracking branch 'origin/0.5.1' into hashtalk
2014-09-14 12:08:23 -04:00
barisusakli
b3d9db10f2
notification fixes
...
made post notifications unique per post so they dont overwrite other
types.
2014-09-14 12:07:27 -04:00
barisusakli
dc441c2873
check err
2014-09-14 12:07:24 -04:00
barisusakli
4e6719e0aa
added filterUids method to privileges
...
used to filter uids on a single category
2014-09-14 12:07:24 -04:00
barisusakli
493d0dea1e
part 1 of notif refactor
2014-09-14 12:07:23 -04:00
barisusakli
e34ef71acd
fixed resetLockout
2014-09-12 19:07:06 -04:00
barisusakli
6cd84ebe81
removed parseInt from sorts
2014-09-07 13:03:06 -04:00
barisusakli
57e204df8e
removed most of the debug
...
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
2014-09-06 20:46:18 -04:00
barisusakli
3f96532c3f
disabled 2 calls
2014-09-06 01:07:03 -04:00