Commit Graph

192 Commits

Author SHA1 Message Date
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
barisusakli
77a7c5caef eachLimit notifications.push 2014-08-17 22:12:43 -04:00
barisusakli
5ae7c92d55 notifications refactor
added getMultiple which works with an array of nids
2014-08-16 23:25:30 -04:00
barisusakli
ea2975cb3f eachLimit on expire nids 2014-08-08 16:28:29 -04:00
barisusakli
7d179b68df faster notif prune 2014-08-07 00:44:25 -04:00
barisusakli
b0b78c3092 minor fix to prevent err when trying to mark null nid 2014-08-03 12:40:46 -04:00
barisusakli
e420ee5fb6 privilege fix for single category check 2014-08-02 19:45:13 -04:00
barisusakli
62681c36ef if notif is deleted don't push, prevent crash 2014-08-02 15:10:32 -04:00
barisusakli
f31978aa2c moved core notifications all the way to the end 2014-07-28 19:09:08 -04:00
barisusakli
f71bd41408 more fixes 2014-07-28 18:18:22 -04:00
barisusakli
d7520508e3 #1375 part1 2014-07-28 18:18:20 -04:00
barisusakli
eea987d8dd removed console.log 2014-07-25 19:02:10 -04:00
Julian Lam
91ce3634fc fixed #1904 2014-07-25 16:46:04 -04:00
Julian Lam
458e294293 switched validator library out in favour of String lib 2014-06-21 17:17: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
Julian Lam
dedc6d8154 added new hook for notification pushing 2014-06-17 21:10:21 -04:00
barisusakli
ce1934e566 closes #1684 2014-06-13 13:57:42 -04:00
barisusakli
4570edb122 closes #1623 2014-06-02 12:44:37 -04:00
Julian Lam
3baf00208f slugifying group name when checking for existence 2014-05-26 21:13:18 -04:00
barisusakli
66701afdaa closes #1559
fixes the notification image too, the property was called image not
picture
2014-05-22 21:31:52 -04:00
Julian Lam
3849b2d6b3 added pushGroup method to notifications object #1331 2014-05-21 11:30:32 -04:00
barisusakli
ac65655384 fixed missing return 2014-05-13 21:13:54 -04:00
barisusakli
c7744d7a64 closes #1483 2014-05-12 14:51:39 -04:00
Julian Lam
08cf6bc5e6 fixed #1489 -- made checkReplace error-first, added missing callback, added missing object field to db query 2014-05-06 10:23:39 -04:00
Julian Lam
e65896351a checkReplace typo 2014-04-29 21:32:54 -04:00
barisusakli
7c00bce63c faster checkAndReplace
still need a better solution for this uniqueId business but this is
better than before.
2014-04-16 18:07:45 -04:00
Julian Lam
4c9ea62c0d resolved #1372 -- username clashes will now cause a random # to be appended to the username 2014-04-15 00:17:42 -04:00
Julian Lam
b12b2f13ea closed #1375 2014-04-11 13:24:44 -04:00
barisusakli
2220483915 notifications 2014-03-12 15:59:02 -04:00
Baris Soner Usakli
ea222c4f8a crash fix for notifications, removed exec_body_script, closes #1058 2014-02-19 16:44:36 -05:00
Julian Lam
9e64f4e303 passing in a picture into notifications now 2014-02-15 15:43:44 -05:00
Julian Lam
aba1b95cac updating notifications.create to accept a hash instead of discrete arguments - breaking change 2014-02-15 14:52:59 -05:00
Julian Lam
d0d3160fc7 final pass, #999 2014-02-14 11:04:00 -05:00