126 Commits (e2707353e996a8185fc099e336b0392627d03eaa)

Author SHA1 Message Date
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
barisusakli 6e66911ef7 delete unread chats on account delete 11 years ago
barisusakli 943f3814e5 closes #1813 11 years ago
barisusakli ebaf8df0a9 #1824 11 years ago
barisusakli fcd460438d closes #1824 11 years ago
barisusakli d3312f1b8e fixer or in jobs and users redefinition 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