Commit Graph

463 Commits

Author SHA1 Message Date
Vincent Briglia
19ad9ab224 inverted value required, double exclamation mark just casts as boolean 2013-09-12 13:37:03 +00:00
Vincent Briglia
8eae8a4fb5 !undefined = true
!!undefined = false
!!!undefined = true

!false = true
!!false = false
!!!false = true

!true = false
!!true = true
!!!true = false

when using isEmailAvailable (positive) in correlation with exists (positive) make sure that the outcome is a positive return (and not an inverted)
2013-09-12 13:07:00 +00:00
Julian Lam
732204f11b Merge branch 'master' of github.com:designcreateplay/NodeBB 2013-09-11 15:41:48 -04:00
Julian Lam
1df50ff855 updated topic viewing so that markAsRead marks any relevant notifications read (issue #219) 2013-09-11 15:41:20 -04:00
Baris Usakli
89ca2319f5 removed console.log 2013-09-11 15:28:20 -04:00
Baris Usakli
6d7919ad85 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2013-09-11 15:24:15 -04:00
Baris Usakli
59467c906d misc fixes 2013-09-11 15:24:01 -04:00
Julian Lam
f1144f3a7e Merge branch 'master' of github.com:designcreateplay/NodeBB 2013-09-11 14:41:30 -04:00
Julian Lam
9ebff816dc fixing error where sometimes the admin panel js was not loaded 2013-09-11 14:41:08 -04:00
Baris Usakli
251587cb86 return err form updateProfile 2013-09-11 13:53:42 -04:00
Baris Usakli
be51025048 the online count on the footer uses the websockets now, it should also instantly update when people come online or go offline, #273 2013-09-11 13:24:16 -04:00
Baris Usakli
bb14881b63 change getUserData to return err 2013-09-11 13:02:55 -04:00
Baris Usakli
efa8717fc5 getMultipleUserFields returns err now 2013-09-11 12:49:54 -04:00
psychobunny
1d860923d0 booleanifying the isAdmin return... now we're admins again! :) 2013-09-09 14:31:22 -04:00
Julian Lam
ce126b11fb fixes to administrator methods 2013-09-07 15:49:23 -04:00
Julian Lam
bec0b46a2c refactoring installation scripts to use node prompt module, lots of other fixes
fixed #263, fixed #264, fixed #265
2013-09-07 10:40:20 -04:00
Baris Usakli
691b6611d0 user search uses reds now 2013-08-29 13:40:04 -04:00
Julian Lam
5f0e0c993e adding localhost as default for email server 2013-08-27 14:16:56 -04:00
Julian Lam
860a83ba90 closed #212 2013-08-27 13:04:18 -04:00
Julian Lam
0243e9c5be issue #214, preparing for addition of post.parse hook by renaming markdownToHTML to just "toHTML", and making it asynchronous. 2013-08-27 12:14:27 -04:00
Baris Usakli
154d0160bc closes #200 2013-08-26 11:58:52 -04:00
Julian Lam
d7eb30ccbd fuck git pt 2 2013-08-23 14:57:33 -04:00
Baris Usakli
c647793512 meta config changes, refactors 2013-08-23 13:14:36 -04:00
Baris Usakli
c70c67394a closes #171 2013-08-19 13:31:04 -04:00
Baris Soner Usakli
6690f49c4e added profile views to users, little cleanup to use app.addCommasToNumbers 2013-08-16 13:03:56 -04:00
Baris Usakli
929282a2f7 ban users, closes #125, banning a user hides all posts topics of a user and their profile page becomes inaccessible 2013-08-14 13:32:07 -04:00
Baris Soner Usakli
ded0200355 upgraded userlist to 3 sorted sets, run node app -upgrade after updating to this commit, added infinite scrolling to all user pages, added ops per second to redis page, changed the percentage to 90% for infinite scrolling to kick in 2013-08-12 14:32:56 -04:00
Julian Lam
e8f1d645fe closed #160
new build_title function to be called via socket

also added categories.getCategoryField and refactored all calls to
getTopicField to be error-first
2013-08-11 16:12:20 -04:00
Julian Lam
7251af56e3 refactored notifications library to mark all notifs read when the menu is
opened (closes #134)
2013-08-07 22:42:34 -04:00
Baris Soner Usakli
3f6f4e347d change some socket calls to use the callback, when user changes their email if they are using a gravatar picture it will be updated too, fixed email updating 2013-07-30 18:30:43 -04:00
Baris Usakli
472f40479e privacy page 2013-07-25 14:30:12 -04:00
Julian Lam
931beecc21 Merge branch 'master' of github.com:designcreateplay/NodeBB 2013-07-24 18:54:47 -04:00
Julian Lam
d6938f4818 first pass at a custom title function (not ready for prod) 2013-07-24 15:19:26 -04:00
Baris Soner Usakli
72a0082a28 admin user page fix, added routers for admin/users 2013-07-24 15:18:31 -04:00
Baris Soner Usakli
744e4579b7 setUserFields 2013-07-24 13:12:56 -04:00
Julian Lam
762cecf1c3 fixed #129 2013-07-24 12:04:32 -04:00
Julian Lam
a990cf3e0d added missing "return" when a user creation doesn't pass all server-side
checks...
2013-07-24 11:26:49 -04:00
Baris Soner Usakli
e9afd4a107 fixed broken view again 2013-07-22 17:08:07 -04:00
Julian Lam
93d4630433 Merge remote-tracking branch 'origin' 2013-07-22 15:31:31 -04:00
Julian Lam
123aac0862 limiting notification counts (issue #112) 2013-07-22 15:31:28 -04:00
Baris Usakli
22d954d01f fixed for broken category view, after topic move 2013-07-22 14:40:52 -04:00
Julian Lam
667c331a67 refactored User.create in preparation for twitter compatibility (issue 2013-07-22 00:24:37 -04:00
Baris Soner Usakli
93c6228347 handle err 2013-07-20 15:23:04 -04:00
Baris Usakli
ff9990701b changed to async.eachSeries 2013-07-19 15:26:29 -04:00
Baris Usakli
a4de1b247f decrease/increase post count on post deletion/restore 2013-07-19 10:59:24 -04:00
Baris Usakli
2bb4aab6ac changes to online users code 2013-07-17 12:57:57 -04:00
Julian Lam
3c62b86096 Merge branch 'nconf' 2013-07-16 16:13:55 -04:00
Julian Lam
145898c3ba using nconf to manage config file now (issue #24) 2013-07-16 15:22:59 -04:00
Baris Soner Usakli
a7ed1f97df delete old email key before setting new one when someone changes their email 2013-07-16 14:44:18 -04:00
Baris Soner Usakli
61cc0853db browsing thread changes to use sessions 2013-07-15 16:05:06 -04:00