Barış Soner Uşaklı
b18b0db5be
notifications.js style
8 years ago
Peter Jaszkowiak
19d6386237
Also abort if no uids to push to
8 years ago
Peter Jaszkowiak
3350a89791
Allow aborting notification push
8 years ago
Julian Lam
d18cfced96
Merge remote-tracking branch 'origin/master' into develop
8 years ago
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
8 years ago
barisusakli
5a2ff8ed0a
closes #5527
8 years ago
Julian Lam
72e77772db
Merge branch 'master' into develop
8 years ago
Peter Jaszkowiak
4bb49a7171
ESlint no-unused-vars
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
1493afee2a
ESlint indent
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
8 years ago
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
Julian Lam
5dd892bd01
a bunch of changes here... allowing user profiles to be flagged, #5232
8 years ago
barisusakli
49267d54b7
topics unread tests
8 years ago
barisusakli
f1a933210b
notifications.pushGroups
8 years ago
Ben Lubar
e151916f1a
Fix followed topic notifications going to the last unread post
...
Regression introduced in 1b34ebe230
.
Bug originally reported in #4469 .
8 years ago
barisusakli
1b34ebe230
closes #5133
8 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
8 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
8 years ago
barisusakli
038418bf87
batch.processArray
...
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
8 years ago
barisusakli
598c47b77f
fix user icon in notifications
8 years ago
barisusakli
877820779c
optimize notifications.getMultiple
8 years ago
Julian Lam
48ade6099c
fixes #4469
9 years ago
barisusakli
5cbfa6f212
closes #4881
9 years ago
Barış Soner Uşaklı
d839f291ac
closes #4706
9 years ago
Julian Lam
38ad980456
Fixes #4694 , fixes #4697
9 years ago
barisusakli
eb0aea6390
add /user/<uid> and /post/<pid> redirects
...
change notifications to use new redirects
9 years ago
Julian Lam
bd8fcb527b
closes #4583
9 years ago
barisusakli
c266fe9983
closes #4540
9 years ago
Julian Lam
1aaf65e9be
fixes #4438
9 years ago
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
11 years ago
barisusakli
d303dea6c7
closes #1986
11 years ago
barisusakli
64c51d5cba
check nid before pusing and marking read
11 years ago
barisusakli
515e663f85
getObjectsFix
...
return empty array if keys is empty or not an array
11 years ago
Julian Lam
b85ff61de6
refactored chat notification system to wait a bit before sending notif/email, closes #2098
11 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