Commit Graph

610 Commits

Author SHA1 Message Date
barisusakli
ca294fc6ec closes #3663 2015-09-29 18:22:47 -04:00
Julian Lam
160cf93802 Fix regression caused by 4f766ac 2015-09-11 16:12:47 -04:00
Julian Lam
4f766ac7b5 Updated cache buster logic
Removed css and script busters in favour of a uuid/guid cache
buster that is generated when the app starts.

This change means that in the event your NodeBB crashes often,
users will not be able to rely on their browser cache to serve
an unchanged style/js file, but if that's the case, you've
got bigger problems anyway.

re: #3573
2015-09-11 16:04:31 -04:00
Julian Lam
7e6703c18e more line ending conversion #3343 2015-07-21 11:23:16 -04:00
barisusakli
93fd938913 removed setTimeout 2015-05-12 16:32:30 -04:00
barisusakli
3063da83ef argument fix for static/action hooks 2015-04-28 15:09:17 -04:00
Julian Lam
a462b10f94 nevermind... (@barisusakli 🧌) 2015-04-27 23:05:14 -04:00
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 2015-04-27 22:51:44 -04:00
barisusakli
2286d1137b remove tab 2015-04-27 20:32:37 -04:00
barisusakli
d946a2fcbd closes #3098
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
2015-04-27 20:26:02 -04:00
psychobunny
2fbe7a8190 webserver: only start listening _after_ everything is compiled 2015-04-27 14:46:05 -04:00
barisusakli
0d6772c30b warning/errors on invalid ports config 2015-04-17 17:52:11 -04:00
Julian Lam
4fffe4da94 moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added 2015-04-16 14:28:04 -04:00
Fokke Zandbergen
f0836f4107 Skip setTimeout if it doesn't exist (<= 0.10.36) 2015-03-10 10:36:34 +01:00
psychobunny
e5c842d923 ability to send in extensions (comma delimited) to --from-file 2015-02-24 15:33:37 -05:00
psychobunny
eb6754c5eb nice, I figured out how to speed up grunt watch 2015-02-24 12:56:49 -05:00
psychobunny
540facaaab try #2 (I give up, grunt-watch seems so unpredictable... on windows anyways) 2015-02-17 19:18:55 -05:00
Julian Lam
aa62c52580 closed #2583 2015-01-07 16:21:20 -05:00
Julian Lam
3deb423c55 testing socket availability before attempting to bind 2014-12-10 19:44:27 -05:00
Julian Lam
68e761bed0 if using sockets, reset the umask back to the old value after listening 2014-12-10 18:16:09 -05:00
Julian Lam
b565f3ac0a closed #2497 2014-12-09 10:27:05 -05:00
barisusakli
64c0e1df61 settimeout 2014-12-04 14:29:48 -05:00
barisusakli
9e9b138afb removed unused code 2014-12-03 23:13:26 -05:00
barisusakli
64e13df14c removed node cluster spawn procs on ports 2014-12-03 14:03:41 -05:00
barisusakli
1723894e5a merge 2014-11-30 01:50:49 -05:00
Julian Lam
d430ef3983 second pass, #1984 2014-11-29 22:03:49 -05:00
Julian Lam
d5e473609c first pass, #1984 2014-11-29 21:54:58 -05:00
barisusakli
1abe35092b cluster socket.io fixes
close proxy server on loader.stop
changed handles to object
2014-11-27 15:36:05 -05:00
barisusakli
785790c414 moved handle close to fork worker 2014-11-27 14:09:01 -05:00
barisusakli
d1fcb50c7d cluster sticky session 2014-11-26 17:24:49 -05:00
psychobunny
3aa18ebb12 no need to inform attempt to listen to address 2014-11-14 15:40:08 -05:00
barisusakli
5c3af6f549 removed webserver.init 2014-11-14 15:31:45 -05:00
barisusakli
363057cf49 closes #2390 2014-11-14 15:19:26 -05:00
barisusakli
20314991a4 tmp error check 2014-10-28 00:33:58 -04:00
Julian Lam
1a90de7dd6 added new --from-file flag that will load js/css from the precompiled file instead of recompiling it on startup 2014-10-21 15:36:13 -04:00
Julian Lam
b7ba6a0d8f fixed #2214 - 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. 2014-10-03 01:09:35 -04:00
Julian Lam
7597c654a0 refactored plugin and auth init a bit, and fixed issue where successive reloads caused old login strategies to be inadvertently preserved 2014-09-21 14:29:27 -04:00
Julian Lam
dab3667773 re: #2108, auth re-routing 2014-09-19 22:53:57 -04:00
Julian Lam
7255ce3dbe primary worker support, and added notif pruning to primary worker jobs 2014-09-05 13:44:56 -04:00
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 2014-09-04 21:22:34 -04:00
Julian Lam
2d0877f80e better handling of port in use errors with cluster 2014-09-04 20:07:55 -04:00
Julian Lam
08abbe19bc zero downtime and reload support with cluster module 2014-09-04 17:09:57 -04:00
Julian Lam
de41896770 restart handling and crash detection 2014-09-03 15:24:47 -04:00
barisusakli
298f14ad27 removed cluster from app.js 2014-09-03 12:31:37 -04:00
barisusakli
0f46051fcf Merge remote-tracking branch 'origin/cluster-loader' into cluster 2014-09-03 12:28:51 -04:00
Julian Lam
58a73b52b5 work-in-progress commit to get cluster module working with loader.js 2014-09-03 01:24:26 -04:00
barisusakli
cbe3b5b6dc testing 2014-09-02 23:35:24 -04:00
Julian Lam
2bfa7d5b97 closed #2012 2014-08-25 11:57:35 -04:00
Julian Lam
0c4a788698 added callbacks to css and js reloading, issue #2010 2014-08-25 11:57:35 -04:00
Julian Lam
ba91d7aba6 proof-of-concept for hot-swapping of routes 2014-08-25 11:57:34 -04:00