Commit Graph

593 Commits (8bbd7d971b83371c1d61d7e9f47c1a4b41c99f7c)

Author SHA1 Message Date
Julian Lam f50d77bca0 resolved
Baris Soner Usakli fd3efd59f9 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 495fded6dd closes
Julian Lam 031e8128c7 fixed , added new page string for popular topics
Julian Lam bc7eb501c8 same for topics (translation + pagination)
Julian Lam 0b0b74a559 properly translating strings in category nojs template, and added pagination (so not all topics are loaded on every request)
Julian Lam 172b617cbc using 'trust proxy' on proxied requests
Micheil Smith ee0f9d2bbe Rename themes_dir to themes_path for consistency with other configuration options
Julian Lam 28731e2dbd minor typo, and a fix I missed
Julian Lam f698166395 minor fixes to paths accidentally introduced in
Julian Lam 9d8aff5e63 fixed theme previews
Micheil Smith 691fde0a27 Added ability to change where themes are stored via themes_dir configuration option
themes_dir is resolved to be relative to the root of the NodeBB install.
Baris Soner Usakli a909a25393 closes
Julian Lam e2c6eca36e fixed
Baris Soner Usakli 9f663411db brand logo fix
Baris Soner Usakli 475f9bea04 closes , last online wont give away your invisible status
Baris Soner Usakli bc7fd3a724 fix for favicon
Micheil Smith 33607e0cd9 Move feed routing and logic to src/routes/feeds.js
Micheil Smith 8cd1005a03 Reworked startup sequence to respect server.listen() failures and timings.
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