Julian Lam
119930131d
fixed errors when uploading files
9 years ago
Julian Lam
3a6ad52ac8
closes #4164
9 years ago
barisusakli
4b3f09deea
closes #4154
9 years ago
barisusakli
19c2ce0e84
fix uid ref
9 years ago
barisusakli
d82b797f70
fix for #4014
9 years ago
barisusakli
1e2779d326
closes #4014
9 years ago
barisusakli
add4e6ee5b
notifications.create can return null
9 years ago
barisusakli
85b4639015
fix typo closes #4097
9 years ago
barisusakli
04aea9ec22
closes #4094 , also add missing next to notifyFollowers
9 years ago
barisusakli
ce92caed99
removed unusued requires
9 years ago
barisusakli
1cf2b81f3d
Revert "herp derp"
...
This reverts commit 9c9d805a32
.
9 years ago
barisusakli
9c9d805a32
herp derp
9 years ago
pichalite
5450f59f99
fix user full name for local user register
9 years ago
barisusakli
32ca95319e
closes #3436
9 years ago
barisusakli
089ea75cea
closes #4054
9 years ago
barisusakli
ab6c84471b
some search/sort changes
9 years ago
barisusakli
26094778d9
closes #4058
9 years ago
barisusakli
005db18120
closes #4041
9 years ago
Julian Lam
1d42655bb5
allow User.create to accept fullname
9 years ago
barisusakli
3b1a2d65ab
fix revokeAllSessions
9 years ago
barisusakli
9a5b308015
closes #4009
9 years ago
barisusakli
300996b0d1
closes #2329
9 years ago
barisusakli
a43eef283c
store user sessionId mapping per user
9 years ago
Julian Lam
ad9a1d0f2c
closes #3989
...
Squashed commit of the following:
commit 23de0708708ed190eafbcd6ea93d43333cb87aa3
Author: Julian Lam <julian@designcreateplay.com>
Date: Wed Dec 23 10:48:16 2015 -0500
wired up session revocation, #3989
commit 45a3f18321b74a9b6893d404b6c870f1ec4d95cd
Author: Julian Lam <julian@designcreateplay.com>
Date: Wed Dec 23 09:49:27 2015 -0500
session deletion via session uuid
commit 2bf87338cf9bfa2df0b299639421d8da7553c69a
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 22 13:53:35 2015 -0500
WIP #3989
commit 623f45c3fa8b96f8b6eec0613eb7f9463348ab93
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 22 10:22:24 2015 -0500
saving more metadata and displaying sessions in UCP #3989
commit d0567ed7cc33a1aea66e921b657f782038f32191
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 22 10:21:38 2015 -0500
updated fontawesome to v4.5.0
commit 7131c97fe8ab42838eb2915a04e74f80f3d9a133
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 22 09:39:16 2015 -0500
saving user-agent metadata into user session #3989
commit 661b7e6dba774b80b5dc6d04f89a79f809ff791e
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Dec 22 09:23:24 2015 -0500
New user auth methods to add/revoke sessions, #3989
9 years ago
barisusakli
5e9a656709
Merge remote-tracking branch 'refs/remotes/origin/master' into group-chat
9 years ago
Julian Lam
fe90dd77c1
fixed #3967
9 years ago
barisusakli
26ac05dd5c
Merge remote-tracking branch 'refs/remotes/origin/master' into group-chat
9 years ago
Julian Lam
f4187fc671
fixing crash with deleted notifications
9 years ago
Julian Lam
9db0f59432
part of #3912
9 years ago
barisusakli
832a20e59e
markRead fixes
9 years ago
barisusakli
d5bccfb292
delete chats on user delete
9 years ago
Julian Lam
4cc4824087
Merge pull request #3908 from pitaj/master
...
Maximum invites and invites are stored
9 years ago
barisusakli
42cce3771b
closes #3846
9 years ago
Julian Lam
7d9136f655
closes #3926
9 years ago
Peter Jaszkowiak
a3cfcd9a48
Maximum invites, invites stored
...
Added the ability for admins to restrict the maximum amount of invites
a user can make. Invites are stored and displayed in the registration
queue admin page.
9 years ago
barisusakli
124b79f6aa
fix user search pagination
9 years ago
barisusakli
872e00849a
moved deleteVotes into deleteAccount
9 years ago
barisusakli
ec3ae307e9
closes #3853
9 years ago
Julian Lam
277a3ba2af
Updated guest user icon and bgColor
...
Due to the label for guests being translatable, the
first character for guests was actually "[", causing
their user icon to be "[" with a colour.
This commit changes it to be a hardcoded question mark
and with a grey background colour.
9 years ago
Julian Lam
051a8e22df
Removed allowedFileExtensions meta config
...
Now, when NodeBB needs to determine file compatibility, jimp
will attempt to open the file for reading. If it fails, file is
considered to be of an invalid type.
9 years ago
barisusakli
323cc165b6
closes #3851
...
dont use post file upload for cover uploads
check cover upload file size against new setting
store cover uploads in profile folder
use `uid-profilecover` filename for cover uploads
9 years ago
Julian Lam
48b5bab849
closes #3756
9 years ago
Julian Lam
f1412b6e9b
Fixed cover loading for subdirs and added removal
...
re: #3832
9 years ago
barisusakli
baa813a4cb
Merge remote-tracking branch 'refs/remotes/origin/master' into room-optimize
9 years ago
barisusakli
46c2563164
removed rooms.js removed browsing users, removed chat syncing across sockets
...
use lastonline for online detection
9 years ago
yariplus
853aa37cd2
Add user home pages. #3616
9 years ago
barisusakli
c3369964eb
closes #3820
9 years ago
barisusakli
c2ca093569
check username
9 years ago
barisusakli
c39aa07d6f
moved colors out, only create icon if picture is requested
9 years ago
psychobunny
d8e50f931e
material user icon bgs
9 years ago
Julian Lam
9f6dc63fed
updated to no longer use user.icons.generate, and removed an unneeded upgrade script! :)
9 years ago
Julian Lam
526afc0910
Merge remote-tracking branch 'origin/master' into user-icons
9 years ago
psychobunny
f19043d046
profile cover photos
9 years ago
Julian Lam
68c3f9d849
Squashed commit of the following:
...
commit 56582bc9eee5d81a01f42a28808b617b9c96873a
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 05:21:11 2015 -0400
added missing template
commit 6462a1626e7d8d77210b6e10eace5c9214335f33
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 05:19:07 2015 -0400
sitemap index
commit 3cfd56f1fbc8e03405dc394375bf5ff6eef21322
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 04:47:52 2015 -0400
sitemap routes, controllers, and library methods for pages, categories, and topics
commit e58e07c0881bdbe16d503b4679b85f761b02163c
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 04:07:39 2015 -0400
added groups to sitemap
commit 7ee584b632
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 01:43:06 2015 -0400
If notification dropdown is double-clicked, all notifications are marked read
commit 488f147bef
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:39:19 2015 -0400
closes #3781
commit 5e1bd58a02
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:28:30 2015 -0400
closes #3782
commit 57d3980267
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:16:08 2015 -0400
closes #3790
commit 555c5b82da
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 21:19:20 2015 -0400
check user settings
commit 5454862c1c
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 20:26:02 2015 -0400
wait for all callbacks when creating tags
commit 051c5077eb
Merge: 839fd93
e0e04ef
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Mon Oct 26 09:54:12 2015 -0400
Merge pull request #3792 from drlogout/master
Fixed wrong method name in socket.io/groups.js from isAdmin to isAdmi…
commit e0e04ef892
Author: Christian Nolte <hello@noltech.net>
Date: Mon Oct 26 14:50:32 2015 +0100
Fixed wrong method name in socket.io/groups.js from isAdmin to isAdministrator
commit 839fd935ad
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 21:54:35 2015 -0400
add back thread tools filter
commit 37060bf1a3
Merge: 5820a19
bf918bd
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Sun Oct 25 18:13:06 2015 -0400
Merge pull request #3787 from cubehouse/patch-1
Upgrade script fails on some consoles
commit 5820a193f6
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 17:04:46 2015 -0400
closes #3789
commit 0d88d52557
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 17:03:33 2015 -0400
up theme
commit 9bc43ba5e1
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 16:57:42 2015 -0400
closes #3788
commit aafd4b6984
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 15:56:17 2015 -0400
closes #3786
commit bf918bd016
Author: James Holding <cubehouse@users.noreply.github.com>
Date: Sun Oct 25 10:14:00 2015 +0000
Upgrade script fails on some consoles
The upgrade script errors/fails on some consoles if the stdout.columns isn't set (my console did this when upgrading a Docker instance of NodeBB).
Checking for stdout.columns before using, falling back to a couple of spaces for slightly prettiness if we can't work out the console width.
9 years ago
barisusakli
5820a193f6
closes #3789
9 years ago
Julian Lam
f7f43de644
Merge remote-tracking branch 'origin/master' into user-icons
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
0ff5c65f43
removed rel path, its in templates
9 years ago
barisusakli
28ae101d90
allow changing username if user has no password set, ie sso login
9 years ago
barisusakli
0210c033ee
closes #3779
9 years ago
barisusakli
07e7498f45
use sortedSetsRemove
9 years ago
barisusakli
f17ba88c0f
closes #3765
9 years ago
barisusakli
7854e67b7b
closes #1637
9 years ago
barisusakli
2d96cdba1c
closes #3720
9 years ago
Julian Lam
5c71bb5923
fixed user avatar modal again
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
c5e8339abb
check if category exists
9 years ago
barisusakli
b616e69070
User.exists change
9 years ago
Julian Lam
a43d40fbc7
upgrade script, and fixed client-side generation of user icon
9 years ago
Julian Lam
f6d5b52a8b
WIP user-icons
10 years ago
barisusakli
5950f97f96
more refactors
10 years ago
barisusakli
1f4857585d
user refactor
10 years ago
barisusakli
c0c38437a0
isAdminOrMod
10 years ago
Julian Lam
ebed9d641c
Add new ACP option to upload Touch Icon, #3668
...
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.
This commit also creates a new template helper for link tags.
10 years ago
barisusakli
dbf0f279a2
closes #3644
10 years ago
barisusakli
777157c0d6
remove old postTools requires
10 years ago
psychobunny
e90ee46cd1
closes #3603
10 years ago
barisusakli
30d087cbd3
closes #3607
10 years ago
barisusakli
9787e6c3df
dont download images to local, pass to upload plugin
10 years ago
barisusakli
a4d7022e68
closes #2958
10 years ago
barisusakli
f7aef56e66
closes #3529
10 years ago
barisusakli
cf193581e4
check and log all fs.unlink errors
10 years ago
barisusakli
f4bf82a349
closes #3510 increase email confirm reset to 24 hours
10 years ago
psychobunny
25a419e458
Merge branch 'master' into v0.8.x
10 years ago
Julian Lam
a1d5132777
Deprecated filter:user.delete hook
...
Please use static:user.delete instead.
10 years ago
barisusakli
6ce6503970
mark register notif read when its rejected
10 years ago
psychobunny
48cb671916
fixes #3465
...
temporary until stopforumspam supports ipv6
10 years ago
psychobunny
11e082989d
fix route to admin/manage/registration page
10 years ago
barisusakli
4e3e603ee7
closes #3456
10 years ago
psychobunny
0150e0e063
closes #3069
10 years ago
barisusakli
d5128d0513
closes #3370
10 years ago
Julian Lam
791e0893ab
added new hook "filter:digest.subscribers" to allow plugins to override digest subscriptions
10 years ago
Julian Lam
12601dd3aa
added new hook "filter:digest.subscribers" to allow plugins to override digest subscriptions
10 years ago
barisusakli
766e233b87
closes #3353
10 years ago
Barış Soner Uşaklı
b50ad39120
Merge pull request #3284 from APXEOLOG/pr-1
...
User.uploadFromUrl fix
10 years ago
barisusakli
417a573f67
closes #3260
10 years ago
APXEOLOG
1ae0077810
Change error message to localized one
10 years ago
APXEOLOG
93b6b6ba5f
Fixed two bugs:
...
1. filename cannot contain ':' (at least on windows), nodebb crashes with such filename
2. lwip cannot define image type without file extension
Also added image extension check to prevent security issues
10 years ago
barisusakli
c5b9c9254a
#3275
10 years ago
barisusakli
d135f37b4f
check register queue against stopforumspam
10 years ago
barisusakli
5ee1951245
closes #3271
10 years ago
barisusakli
57c2418157
closes #1306
10 years ago
barisusakli
ed72bacb1f
closes #3220
...
added back base_url
10 years ago
Julian Lam
e523ef7c17
added plugin hooks so that imagemagick can still be called, as a plugin, for image manipulation tasks, falling back to using lwip
10 years ago
Julian Lam
f168566928
fixed incorrect use of username in unsub cta in emails
10 years ago
barisusakli
5ce617ca5a
fix case in search
10 years ago
Kalina Panayotova
118de65f5e
Bugfix: use sorted set to get user followers in sendTopicNotificationToFollowers
10 years ago
barisusakli
39c3afec62
removed updateUserCount
10 years ago
barisusakli
8acb0ca304
incr on user create
10 years ago
Julian Lam
927971b392
added hooks for following/follower retrieval
10 years ago
barisusakli
addd6ecde7
check error fix ip
10 years ago
barisusakli
aa577f4adc
part 1
...
no upgrade script yet
10 years ago
barisusakli
5c4e988232
fix user.csv data
10 years ago
Julian Lam
fc1b0c8d24
allowing topic, post, and user creation to specify a timestamp for insertion into the past
10 years ago
barisusakli
ffac8eb41d
closes #3118
10 years ago
Barış Soner Uşaklı
c56b30ff60
convert uid mappings to sorted sets
...
email:uid, username:uid, userslug:uid, fullname:uid all converted to
sorted sets
prevents hitting mongodb document size limit
10 years ago
barisusakli
b561c49de5
moved filter:users.search before pagination
10 years ago
barisusakli
73d65dd123
filter:users.search filter:users.build hooks
10 years ago
barisusakli
9749658d35
added about me field
10 years ago
Julian Lam
5a0c657587
re: #3043 , if no address is entered, "http://" won't get automatically saved in
10 years ago
Julian Lam
5d495483ad
using url module to normalise passed-in url prior to saving in db, closes #3043
10 years ago
barisusakli
4e793995a0
dont add http:// to website if its empty
10 years ago
barisusakli
d5dd48ecc8
closes #3013
10 years ago
barisusakli
f7a3aef322
escape on the way out, fixes birthday/age calculation
10 years ago
barisusakli
fa9fde43fb
closes #2971
10 years ago
barisusakli
5501c0c759
closes #3005
10 years ago
barisusakli
3de083208d
closes #3002
10 years ago
barisusakli
3d0b50a9b7
closes #2975
10 years ago
Barış Soner Uşaklı
9c7c87fd3b
closes #2972
10 years ago
Julian Lam
56fc958939
closes #2891
10 years ago
psychobunny
43502e041a
don't send 5 million error messages during daily digest
10 years ago
barisusakli
878e548296
renamed end to stop globally
...
fixed getting favourites for admins
10 years ago
Julian Lam
47a7ab15be
refactored translator system to be a require.js module, and not a global
10 years ago
barisusakli
8d6d1c32e7
allow plugins to update additional fields with filter:user.updateProfile
10 years ago
Barış Soner Uşaklı
e0b4a35a25
dont add guests to users:postcount zset
10 years ago
Barış Soner Uşaklı
cc92d09498
generateNotificationPaths
10 years ago
Julian Lam
5a4fa18e98
fixed digests so they aren't prematurely exiting, and will send again :shipit:
10 years ago
barisusakli
9f4f858ff9
group member search
...
only look in uids that are member of the group, added custom findUids
function to user.search
10 years ago
barisusakli
201c4b35da
pagination data
...
if query is empty get all uids
10 years ago
barisusakli
d342e01ef1
search group members
10 years ago
barisusakli
bd17bff7d4
prevent double follow/unfollow
10 years ago
Barış Soner Uşaklı
8b21f1c8ab
dont reload settings page on every save
...
only show an alert if reload is required
renamed settings.language to settings.userLang to match the config
10 years ago
Barış Soner Uşaklı
5140e5db8d
closes #2759
10 years ago
Julian Lam
37d426dddb
npnp, I totally meant to remove a method that's still in use...
10 years ago
Julian Lam
55262b399a
tweaks and refactoring for #2774
10 years ago
Julian Lam
29873f1c5c
removed unused .getAll method, and sorting notifications client-side so that unread notifs don't all appear at the top, #2772
10 years ago
barisusakli
756d03fa62
closes #2745
...
generate paths on retrieval instead of notification creation
also fix follow notification path
10 years ago
Barış Soner Uşaklı
743cd20441
closes #2267
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
Barış Soner Uşaklı
d09fcbaef0
closes #2741
10 years ago
barisusakli
3bcd8aefb0
deleteObjectFields method
...
cleaned up user reset
10 years ago
barisusakli
c305cd8220
removed commented out code
10 years ago
barisusakli
0096d74cfa
user password reset test
10 years ago
Barış Soner Uşaklı
09b26bc950
if code isnt validated return error
10 years ago
Barış Soner Uşaklı
3293436867
closes #2640
10 years ago
Julian Lam
c351261165
added daily cleaning of reset tokens #2708
10 years ago
Julian Lam
1843d0364e
closed #2708
10 years ago
barisusakli
b41119a374
show seconds like search page
10 years ago
Julian Lam
957415463f
Merge branch '0.7.0'
...
Conflicts:
package.json
src/search.js
10 years ago
barisusakli
38dd3d4281
search newer/older than and better pagination
10 years ago
barisusakli
652e247d1b
fix username change event log
10 years ago
Julian Lam
b3278cf8e8
fixed #2681
10 years ago
barisusakli
2c8e8a1f1c
closes #2550 , closes #2518
10 years ago
psychobunny
4f5918390a
if user search is blank, return all users
10 years ago
barisusakli
b54f2de504
pass uid to getUsers and getUsersFromSets
10 years ago
barisusakli
f9fecf4bc1
faster sort users
10 years ago
barisusakli
ed714cdf77
user search paginator
10 years ago
Julian Lam
891731ca52
enabled saving of sendPostNotification setting
10 years ago
Julian Lam
5a1c2b9ddf
booleanifying sendPostNotification user setting when requested, and now only sending the post notification if the user has flipped that option on in user settings... kind of an important thing to forget...
10 years ago
barisusakli
740c52fc4f
missing semicolon
10 years ago
barisusakli
22c541d95f
closes #2643
10 years ago
barisusakli
7efc0619cc
dont crash if data.username is undefined, dont set username to empty value
10 years ago
barisusakli
f1a3815ddc
action:user.updateProfile
10 years ago
barisusakli
03ae7db561
on user delete remove from ip sorted set, fix search by ip
10 years ago
barisusakli
8f5bf1a7ed
closes #2587
10 years ago
barisusakli
e414008c59
closes #2584
10 years ago
barisusakli
fd2edcaf6f
closes #2594
10 years ago
barisusakli
6ccdf187ea
closes #2595
10 years ago
barisusakli
f417e07b9d
user search changes
10 years ago
barisusakli
4ab288acae
delete fullname:uid mapping on user delete
10 years ago
barisusakli
db1cc6b8d2
search by fullname
10 years ago
barisusakli
a77a761433
closes #1917
10 years ago
barisusakli
6d31fee3f5
closes #2564
...
change user.search to accept params
can search substr with startsWith:false
no infinite scroll on admin user search page
10 years ago
barisusakli
4364b50ecf
closes #2562
10 years ago
barisusakli
d1540322c9
closes #2555
10 years ago
barisusakli
0d223ef88d
missing err
10 years ago
barisusakli
2f8e6a1f2b
closes #2458
10 years ago
barisusakli
984b17349a
closes #2476
10 years ago
barisusakli
04084807c2
removed app.loadConfig
10 years ago
barisusakli
793a0a6772
fix mark topic notifications read on enter
10 years ago
barisusakli
1a34327f9d
removed unnecessary require
10 years ago
psychobunny
e0c8989e8b
closes #2519
10 years ago
barisusakli
8e8375cbba
validate email password on register
10 years ago
barisusakli
7ae7c50f56
app.user
10 years ago
barisusakli
7d6c81160b
show 20 results for user search
10 years ago
barisusakli
612aa4e55b
closes #2491
10 years ago
barisusakli
142536b659
Merge remote-tracking branch 'origin/master' into socket.io1.x
10 years ago
barisusakli
83ab462ff5
module changes, fixed missing interval
10 years ago
barisusakli
e7a52b615b
remove user from users:online on delete
10 years ago
barisusakli
f9405c0423
closes #2440
10 years ago
Julian Lam
a31525c79f
Skipping digest sending if no notifs and no new topics, #2455
10 years ago
Julian Lam
1b526026a0
closed #2442
10 years ago
Julian Lam
6eef866320
closed #2429
10 years ago
Julian Lam
d51683f62e
closed #2421
10 years ago
Julian Lam
c7396f58cd
verbose logging for email
10 years ago
barisusakli
8b573bff39
send 10 topics in digest not 11
10 years ago
barisusakli
02fb81901d
moved posts related stuff to user/posts.js
10 years ago
barisusakli
8be9e6d413
action:user.verify change #1527
10 years ago
barisusakli
9e1789dc58
closes #2297
10 years ago
barisusakli
37d7756271
hasEnoughRep can take an array
...
user follow uid checks
10 years ago
barisusakli
df4b555717
less db calls
...
no db call for settings if uid 0
no db call for isFollowing if uid 0
10 years ago
barisusakli
84b7a2c92d
checks in socket.io/user
...
reset doesnt need socket
10 years ago
barisusakli
8e84e47578
if a user is deleted remove from banned sorted set as well
10 years ago
Julian Lam
adfb89a2ad
closed #2321
10 years ago
barisusakli
121de11400
closes #2323
10 years ago
barisusakli
0fba1e37a7
no need for double trim :P
10 years ago
barisusakli
5be1c17aa7
refactor user.create
...
dont fire filter:user.create if there userData is invalid
10 years ago
barisusakli
c4a39c8163
use processSortedSet instead of getting all users
10 years ago
barisusakli
dcf2691a12
fix indent
10 years ago
Barış Soner Uşaklı
591a8b6b12
Merge pull request #2270 from stevelacy/master
...
Add user.updateProfile - hook user profile updates
10 years ago
barisusakli
1b80e6dbb2
fix email update on mongo
10 years ago
barisusakli
f15631c3e1
topic notification nid doesn't need post id
10 years ago
barisusakli
224218f519
fix missing callback
10 years ago
barisusakli
304f5b1c76
removed duped and empty bodyLong
10 years ago
barisusakli
6802bf7ce9
closes #2284
10 years ago
Steve Lacy
2d238e61ac
correct object
10 years ago
barisusakli
93d4a7c1f1
fix notifications to actually get recent
10 years ago
barisusakli
7bf655541c
cleanup and optimize notifications
10 years ago
barisusakli
cfd7edbf34
added nid
10 years ago
barisusakli
b5fb7691cd
optimize getUnreadByField
...
only get the most recent 100 notifications
dont call UserNotifications.getNotifications which does alot more work,
call the db directly
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
Steve Lacy
3ff7719cd4
add hook: filter: user.updateProfile
10 years ago
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
10 years ago
psychobunny
729ed6fbda
all your semi-colons are belongs to me
10 years ago
barisusakli
348911fd2d
closes #2195
10 years ago
barisusakli
33780e6fdb
closes #2133
10 years ago
barisusakli
cf252a29a7
closes #2196
11 years ago
barisusakli
977cd98a79
dont crash if user doesn't have email
11 years ago
barisusakli
5ff293109d
fix getUnreadByField
11 years ago
barisusakli
d303dea6c7
closes #1986
11 years ago
barisusakli
bedadd8b5f
#2137
11 years ago
barisusakli
64c51d5cba
check nid before pusing and marking read
11 years ago
barisusakli
c640e01969
show stack
11 years ago
barisusakli
3d4dad226e
crash fix
11 years ago
psychobunny
d6e0be52ce
companion to 48c123592e
- prevent deleting your own account if you're admin
11 years ago
barisusakli
4b80bbb9c4
optimized user.delete
11 years ago
Julian Lam
b80b0e1e99
re: #2098 , chat message emails are now opt-in
11 years ago
barisusakli
e10fbfa0d2
Merge remote-tracking branch 'origin/0.5.1' into hashtalk
11 years ago
barisusakli
b3d9db10f2
notification fixes
...
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli
dc441c2873
check err
11 years ago
barisusakli
4e6719e0aa
added filterUids method to privileges
...
used to filter uids on a single category
11 years ago
barisusakli
493d0dea1e
part 1 of notif refactor
11 years ago
barisusakli
e34ef71acd
fixed resetLockout
11 years ago
barisusakli
6cd84ebe81
removed parseInt from sorts
11 years ago
barisusakli
57e204df8e
removed most of the debug
...
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
11 years ago
barisusakli
3f96532c3f
disabled 2 calls
11 years ago
barisusakli
877cf1e15c
derp
11 years ago
barisusakli
e5795687bb
fix settings on mongo
11 years ago
barisusakli
2073d994fc
limit topicsperpage postsPerPage to 20
11 years ago
Julian Lam
e6d0eede4f
pruning empy notifications for daily emailer
11 years ago
barisusakli
14fcd36134
closes #2028
11 years ago
barisusakli
576081e25f
delete user ignored cids on account delete
11 years ago
barisusakli
ba4b98de0e
email and username checks on profile update
11 years ago
barisusakli
d67cd489cd
crash fix
11 years ago
barisusakli
eef200be10
closes #1284
11 years ago
barisusakli
24ea74dc41
lol
...
O(log(n)) to O(1) and away
11 years ago
barisusakli
05fdc945f3
closes #1993
11 years ago
barisusakli
5ae7c92d55
notifications refactor
...
added getMultiple which works with an array of nids
11 years ago
barisusakli
c58712e2a9
closes #1971
11 years ago
barisusakli
c9c454825e
closes #1369
11 years ago
barisusakli
005405b16c
closes #1976
11 years ago
barisusakli
c4b083330c
closes #1978
11 years ago
barisusakli
c8084e9b2e
closes #1978
11 years ago
barisusakli
5b681678b1
could use async.apply here hm
11 years ago
barisusakli
f39d772a40
if notification is purged delete from user mapping as well
11 years ago
psychobunny
bb48bdb008
closes #1942
11 years ago
barisusakli
3163f70ef2
add tid to post notification so its marked read on entry
11 years ago
barisusakli
de6e74c50e
#1914
11 years ago
barisusakli
fed8cc6d53
optimize privileges and assorted fixes.
...
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter
they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing async.filter and calling the db for each id.
* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
11 years ago
barisusakli
96b0b449b9
closes #1911
11 years ago
barisusakli
f71bd41408
more fixes
11 years ago
barisusakli
dfb6606432
one more fix
11 years ago
barisusakli
08ba683c7d
fix callback
11 years ago
barisusakli
d7520508e3
#1375 part1
11 years ago
barisusakli
d25300043c
#1741
11 years ago
barisusakli
7454fd53b9
possible fix for #1741
11 years ago
barisusakli
c9fb5b3e11
changed user posted notification to include title
...
dont send 2 notifications if you are already following topic
11 years ago
barisusakli
6e66911ef7
delete unread chats on account delete
11 years ago
barisusakli
943f3814e5
closes #1813
11 years ago
barisusakli
ebaf8df0a9
#1824
11 years ago
barisusakli
fcd460438d
closes #1824
11 years ago
barisusakli
d3312f1b8e
fixer or in jobs and users redefinition
11 years ago
dhingey
9d45373b59
Change user.delete hook from action to filter
...
The user.delete hook is now a filter, giving plugins a chance to access
the user's data before it's deleted from Redis.
11 years ago
dhingey
f7372ba8d5
Added a hook: action:user.delete
...
Allows plugins to access the uid of the user being deleted.
11 years ago
barisusakli
dcbed4e935
closes #1763
...
show alert if email not confirmed, clicking alert will send confirmation
email
11 years ago
barisusakli
49a9601a04
closes #1752
11 years ago
barisusakli
1296cd58b9
closes #1723
11 years ago
barisusakli
dceeed22f7
closes #1724
11 years ago
Julian Lam
d229cd21b2
parsing the post content that's passed into bodyLong in notifs #1720
11 years ago
Julian Lam
c41bb05711
final pass #1720 , closed #1720
11 years ago