186 Commits (bb3f98eb05a55fad58fa1725c8814a42f5e3bc52)

Author SHA1 Message Date
barisusakli e3077b0ab0 dont use titleEscaped if its empty 9 years ago
barisusakli cb8abab5c5 fix for undefined topicTitle 9 years ago
Ben Lubar 44431f8410 fix notifications that contain topic titles with commas in them 9 years ago
barisusakli b0151502c2 use '-inf'/'+inf' 9 years ago
barisusakli b1cc1725a9 fix crash in notifications 9 years ago
Julian Lam 9d0f53fcd6 closed #4098 9 years ago
Julian Lam 3c7a42c959 fixed #4294 9 years ago
psychobunny cd0cb5c5f1 closes #4237 9 years ago
barisusakli 2fc385f723 closes #4141, closes #4149 9 years ago
barisusakli 87f0d68ba2 send flag notifications to global mods as well
push notifications to unique uids only
9 years ago
barisusakli 3a2b5fefd9 :eye_brow: 9 years ago
barisusakli ae8837b44a generate notification path on demand 9 years ago
barisusakli add4e6ee5b notifications.create can return null 9 years ago
Julian Lam 5de0e74908 Notification paths are now sent back in socket call, so client-
side alert now shows more data and is clickable.
9 years ago
Julian Lam de34c7d576 fixed #3966 9 years ago
Julian Lam d9125c215c more notif crash fixes 9 years ago
Julian Lam a38d79e6ec fixing notifications crash again 9 years ago
Julian Lam 36eed0f22f more tweaks to notif grouping 9 years ago
Julian Lam 64efe541f5 fix #3965 9 years ago
Julian Lam fe5e5ea8ef fixing another null crash 9 years ago
Julian Lam 40f0076b77 fixed bug with notif merging 9 years ago
Julian Lam 9f5815555a fixed null error with notif grouping 9 years ago
Julian Lam 05df8900db closes #3912 9 years ago
Julian Lam 9db0f59432 part of #3912 9 years ago
barisusakli f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
9 years ago
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
9 years ago
barisusakli 1ddcb3f11c closes #3740 9 years ago
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
9 years ago
barisusakli 313a465a4c notification exists check 9 years ago
Julian Lam 68b252f202 notifications dropdown 9 years ago
Julian Lam 220b42706f adding a check so that websocket method in notif pushing isn't called if the socket server isn't initialised 10 years ago
barisusakli 25a2e9b812 we just need the group members :trollface: 10 years ago
barisusakli 756d03fa62 closes #2745
generate paths on retrieval instead of notification creation
also fix follow notification path
10 years ago
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 10 years ago
Julian Lam c351261165 added daily cleaning of reset tokens #2708 10 years ago
barisusakli b41119a374 show seconds like search page 10 years ago
barisusakli 2c8e8a1f1c closes #2550, closes #2518 10 years ago
Julian Lam 23b14b3443 moving nearly all startup messages to verbose type 10 years ago
barisusakli 283ac1578f fix null datetime error 10 years ago
barisusakli 9ff35a18f2 closes #2261 10 years ago
barisusakli 3272ca34ee 0.6.0 cleanup 10 years ago
barisusakli 7bf655541c cleanup and optimize notifications 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
barisusakli 72a919e416 time based check 10 years ago
barisusakli cf252a29a7 closes #2196 10 years ago
barisusakli 2a1f9600e6 less event logs for notif pruning 10 years ago
barisusakli d303dea6c7 closes #1986 10 years ago
barisusakli 64c51d5cba check nid before pusing and marking read 10 years ago
barisusakli 515e663f85 getObjectsFix
return empty array if keys is empty or not an array
10 years ago
Julian Lam b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 10 years ago
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli 9466d7ced4 faster notif prune
no need to loop tru and check datetime since notifications is a sorted
set now
11 years ago
barisusakli 35a903f9c8 closes #2074
when new notifications are pushed to uids clear their old notifications.
11 years ago
barisusakli 5204dc1e23 removed total count 11 years ago
barisusakli 493d0dea1e part 1 of notif refactor 11 years ago
barisusakli e79c980421 delete anything older than 1 week 11 years ago
Baris Usakli f16ced6bcc removed path from notif, its created on the fly when retrieveing the notifications 11 years ago
barisusakli 9b26b60082 fixed cron 11 years ago
barisusakli 61e1c51ef6 run notif prune every 30mins
disabled post edit log
11 years ago
barisusakli 2252ab7479 notifications.prune
run every hour
dont get more than 500 notifications
11 years ago
barisusakli 1075305444 crash fix 11 years ago
barisusakli 77a7c5caef eachLimit notifications.push 11 years ago
barisusakli 5ae7c92d55 notifications refactor
added getMultiple which works with an array of nids
11 years ago
barisusakli ea2975cb3f eachLimit on expire nids 11 years ago
barisusakli 7d179b68df faster notif prune 11 years ago
barisusakli b0b78c3092 minor fix to prevent err when trying to mark null nid 11 years ago
barisusakli e420ee5fb6 privilege fix for single category check 11 years ago
barisusakli 62681c36ef if notif is deleted don't push, prevent crash 11 years ago
barisusakli f31978aa2c moved core notifications all the way to the end 11 years ago
barisusakli f71bd41408 more fixes 11 years ago
barisusakli d7520508e3 #1375 part1 11 years ago
barisusakli eea987d8dd removed console.log 11 years ago
Julian Lam 91ce3634fc fixed #1904 11 years ago
Julian Lam 458e294293 switched validator library out in favour of String lib 11 years ago
Julian Lam c41bb05711 final pass #1720, closed #1720 11 years ago
Julian Lam d257632878 first pass #1720, updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too. 11 years ago
Julian Lam dedc6d8154 added new hook for notification pushing 11 years ago
barisusakli ce1934e566 closes #1684 11 years ago
barisusakli 4570edb122 closes #1623 11 years ago
Julian Lam 3baf00208f slugifying group name when checking for existence 11 years ago
barisusakli 66701afdaa closes #1559
fixes the notification image too, the property was called image not
picture
11 years ago
Julian Lam 3849b2d6b3 added pushGroup method to notifications object #1331 11 years ago
barisusakli ac65655384 fixed missing return 11 years ago
barisusakli c7744d7a64 closes #1483 11 years ago
Julian Lam 08cf6bc5e6 fixed #1489 -- made checkReplace error-first, added missing callback, added missing object field to db query 11 years ago
Julian Lam e65896351a checkReplace typo 11 years ago
barisusakli 7c00bce63c faster checkAndReplace
still need a better solution for this uniqueId business but this is
better than before.
11 years ago
Julian Lam 4c9ea62c0d resolved #1372 -- username clashes will now cause a random # to be appended to the username 11 years ago
Julian Lam b12b2f13ea closed #1375 11 years ago
barisusakli 2220483915 notifications 11 years ago
Baris Soner Usakli ea222c4f8a crash fix for notifications, removed exec_body_script, closes #1058 11 years ago
Julian Lam 9e64f4e303 passing in a picture into notifications now 11 years ago
Julian Lam aba1b95cac updating notifications.create to accept a hash instead of discrete arguments - breaking change 11 years ago
Julian Lam d0d3160fc7 final pass, #999 11 years ago
Julian Lam 8bd6f85478 first pass, #999 11 years ago
Baris Soner Usakli daa1154797 added timing to prune 11 years ago
Baris Soner Usakli 20dd194171 show error in composer if upload fails 11 years ago
Julian Lam adb8f80b86 interim commit - removed calls to websockets.js, beginning porting to namespaced files 11 years ago
psychobunny dc4aeca427 also send notification data along with event:new_notification socket call 11 years ago
Julian Lam c313c4501b pushNotifCount method for real-time updating of notification bell + favicon for multiple tabs (closes #219) 11 years ago