232 Commits (2b7744f9050151db0160483ee52983ce3da15a77)

Author SHA1 Message Date
barisusakli 984b17349a closes #2476 10 years ago
barisusakli 04084807c2 removed app.loadConfig 10 years ago
barisusakli 793a0a6772 fix mark topic notifications read on enter 10 years ago
barisusakli 1a34327f9d removed unnecessary require 10 years ago
psychobunny e0c8989e8b closes #2519 10 years ago
barisusakli 8e8375cbba validate email password on register 10 years ago
barisusakli 7ae7c50f56 app.user 10 years ago
barisusakli 7d6c81160b show 20 results for user search 10 years ago
barisusakli 612aa4e55b closes #2491 10 years ago
barisusakli 142536b659 Merge remote-tracking branch 'origin/master' into socket.io1.x 10 years ago
barisusakli 83ab462ff5 module changes, fixed missing interval 10 years ago
barisusakli e7a52b615b remove user from users:online on delete 10 years ago
barisusakli f9405c0423 closes #2440 10 years ago
Julian Lam a31525c79f Skipping digest sending if no notifs and no new topics, #2455 10 years ago
Julian Lam 1b526026a0 closed #2442 10 years ago
Julian Lam 6eef866320 closed #2429 10 years ago
Julian Lam d51683f62e closed #2421 10 years ago
Julian Lam c7396f58cd verbose logging for email 10 years ago
barisusakli 8b573bff39 send 10 topics in digest not 11 10 years ago
barisusakli 02fb81901d moved posts related stuff to user/posts.js 10 years ago
barisusakli 8be9e6d413 action:user.verify change #1527 10 years ago
barisusakli 9e1789dc58 closes #2297 10 years ago
barisusakli 37d7756271 hasEnoughRep can take an array
user follow uid checks
10 years ago
barisusakli df4b555717 less db calls
no db call for settings if uid 0
no db call for isFollowing if uid 0
10 years ago
barisusakli 84b7a2c92d checks in socket.io/user
reset doesnt need socket
10 years ago
barisusakli 8e84e47578 if a user is deleted remove from banned sorted set as well 10 years ago
Julian Lam adfb89a2ad closed #2321 10 years ago
barisusakli 121de11400 closes #2323 10 years ago
barisusakli 0fba1e37a7 no need for double trim :P 10 years ago
barisusakli 5be1c17aa7 refactor user.create
dont fire filter:user.create if there userData is invalid
10 years ago
barisusakli c4a39c8163 use processSortedSet instead of getting all users 10 years ago
barisusakli dcf2691a12 fix indent 10 years ago
Barış Soner Uşaklı 591a8b6b12 Merge pull request #2270 from stevelacy/master
Add user.updateProfile - hook user profile updates
10 years ago
barisusakli 1b80e6dbb2 fix email update on mongo 10 years ago
barisusakli f15631c3e1 topic notification nid doesn't need post id 10 years ago
barisusakli 224218f519 fix missing callback 10 years ago
barisusakli 304f5b1c76 removed duped and empty bodyLong 10 years ago
barisusakli 6802bf7ce9 closes #2284 10 years ago
Steve Lacy 2d238e61ac correct object 10 years ago
barisusakli 93d4a7c1f1 fix notifications to actually get recent 10 years ago
barisusakli 7bf655541c cleanup and optimize notifications 10 years ago
barisusakli cfd7edbf34 added nid 10 years ago
barisusakli b5fb7691cd optimize getUnreadByField
only get the most recent 100 notifications
dont call UserNotifications.getNotifications which does alot more work,
call the db directly
10 years ago
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
10 years ago
Steve Lacy 3ff7719cd4 add hook: filter: user.updateProfile 10 years ago
barisusakli 761f56aeb1 removed most of the db.sortedSetCards 10 years ago
psychobunny 729ed6fbda all your semi-colons are belongs to me 10 years ago
barisusakli 348911fd2d closes #2195 10 years ago
barisusakli 33780e6fdb closes #2133 10 years ago
barisusakli cf252a29a7 closes #2196 11 years ago
barisusakli 977cd98a79 dont crash if user doesn't have email 11 years ago
barisusakli 5ff293109d fix getUnreadByField 11 years ago
barisusakli d303dea6c7 closes #1986 11 years ago
barisusakli bedadd8b5f #2137 11 years ago
barisusakli 64c51d5cba check nid before pusing and marking read 11 years ago
barisusakli c640e01969 show stack 11 years ago
barisusakli 3d4dad226e crash fix 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
Julian Lam b80b0e1e99 re: #2098, chat message emails are now opt-in 11 years ago
barisusakli e10fbfa0d2 Merge remote-tracking branch 'origin/0.5.1' into hashtalk 11 years ago
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli dc441c2873 check err 11 years ago
barisusakli 4e6719e0aa added filterUids method to privileges
used to filter uids on a single category
11 years ago
barisusakli 493d0dea1e part 1 of notif refactor 11 years ago
barisusakli e34ef71acd fixed resetLockout 11 years ago
barisusakli 6cd84ebe81 removed parseInt from sorts 11 years ago
barisusakli 57e204df8e removed most of the debug
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
11 years ago
barisusakli 3f96532c3f disabled 2 calls 11 years ago
barisusakli 877cf1e15c derp 11 years ago
barisusakli e5795687bb fix settings on mongo 11 years ago
barisusakli 2073d994fc limit topicsperpage postsPerPage to 20 11 years ago
Julian Lam e6d0eede4f pruning empy notifications for daily emailer 11 years ago
barisusakli 14fcd36134 closes #2028 11 years ago
barisusakli 576081e25f delete user ignored cids on account delete 11 years ago
barisusakli ba4b98de0e email and username checks on profile update 11 years ago
barisusakli d67cd489cd crash fix 11 years ago
barisusakli eef200be10 closes #1284 11 years ago
barisusakli 24ea74dc41 lol
O(log(n)) to O(1) and away
11 years ago
barisusakli 05fdc945f3 closes #1993 11 years ago
barisusakli 5ae7c92d55 notifications refactor
added getMultiple which works with an array of nids
11 years ago
barisusakli c58712e2a9 closes #1971 11 years ago
barisusakli c9c454825e closes #1369 11 years ago
barisusakli 005405b16c closes #1976 11 years ago
barisusakli c4b083330c closes #1978 11 years ago
barisusakli c8084e9b2e closes #1978 11 years ago
barisusakli 5b681678b1 could use async.apply here hm 11 years ago
barisusakli f39d772a40 if notification is purged delete from user mapping as well 11 years ago
psychobunny bb48bdb008 closes #1942 11 years ago
barisusakli 3163f70ef2 add tid to post notification so its marked read on entry 11 years ago
barisusakli de6e74c50e #1914 11 years ago
barisusakli fed8cc6d53 optimize privileges and assorted fixes.
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter

they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing  async.filter and calling the db for each id.

* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
11 years ago
barisusakli 96b0b449b9 closes #1911 11 years ago
barisusakli f71bd41408 more fixes 11 years ago
barisusakli dfb6606432 one more fix 11 years ago
barisusakli 08ba683c7d fix callback 11 years ago
barisusakli d7520508e3 #1375 part1 11 years ago
barisusakli d25300043c #1741 11 years ago
barisusakli 7454fd53b9 possible fix for #1741 11 years ago
barisusakli c9fb5b3e11 changed user posted notification to include title
dont send 2 notifications if you are already following topic
11 years ago