Commit Graph

357 Commits (0070f5c1b20c804cd0fc30cab57f57df45c45b41)

Author SHA1 Message Date
Fokke Zandbergen 4b1c9ce9a2 Allow Winston's log level to be set via nconf
Defaults to `info` for `production` and `verbose` otherwise, like it used to.
psychobunny 93fe660892 woops
psychobunny 15a8ebaeff only load rjs modules that are required on startup
barisusakli ed72bacb1f closes
added back base_url
Julian Lam 96526a37a3 fixed
Julian Lam 4a0bc1fb03 finished up executable rewrite, and prettified reset script output
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
psychobunny 948ad5fb44 Merge remote-tracking branch 'origin/master' into web-install
Julian Lam b604c9d5e1 updated install script to accept environment variables
updated upgrade script to execute callback when present
updated install script to not fire upgrades unless necessary
updated install script to write directly to console, and not through winston
if a password is not provided, one is auto-generated
psychobunny 60d655e32b installer - got the basics in
psychobunny 2dc20e690f web install init
Fokke Zandbergen 1eee970ebb Allow NodeBB version to be set via config to package.json version can be incremented when needed.
ahwayakchih 7ed41a1f60 Set separator for loading environment variables to `nconf`, as discussed on https://github.com/NodeBB/NodeBB/pull/2778#issuecomment-76209393
psychobunny eb6754c5eb nice, I figured out how to speed up grunt watch
Barış Soner Uşaklı 55884220b4 upgrade plugins:active to zset
Barış Soner Uşaklı b40b87dd36 dont add relative_path to uploads it is added on the way out
barisusakli b7602c6e80 removed winston.err
barisusakli 38e7ecbb41 setRemove doesnt return result
psychobunny 7c2b041633 ./nodebb reset theme - singular imo
barisusakli 2423bd18eb jobs disabled is boolean, great
barisusakli 989ca19df5 added jobsDisabled flag
barisusakli 6b20cf5cff
barisusakli 64e13df14c removed node cluster spawn procs on ports
barisusakli 3ad3e781f3 fix tests
barisusakli 2fbaed9cdf moved nconf setup to loadConfig, fixed upload_url
Julian Lam 66bbbfcd22 fixed url being overwritten
Julian Lam 5cc30ca1a0 more cache hash fixes
barisusakli 957800b2c3 Merge remote-tracking branch 'origin/master' into socket.io1.x
Julian Lam a0860abaaa no need to set bcrypt_rounds, only used in one place.
barisusakli 62609b2db6 Merge remote-tracking branch 'origin/master' into socket.io1.x
Julian Lam 7f43fd4843 bugfix
barisusakli 1723894e5a merge
Julian Lam 03b106b03a final pass,
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
Julian Lam 23b14b3443 moving nearly all startup messages to verbose type
psychobunny 0202666ed0 taking a break with an almost completely pointless commit
barisusakli 8330a6e6d9 added plugin reset info as well
barisusakli 76933f4c37 closes
psychobunny c7ca2e2573 fixing time derp if minutes are singular
barisusakli 5c3af6f549 removed webserver.init
barisusakli 363057cf49 closes
psychobunny 2990b33dc6 linting
psychobunny a8402b228c updating winston timestamp
barisusakli b3544f644a relative path upload fixes
Julian Lam 286d14f614 allowing use of winston.verbose now
barisusakli f19bc2e2be removed error.log everything will go to output.log
barisusakli 56947b999e added timestamps to winston logs
Julian Lam aac923fb03 fised
psychobunny 8ef4ad6f14 Revert "reverting temporarily until we figure out why logs aren't showing up"
This reverts commit 59b3e6f78f.
psychobunny 59b3e6f78f reverting temporarily until we figure out why logs aren't showing up
barisusakli 834c4f8ff0 log stack
Julian Lam 97dba9ae39 fixed
Julian Lam f5f84d9946 fixing upgrade text to use nodebb executable, removed exposure of option to run without upgrading
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 343ff18014 closed
psychobunny f86e4256a1 semicolon
psychobunny 64b43d58ea moved core templates into nodebb core (admin, status pages, emails)
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 e5a35ce378 js propagation for cluster module, so only 1 thread minifies the js
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 cbe3b5b6dc testing
Julian Lam 9ea081deb3 sending 'bind' message to child proc instead of SIGCONT signal, which is not understood by Windows installs
Julian Lam 2bfa7d5b97 closed
psychobunny 8769f791bc closes
psychobunny 13f94ee32a updating copyright
barisusakli 4ab6a5d4b2 removed double meta require
barisusakli 04144ed75d missing semicolon
barisusakli f5232dbc96 check db errors on start and upgrade
daxingplay ce13e8b64f missing comma fix
psychobunny 0e92c7ed94 use templates.js module instead
barisusakli 974e0823d8 copyright
psychobunny 85aa88e6ed show correct path on windows
psychobunny ff25c4600a yeah.. woops
psychobunny 281aa0049c init, attempt to increase cold load speed
Julian Lam b0b28fad8e removing console logs
psychobunny 4cd86affae update all files with new url
Julian Lam 52cb62960f added reset code to disable ONE plugin, updated FAQ
barisusakli 274acc8eec moved base_templates_path to load config
Julian Lam 970b259e06 fixed
Julian Lam 2b9b888aee minor jshinting
psychobunny 7fb5db76d3 updated copyright year
Julian Lam 7aa785b205 fixed problem with nodebb always restarting when SIGTERM'd -- @frissdiegurke
psychobunny 6f1a795f0e upload_url shouldn't use path.join
Julian Lam 5b38c3b9ee fixed
barisusakli 557426c1c9 translator refactor
no longer loads all language files on startup
psychobunny e5674dd5cc not all DB's use a hostname
Julian Lam 0a35195fc7 an attempt at addressing loader madness...
Julian Lam 1cc15a71d6 resolved
psychobunny ba1e04741b settings reset message
barisusakli c0145ad301 move db.init to reset function
barisusakli 2195b20385 closes
Julian Lam ba16f95d1f Resetting 'all' done in series now --
psychobunny 42c9185c7d closes
Julian Lam 320f187829 split reset into themes, plugins, and all --
barisusakli 82fabad364 closes
Ian Forsey 6ca5a42936 Allow absolute config paths
Julian Lam 2b8a7c73ac daily digest emails! resolved
Julian Lam da05330ded updated cron dependency to require v0.1.4 at least, due to fixes upstream
re-enabling notifications pruning
barisusakli 3f12e51045 removed relative path from upload_url
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 820cdf8a47 temporarily removing cronjob until upstream bugs are fixed -- resolved
psychobunny 68d526b762 deprecated templates.ready, templates.init, templates.loadServer; start webserver immediately without having to wait for templates.js
psychobunny 1dc63caf77 using views_dir config
Baris Soner Usakli 8c11299197 template language fix
psychobunny 48df0cf889 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	src/routes/admin.js
Baris Soner Usakli 50f83abf75 closes 1150
psychobunny 6820e9e662 random jshinting expedition
psychobunny 936e52a43f require db
psychobunny 4d598dcd63 moved process events out of webserver.js and into app.js
Baris Soner Usakli fb1313ec90 load config change
Julian Lam 2088903358 added check to upgrade.upgrade
psychobunny e912ce038b closes
Micheil Smith 74049dccb1 Added log message about where configuration is being loaded from
Micheil Smith 0672c7276d Fix nconf.file not really using config file
Micheil Smith ee0f9d2bbe Rename themes_dir to themes_path for consistency with other configuration options
Julian Lam d933e81b37 fixed
Micheil Smith a857d4cab0 Added logging on start up detailing where themes are being loaded from.
Micheil Smith 8866de8b30 Improved logging at startup
Micheil Smith ceffd2e1e0 Remove warnings about themes being out of date
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.
Micheil Smith 8cd1005a03 Reworked startup sequence to respect server.listen() failures and timings.
Baris Soner Usakli 0afd4ffdda app.js cleanup
Baris Soner Usakli 2e786cc4d1 closes , removed global translator, templates and server objects
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 b945dfc71d closes
Julian Lam 0c0ae6560a re: -- removed upgrade directives for v0.2.x branch, and added minSchemaDate check so that if you try to upgrade without doing all upgrades in a previous branch, it will abort.
psychobunny df53d836e5 fixed dependency check for cerulean
Baris Soner Usakli 8bc0096b00 dont closed composer if callback isn't called
Julian Lam adb8f80b86 interim commit - removed calls to websockets.js, beginning porting to namespaced files
psychobunny b21a202142 my data went on a date and found out we have out of date data
psychobunny 032d46465d closes
Baris Soner Usakli dfc8aacbae closes , removed create collection calls
Julian Lam 71681b936f fixed
psychobunny fda68bc5dd added templates.setGlobal - allows you to add default template vars that are sent to all tpls upon parsing; added relative_path as global
Baris Soner Usakli d43f3cebc6 closes , closes
Baris Soner Usakli 204913c63d Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 6c30437c47 closes , refactor admin image uploads, fixed gif uploads
psychobunny 69e0aa338d resolved some todo that's been in there for many months
psychobunny ccef51095a fix typo
psychobunny 4459d9d4e0 closes
Baris Soner Usakli bc8bb352a8 added stdout check to exec
Baris Soner Usakli d1d6605dcf closes
Baris Usakli f861d44d55 updated upgrade script to use mongo or redis
Baris Soner Usakli 6c70d37f1c removed reds from app.js
Baris Usakli e862a1c4cc added init method to database, progress made