Commit Graph

396 Commits (f185e13175313f883a682ec9d2d1de77e296ba62)

Author SHA1 Message Date
Baris Soner Usakli 39b631a3a8 more fixes
Baris Soner Usakli e061978bd5 more fixes
Baris Soner Usakli afe97233aa more fixes
Baris Soner Usakli 7470c1bbd9 more fixes
Baris Soner Usakli 0b132cadcf user fixes
Baris Soner Usakli adf4a5c407 user.js changes
Julian Lam a48a7acd51 fixing issue where after a user changed their username, the new name was not reindexed by Reds
Baris Soner Usakli dcf47f558e limit search in db
Baris Soner Usakli a97ee201d8 makes recent unread and category pages a lot faster, added logging when a user changes their username
Julian Lam 97cc6cde67 closed - after upgrade script, all users will be in a system "registered users" group
Julian Lam 3da96faa12 fixed email exists error... weird.
Julian Lam dfa9f203e6 crashing a lot less now, heh
Julian Lam adb8f80b86 interim commit - removed calls to websockets.js, beginning porting to namespaced files
Baris Soner Usakli dabd2f29af closes
Baris Soner Usakli eb65c5ad1b reindex user name after change,
Baris Soner Usakli 176ac54cdf closes
Baris Soner Usakli a4ae9c70df closes , closes
psychobunny cfa4256df5 admin - download emails.csv, thanks to @akhoury for the gist
Julian Lam 71681b936f fixed
Baris Soner Usakli e69611fa22 if email didnt change dont update and dont log
Julian Lam 11ed9e8c85 tweaks to emailer, implemented emailer hook for password reset
Julian Lam 24944762d7 fixing 'back to nodebb' ext, and revamping email confirm logic
Julian Lam 339ed4e47b implemented emailer for welcome email (though the email confirmation system is horribly broken)
Julian Lam dd72e73284 emailer invocation for new users
Baris Soner Usakli daacdb50f3 closes
Baris Soner Usakli 3e6bcd83cc fixed typo in user reset
Julian Lam b52782deb8 removed use of strip_tags and using String library instead
Baris Soner Usakli 3a00c177d3 closes
Baris Usakli da9c673ec4 closes
Baris Soner Usakli 770cea9329 added more error first to some functions
Julian Lam 64e87b761f closed
Julian Lam c313c4501b pushNotifCount method for real-time updating of notification bell + favicon for multiple tabs (closes )
Baris Soner Usakli 097810a057 parseInt fixes getObjects fix
Baris Soner Usakli 81055523a0 fixed bracket
Baris Soner Usakli 53ca7a1143 added search functions to database files, removed reds from nodebb moved it to redis
Baris Usakli 7875138c08 added parseInt
Baris Usakli c096656eff merged master fixed conflicts
Baris Soner Usakli 639247a8b0 fixed notifications
Baris Soner Usakli 53a7eab3e8 removed couple RDB.multis
Baris Soner Usakli 4b5988c269 isSetMember returns true or false
Julian Lam b176629b44 integrated Tinycon lib and actually fixed notification counts... heh.
closed 
Baris Usakli 91d6f83de4 more mongo work
Baris Soner Usakli b900bc9cce more fixes
Baris Soner Usakli fc066c21bf added upgrade for global keys
Baris Soner Usakli 32d5118266 tons more changes
Baris Soner Usakli 3775c8e50a tons more changes
Baris Usakli c9308efbec more work
Barış Soner Uşaklı 391b8098a3 Merge pull request from akhoury/master
websockets to follow same pattern, added hook action:user.create
Baris Soner Usakli f405dec4e9
akhoury 1aa1ddb4ec added plugin hook > action:user.create on user creation
Aziz Khoury a905c6a084 During 11k users migration, was hitting too many open files errors
Julian Lam 0a06f1ac7d Merge remote-tracking branch 'origin/master' into category-whitelisting
Baris Soner Usakli 2148f6ff95 closes
Julian Lam f0e8633dcc category whitelisting for posting messages, isAdmin now error-first
Julian Lam 5ee5c8179a category whitelist for replying to posts, lots of refactoring, too
Baris Usakli e1f6e064a9 removed io from user.js, figure out why notifications are breaking when websockets.js is required from it
Baris Usakli 83f18c1915 closes
Baris Usakli 7c950cc350 require cleanup in user.js, removed user.latest not used anymore
Baris Usakli cc0fe66e3e minor tweak to notif filter :)
Julian Lam 28dab60232 resolving notifs issue, I hope
Baris Usakli 4552e6286e dont allow empty userslugs to register
Denis Wolf 89e9d56dee user.js: Else in the sky with diamonds - fixing syntactic style.
Denis Wolf b179991be4 user.js: ladies and gentlemen, I'm going to satisfy jshint right before your eyes!
Baris Soner Usakli 9b7c9e4a81 camel case for user.js methods
Julian Lam 930a9c8bca completed notifications pruning method
Julian Lam 62c85274a3 mark all notifs as read functionality. CSS tweaks...
Julian Lam 705571de8c notifications page + ajaxify route + css styling
Baris Soner Usakli 08130e8088 fixed conditional in follower/following count
Baris Usakli 9af26db57a follower count fix
Baris Usakli 52f2e193d6 if api fails with 404 ajaxify to 404, added type check to updateProfile
Julian Lam 585e07bc79 closed - notifications now no longer need scores
Baris Usakli e78369f0fa use User.isAdmin instead
Baris Usakli d40a6a5c3f added adminitstrator value to userData for admin users page
Baris Soner Usakli 2dcc4172c4 closes
Baris Usakli 3348ed3524 fixed email key
Baris Usakli 942a21b4be fixed email meta changes
Baris Usakli 7d50551392 remove throw in email send
Baris Usakli 27cb837b08 closes
psychobunny 64b071f277 nconf and redis wrapper no longer global objects. jshinted app.js. updated sockets.io to latest
psychobunny aea3181d27 formatting - server side core
Julian Lam 79280b195e changed get_uid_by_userslug to be error-first
Julian Lam 4a18728e19 closed
Baris Soner Usakli af59ff3209 closes , closes
Vincent Briglia 19ad9ab224 inverted value required, double exclamation mark just casts as boolean
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)
Julian Lam 732204f11b Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 1df50ff855 updated topic viewing so that markAsRead marks any relevant notifications read (issue )
Baris Usakli 89ca2319f5 removed console.log
Baris Usakli 6d7919ad85 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 59467c906d misc fixes
Julian Lam f1144f3a7e Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 9ebff816dc fixing error where sometimes the admin panel js was not loaded
Baris Usakli 251587cb86 return err form updateProfile
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,
Baris Usakli bb14881b63 change getUserData to return err
Baris Usakli efa8717fc5 getMultipleUserFields returns err now
psychobunny 1d860923d0 booleanifying the isAdmin return... now we're admins again! :)
Julian Lam ce126b11fb fixes to administrator methods
Julian Lam bec0b46a2c refactoring installation scripts to use node prompt module, lots of other fixes
fixed , fixed , fixed 
Baris Usakli 691b6611d0 user search uses reds now
Julian Lam 5f0e0c993e adding localhost as default for email server
Julian Lam 860a83ba90 closed
Julian Lam 0243e9c5be issue , preparing for addition of post.parse hook by renaming markdownToHTML to just "toHTML", and making it asynchronous.
Baris Usakli 154d0160bc closes
Julian Lam d7eb30ccbd fuck git pt 2
Baris Usakli c647793512 meta config changes, refactors
Baris Usakli c70c67394a closes
Baris Soner Usakli 6690f49c4e added profile views to users, little cleanup to use app.addCommasToNumbers
Baris Usakli 929282a2f7 ban users, closes , banning a user hides all posts topics of a user and their profile page becomes inaccessible
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
Julian Lam e8f1d645fe closed
new build_title function to be called via socket

also added categories.getCategoryField and refactored all calls to
getTopicField to be error-first
Julian Lam 7251af56e3 refactored notifications library to mark all notifs read when the menu is
opened (closes )
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
Baris Usakli 472f40479e privacy page
Julian Lam 931beecc21 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam d6938f4818 first pass at a custom title function (not ready for prod)
Baris Soner Usakli 72a0082a28 admin user page fix, added routers for admin/users
Baris Soner Usakli 744e4579b7 setUserFields
Julian Lam 762cecf1c3 fixed
Julian Lam a990cf3e0d added missing "return" when a user creation doesn't pass all server-side
checks...
Baris Soner Usakli e9afd4a107 fixed broken view again
Julian Lam 93d4630433 Merge remote-tracking branch 'origin'
Julian Lam 123aac0862 limiting notification counts (issue )
Baris Usakli 22d954d01f fixed for broken category view, after topic move
Julian Lam 667c331a67 refactored `User.create` in preparation for twitter compatibility (issue
Baris Soner Usakli 93c6228347 handle err
Baris Usakli ff9990701b changed to async.eachSeries
Baris Usakli a4de1b247f decrease/increase post count on post deletion/restore
Baris Usakli 2bb4aab6ac changes to online users code
Julian Lam 3c62b86096 Merge branch 'nconf'
Julian Lam 145898c3ba using nconf to manage config file now (issue )
Baris Soner Usakli a7ed1f97df delete old email key before setting new one when someone changes their email
Baris Soner Usakli 61cc0853db browsing thread changes to use sessions
Baris Soner Usakli 910e9d6ee0 closes
Baris Usakli 6eb9af77e6 first pass at subfolder
Baris Usakli d66aef7812 moved bcrpyt rounds to config file
Baris Usakli 93653e88df changed most of the ajax calls to use sockets
Baris Usakli 8f2a0014b3 closes
Baris Usakli 1d39b08195 password change, closes
Baris Soner Usakli 026056c8eb moved create/delete to top, handle error in get_online_userS
Baris Soner Usakli 6ecfd611eb removed one of the RDB,keys from user.js, canged userlist to store uids
Baris Soner Usakli f760b01bfe fixed type in user.js
Baris Soner Usakli f2d7f856aa async.each in user.js
Baris Soner Usakli c47db0e908 async.each for get_userslugs_by_uids
Baris Soner Usakli 1c855ce502 async.each for get_userslugs_by_uids
Damian Bushong e3b4a6029c Clean up excess end-of-line whitespace
Damian Bushong f61e71729a More cleanup of user.js
See added comments for more information on problems discovered within the codebase.
Damian Bushong 7a5013325c Force a default gravatar if no email provided
Gravatar provides the forceDefault option, let's use it.
Damian Bushong 78ef54baf2 Cleanup user.js for style guide compliance
Baris Soner Usakli 4c33cee051 user restore for try.nodebb