Commit Graph

114 Commits

Author SHA1 Message Date
barisusakli
3f96532c3f disabled 2 calls 2014-09-06 01:07:03 -04:00
barisusakli
877cf1e15c derp 2014-09-05 01:36:30 -04:00
barisusakli
e5795687bb fix settings on mongo 2014-09-04 01:34:31 -04:00
barisusakli
2073d994fc limit topicsperpage postsPerPage to 20 2014-09-03 12:00:25 -04:00
Julian Lam
e6d0eede4f pruning empy notifications for daily emailer 2014-09-02 18:36:58 -04:00
barisusakli
14fcd36134 closes #2028 2014-08-30 15:39:20 -04:00
barisusakli
576081e25f delete user ignored cids on account delete 2014-08-29 16:40:06 -04:00
barisusakli
ba4b98de0e email and username checks on profile update 2014-08-27 16:06:49 -04:00
barisusakli
d67cd489cd crash fix 2014-08-27 14:09:15 -04:00
barisusakli
eef200be10 closes #1284 2014-08-26 13:47:53 -04:00
barisusakli
24ea74dc41 lol
O(log(n)) to O(1) and away
2014-08-17 22:10:16 -04:00
barisusakli
05fdc945f3 closes #1993 2014-08-17 00:14:45 -04:00
barisusakli
5ae7c92d55 notifications refactor
added getMultiple which works with an array of nids
2014-08-16 23:25:30 -04:00
barisusakli
c58712e2a9 closes #1971 2014-08-14 08:34:38 -04:00
barisusakli
c9c454825e closes #1369 2014-08-13 21:42:04 -04:00
barisusakli
005405b16c closes #1976 2014-08-12 21:41:23 -04:00
barisusakli
c4b083330c closes #1978 2014-08-11 18:07:56 -04:00
barisusakli
c8084e9b2e closes #1978 2014-08-11 16:26:20 -04:00
barisusakli
5b681678b1 could use async.apply here hm 2014-08-08 17:42:03 -04:00
barisusakli
f39d772a40 if notification is purged delete from user mapping as well 2014-08-07 00:17:26 -04:00
psychobunny
bb48bdb008 closes #1942 2014-08-05 15:12:23 -04:00
barisusakli
3163f70ef2 add tid to post notification so its marked read on entry 2014-08-01 14:07:01 -04:00
barisusakli
de6e74c50e #1914 2014-07-31 08:57:27 -04:00
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.
2014-07-29 21:51:46 -04:00
barisusakli
96b0b449b9 closes #1911 2014-07-29 00:42:33 -04:00
barisusakli
f71bd41408 more fixes 2014-07-28 18:18:22 -04:00
barisusakli
dfb6606432 one more fix 2014-07-28 18:18:21 -04:00
barisusakli
08ba683c7d fix callback 2014-07-28 18:18:21 -04:00
barisusakli
d7520508e3 #1375 part1 2014-07-28 18:18:20 -04:00
barisusakli
d25300043c #1741 2014-07-24 16:44:45 -04:00
barisusakli
7454fd53b9 possible fix for #1741 2014-07-23 16:49:32 -04:00
barisusakli
c9fb5b3e11 changed user posted notification to include title
dont send 2 notifications if you are already following topic
2014-07-21 17:43:42 -04:00
barisusakli
6e66911ef7 delete unread chats on account delete 2014-07-19 11:01:54 -04:00
barisusakli
943f3814e5 closes #1813 2014-07-15 13:00:22 -04:00
barisusakli
ebaf8df0a9 #1824 2014-07-14 13:28:04 -04:00
barisusakli
fcd460438d closes #1824 2014-07-14 13:25:44 -04:00
barisusakli
d3312f1b8e fixer or in jobs and users redefinition 2014-07-13 16:25:54 -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
dcbed4e935 closes #1763
show alert if email not confirmed, clicking alert will send confirmation
email
2014-07-03 09:36:46 -04:00
barisusakli
49a9601a04 closes #1752 2014-06-26 13:44:02 -04:00
barisusakli
1296cd58b9 closes #1723 2014-06-23 19:45:49 -04:00
barisusakli
dceeed22f7 closes #1724 2014-06-21 19:54:21 -04:00
Julian Lam
d229cd21b2 parsing the post content that's passed into bodyLong in notifs #1720 2014-06-21 01:16:08 -04:00
Julian Lam
c41bb05711 final pass #1720, closed #1720 2014-06-20 17:53:40 -04:00
Julian Lam
d257632878 first pass #1720, updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too. 2014-06-20 16:54:34 -04:00
barisusakli
4c2765a79c closes #1679 2014-06-13 15:33:22 -04: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
psychobunny
e5d465392f closes #1639 2014-06-10 13:40:37 -04:00