Commit Graph

32 Commits

Author SHA1 Message Date
Jérémie Astori
f221121998
Inform when no users during autoload to take into account removing the last user 2017-08-23 13:21:14 -04:00
Jérémie Astori
90842267e8
Do not prevent server to run when there are no users in private mode 2017-08-23 13:20:46 -04:00
Jérémie Astori
98bfe349d9
Add documentation for LOUNGE_HOME environment variable in the CLI helper 2017-08-21 01:49:32 -04:00
Matthew Saunders
86ed0b6e59 Update arg parsing and default 'lounge' to 'lounge --help' 2017-03-04 15:58:44 -05:00
Jérémie Astori
6c546b2098 Fix CLI options on the start command
I know it is proposed to deprecate them in favor of a more generic one (`-c port=80`), but in the meantime the existing ones should work properly.
2016-12-15 01:29:44 -05:00
Jérémie Astori
baf3348cda Normalize colors and content of the CLI tools 2016-12-15 01:13:43 -05:00
Pavel Djundik
aa02fd5180 Enforce more eslint rules 2016-10-09 17:55:37 -04:00
Jérémie Astori
caa46042bf Enforce strict mode across all JS files with ESLint
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
Johan Lindskogen
987474cfc1 implementing LDAP support 2016-07-29 21:28:00 -04:00
Pavel Djundik
100262ad1f Cache loaded config and merge it with defaults
Fixes #249
2016-06-26 19:30:25 +03:00
Pavel Djundik
ede3131168 Add global logging helper 2016-04-27 00:05:55 +03:00
Jérémie Astori
96158ba43d Rename variable corresponding to the server 2016-02-10 06:20:05 +00:00
Jérémie Astori
39dc4e8957 Update name and link to repo to new project 2016-02-10 06:20:05 +00:00
William Boman
8fdfd70c7e Comply with ESLint 2015-10-26 03:01:47 +01:00
Mattias Erming
e914ed50eb Fix '--home' option 2014-10-14 22:53:26 +02:00
Mattias Erming
377e778f5d Move config.js 2014-10-14 21:10:09 +02:00
Mattias Erming
4dc9c66859 Bring back process.env variables 2014-10-14 20:47:49 +02:00
Mattias Erming
d1296abf12 Clean up server options 2014-10-11 14:35:28 +02:00
XeonCore
dbd423e5a1 Allow binding to a local IP 2014-10-11 17:17:41 +11:00
Mattias Erming
2ed7d6364c Added '--home <path>' option 2014-10-03 16:33:44 -07:00
Mattias Erming
656900448b Prevent private mode when no user exists 2014-10-01 12:05:07 -07:00
Shell Turner
7e4534afa9 Always go through the Helper object to load config 2014-10-01 18:53:54 +02:00
Mattias Erming
7defba55eb Added '-v, --version' option 2014-09-15 12:51:04 -07:00
Mattias Erming
3c76399cd0 Added '--public' and '--private' options 2014-09-15 12:37:05 -07:00
YuviPanda
f752d55b37 Add missing semicolon 2014-09-13 18:51:34 +01:00
Mattias Erming
221ed4b980 Change config.json to config.js 2014-09-13 09:41:11 -07:00
Mattias Erming
74d0765e00 Better --help output 2014-09-09 13:06:36 -07:00
Stuart P. Bentley
3cfa1f42b2 Use PORT and IP environment variables
This makes Shout Heroku / Dokku / Plusku compatible.
2014-09-09 11:20:24 +00:00
Jonathan Huot
3a093dacd8 Added listen IP parameter. Listening on localhost allow to put Nginx/Varnish in front of shout server 2014-09-09 09:48:53 +02:00
Mattias Erming
2f5be12d00 Minor change 2014-09-08 10:28:12 -07:00
Mattias Erming
90cce21e3a Minor changes 2014-08-26 11:15:17 -07:00
Mattias Erming
6be53fba43 Rename cli folder 2014-08-25 02:40:13 -07:00