Commit Graph

127 Commits (bc9c5646500405aa67b7a3dbdecb8b73ec88f334)

Author SHA1 Message Date
barisusakli 87f0d68ba2 send flag notifications to global mods as well
push notifications to unique uids only
barisusakli 3a2b5fefd9 :eye_brow:
barisusakli ae8837b44a generate notification path on demand
barisusakli add4e6ee5b notifications.create can return null
Julian Lam 5de0e74908 Notification paths are now sent back in socket call, so client-
side alert now shows more data and is clickable.
Julian Lam de34c7d576 fixed
Julian Lam d9125c215c more notif crash fixes
Julian Lam a38d79e6ec fixing notifications crash again
Julian Lam 36eed0f22f more tweaks to notif grouping
Julian Lam 64efe541f5 fix
Julian Lam fe5e5ea8ef fixing another null crash
Julian Lam 40f0076b77 fixed bug with notif merging
Julian Lam 9f5815555a fixed null error with notif grouping
Julian Lam 05df8900db closes
Julian Lam 9db0f59432 part of
barisusakli f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
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
barisusakli 1ddcb3f11c closes
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
barisusakli 313a465a4c notification exists check
Julian Lam 68b252f202 notifications dropdown
Julian Lam 220b42706f adding a check so that websocket method in notif pushing isn't called if the socket server isn't initialised
barisusakli 25a2e9b812 we just need the group members :trollface:
barisusakli 756d03fa62 closes
generate paths on retrieval instead of notification creation
also fix follow notification path
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
Julian Lam c351261165 added daily cleaning of reset tokens
barisusakli b41119a374 show seconds like search page
barisusakli 2c8e8a1f1c closes , closes
Julian Lam 23b14b3443 moving nearly all startup messages to verbose type
barisusakli 283ac1578f fix null datetime error
barisusakli 9ff35a18f2 closes
barisusakli 3272ca34ee 0.6.0 cleanup
barisusakli 7bf655541c cleanup and optimize notifications
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
barisusakli 72a919e416 time based check
barisusakli cf252a29a7 closes
barisusakli 2a1f9600e6 less event logs for notif pruning
barisusakli d303dea6c7 closes
barisusakli 64c51d5cba check nid before pusing and marking read
barisusakli 515e663f85 getObjectsFix
return empty array if keys is empty or not an array
Julian Lam b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
barisusakli 9466d7ced4 faster notif prune
no need to loop tru and check datetime since notifications is a sorted
set now
barisusakli 35a903f9c8 closes
when new notifications are pushed to uids clear their old notifications.
barisusakli 5204dc1e23 removed total count
barisusakli 493d0dea1e part 1 of notif refactor
barisusakli e79c980421 delete anything older than 1 week
Baris Usakli f16ced6bcc removed path from notif, its created on the fly when retrieveing the notifications
barisusakli 9b26b60082 fixed cron
barisusakli 61e1c51ef6 run notif prune every 30mins
disabled post edit log