Commit Graph

574 Commits (3104cfb26b2c59f10cbc4fa53f9886ba0d788e5a)

Author SHA1 Message Date
Julian Lam 83b22a357c Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam 03a30c8583 temporarily commenting out apple-touch-icon, since it seems to be duplicating sessions on every reload
Baris Soner Usakli 49254f268e added missing next callbacks
Micheil Smith a3bb9f4e3d Changed feeds to be generated on-demand
No longer are we writing them to disk, instead, we simply generate on demand.
Baris Soner Usakli dc592853fc closes
psychobunny 1c1c5da8f2 isAdmin in header
Baris Soner Usakli db309ce8a1 closes
Julian Lam 37f7d1d08a resolved issue
Baris Soner Usakli 267e7a3d5b fixed redirect
Baris Soner Usakli c042d4253b added popular rss feed
Baris Soner Usakli ab2b0e6560 fixed direct loading of popular page
Baris Soner Usakli a86ddc9934 closes
psychobunny 92725ee3df Merge pull request from BitBangersCode/templates-fix
Add custom templates to /api/get_templates_listing
Julian Lam d8eec5dd2e fixed missing og:title on category view
Julian Lam b954668636 browser title,
Julian Lam fb2b54b314 refactored meta and link tag generation to template (yay frontend processing!)
cache busters now always added in template, instead of throughout code
Julian Lam 95d671281a moved port 80 and 443 warnings to its own conditional
Baris Soner Usakli f68b692ce4 closes
Julian Lam 5482146bc4 simplified a conditional
Baris Soner Usakli 1084523c92 lots of pagination work, query params, ajaxify to pids
MrWaffle 869f9e0d86 Add custom templates to /api/get_templates_listing
Baris Soner Usakli 2e786cc4d1 closes , removed global translator, templates and server objects
Baris Soner Usakli 393bb7245c closes
Julian Lam 459d5ddccd fixed - added proper detection so that onpopstate would not react if it was a proper page load
Julian Lam 43808c01ec reduced the number of 'ajaxify.go' calls to one, in /src
Julian Lam b587d7b5ad fixed issue where calls to ajaxify.go were sending in a "template" argument that had since been removed, navigating back to NodeBB from an external link now no longer clobbers the History stack.
akhoury dcc6ec797e removed use_proxy config, cleaned-up some comments and sneaked in a time log print on initialization, also, related to pull#820
Baris Soner Usakli f62c82c797 send app to action:app.load
Julian Lam f02cd9df82 Merge branch 'master' of github.com:akhoury/NodeBB into akhoury-master
Conflicts:
	src/user.js
Aziz Khoury 659817b4f1 Update comment
Baris Soner Usakli b945dfc71d closes
Aziz Khoury a13c321de8 added "trust proxy" config option with default to true
Julian Lam e1a9fe9691 Merge branch 'WindowsFix' of github.com:BitBangersCode/NodeBB into BitBangersCode-WindowsFix
Conflicts:
	src/webserver.js
Baris Soner Usakli bbac361670 fixed crash if empty topic was loaded without ajaxify
psychobunny 025e1293fa removed deprecated cssSrc, replaced with optional bootswatchCSS
MrWaffle 5ed77b032e Fix plugin CSS files on Windows
Baris Soner Usakli dc27638ca8 sitemap fix
Julian Lam 8d71098a0f fixed detection for admin client-side scripts
Julian Lam ab16b1184d fixing issue where nojs mode of a private category would show the category topics, even if the requesting user was not allowed inside
Baris Soner Usakli 4912b8a893 fixed language regex
Baris Soner Usakli f75e55aa11 fixed path
Baris Soner Usakli d6333a3969 fixed plugin css files for relative path
psychobunny 6f120ff34a closes , custom robots.txt
Baris Soner Usakli 48074ea93b redirect if category is accessed directly
Baris Soner Usakli 0edb895c2c indent
Baris Soner Usakli 1466e68aa1 ssl support 101
psychobunny 7f8836daa4 simplified filter:server.create_routes - routes no longer require you to pass in req, res, name, route (the latter two was a mistake)
tl;dr - just content is all that is required. see
http://www.github.com/psychobunny/nodebb-plugin-static-page for more
info
Julian Lam f7a1cca861 properly fixed
Julian Lam e3fb996a80 Merge branch 'master' of github.com:designcreateplay/NodeBB
Julian Lam fe53037e53 hopefully fixing
Baris Soner Usakli d43f3cebc6 closes , closes
psychobunny 42d77080f3 plugins: filter:server.create_routes - allow plugins to add custom templates and/or modify individual blocks withiin a template
Julian Lam b52782deb8 removed use of strip_tags and using String library instead
Julian Lam 2c6bf93eb5 added String parsing library, sanitizing meta tag "description" for
topics, and added og:description meta tag -- fixes 
Julian Lam d8183c056c added cache buster to require.js files - fixes
Julian Lam 8385ceef79 topics in private categories can no longer be accessed via ajaxify or by
direct link
Baris Soner Usakli 83cc8f3ba8 fixed header template value too
Baris Soner Usakli e9fbed71ae closes , fixed allowRegistration incase its undefined
Baris Soner Usakli f68f02d346 closes
Baris Soner Usakli 57d2db36e6 if not term just use empty string
akhoury d9eefd667c fixed potential guestSearch config bug
akhoury 114294e24a allowGuestSearching config .. second attempt
Julian Lam b86a01ded1 moving cache buster to production builds only (*facepalm* I'm bad at this)
Julian Lam 538356846d fixed regression introduced by . Non-logo favicon is now properly
referenced (absolute url, not relative)
Julian Lam 43c05d1d85 adding cache busters to client side files (closed )
psychobunny a3734f2e15 completed custom favicon upload, closes
Baris Soner Usakli 097810a057 parseInt fixes getObjects fix
Baris Usakli 705754e823 merged master
Julian Lam d9ee9bf5e3 revamped handling of unread messages, so that a socket call is made to all socket clients whenever a new unread message is available. Prior behaviour had the unread count updated via ajax call on ajaxify (which was clumsy at best and didn't update automagically)
Baris Usakli 7875138c08 added parseInt
Baris Usakli c096656eff merged master fixed conflicts
Julian Lam 2125bb2223 only minimizing CSS files on non-development
Baris Soner Usakli 2e2938616d more mongo and redis stuff
psychobunny 7c8f857aaf plugins - filter:server.create_routes allows you to define API routes as well now
Baris Soner Usakli 6d79521922 moved connect-redis to the redis.db file, expose the sessionStore from redis.js db file, do the same for mongo db with mongo-connect
Baris Usakli c9308efbec more work
Baris Usakli 190948336a closes
Joopmicroop 7d0f160c4c Allow same origin framing
Allow people to frame there own server setup
Baris Soner Usakli c5f9f896b2 make all admin routes only accesible to admins
Julian Lam 0188ea9a3b setting cache headers to 0 on development mode
psychobunny b7aea63c53 create auth routes only after plugin system is enabled and auth.init hook is fired
Julian Lam f0e8633dcc category whitelisting for posting messages, isAdmin now error-first
Baris Usakli 541993c80a fontawesome 4 migration, closes
Julian Lam efac6272bb default link tag (apple-touch-icon) added
Julian Lam bdb30976b5 adding maxAge headers for statically served files (eep!) - issue
Julian Lam 5a5c3c8c60 added app.load action hook
psychobunny 353b3047cd pulling meta info from OP not main_posts
psychobunny c261babf17 minify client scripts only after plugin system is activated
Julian Lam a72fc69997 added link to RSS for /recent, fixed RSS generation error for /recent
Julian Lam 08ef67e824 closed
psychobunny 90ce539683 fixed language file not parsing in footer
Julian Lam a9ce8393e4 added footer.build and page.load hooks
Damian Bushong 51355a53d9 cleanup webserver.js requires
the .js in a require is implicit and unnecessary;
sorted the requires out so that builtins are first, then npm deps, then locally provided libs.
minor changes to some strings, just using single-quotes to match the style through the rest of the file.
Baris Usakli fa9636a62a closes
Julian Lam a42b30fd40 removing commented out route
Julian Lam 37497fc5a0 fixed - refactored basic route handling, moved some other routes to debug routes
Julian Lam 9bea23bbfe linting webserver.js
psychobunny 1d6135150f multiple plugins pointing to admin can conflict - fix
Julian Lam 4353a9da25 issue - hot-swapping of plugins
Julian Lam 7074b75b9d extra console.log
Julian Lam 857756f636 silly closures...
Julian Lam e4c62200de fixing screenshot previews in admin/themes
psychobunny a71870de28 pass in site description as well for potential themes to take advantage of
psychobunny 842cd17979 themes - added ability to route custom templates
Baris Usakli 22a3b227a3 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 12f3f1a45c show admin link in header if user is admin, closes
Julian Lam 207ff98211 Merge pull request from JetMaddox/master
Disable Framing on all sites.

I'm merging this ***conditionally*** - at some point, we wish to introduce integration with CMSes like WordPress. An easy way to achieve this would be placing NodeBB in an iframe.

At that point in time, we'll want to make this a configurable option via admin panel.
Julian Lam aecbe6d316 interim commit, still nothing done
Julian Lam db2917193e Merge branch 'master' into notifications_page
Julian Lam 705571de8c notifications page + ajaxify route + css styling
Baris Usakli bccc4e8019 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 7039a4d762 closes
Julian Lam 7b7f0115e5 closed - added link rel="up" and rel="alternate" to category and
topic pages
Julian Lam 65a8de7845 special theme.set socket call + static dir support, closes , tweaked languages 404 to work with subdirs
Julian Lam 44d2297546 monkeypatching the 404 route to handle missing languages and client side scripts. Removing "soft 404" in favour of hard 404 due to complaints from google webmaster tools
Jet a8f2fd66ae Adding brackets.
Too much Coffeescript. Had some filters on. :)
Julian Lam c1f47f536d install script tweaks so vanilla is default
Julian Lam baf379c6d7 theme intergration into nodebb based on config hash value
Julian Lam 9375369b88 fixed issues caused by inadvertant globalisation (and its subsequent fix)
psychobunny 2a4b228e19 plugins - filter:server.create_routes allows you to add custom routes to NodeBB
psychobunny 30c7113bd8 removed console.log
psychobunny a63732027f plugins - filter:header.build allows plugins to add custom navigation to header
psychobunny 8326c223ab fixed f5 bug with /recent/:term which previously gave a 404
Jet 97592eede6 Fixed case for header
Jet 73dafa6aff Disable framing
Set the X-Frame-Options to DENY for added security.
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
Julian Lam 0b299b2fe7 Merge pull request from adarqui/express-logger-0.0.7
Express & Socket.io logger
Julian Lam 57465eb277 misrouting now only shows warning when in debug mode
Andrew Darqui a3f6fee41f refactored the logger completely.
Julian Lam 0414ec7f83 removing testbed code from repo (why was it even checked in?!!)
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 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 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
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 865edb70c2 added meta description to topics, closes
Julian Lam 839649d42f Merge branch 'master' of https://github.com/iamcardinal/NodeBB-enhancement into iamcardinal-merge
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.
Julian Lam c58cb257dc closes - loading middlewares using async instead of crazy
middleware-stack modifying shenanigans
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.
psychobunny 1fbc038e64 fixed conflicts, added new language key for users/online
psychobunny 5c7da4b686 fixed serverside templating; footer, logout internationalization; updated more global lang keys