Commit graph

70 commits

Author SHA1 Message Date
William Boman 99218341ec consolidate version numbers throughout all interfaces 2016-10-10 21:56:57 +02: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
William Boman 4a75a04402 command-line: fall back to LOUNGE_HOME env variable 2016-06-13 20:22:58 +02:00
Daniel 3a2d97af6a Supersede mkdirp with fs-extra.
Ensure USERS_PATH exists at start.

Remove unnecessary USER_PATH check.

Use fs-extra's copy to write default config.
2016-06-11 19:35:40 +01:00
Pavel Djundik dcec9f3c37 Fix overriding home folder 2016-05-15 17:02:53 -04:00
Jérémie Astori fe85873f1e Replace all concatenated paths with Node's path.join 2016-05-15 17:01:10 -04:00
Pavel Djundik d9a0dd9406 Use lowercase global
GLOBAL shows a deprecated warning in node 6
2016-04-28 21:36:09 +03:00
Jérémie Astori 21fb0e0709 Merge pull request #257 from thelounge/xpaw/console-log
Add global logging helper
2016-04-27 02:43:54 -04:00
Jérémie Astori 1150d646cb Merge pull request #205 from maxpoulin64/I-194
Restrict access to the home directory by default
2016-04-27 02:25:30 -04:00
Pavel Djundik ede3131168 Add global logging helper 2016-04-27 00:05:55 +03:00
Pavel Djundik f4ac2aad19 Fix loading config before HOME variable is set 2016-04-19 23:58:49 +03:00
Maxime Poulin 346fb83abe Restrict access to the home directory by default
Follow up on #165
Closes #194
2016-03-19 18:59:45 -04:00
Mattias Erming 4d525eba88 Fix config 2014-11-06 11:48:10 +00: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 2ed7d6364c Added '--home <path>' option 2014-10-03 16:33:44 -07:00
Mattias Erming 7defba55eb Added '-v, --version' option 2014-09-15 12:51:04 -07:00
Mattias Erming d53c0716e6 Added 'shout reset' command 2014-09-11 14:00:18 -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
Renamed from src/cli/index.js (Browse further)