Commit Graph

1412 Commits (4819bea378f255ebd05ff9b393e83b194f4bc280)

Author SHA1 Message Date
Baris Usakli da3a2f436c added categories require to feed.js
Julian Lam 569a7178d7 fixed install script error
Julian Lam e8801a75f3 fixing weird passing in of a single param as an array for post.save hook
Julian Lam 918826ff48 fixed action calls, and added a new hook for plugin activation and deactivation
Julian Lam fa2fe5c941 allowing plugin system to detect object method path by dot notation
Julian Lam 8ef2761f53 tweaking plugins again -- simplifying
Julian Lam 9375369b88 fixed issues caused by inadvertant globalisation (and its subsequent fix)
Julian Lam ce77c82b0c Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 1e39ae2f1e minor tweak to plugins (used object format instead of potentially
confusing array)
Julian Lam c143894547 Merge pull request from twinlabs/stop-topic-global-leak
fix typo that was causing Topic module's variables to leak into global namespace
psychobunny ca9c468edd plugins - filter:category.build_sidebars allows plugins to generate custom sidebar content
psychobunny d6570d1496 prevent admin crashes on improperly configured plugins
psychobunny bf677522a9 added additional_profile_info footer in posts view; plugins - filter:posts.custom_profile_info hook lets you add info to post block footer
also fixed app.alert - if title is not set then do not show title.
Noah Chase fd89f71fc0 fix typo that was causing topic variables to leak into global namespace
psychobunny 32990794ce fixed admin bug (on f5 was not populating fields); plugins - filter:admin.create_routes allows you to create path to custom admin page
psychobunny 2b07917020 plugins - filter:admin.header.build allows you to add plugins to navigation in ACP
psychobunny 2a4b228e19 plugins - filter:server.create_routes allows you to add custom routes to NodeBB
Julian Lam e91da53d9e using reduce to run filter hooks instead of eachSeries, and fixed up
incorrect usage of .apply() in tests folder
Julian Lam f807df84d8 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 7f32d5741d removing restriction that caused hook system to go weird when arrays were
passed in as args
psychobunny 30c7113bd8 removed console.log
psychobunny a63732027f plugins - filter:header.build allows plugins to add custom navigation to header
Julian Lam 5d48ed5fb4 using map instead of eachSeries to load categories for /home. Error
handling.
Baris Soner Usakli 4b89b3e2ed fixed time for month
Baris Soner Usakli 08130e8088 fixed conditional in follower/following count
Baris Usakli d315829eaf closes
psychobunny 8326c223ab fixed f5 bug with /recent/:term which previously gave a 404
Baris Usakli 4e59b85073 recent page, for hour, day, week, month
Baris Usakli 9af26db57a follower count fix
Jet 97592eede6 Fixed case for header
Jet 73dafa6aff Disable framing
Set the X-Frame-Options to DENY for added security.
Baris Soner Usakli afa078d00c closes
psychobunny 3fd7d9a604 moved jquery.form.js into appropriate location
Julian Lam bd1e95b655 cleaned up admin template mapping
Julian Lam 84915a1843 added css files support for plugins, added ready output for NodeBB, put
some minification related outputs to debug-mode only
Julian Lam f88f72abd2 Merge branch 'adarqui'
Julian Lam 715c14b78d fixed error where client side script loader on admin page was throwing 404
errors on require.js require
Julian Lam 63ff572076 WIP commit for CSS static directories
Andrew Darqui 129af904f6 fixed an issue with Logger.io_close, needed to check for undefined on the socket.oEmit and socket. functions
Julian Lam 0b299b2fe7 Merge pull request from adarqui/express-logger-0.0.7
Express & Socket.io logger
Julian Lam b1cef5f73d Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 42067ce53c closes - install script can be run via command line
Baris Usakli 1155eaf1f1 online page changes
Baris Usakli 52f2e193d6 if api fails with 404 ajaxify to 404, added type check to updateProfile
Julian Lam 57465eb277 misrouting now only shows warning when in debug mode
Julian Lam be8d9be832 flushed out upgrade path for notifications
Andrew Darqui 7c1f7e7a23 just some text formatting fixes
Andrew Darqui a3f6fee41f refactored the logger completely.
Julian Lam 0414ec7f83 removing testbed code from repo (why was it even checked in?!!)
Julian Lam 4d6881fa65 reset update for 0.0.7, and added new schema update for notifications
Julian Lam 019e8e0d14 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 763bd775c4 closed
Julian Lam 585e07bc79 closed - notifications now no longer need scores
Peter Peterson 3968877b1e Merge branch 'master' of github.com:ipetepete/NodeBB
Peter Peterson 46f03de9f6 Added ability to set redis db to use, defaults to db0
Julian Lam 038e04dee6 revamped client side scripts so that they are loaded using Require.js instead.
Julian Lam b49c7b8609 added user-scalable=no to header meta tag (in lieu of fastclick lib)
closes  - reopen if necessary.
Julian Lam 948949c571 closed - now asking socket.io to connect to "current page" instead of hardcoded url, removed api_url and "socket" section from public config
Julian Lam f173a79a0d Merge pull request from iamcardinal/master
Adds meta:keywords tags fixes tabbing, closes 
Quinton Marchi fcab1501f8 Merge remote-tracking branch 'origin/testing-2013-10-01'
Quinton Marchi eb022220f4 Final Edit for keywords
Andrew Darqui f48687528e fixed up logger.tpl a little. Added a basic 'collision detection' for the loggerPath and loggeIOPath filenames.
Andrew Darqui 9007f9de9e added socket.io logging which can be dynamically enabled/disabled via the /admin/logger panel
Andrew Darqui 55d84d0f9b basic logger functionality added - accessible via http://nodebb/admin/logger
Minami 90b4d688f8 Testing adding of Meta Tags
Andrew Darqui 51d7dda5a7 added basic logger using config.json
Baris Soner Usakli 1c32acf7b6 removed WITHSCORES from getLatestTopics, how was this working at all?
psychobunny 22c73f3c12 closes
Julian Lam 9613ea9018 reverted change where post title was sanitized on saving (which didn't
seem to work), now sanitizing post title on output
Julian Lam 181220621e fixed issue with server crashing on post
Julian Lam b19d84f1a7 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 865edb70c2 added meta description to topics, closes
Baris Usakli e78369f0fa use User.isAdmin instead
Baris Usakli d40a6a5c3f added adminitstrator value to userData for admin users page
Julian Lam 4c39c1ec30 fixed issue with install script erroring out if redis host is not defined
Julian Lam ee71c1cf0d Merge branch 'iamcardinal-merge'
Julian Lam 8cbe79655a emptying Meta.config on init (Just to be safe)
Julian Lam a4c1d733b7 fixed issue where setOnEmpty would fail in install.js as Meta.config was
not defined (as it had not been initted yet)
Julian Lam 839649d42f Merge branch 'master' of https://github.com/iamcardinal/NodeBB-enhancement into iamcardinal-merge
Quinton Marchi 504e2aac4a Adds: regex for ports, mini for public/src/forum
+ Regular expression for port during install
+ Minification for public/src/forum JS files
+ Minification for public/src/forum/admin JS files
Minami eafb41602c Edited to simplify install
Removed the two steps and made it default to 0.0.0.0, edited the
webserver.js to reflect the changes.
Baris Soner Usakli 2dcc4172c4 closes
Baris Soner Usakli f96a711298 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli ad28b9b339 fixed crash in meta
Julian Lam 7bf5b2ec57 changed fireHook to be error-first, closes
Julian Lam aa731aa894 Merge branch 'middleware_refactor'
Julian Lam c58cb257dc closes - loading middlewares using async instead of crazy
middleware-stack modifying shenanigans
Baris Soner Usakli 06f59cf853 closes
Baris Soner Usakli 9de5214a2f closes
Julian Lam 4cea313060 updated getPostsByPids method to resolve premature return issue, and
refactored it to use async.map instead of eachSeries
Quinton Marchi 571259f241 Adds hostname support, fixes
Works from previous testing but I haven't tried this personal revision
of the code. Take it with a grain of salt.
Julian Lam cdaf409a99 monkey-patching getPostsByPids so that it returns ISOString instead of relativeTime
Julian Lam 3ab7306199 linting, minor bugfix, moving hiredis to optional deps
Julian Lam 2e4e94d5f8 Merge branch 'redis-optimizations' of https://github.com/adarqui/NodeBB into adarqui-redis-optimizations
Baris Usakli 3348ed3524 fixed email key
Baris Usakli 942a21b4be fixed email meta changes
Baris Usakli 7d50551392 remove throw in email send
Baris Usakli f2c1a92513 closes
Baris Usakli 585e5cd88f closes
Baris Usakli 253e11d55b cleaned up websockets.js
Baris Usakli eb1c1c78d4 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 0b0d64b52e logout/login changes, updateHeader changes
Julian Lam 1ae51ef5ea redis export function (commented out for now)
psychobunny 1fbc038e64 fixed conflicts, added new language key for users/online
Julian Lam c80e2552b2 express-namespaceing routes
psychobunny 5c7da4b686 fixed serverside templating; footer, logout internationalization; updated more global lang keys
Baris Usakli 9a4eb26246 closes
Julian Lam 0d9958afe7 HOTFIX for scripts
Julian Lam d6dd74b50a removed extra debug log
Julian Lam d5437ca8fa Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 14720057c2 serving unminified libraries in development mode, minified otherwise
Baris Usakli 170ed8cc01 fixed conflict
Baris Usakli 25576eb35a closes
Julian Lam bcc65fd879 closed
Julian Lam 99440585e6 Merge branch 'master' into optimize-22-09-2013
Conflicts:
	package.json
Julian Lam 521586f08f Merge branch 'master' of github.com:designcreateplay/NodeBB
Baris Usakli bae9f46d8b small fixes to search
Julian Lam d7ea24e218 issue - minifying css file and added jquery to minified compilation
Julian Lam e621d7e601 closed - autominifying client-side assets on load
Baris Usakli b25c3d8b67 closes
Baris Usakli bade99d069 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 776b51fef7 closes
Julian Lam 7fdf83089d linting
Julian Lam 043aafd7b7 closed
Julian Lam 5f00f1e18e renamed "toHTML" method to "parse"
Julian Lam c940ce3329 camelCased get_latest_undeleted_pid method
Julian Lam 2366e2b209 refactored get_latest_undeleted_pid to not blindly call getPostsByTid in
order to determine post deletion. (issue )
Julian Lam 2b7fd3c9d1 interim commit
Andrew Darqui d2b858c997 slight variable name changes & remove unused var from getPostsByPids, removed underscore dependency
Baris Soner Usakli de34c7580f closes
adarqui e26cc79819 redis multi pipeline used for getPostsByPids
adarqui 98cb2d4c17 a little logic to allow nodebb to use a unix domain socket rather than tcp/ip. unix dom sock has less overhead/latency.
Julian Lam 8243019a60 closed
psychobunny 8b8a890ac9 removed unnecessary warning message to anonymous users attempting to unfavourite posts
psychobunny 5645bcee2d topic.json en lang; tested serverside internationalization in favourites; fixed some keys in login
Baris Soner Usakli 6be5bcc4c8 closes
Baris Usakli efef9c864c closes
Baris Usakli 27cb837b08 closes
Baris Usakli f9442db96f closes
Baris Usakli e5ef498164 merged users.tpl
Baris Usakli 24e4be77d8 closes
Julian Lam ccca4d2914 fixed issue where meta was called before nconf loaded
psychobunny 28704a6164 hinting
psychobunny cf4ba9d1d3 format/jshint favourites.js
Julian Lam c69e30c146 Merge branch 'master' of github.com:designcreateplay/NodeBB
psychobunny fd32d75d3b jshinted categories.js
psychobunny 64b071f277 nconf and redis wrapper no longer global objects. jshinted app.js. updated sockets.io to latest
Julian Lam af246ad0d7 Merge remote-tracking branch 'origin'
Julian Lam 56a87329ec removing extra line
Baris Usakli ce61138351 fixed conflicts
Baris Usakli 564662ee00 closes
psychobunny 1b9e451a6f formatting - server side admin
psychobunny 1780b343b4 formatting - routes
psychobunny aea3181d27 formatting - server side core
Julian Lam d249f411f8 closed - issue where web socket connections were not working properly
with passworded redis instances
Julian Lam 79280b195e changed get_uid_by_userslug to be error-first
Julian Lam 4a18728e19 closed
Julian Lam b7498416fa fixing redisstore sessions with passworded redis stores
Julian Lam 49b201db0f added heroku support for dynamic port reading via process.env
Julian Lam be4d6761b1 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam c01ba1a3cb closed
Baris Soner Usakli af59ff3209 closes , closes
Julian Lam 95b16690e0 altering api route to use next() instead of echoing 404...
Julian Lam f6b865a052 closed
Julian Lam d1c756306a updates to allow dynamic addition of static directories provided by plugins
psychobunny 43c0c2ec2a fix for favouriting
psychobunny a277104ad5 dehinted favourites.js
psychobunny 84afffc761 categories.js jshinted
Julian Lam 5e5680fd13 Merge branch 'master' of github.com:designcreateplay/NodeBB
Baris Soner Usakli 79096cfdce online count fix for anon users
Baris Soner Usakli a848f82b8f fix for upgrade script
Julian Lam 71bdd4608b removed defunct installation routes
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)
Baris Usakli 916150de01 closes
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 325e402d0f Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 251587cb86 return err form updateProfile
Julian Lam 9fb1f8acf8 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam cffbc76da1 closed , refactored configs to use new method "list", which returns error first
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 ae6f9fc87c changed notifications to use relative path
Baris Usakli bb14881b63 change getUserData to return err
Baris Usakli efa8717fc5 getMultipleUserFields returns err now
Julian Lam e32494879c closed
Julian Lam b8b6558f53 deleting and restoring posts and topics now update the corresponding RSS feeds
fixed 
Julian Lam a53e75aeaa closed
Baris Usakli 7798004568 fixed active_users not deleting over 10
Baris Usakli 63873575a5 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 9845df4d1b another fix to path in image upload
psychobunny 1d860923d0 booleanifying the isAdmin return... now we're admins again! :)
Baris Usakli a1c9685b49 fixed image upload, delete temp file if there is error
Baris Soner Usakli 52365a9755 upgrade user checks for undefined data
Julian Lam 41bea9f50c adding upgradeAdmin method to upgrade script -- pending fix to upgradeUsers
Julian Lam ce126b11fb fixes to administrator methods
Julian Lam d3b4cb71c0 resolved race condition in plugin auto-enabling (not much of a race... I'd
always lose!!)
Julian Lam 995fa7d6fd interim commit -- enabling default plugins on setup
Julian Lam 87abe426d8 fixing 'use_port' to save into config as boolean
Julian Lam bec0b46a2c refactoring installation scripts to use node prompt module, lots of other fixes
fixed , fixed , fixed 
Baris Soner Usakli 1f60578a63 closes
Julian Lam ff4b35d6f1 minor bug with feed posttime if it was never edited
Julian Lam bcbcf40eae Merge branch 'feed_refactor'
Julian Lam 661fdfb43e bugfixing and allowing feeds to be generated on request (as opposed to just updated on posting
Julian Lam 31f08c49e7 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 2999d61ac9 minor fix... turning plugin libraries array into object
Julian Lam 164977972e totally derped commit
Julian Lam b6fbfcc814 interim commit for new feed refactor
Julian Lam 1d52557562 removing hook ordering message from non-development runs
Julian Lam f39932ece7 group join leave, and updating
Julian Lam 03fb649274 Merge branch 'master' into user_groups
Julian Lam 54e9e95076 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 201fb4d73e fixed - where saving and retrieval of RSS feeds wasn't working on some instances due to a relative path being passed to read/writeFile
Baris Usakli e0cc35ba66 creating topics shows up in user profile too issue
Baris Usakli d3818e888e Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli a2af4a3e91 closes
Julian Lam 02a02fa64c updated getTopicWithPosts to use a start and end option, and fixed issue with RSS feed saving (issue )
Julian Lam 9fae0d2505 removing dupe main post from posts array in topic noscript
Julian Lam 0a8c43901d more fixes to noscript
Julian Lam 3ed9e1dd51 closed , closed
Julian Lam d1d2b03dfd Merge branch 'master' into user_groups
Julian Lam c1a41c6605 added hook priority to plugin hook registration
Julian Lam bf365bedfd pushing fix to issue where htmlfile transport for socket.io was causing
NodeBB to not work at all
Julian Lam 6a1ab47a08 hardcoding the exclusion of 'htmlfile' from web sockets, since it seems to
cause NodeBB to fail
Julian Lam a6b0c2638a user list on group edit modal
Julian Lam 5e869a5e5c Merge branch 'master' into user_groups
Julian Lam 0e6109ff2b a better conditional, just to please baris
Julian Lam 0bff6ee504 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 7cbe429be9 fixing issue with plugins trying to load 0 plugins and crashing
Baris Soner Usakli 09b578522f added prefic to less middleware
Baris Usakli 7795a9ead2 fixed a crash
Baris Usakli 599789634a closes
Baris Usakli 77359f7b83 added space between user name and colon
Baris Usakli 7cff55a160 closes
Julian Lam 8d26eb4e07 minor stuff and such
Baris Usakli 22ababd87a closes
Baris Usakli 3b1bf67436 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli d2eb73df96 can add and remove images from posts
Julian Lam 8a53c56a46 updated install script to only populate "socket" object in client config with "address", which takes "use_port" into account.
This closes 
Baris Soner Usakli ab9cf6d036 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 54ba6efc93 can edit and add an image to a post, still cant remove previously added images #issue
Julian Lam 85ac4aac94 group creation and deletion
Baris Usakli 691b6611d0 user search uses reds now
Baris Soner Usakli 928594fc7c Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli cc1f668308 changed chat online offline messages
Julian Lam f2b8813fb9 brain dumped groups lib
Julian Lam 5ed7c31278 removing console logs
Julian Lam ece4d083a5 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 96688a8ffe changing method to retrieve themes to use /node_modules
psychobunny 3773f6b44f merge conflicts + updated search.tpl to BS3
psychobunny bb8f75b4be merged.. conflicted up the ass. registration looks gud again
Baris Soner Usakli 0db599a478 closes
Baris Soner Usakli 87f48e2cc9 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli cc55073107 issue
Julian Lam 96c43b4607 fixed - issue where replies would not automatically refresh a post after editing
Julian Lam f1b4367168 closed , closed
Julian Lam 4416f8530d matching connect-redis session with cookie ttl
Baris Soner Usakli 4e48ab2363 changed max age to milliseconds
Baris Usakli c262027728 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 6a08fedf18 closes
Julian Lam 97641dbcda fixing teasers, that I broke in the last commit
Julian Lam 54fdbcd947 fixing broken category
Julian Lam 5f0e0c993e adding localhost as default for email server
Baris Usakli 1c27cbd90a Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 4b4b26651a derp
Julian Lam 1a6ba8c230 fixed derpiness I introduced last commit
Julian Lam 8d04454457 closed
Baris Usakli 08ba911738 closes
Baris Usakli 59f4b6788a Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli a317a4d689 closes
Julian Lam 860a83ba90 closed
Julian Lam abce5fd120 refactored postTools.toHTML to fire post.parse hook, and removed auto-markdowning
closed 
Julian Lam 0243e9c5be issue , preparing for addition of post.parse hook by renaming markdownToHTML to just "toHTML", and making it asynchronous.
Baris Usakli 8a4a0154f6 closes , closes
psychobunny 469a5221ed added postcount to topics return; started scrollspy behaviour for "postid / postcount" in topics.
psychobunny f251b9c6c5 Merge branch 'master' into bootstrap3
psychobunny cc6e028b1d fixed alert-notify (and blanks) to alert-warning
Julian Lam ece2edf579 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 1961f01cab possibly fixing issue
psychobunny fe89f1f096 added a .hidden-mobile class for inline block elements. also removed button text on jumbotron for mobile devices
Baris Usakli 4a214b6ef0 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli dda429ab5d unread count shows total
Julian Lam 15feaafd68 attempting fix for , @barisusakli can you pull and test if this is still present?
Julian Lam 14e7907e06 closed
Baris Usakli b4b483b35a removed console.log
Baris Usakli a6837a7869 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 0a485a7ff6 closes
Julian Lam bca1602474 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 96ee0a2017 closed
Baris Usakli 25550e18d0 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 154d0160bc closes
Julian Lam aefa56221b closed
Baris Soner Usakli dd40cbc139 check if topicData is valid
Baris Soner Usakli 23db2e5c9e better fix for
Baris Soner Usakli eff1b174c0 closes