Commit Graph

672 Commits (67ca1881bdbe1dba855a1bc62ddc7a45fd5e7491)

Author SHA1 Message Date
Julian Lam 7255ce3dbe primary worker support, and added notif pruning to primary worker jobs
Julian Lam fae169697e removing listener for templates compilation, in order to resolve race condition that was causing slow servers to not actually end up binding to the port as expected
Julian Lam 2d0877f80e better handling of port in use errors with cluster
Julian Lam 08abbe19bc zero downtime and reload support with cluster module
Julian Lam de41896770 restart handling and crash detection
barisusakli 298f14ad27 removed cluster from app.js
barisusakli 0f46051fcf Merge remote-tracking branch 'origin/cluster-loader' into cluster
Julian Lam 58a73b52b5 work-in-progress commit to get cluster module working with loader.js
barisusakli cbe3b5b6dc testing
Julian Lam 2bfa7d5b97 closed
Julian Lam 0c4a788698 added callbacks to css and js reloading, issue
Julian Lam ba91d7aba6 proof-of-concept for hot-swapping of routes
barisusakli 24ebf20d7e first commit
psychobunny f6cf36ca29 emit nodebb:ready
psychobunny 646f0f00b3 move "NodeBB Ready" message to when it's actually ready
Julian Lam 970b259e06 fixed
Julian Lam a32fd3f6f9 fixed
Julian Lam df8728c785 allowing plugins to define new sounds -- woot.
Also moving the core sounds into a separate package, soundpack-default
Julian Lam 7a993eb2ca closed
Julian Lam f3a78c2b6f - first pass
psychobunny 3ae8aa1c55 helpers.js (client/server); closes
Julian Lam 17dd113a94 fixed issue where plugin css and js wasn't loaded -- also less files no longer blow up
Julian Lam 8c7b474e8b moved fontawesome CSS into stylesheet.css, and updating the js and css middlewares to compile at app start, not on first load
Julian Lam 2b8a7c73ac daily digest emails! resolved
psychobunny 941c3b2d7e added emitter class; express.listen only after background tasks complete; closes
psychobunny 6563a72b5b fixed emailer templates
psychobunny 1ef95bd09e Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	app.js
	public/templates/category.tpl
	public/templates/popular.tpl
	public/templates/recent.tpl
	public/templates/unread.tpl
	src/routes/plugins.js
	src/webserver.js
Julian Lam f00f7c8818 fixed apple-touch-icon for subfolder installs
Julian Lam 5a8a3627d2 bringing subfolder installations to v0.4.0 - JUST FOR @PLANNER
Julian Lam 5880590425 removing "pluginCSS", "css" in plugins is now included directly into stylesheet.css. This is a breaking change.
fixes 
psychobunny 178edd150a moved action:app.load out of webserver; passing in app, mdw, and controllers into action:app.load. now we can create routes dynamically ;)
psychobunny 8f7a7fec7d more cleanup; commenting out custom plugin routes until its fixed properly
psychobunny c0cd6148f4 one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files
psychobunny 1dbc47b890 deps cleanup
psychobunny d471ea2d5b app.create_route removed
psychobunny 6820e9e662 random jshinting expedition
psychobunny f0dfee5402 clean up
psychobunny 6c3c669e31 moved middleware out of webserver.js and into middleware.js
psychobunny 936e52a43f require db
psychobunny 4d598dcd63 moved process events out of webserver.js and into app.js
psychobunny f46e563b8a moved all route definitions in webserver.js into routes/index.js
psychobunny 08a9ce4950 moved all app.configure() code into middleware/index.js + organization/cleanup
psychobunny 804da0d8de removed unused deps in webser.js
psychobunny 26853d024e Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Baris Soner Usakli 7081c7dcc4 moved ip log to api
psychobunny f35c14ee07 bugfixes + cleanup for accounts and users routes
psychobunny fa103b2d6e finally done with routes/user.js; accounts.getUserByUID; bug fixing and cleanup
psychobunny 08d3d9feb3 accounts.uploadPicture
psychobunny e67f6d2169 re-added filter:footer.build temporarily - to be deprecated for 0.4x
psychobunny cb15655c9c app.checkAccountPermissions middleware; some clean up & bug fixes
psychobunny d072ad60de all users/ pages converted
psychobunny 7c873c4314 decided to functionally separate accounts from users
psychobunny e64d87cb1d all user account pages; all static pages; outgoing page
psychobunny 00df660fa5 robots + sitemap; some clean up
psychobunny 942d16a3b4 confirmEmail route
psychobunny dae7b06f4d initial login and register routes
psychobunny e193d58112 unreadTotal route
psychobunny 08c0a7fa5e removing old unread and recent routes
psychobunny 062e35c89e app.authenticate middleware; added new recent, unread routes
psychobunny 4435a20d90 fixed merge conflict
psychobunny 27b99d5c56 webserver.js refactor init
Julian Lam 5b301772bb added daemon capability to ./nodebb start, npm start/stop scripts
Baris Soner Usakli 38e4a6c8b0 better check
Baris Soner Usakli b8c089cfaa added check for invalid tags
psychobunny 2247a8b21f Merge branch 'master' of https://github.com/designcreateplay/NodeBB
psychobunny aee2b2ecd0 allow express to serve parsed tpls via res.render
Baris Soner Usakli ea6cf3bbd5 more cleanup and changes to topics
Julian Lam 12e3e45398 closed - js is now minified and saved to memory the first time it is requested (on prod mode), same with theme CSS
Julian Lam 53f1e4d3d4 dedicated stylesheet.css route for LESS compilation, no longer usin less-middleware for base theme...
Julian Lam c48d81379b logging unique IPs as well
Julian Lam 64c4dd7e63 communication between loader and child
Julian Lam ef63d816fe NodeBB will now listen to SIGINT signal
Baris Soner Usakli 29ba015d69 fixed topic thumbs
Baris Soner Usakli de34beaf6d closes
Julian Lam 2ba11dce15 hiding search buttons and route when search is not configured
Julian Lam 94f67f518e fixed issue where a URL as the logo caused apple-touch-icon to explode
akhoury 63c9269240 merged composer and some other files with master
akhoury 25207852e8 added topics thumbnails support
Julian Lam bc10080c49 close
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