Commit graph

32 commits

Author SHA1 Message Date
sfan5
17b174dddb Use the DNS result order returned by the OS
Effectively, this stops Node from always preferring IPv4.
2022-02-15 07:44:13 +01:00
Alistair McKinlay
133e7bf710 Format js/vue with prettier 2019-07-19 11:27:40 +01:00
Pavel Djundik
8635f2f3d8 Fix missing colors dependency, simplify version warning 2018-11-27 13:15:01 +02:00
Pavel Djundik
c733e72e7a Auto-fix code for padding-line-between-statements rule 2018-02-20 09:28:04 +02:00
Pavel Djundik
a3e448acf5 Enable no-var rule
Fixes #1961
2018-02-19 19:49:39 +02:00
Jérémie Astori
6013a02fc2 Exit the program when the Node.js version is incompatible with The Lounge 2018-02-19 18:30:00 +02:00
Jérémie Astori
421d2b7b70 Improve the Node version warning because why not
This makes the warning look nice and consistent with the other logs we display, while being safe to never break if a dependency/loaded file is not compatible with this version of Node.
Note that there is some ES6 syntax (`let`, arrow functions, template literals), but The Lounge has not been compatible with Node v0.10 for a very long time now.
2018-02-19 18:30:00 +02:00
Jérémie Astori
b8399471b3
Enable ESLint no-console rule to avoid future mistakes 2017-09-17 21:50:21 -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
Pavel Djundik
12551c06b6 Perform node version check as soon as possible 2016-06-16 11:13:34 +03:00
William Boman
8fdfd70c7e Comply with ESLint 2015-10-26 03:01:47 +01:00
Mattias Erming
6be53fba43 Rename cli folder 2014-08-25 02:40:13 -07:00
Mattias Erming
5e9c032591 Move cli code 2014-08-18 18:18:40 -07:00
Mattias Erming
b36e069895 Update cli commands 2014-08-17 06:33:48 -07:00
Mattias Erming
ac156544f0 Fetch remote images 2014-08-16 14:19:15 -07:00
Mattias Erming
68922365d5 Check permissions for cli commands 2014-08-16 09:15:59 -07:00
Mattias Erming
67375a2600 Updated the cli 2014-08-14 10:26:03 -07:00
Mattias Erming
eb7c40276e Run private server by default
Use `shout start --public` or edit your `config.json` to override.
2014-08-14 09:37:26 -07:00
Mattias Erming
43b6310481 Added user loading 2014-08-13 18:52:02 -07:00
Mattias Erming
c870dc8c15 Added ClientManager class 2014-08-13 16:43:25 -07:00
Mattias Erming
cd1383c1f0 Added --port option 2014-08-05 01:44:29 -07:00
Mattias Erming
4b21c319c2 Turn index.js into an executable 2014-08-05 01:32:50 -07:00
Mattias Erming
928220c6c1 Rename lib to src 2014-08-05 00:48:14 -07:00
Mattias Erming
ce792d1a60 Implemented client.connect() 2014-07-06 17:22:43 +02:00
Mattias Erming
8e4cdc3e9f Add models and plugins 2014-06-26 16:06:02 -07:00
Mattias Erming
7370b10c22 Begin rewrite 2014-06-26 09:14:45 -07:00
Mattias Erming
20a87bc852 Release 0.4.0 2014-06-15 19:35:43 +02:00
Toms Mikoss
824ac10fd4 Ensure we are operating in root folder 2014-06-13 17:01:45 +03:00
Mattias Erming
a23a446145 Added config and auto-connect 2014-04-06 00:01:19 +02:00
Mattias Erming
dc0add0fef Remove code 2014-03-24 14:44:41 +01:00
Mattias Erming
b298681b4e Removing commander dependency 2014-03-24 12:30:28 +01:00
Mattias Erming
79ab3af7fc Start script 2014-03-16 22:32:26 +01:00
Renamed from app.js (Browse further)