Commit Graph

345 Commits (b54a311a0d3b97f7422188ed19daaa23d4af4d71)

Author SHA1 Message Date
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
Baris Usakli 91d6f83de4 more mongo work
Baris Usakli c9308efbec more work
Dan Rowe aed4e2792d Minify socket.io js
potential solution for issues/569
psychobunny 529c8acf6c app.js: added --install alias for --setup
Julian Lam a9ce8393e4 added footer.build and page.load hooks
Baris Usakli 0b922d3f60 possible fix for
Julian Lam 79c52dfe84 updated schema handling so that nodebb won't run unless you are up to date -- fixed
Julian Lam 5a96f5f64b removed filterBannedPosts method that seemed unused -- monkey-patching
install script to remember old values (if present, otherwise use defaults)
psychobunny 1d5a208896 themes - added ability to route custom templates serverside
Julian Lam 8ddf200ce7 Merge branch 'cli-help' of https://github.com/RefinedSoftwareLLC/NodeBB into RefinedSoftwareLLC-cli-help
Conflicts:
	app.js
Julian Lam 26d9cc56d3 added cronjob for notifications
RefinedSoftwareLLC 5e15f8683e Update app.js
Only check if file exists when no other supported --arguments are given.
Display that 0.0.0.0 is Any Address.
Moved upgrade section to after install section.
added CLI --help!
psychobunny bf677522a9 added additional_profile_info footer in posts view; plugins - filter:posts.custom_profile_info hook lets you add info to post block footer
also fixed app.alert - if title is not set then do not show title.
Julian Lam 01e04d60a9 fixing redis db in upgrade path
Julian Lam 12af2a7ff6 install script calling proper redis db
Julian Lam 06f2284bcd added output to show bound address on instance start
Baris Usakli eb1c1c78d4 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Usakli 0b0d64b52e logout/login changes, updateHeader changes
psychobunny 1fbc038e64 fixed conflicts, added new language key for users/online
psychobunny 5c7da4b686 fixed serverside templating; footer, logout internationalization; updated more global lang keys
Julian Lam 14720057c2 serving unminified libraries in development mode, minified otherwise
Julian Lam f39a7ada7c skipping minification if the minFile is already up-to-date - issue
Julian Lam d7ea24e218 issue - minifying css file and added jquery to minified compilation
Julian Lam e621d7e601 closed - autominifying client-side assets on load
psychobunny 5645bcee2d topic.json en lang; tested serverside internationalization in favourites; fixed some keys in login
psychobunny a631707db4 app.js + todo
psychobunny 8ec3371139 cerulean theme: new users view
Julian Lam ccca4d2914 fixed issue where meta was called before nconf loaded
psychobunny 64b071f277 nconf and redis wrapper no longer global objects. jshinted app.js. updated sockets.io to latest
psychobunny c789f4230d formatted app.js, updated jshintrc to include node
Julian Lam 49b201db0f added heroku support for dynamic port reading via process.env
Julian Lam d1c756306a updates to allow dynamic addition of static directories provided by plugins
Julian Lam 727da38fb6 fixing issue where upgrade path only applies db fixes to default redis host and port
Julian Lam 7b3384a6be fixing some bad logic in app starting
Julian Lam e32494879c closed
Julian Lam bec0b46a2c refactoring installation scripts to use node prompt module, lots of other fixes
fixed , fixed , fixed 
Julian Lam e5b26fdad0 removing node-rss dep
Baris Usakli ca72a4b0fc fixed comma to semicolon
Julian Lam 418700ce3f changing info to warn when config file not found
Julian Lam 3a12ba177a possibly fixing issue again
Julian Lam 28e1538fdb issue
Julian Lam 1961f01cab possibly fixing issue
Julian Lam aeebd069e2 fixing nconf issue where redis js was requiring redis configs before they were defined
Baris Usakli c647793512 meta config changes, refactors
Julian Lam 7cbb01a78a making RDB available to plugins without require
Baris Usakli c70c67394a closes
Baris Usakli 6e17ff7981 added winston, added wrapper for winston.error until they fix it, issue
Baris Usakli ca3629d89b forgot to commit oops
Baris Soner Usakli 46afbc0ba0 assorted config fixes
Baris Soner Usakli 04e0d075ec added upgrade file and nconf check
Julian Lam ec4ab19a1e first pass at plugin system -- not tested!
psychobunny e66cab23cf added a screening page for external links. removed forced target = _blank on external links for UX consideration
used http://www.deviantart.com/users/outgoing?http://www.nodebb.org/ for
inspiration
Julian Lam 0b545c7056 removing extra console log...
Julian Lam 3c4b2c8075 fixed oddities in base_url and url generation for subdirectoried instances
of NodeBB
Julian Lam ed967a0e2f applied minor suggestion suggested by @damianb in issue
closed  (regression due to text selection enhancement)
Julian Lam 815bd7c10a THIS IS A BREAKING CHANGE
===

Please run `node app --setup` after you pull this commit.

refactored install script to its own library in /src, updated redis config
params to be nconf compatible
Julian Lam 145898c3ba using nconf to manage config file now (issue )
Julian Lam 41b3eabf1a updating code to not use a hardcoded version number, but rather read the #
from package.json
Julian Lam d4a0b3d05a showing the proper version # on default MOTD and globalified "ver"
Baris Soner Usakli de55a35684 more fixes for relative paths
Baris Soner Usakli d3c5afd94c fixed conflict
Julian Lam e35ccf4aa6 more copyright info at top of app.js
Julian Lam 59083fc34c updating the main init script to output debug logs containing the GNU copyright disclaimer, as well as port information (to make log debugging easier).
Also added more information to the "Categories OK" message
Baris Usakli 6eb9af77e6 first pass at subfolder
Baris Usakli d66aef7812 moved bcrpyt rounds to config file
Baris Usakli bbee8e94bd fixes
Julian Lam 4d99870063 updating nodebb executable so that it sends a NODE_ENV environment
variable in, and modified app.js and redis lib to read it.
Julian Lam d0e5938788 merging in Peter Cellik's changes to allow NodeBB to work with a passworded Redis store. Fixes
Baris Usakli 3f3d81de44 admins can make others admins
Julian Lam 05b91caf6c noscript for home and category view (although it's not quite working for
category view yet)
Julian Lam 42e40e62d3 hotfixing bug where client-side config was incorrectly set up if port isn't being used
Julian Lam a09cfd9304 started work on noscript tags in pages (but blocked by template bug with block processing), allowed reverting of theme in ACP
introducing mixins css file
Julian Lam af17dead27 allowing the setup script to be triggered on-demand via command line argument
Julian Lam 85b9879ab8 patching app setup to also create the client-side config automatically.
also temporarily removing nodefly.
psychobunny 3a2152a1f8 added back nodefly. fixed package.json in a previous commit, our versioning of nodebb was what was breaking npm
psychobunny 4207928ac2 removed nodefly temporarily due to some issue with npm install
Julian Lam 0031af8d4f adding nodefly... just for fun. It'll need to be revamped later to remove the nodefly key.
Julian Lam fd350bbb4e nibbed out and hardcoded uid 1 as an admin... first registered user becomes an admin!!
Julian Lam 9af39622ed actually using identicon default across the site
Julian Lam eb15bd5ac0 cleanup moar
Julian Lam 23e759fc83 some cleanup and fixing breaking bug introduced by merge
Julian Lam 88bf9425db install script + patching up integration with install wizard
Julian Lam 65b6010d74 installation wizard under /install
Julian Lam 00a9ec0f12 interim commit
psychobunny a02a74604c moved CategoriesAdmin into its own file, hid popular/active, some jslinting + cleanup, renamed some fn calls to be more descriptive
Julian Lam 289219d0ee adding email header and footer
Julian Lam 26781157b3 refactoring posts, topics, and categories so that each "get" is moved up
one level. Topics.get will get all of the posts in a tid, etc.
psychobunny 47d491b266 some left over unfinished templates fixes from last week. deeper urls now take higher precedence.
psychobunny fb52dfc6c8 templates refactor part 2
updated so that tpls get loaded on demand as opposed to all at once on
load; added a function to pull the tpl list on load instead of having to
manually define new templates in code; some clean up; added utils.walk;
psychobunny ba8e0ea420 adding back global.templates to app.js
psychobunny 1cdbd376ba deprecated server side templates finally. code sharing between client side and server side templates; force_refresh parameter added to temasd
deprecated server side templates finally. code sharing between client
side and server side templates; force_refresh parameter added to
templates config.json; created initialization fn for webserver
Julian Lam b0cf97c5d6 editing features, part 1
Baris Usakli 073b87982b moved user routes into routers/user.js
Baris Usakli 188b1d5ada for andrew
Baris Usakli b429a31f6b more clean up
Baris Usakli 4c324664fa removed global modules
psychobunny b734ee5c50 homepage complete, hero unit et al.
psychobunny c80d178a57 duhsign for category home page
psychobunny fa64e84dcc fixed a bug in templates, introduced categories, added default setup script onload, moved home.tpl code over to category, created hierachies
Baris Usakli 8cedb33c82 Merge branch 'master' of https://github.com/psychobunny/node-forum
Baris Usakli 39b24436d0 removed global.socket, passing in socket to the functions now
psychobunny c73feeea2a hide alternate login strategies if config is not set
Baris Soner Usakli 20aa5d439e log server errors in browser
added uid to posts
Julian Lam f4b14df195 some more fixes to the session handling to ignore the /api folder, and
refactoring how the public directory is set up in webserver.js.

THIS COMMIT ALTERS NODEBB'S DEPENDENCIES!
Please run npm install after pulling.
Julian Lam 3eb4f0e1a2 commenting out global.uid setting
psychobunny d711a4e334 added post button, post window, added click handler to toaster alert, started on posts and topics schema and code
psychobunny b04d262fe4 init, just some testing