Commit Graph

382 Commits

Author SHA1 Message Date
barisusakli
1eafc6ba3d moved user delete to its own file, closes #746 2014-03-15 15:09:54 -04:00
barisusakli
1354739d19 user deletion #746
user deletion NOT SKALABLE
2014-03-14 19:07:50 -04:00
barisusakli
6011399063 removed comment 2014-03-13 18:50:57 -04:00
barisusakli
d8e00f95a2 moved user search to its own file 2014-03-12 22:11:48 -04:00
barisusakli
383b68e7fc user js refactor 2014-03-12 21:57:25 -04:00
barisusakli
90e398e5c9 user js refactor, category fix
if a category that didn't exist was request with category/1231 or
api/category/1231 it was crashing.
2014-03-12 20:53:48 -04:00
barisusakli
3f5c51174d refactored user.js
took out notifications, email and reset code to separate files
2014-03-12 18:00:33 -04:00
Julian Lam
1e0ec5dd47 appending relative path to user images for subfolder installs 2014-03-12 16:11:33 -04:00
Julian Lam
4bb6d89e83 fixed #1172 2014-03-11 15:51:25 -04:00
barisusakli
3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js 2014-03-11 03:39:41 -04:00
Julian Lam
a7f310b49a fixed #1189 2014-03-10 15:31:47 -04:00
Julian Lam
b2bc1d4555 setting password to null in getUserData, because Object.delete is bad? :P (thanks @barisusakli) 2014-03-06 15:37:29 -05:00
Julian Lam
e9e53ad95e added a new property to userData "hasPassword", disabling "current password" field in user editing if no password is set (for SSO logins, for example) 2014-03-06 15:32:06 -05:00
Julian Lam
e956c19587 #1110 - moved isEmailAvailable into User.email 2014-03-05 21:21:53 -05:00
Baris Soner Usakli
81f4767687 user.js hint 2014-02-26 21:04:20 -05:00
Baris Soner Usakli
1ba3acfd03 display ips to admins/users on profile 2014-02-25 17:34:42 -05:00
Baris Soner Usakli
cc8ac2c026 get ips if admin or self 2014-02-25 17:21:30 -05:00
Baris Soner Usakli
037ac9180b closes #1122 2014-02-24 20:19:31 -05:00
Julian Lam
c48d81379b logging unique IPs as well 2014-02-24 17:49:22 -05:00
Julian Lam
1710b97df5 removed console log 2014-02-24 17:20:45 -05:00
Julian Lam
8557c56c45 resolved #1117 2014-02-24 17:06:41 -05:00
Julian Lam
a0b6d15b2e closed #1102 2014-02-21 20:05:44 -05:00
Julian Lam
d3ba03ceae fixed #1089 2014-02-21 11:16:44 -05:00
Baris Soner Usakli
020a70ecb6 removed showemail setting from user hash, its in user settings now 2014-02-20 15:25:39 -05:00
Baris Soner Usakli
3be0ad5bce wait for user object to be saved before returning from User.create 2014-02-20 14:53:35 -05:00
Julian Lam
f50d77bca0 resolved #1060 2014-02-19 17:23:25 -05:00
Baris Soner Usakli
520b349c17 closes #1044 2014-02-19 13:30:31 -05:00
Julian Lam
e4812fab87 removing console.log 2014-02-17 12:57:26 -05:00
Baris Soner Usakli
d75cdf8b9f check err firsT 2014-02-16 11:13:37 -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
Baris Soner Usakli
ce4896f2c5 fixed read notifications 2014-02-13 11:35:27 -05:00
Baris Soner Usakli
d4bc6904fb fixed socket crash 2014-02-12 17:30:49 -05:00
Baris Soner Usakli
1c14bcd1ed dont update last online time if status is offline 2014-02-12 17:16:16 -05:00
Baris Soner Usakli
860aabe0d3 oops fixed 2014-02-12 13:15:13 -05:00
Baris Soner Usakli
7b4f098cb4 dont allow negative or zero pagination values for user setting 2014-02-12 13:11:28 -05:00
Baris Soner Usakli
475f9bea04 closes #1011, last online wont give away your invisible status 2014-02-12 10:53:34 -05:00
Baris Soner Usakli
c560f8fb75 reduced DRY fail 2014-02-11 23:38:25 -05:00
Baris Soner Usakli
8456025f28 2 more maps 2014-02-11 23:14:41 -05:00
Baris Soner Usakli
5e0435677b function name is good enough :) 2014-02-11 23:00:13 -05:00
Baris Soner Usakli
a8e5c7d149 error checks more err first, replaced a eachSeries with async.map 2014-02-11 22:57:01 -05:00
Baris Soner Usakli
bb59158bbc closes #721, admins can edit other users from their edit page 2014-02-11 20:39:07 -05:00
psychobunny
ad9209ec38 modifying user.getSettings / user.saveSettings to allow passing in custom data 2014-02-11 17:57:29 -05:00
Baris Soner Usakli
242927d702 user selectable pagination 2014-02-10 14:15:54 -05:00
Julian Lam
f8ea87b003 issue #961 - fixed bug where if a moderators group was not found, it would cause the active users box to derp out. Also renamed the moderators priv group name 2014-02-07 12:10:46 -05:00
Julian Lam
e176abae50 started #961, first pass 2014-02-07 11:21:23 -05:00
Baris Soner Usakli
a142789c25 if status is not set assume online 2014-02-06 18:40:01 -05:00
Baris Soner Usakli
5bed729682 closes #935 2014-02-03 13:23:57 -05:00
Baris Soner Usakli
3d61a1b15b use map instead of eachSeries 2014-02-02 15:02:27 -05:00