Commit Graph

125 Commits

Author SHA1 Message Date
barisusakli
ae8837b44a generate notification path on demand 2016-01-27 20:12:44 +02:00
barisusakli
add4e6ee5b notifications.create can return null 2016-01-27 20:03:28 +02:00
Julian Lam
5de0e74908 Notification paths are now sent back in socket call, so client-
side alert now shows more data and is clickable.
2016-01-25 10:24:05 -05:00
Julian Lam
de34c7d576 fixed #3966 2015-12-29 13:19:33 -05:00
Julian Lam
d9125c215c more notif crash fixes 2015-12-23 09:50:34 -05:00
Julian Lam
a38d79e6ec fixing notifications crash again 2015-12-22 13:54:01 -05:00
Julian Lam
36eed0f22f more tweaks to notif grouping 2015-12-21 15:29:16 -05:00
Julian Lam
64efe541f5 fix #3965 2015-12-21 14:29:46 -05:00
Julian Lam
fe5e5ea8ef fixing another null crash 2015-12-19 12:13:51 -05:00
Julian Lam
40f0076b77 fixed bug with notif merging 2015-12-16 14:30:58 -05:00
Julian Lam
9f5815555a fixed null error with notif grouping 2015-12-16 13:56:12 -05:00
Julian Lam
05df8900db closes #3912 2015-12-16 12:15:26 -05:00
Julian Lam
9db0f59432 part of #3912 2015-12-16 12:15:26 -05:00
barisusakli
f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
2015-10-29 16:35:53 -04:00
Julian Lam
b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
2015-10-25 07:33:59 -04:00
barisusakli
1ddcb3f11c closes #3740 2015-10-09 12:59:06 -04:00
Julian Lam
4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
2015-10-07 02:14:03 -04:00
barisusakli
313a465a4c notification exists check 2015-10-02 17:46:25 -04:00
Julian Lam
68b252f202 notifications dropdown 2015-09-27 20:26:17 -04:00
Julian Lam
220b42706f adding a check so that websocket method in notif pushing isn't called if the socket server isn't initialised 2015-05-15 14:14:20 -04:00
barisusakli
25a2e9b812 we just need the group members :trollface: 2015-03-09 19:29:56 -04:00
barisusakli
756d03fa62 closes #2745
generate paths on retrieval instead of notification creation
also fix follow notification path
2015-02-19 18:14:38 -05:00
Julian Lam
350acde379 ability to mark a notification read/unread from dropdown list, made styling less bootstrap-locked, using FA icon in theme instead of hardcoded in template 2015-02-19 12:06:15 -05:00
Julian Lam
c351261165 added daily cleaning of reset tokens #2708 2015-02-08 22:02:13 -05:00
barisusakli
b41119a374 show seconds like search page 2015-02-07 23:32:42 -05:00
barisusakli
2c8e8a1f1c closes #2550, closes #2518 2015-02-01 19:12:03 -05:00
Julian Lam
23b14b3443 moving nearly all startup messages to verbose type 2014-11-26 13:28:10 -05:00
barisusakli
283ac1578f fix null datetime error 2014-11-14 18:33:10 -05:00
barisusakli
9ff35a18f2 closes #2261 2014-11-14 17:03:13 -05:00
barisusakli
3272ca34ee 0.6.0 cleanup 2014-11-06 17:33:10 -05:00
barisusakli
7bf655541c cleanup and optimize notifications 2014-10-17 18:31:20 -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
barisusakli
72a919e416 time based check 2014-10-15 14:49:11 -04:00
barisusakli
cf252a29a7 closes #2196 2014-10-01 15:32:54 -04:00
barisusakli
2a1f9600e6 less event logs for notif pruning 2014-09-29 13:09:34 -04:00
barisusakli
d303dea6c7 closes #1986 2014-09-29 12:30:07 -04:00
barisusakli
64c51d5cba check nid before pusing and marking read 2014-09-23 16:02:23 -04:00
barisusakli
515e663f85 getObjectsFix
return empty array if keys is empty or not an array
2014-09-22 21:47:20 -04:00
Julian Lam
b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 2014-09-16 13:28:21 -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
9466d7ced4 faster notif prune
no need to loop tru and check datetime since notifications is a sorted
set now
2014-09-14 12:07:27 -04:00
barisusakli
35a903f9c8 closes #2074
when new notifications are pushed to uids clear their old notifications.
2014-09-14 12:07:26 -04:00
barisusakli
5204dc1e23 removed total count 2014-09-14 12:07:26 -04:00
barisusakli
493d0dea1e part 1 of notif refactor 2014-09-14 12:07:23 -04:00
barisusakli
e79c980421 delete anything older than 1 week 2014-09-08 18:09:35 -04:00
Baris Usakli
f16ced6bcc removed path from notif, its created on the fly when retrieveing the notifications 2014-09-08 01:22:47 -04:00
barisusakli
9b26b60082 fixed cron 2014-09-07 20:45:31 -04:00
barisusakli
61e1c51ef6 run notif prune every 30mins
disabled post edit log
2014-09-07 20:03:29 -04:00
barisusakli
2252ab7479 notifications.prune
run every hour
dont get more than 500 notifications
2014-09-07 03:17:51 -04:00
barisusakli
1075305444 crash fix 2014-09-05 03:00:53 -04:00