Commit Graph

655 Commits (a2662f8b696918f52a712a0623fe0b2a55b13573)

Author SHA1 Message Date
barisusakli 3063da83ef argument fix for static/action hooks
Julian Lam a462b10f94 nevermind... (@barisusakli 🧌)
Julian Lam 379bdd12e0 fixed improper parsing of url in loader, and updated mongo init to not send anything in cb except err. Also updated webserver init so that it doesn't expect stuff from static:app.preload
barisusakli 2286d1137b remove tab
barisusakli d946a2fcbd closes
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
psychobunny 2fbe7a8190 webserver: only start listening _after_ everything is compiled
barisusakli 0d6772c30b warning/errors on invalid ports config
Julian Lam 4fffe4da94 moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added
Fokke Zandbergen f0836f4107 Skip setTimeout if it doesn't exist (<= 0.10.36)
psychobunny e5c842d923 ability to send in extensions (comma delimited) to --from-file
psychobunny eb6754c5eb nice, I figured out how to speed up grunt watch
psychobunny 540facaaab try (I give up, grunt-watch seems so unpredictable... on windows anyways)
Julian Lam aa62c52580 closed
Julian Lam 3deb423c55 testing socket availability before attempting to bind
Julian Lam 68e761bed0 if using sockets, reset the umask back to the old value after listening
Julian Lam b565f3ac0a closed
barisusakli 64c0e1df61 settimeout
barisusakli 9e9b138afb removed unused code
barisusakli 64e13df14c removed node cluster spawn procs on ports
barisusakli 1723894e5a merge
Julian Lam d430ef3983 second pass,
Julian Lam d5e473609c first pass,
barisusakli 1abe35092b cluster socket.io fixes
close proxy server on loader.stop
changed handles to object
barisusakli 785790c414 moved handle close to fork worker
barisusakli d1fcb50c7d cluster sticky session
psychobunny 3aa18ebb12 no need to inform attempt to listen to address
barisusakli 5c3af6f549 removed webserver.init
barisusakli 363057cf49 closes
barisusakli 20314991a4 tmp error check
Julian Lam 1a90de7dd6 added new --from-file flag that will load js/css from the precompiled file instead of recompiling it on startup
Julian Lam b7ba6a0d8f fixed - each individual thread will create its own logrotate write handler, because if one is closed, everything crashes in a cascade effect because we're calling .write() after .end(), bleh.
Julian Lam 7597c654a0 refactored plugin and auth init a bit, and fixed issue where successive reloads caused old login strategies to be inadvertently preserved
Julian Lam dab3667773 re: , auth re-routing
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