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
Baris Soner Usakli
447073560f
moved reds into redis, fixed notifications prune param
11 years ago
Baris Usakli
dcbe4ffd4a
more notif.prune cleanup
11 years ago
Baris Usakli
215b919362
added db function
11 years ago
Baris Usakli
58df656c65
removed temp vars
11 years ago
Baris Usakli
a8c91e2452
more
11 years ago
Baris Usakli
806a454b05
fixing notifications.prune
11 years ago
Baris Usakli
c096656eff
merged master fixed conflicts
11 years ago
Baris Soner Usakli
639247a8b0
fixed notifications
11 years ago
Baris Soner Usakli
2e2938616d
more mongo and redis stuff
11 years ago
Baris Soner Usakli
53a7eab3e8
removed couple RDB.multis
11 years ago
Julian Lam
e847c015a5
linting notifications.js
11 years ago
Baris Soner Usakli
32d5118266
tons more changes
11 years ago
Baris Soner Usakli
e32d230974
format
11 years ago
Baris Soner Usakli
32b191fa62
removed global.io
11 years ago
Baris Usakli
e1f6e064a9
removed io from user.js, figure out why notifications are breaking when websockets.js is required from it
11 years ago
Julian Lam
2309ab2002
hopefully closed #485
11 years ago
Julian Lam
26d9cc56d3
added cronjob for notifications
11 years ago
Julian Lam
930a9c8bca
completed notifications pruning method
11 years ago
Julian Lam
ed7c9348b7
interim commit
11 years ago
Julian Lam
aecbe6d316
interim commit, still nothing done
11 years ago
Julian Lam
f6be3eacfc
interim commit
11 years ago
Julian Lam
62c85274a3
mark all notifs as read functionality. CSS tweaks...
11 years ago
Julian Lam
585e07bc79
closed #368 - notifications now no longer need scores
11 years ago
Baris Usakli
27cb837b08
closes #303
12 years ago
psychobunny
aea3181d27
formatting - server side core
12 years ago
Julian Lam
7251af56e3
refactored notifications library to mark all notifs read when the menu is
...
opened (closes #134 )
12 years ago
Julian Lam
984ac21e52
updating notifications lib to not expose every method
12 years ago
Julian Lam
87e2023c86
closed #28 by implementing solution #2
12 years ago
Baris Soner Usakli
0a0f8a21f0
changed new Date().getTime() to Date.now() on server side
12 years ago
Julian Lam
88bf9425db
install script + patching up integration with install wizard
12 years ago
Julian Lam
2a829a0618
derpy globals to get notification pushing working for sockets on new notification event
12 years ago
Julian Lam
7e46f8c6ce
uniqueId support in notifications
12 years ago
Julian Lam
681bf270a1
hotfix to path to utils
12 years ago
Julian Lam
1f7ab82f78
Merge remote-tracking branch 'origin' into notifications
...
Conflicts:
src/webserver.js
12 years ago
Julian Lam
c8d48127ad
more changes to notification dropdown in header bar
12 years ago
Julian Lam
6bae30336a
foundation for user notifications
12 years ago