Commit Graph

1087 Commits (9f67282a79497e409cc233fda2e7028ec8382f33)

Author SHA1 Message Date
Baris Soner Usakli 7860cfdec3 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 30bbea9c74 closes
Baris Usakli c05f56d28c fix for category view when its empty
Baris Usakli c70c67394a closes
Baris Usakli 92d3559146 closes
Baris Soner Usakli b65554ca15 removed console.log
Baris Soner Usakli 00cb15d3c8 check if there is follow element
Baris Soner Usakli 6690f49c4e added profile views to users, little cleanup to use app.addCommasToNumbers
Baris Soner Usakli ff805a704d closes
Baris Soner Usakli f83be710a0 closes , ,
Baris Soner Usakli 999e98e43d add label to banned users, dont hide their posts
Baris Usakli 74af205426 banned users cant login, show error messages on failed logins
Baris Usakli 9ad82f4907 dont filter banned when searching if user is admin
Baris Usakli 929282a2f7 ban users, closes , banning a user hides all posts topics of a user and their profile page becomes inaccessible
Baris Usakli 91446378bd require winston
Baris Usakli dceec0ce46 more winston, issue
Baris Usakli 1856e394f3 more winston
Baris Usakli 8dc7a0dbbf changed favouriting to wait for socket call to end before changing star class
Baris Usakli 6e17ff7981 added winston, added wrapper for winston.error until they fix it, issue
Miguel Ángel Durán García deff75ad06 Typo with ending bracket
Baris Usakli ca3629d89b forgot to commit oops
Julian Lam c3c5f5ab92 closed - issue where the site title was "undefined" if no title was set in the config, parenthesis issue
Baris Usakli 0fef0aa582 disable load more users button if there is not more users, dont show mark all read in unread if user isnt logged in
Baris Usakli 1894d0a469 moved confings into redis
Baris Soner Usakli 46afbc0ba0 assorted config fixes
Baris Soner Usakli dd3b01dfed closes
Baris Soner Usakli 9fb63d45c1 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
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
Miguel Ángel Durán García 33994ed638 - meta.js problem with empty config var
If config is empty, give to it an empty object value.
Julian Lam f4573d23b5 Merge branch 'master' of github.com:designcreateplay/NodeBB
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
Baris Soner Usakli 149e8ac78e Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 24b951ab5b added api route for 403
Julian Lam 04d94a7462 turns out it was working as intended(tm)
closed 
Julian Lam 272806a25d closed - issue where theme listing would hang if a theme folder did
not contain theme.json

Also refactored theme socket event a bit
Julian Lam 644fb375db Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 81f94c56e0 using hgetall instead of hkeys+asynchget, simplifying meta.js, closes
Baris Soner Usakli 50c34e4f33 added infinite scrolling to unread page, issue
Baris Soner Usakli 244801a0bf added infinite loading to recent page,
Baris Soner Usakli 1cc8214d16 infinite scrolling for topics in category view, changed how topics are stored in categories, using sorted sets instead of sets now, if you update to this commit run node app --upgrade to upgrade the redis schema,
Baris Soner Usakli 04e0d075ec added upgrade file and nconf check
Baris Usakli a100eb1bb2 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli b6281f020b removed console.logs
Julian Lam 78c1139ad9 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 08a45e40a2 fixed outgoing route to handle links with querystrings in it (using req.query instead of req.url). closes .
Baris Usakli e979d1bf0d fixed home loading
Baris Usakli e69928d624 strip tags in recent replies
Baris Usakli ac3fe1fc6f closes
Baris Usakli 0bd56196cf index topic titles too
Julian Lam 7251af56e3 refactored notifications library to mark all notifs read when the menu is
opened (closes )
Julian Lam 984ac21e52 updating notifications lib to not expose every method
Baris Soner Usakli f0759863e6 reindex all call
Baris Soner Usakli 8423684dee closes , fixed 404 not rendering
Baris Soner Usakli d6b9a2799b full text search using reds, issue
Baris Soner Usakli 797d05a84a removed the other api_method routes
Baris Soner Usakli 23fcdde25e removed console.log and commented out code
Baris Soner Usakli 7297a26685 scroll to post 2
Baris Usakli 720dd9e960 scroll to posts
Baris Usakli dbfd3c19a1 removed api_method route from user.js
Baris Soner Usakli 9f2838849e moved the imgur clientID to the server config file
Baris Soner Usakli 59381ee1d3 cleaned up webserver.js a bit, moved api routes to its own file, 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
Julian Lam 235553eaf6 Merge branch 'plugins'
Conflicts:
	src/posts.js
Julian Lam 1bee527f41 added note linking to wiki page for authoring plugins... also showing something if no plugins are installed
Julian Lam 3578ce1925 admin panel integration completion + styling of admin panel plugins page
Julian Lam c2d7bf87e9 Merge branch 'plugins' of github.com:designcreateplay/NodeBB into plugins
Julian Lam 777173d9f4 adding admin panel integration to plugins (issue )
Julian Lam 0a3a970b52 fixed issue where if a hook had no attached methods, it wouldn't work at all... or put simply... nodebb'd break if you had no plugins, heh.
Baris Soner Usakli b46d81e3e4 removed console.log
Baris Soner Usakli 3273c0558b anon users always see topics as unread
Baris Soner Usakli 6b2be772e7 removed test route
Baris Soner Usakli 78f462e1e6 added a new section that only shows unread topics, added mark all read button, closes
Julian Lam 871591b92d sanity check if a plugin's method was not found on hook call
Baris Soner Usakli 811d2df728 moved getTopicsByTids and getLatestTopics to topics.js
Julian Lam 307f6f34b9 added plugins.showInstalled method
Julian Lam 2d64c9979e sending pid as well as content in action:save_post_content hook
Julian Lam 34bb9dddb5 sticking to style guide for method names (camelcase)
Julian Lam 25a1d25108 tested filter-type hooks, working! :)
Julian Lam ec4ab19a1e first pass at plugin system -- not tested!
Baris Soner Usakli b35ecd08ea use hasReadTopic
Baris Soner Usakli d32b130d40 added function for marking all topics read
Baris Soner Usakli cca83b9c5c bleh
Baris Soner Usakli 57a4741e9e show message if there are not recent topics
Baris Soner Usakli 23598361b8 closes
Baris Soner Usakli 3f8b3894d8 C:/Program Files (x86)/Git/recent shows only the last 24 hours
Baris Usakli 8cc3859e72 fixed for email visibility icon if data isnt set
Baris Usakli 8f4d4664e4 changed class
Baris Usakli 6e5420fd64 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 19b570cdcf closes
Julian Lam cb8c8f9e42 tweaked OG tags for topics
Julian Lam 7dbf18c1d0 removing authors from OG tags
Julian Lam 56dcdd0378 Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam fe286870a3 closed
Baris Usakli 58ad74abb5 send new url when we are done
Baris Usakli 9160a135a9 changed to crop
Baris Usakli 6420e4c6a6 added this back, file extensions might change need to delete old pic
Baris Usakli 433c7d91eb some fixes
Baris Usakli 3100bfcfd3 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 472f40479e privacy page
Julian Lam 12e8423a24 closed - issue where all auth routes were not rendering the header properly
Baris Usakli 4260930523 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 6af3b0ffc6 account settings
Julian Lam 5caf258238 fixing build_header refactor for user routes
Julian Lam ce769a87ef refactored parallel to waterfall in topic and category routes (to allow
for better title generation)
Julian Lam 931beecc21 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 4588745b9a refactored all calls to app.build_header (in regular and auth routes)
Baris Soner Usakli 12d31517b0 removed console.log
Baris Soner Usakli 08e3eac008 closes
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
Julian Lam 1f8f61d1d8 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 83b0b6a523 fixing issue with md parser
Baris Soner Usakli 744e4579b7 setUserFields
Baris Soner Usakli 2f00640b6b Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli cacc732015 fixed filename of first uploaded image, added a setUserFields method to user.js
Julian Lam bea5dff563 fixed - twitter profile picture now used as nodebb avatar in lieu of
email address for gravatar
Julian Lam 762cecf1c3 fixed
Julian Lam 42d1cade23 fixing websockets crash on server restart
Julian Lam a990cf3e0d added missing "return" when a user creation doesn't pass all server-side
checks...
Julian Lam 10a42d4e08 minor var renaming
Julian Lam 24c235e360 fixed - regression caused by removal of 'connect' package
Julian Lam b5ecb9a762 removing dependency on package 'connect'
Julian Lam 6a12ecf8e7 Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam cc1cc7cae4 first pass at meta tag construction abstraction (issue ). Also addressed issue
Baris Soner Usakli 6e0c84f9e5 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli e7c9079449 anons cant follow, hide follow button if not logged in
Julian Lam 59029a0ef0 minor tweaks to theme engine
Baris Soner Usakli bf6a38904a skip loading a topic if cant load its data
Baris Soner Usakli 6ab37bde09 closes
Baris Soner Usakli 8947553ecd closes
psychobunny 6f6a2e4127 closes . updated ajaxify to allow for get parameters to be passed in without issues.
Julian Lam 9e7afcf0ab fixing issue where navigating to a non-existant category_id caused NodeBB
to crash
Baris Soner Usakli 2237166e0f removed console.log
Baris Soner Usakli 85b0fe7175 images debug
Baris Soner Usakli e9afd4a107 fixed broken view again
Baris Soner Usakli 667a102c8b added async.eachSeries to getCategories
Baris Soner Usakli 38aa5aa3e6 refactor to remove category_name and category_slug from topic hashes
Julian Lam 87baaacb8c Merge branch 'master' of github.com:designcreateplay/NodeBB
psychobunny 1e86f379d5 removed external link icon from signatures only
Julian Lam 93d4630433 Merge remote-tracking branch 'origin'
Julian Lam 123aac0862 limiting notification counts (issue )
psychobunny 240683ed24 merged conflicts. also fixed a potential issue where the external link icon would show up on internal links
psychobunny e66cab23cf added a screening page for external links. removed forced target = _blank on external links for UX consideration
used http://www.deviantart.com/users/outgoing?http://www.nodebb.org/ for
inspiration
Julian Lam 48e14e9464 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 712eec0872 re: issue , added external link icon to external links
Baris Usakli f0df2289e6 i keep forgetting console.logs in commits :/
Baris Usakli 22d954d01f fixed for broken category view, after topic move
Baris Usakli d9fa78a866 again
Julian Lam 99ba792e6d changing all calls to marked to instead go through
PostTools.markdownToHTML
Julian Lam f40bf46656 closed - anchors now have rel="nofollow" and open in a new window
Baris Usakli 52110016c7 closes
Baris Usakli 676765278e closes
Julian Lam 667c331a67 refactored `User.create` in preparation for twitter compatibility (issue
Baris Soner Usakli e39868c08e fixed regex
Baris Soner Usakli b25033be45 removed console.log
Baris Soner Usakli 7c31e12e6b removed debug console.logs
Baris Soner Usakli 863f471020 closes
Baris Soner Usakli 0b7da34a03 possible fix for
Baris Soner Usakli e437b4df66 removed commented out code
Baris Soner Usakli 919efd4052 drag and drop image upload first pass
Baris Soner Usakli f7291631d8 when a post is restored update topic timestamp
Baris Soner Usakli eec5249eb6 possible fix for wront sorting on /recent
Baris Soner Usakli 93c6228347 handle err
Julian Lam 782858c728 added dynamically generated robots.txt
Julian Lam 3c4b2c8075 fixed oddities in base_url and url generation for subdirectoried instances
of NodeBB
Baris Usakli e5301deea2 more async in categories
Baris Usakli ff9990701b changed to async.eachSeries
Baris Usakli 78358a8ccd forgot ]
Baris Usakli 04bc0cd2c9 oops
Baris Usakli a4de1b247f decrease/increase post count on post deletion/restore
Baris Usakli 3adddf44ca removed console.log
Baris Usakli 68c011ce63 recent replies link to user and topic
Baris Soner Usakli 2f20831d25 removed extra ; oops
Baris Soner Usakli 7ff6cd9cb2 closes
Baris Soner Usakli 285e19fbbf closes
Baris Soner Usakli f90eb72706 added minimum lengths into error messages
Baris Soner Usakli f7d27cdef1 nconf fixes
Baris Soner Usakli 4d670006e1 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 65029ae169 content length changes
Julian Lam d0c4302d24 removing non-existant unit tests from admin template, and setting admin theme to always be the bootstrap default (so errant themes don't render the admin panel useless)
Julian Lam 1fa900e615 added sitemap.xml to routes, closes
Julian Lam 6e91810231 introduction of theme engine parsing (themes go in /public/themes!)
Baris Usakli ca81732661 show correct version on admin/index
Baris Usakli 03d3f59804 change to async.each for addUserInfoToPosts
Baris Usakli 8369e2278f Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 2bb4aab6ac changes to online users code
Julian Lam a06123579b issue
Julian Lam 1e4424d656 issue again
Julian Lam d3541da9dd resolving regression introduced by errant install script (again) - issue 94
Julian Lam 2f1ef4c2a1 fixing regression introduced where the client-side config was incorrectly generated (resolves )
Baris Usakli 4f9a2d0b93 content check in posts
Baris Usakli 8d21d4f998 closes
Baris Usakli 582cd2f011 closes
Julian Lam c2e9cd621d issue , just for Damian :)
Julian Lam 7cdef19b94 issue again - tightened the regex a bit more (escaped the dot)
Julian Lam 0553254a9b closed
Baris Soner Usakli 62919894b4 removed the bcrypt question from install, changed default to 12
Baris Soner Usakli a5b324cbc4 closes
Julian Lam 3c62b86096 Merge branch 'nconf'
Julian Lam 815bd7c10a THIS IS A BREAKING CHANGE
===

Please run `node app --setup` after you pull this commit.

refactored install script to its own library in /src, updated redis config
params to be nconf compatible
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
Julian Lam 41b3eabf1a updating code to not use a hardcoded version number, but rather read the #
from package.json
Julian Lam d4a0b3d05a showing the proper version # on default MOTD and globalified "ver"
Baris Soner Usakli 28b113c09f Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 61cc0853db browsing thread changes to use sessions
Julian Lam 743e0569c1 Merge branch 'master' of github.com:designcreateplay/NodeBB
Conflicts:
	src/topics.js
Julian Lam 561ff38e5a if every post gets deleted in a topic, then the topic deletes itself also
Julian Lam 87aec422e9 moved get_last_undeleted_pid to threadTools.js
Julian Lam 31f8be8a0a updating topics.getTeaser and get_last_undeleted_pid to return err first, and handled methods that called it
Baris Soner Usakli ba161c1f6c removed couple console.logs
Baris Soner Usakli c7a218af9a closes
Baris Soner Usakli 4527b3d53c closes
Baris Soner Usakli cc6bd59560 closes
Baris Soner Usakli 8d2c4fd625 closes
Baris Soner Usakli 16117d4331 changed req.connection.encrpyted to req.secure
Baris Soner Usakli 910e9d6ee0 closes
Baris Soner Usakli 28f888fc7d removed console.log
Baris Soner Usakli 62ef925fd3 removed graph/picture, closes
Baris Soner Usakli 7e1d005cae 404 to relative path
Baris Soner Usakli 2c5e9d47ad admin routes and fixes
Baris Soner Usakli d7597608d5 fixed login register logout
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 Soner Usakli dc473b06bf closes
Baris Soner Usakli fb8b19959c moved one of the middlewares before app.use(app.router)
Baris Usakli 47378fb978 error middleware, closes
Baris Usakli bed3bf630c removed the throw and logging the error in feed.js
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 9320883f92 fixed live tiles if there are more than 2 posts
Baris Soner Usakli 642bd5f3c8 removed console.log
Baris Soner Usakli ac04bef26e live tiles on home page, ninjaed from andrew might need to randomize starting times, can be disabled by removing the slider class from the div, maybe this should be a setting in admin/categories
Baris Soner Usakli 8f4848cc69 userList function for active users, moved it to server side too
Baris Soner Usakli 12f78f5d56 added forEach test
Baris Soner Usakli 7e35b26a43 log bcrypt error, closes59
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
Barış Soner Uşaklı b343665ceb Merge pull request from damianb/patch-1
user.js cleanup
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.
Baris Soner Usakli 8c8e1fef93 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli b146445db1 send 404 and error message in api_method user.js
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
Julian Lam 0a09156a5e Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam d1bc8b5d91 fixing issue where NodeBB hangs if a non-existant topic was requested
Baris Soner Usakli 575b7f0ecc Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli a0b4ea70b3 more cleanup in user routes
Julian Lam 6ac2564bad Merge branch 'master' of github.com:psychobunny/node-forum
Julian Lam 5eda18e03c fixing issue with routes that don't have (or need) a corresponding api_method case from crashing due to 404. (issue )
Baris Soner Usakli 6a4dcc75c2 changes to user routes to return null
Baris Soner Usakli c7a085af52 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 399f7b47c8 for loop bench in testbed
Damian Bushong 8867a4d666 Update user.js
Fix minor copy-paste mistake
Damian Bushong 2c12062ce0 Update user.js
- Do not use a temp var here, that's just wasting memory since we're only using it once (and it isn't helping readability all that much)
- Add notes about console.error use, indicate it's temporary and needs replaced with proper logging
- Indicate that resizing code should be split out into another process (perhaps with node's built in cluster module? or child_process.spawn?)
- Do not use `res.send` with JSON data; use res.json
- Use consistent spacing and whitespace usage
Baris Soner Usakli f90be52a07 warning msgs in admin
Baris Soner Usakli e38d1af566 removed userrestore
Baris Soner Usakli 466c373c73 fix
Baris Soner Usakli 071ee2c038 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli d21af09a4c fixed redis
Julian Lam 4abfd32a05 Merge pull request from damianb/patch-2
Update XML responses - webserver.js
Baris Soner Usakli 2320d1c3b2 fixed redis var
Baris Soner Usakli cdb05b4671 set postcount/rep to 0
Damian Bushong cec23817e2 Update webserver.js
Forgot this section - also use text/plain mimetype since we're not responding using XML to errors; if we're going to do that, we need to do it right in the first place.
Baris Soner Usakli 7be2baa1a7 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 4c33cee051 user restore for try.nodebb
Damian Bushong 93f040aea8 Update webserver.js
Tighten code around sending xml data
Damian Bushong 860a6351dd Obey HTTP spec, use HTTP 404 for not-found responses
Baris Soner Usakli 0eb83f1e85 css changes
Baris Soner Usakli 719182e3a8 fixed read status in categories
Baris Soner Usakli ed99f2671e fixed a bug that made topics invisible to users, also closes
Baris Usakli e5131e36f3 category debug path
Baris Usakli efb5cfe1ac nothing
Baris Usakli f718d25d36 === is gud
Baris Usakli 154f691ba2 done?
Baris Usakli d26f195a6c fixed thread move
Baris Usakli b9312bb7a5 fixed topic unlock
Baris Usakli 38663177b0 fixed favouriting
Baris Usakli e24606ff73 fixed quoting
Baris Usakli facb6eb36b fixed delete
Baris Usakli 0c77db1f22 fixed editing
Baris Usakli bff188b116 fix
Baris Usakli 95e05410a2 more fixes
Baris Usakli 8b13048ec1 hash change
Baris Usakli 478479658f feed
Baris Usakli 82319a020f more fixes
Baris Usakli a76d6c1f9a removed log
Baris Usakli 27ea41adcf fix for category teaser timestamp
Baris Usakli 50078d7395 fixes in posttools and thread tools for hashes
Baris Usakli 1a19f0e1bc changed categories to hash
Baris Usakli 9c3046b89b more fixes
Baris Usakli 98013536d1 more fixes
Baris Soner Usakli 0a4ac1a346 remove async from Feed.updateTopic
Baris Soner Usakli 527e6e63cc removed console.log