Commit Graph

78 Commits

Author SHA1 Message Date
William Boman
5e38060567 clientManager: don't write user configs outside of lounge's users dir 2016-05-07 13:35:16 +02:00
Pavel Djundik
ede3131168 Add global logging helper 2016-04-27 00:05:55 +03:00
Pavel Djundik
ad3bdef542 Fix not being able to remove networks from user config 2016-04-02 11:16:31 +03:00
Pavel Djundik
bd370699fd Fix crash and remove remaining 0777 mode 2016-03-05 20:31:29 +02:00
Maxime Poulin
b70c0a98fe Remove attempts to set file modes
After some testing and manually trying to set sane file modes, it turns out the umask still applies. So it seems the logical way to handle this is to actually rely on the OS umask to set proper permissions.
2016-02-27 21:34:39 -05:00
Daniel Llewellyn
b79a918be8 frontend password change functionality
- refactor clientManager.js to allow configuration parsing as a serparate
  function.
  - refactor clientManager.js to add configuration writing function.
  - add server.js changes to allow for new password-change functionality
  - add password change ui to "settings" screen
  - refactor client.js to use new clientManager functionality for saving
    the configuration files
2016-02-26 18:38:15 +00:00
Pavel Djundik
19bc4f37e0 Update lodash 2016-02-19 15:13:53 +02:00
William Boman
8fdfd70c7e Comply with ESLint 2015-10-26 03:01:47 +01:00
Mattias Erming
12152b8104 Ignore folders in 'users/' 2014-10-15 00:24:29 +02:00
Mattias Erming
1a620e1d54 Change 'users/' folder structure 2014-10-14 22:05:16 +02:00
Mattias Erming
dcdec78c4e Change 'logs/' location 2014-10-14 21:25:36 +02:00
Mattias Erming
193b30b8a7 Remove user reload for now 2014-10-14 21:14:14 +02:00
Mattias Erming
377e778f5d Move config.js 2014-10-14 21:10:09 +02:00
XeonCore
8a61e4e969 Refactored Autoload
Autoload now uses kernel events to watch files on disk. This greatly increases performance and reliability. Autoload will also watch user.json files for changes and reload the users data.
2014-10-12 19:30:22 +11:00
XeonCore
0ba67481fb Listen to SIGHUP and reload users
Listens for a 'SIGHUP' signal and reloads users when it gets one. The signal won't be listened to if its running on Windows as a SIGHUP indicates a console window closing.
2014-10-12 17:52:51 +11:00
Mattias Erming
72354700f0 Fix add user 2014-10-04 15:05:19 -07:00
Mattias Erming
2ed7d6364c Added '--home <path>' option 2014-10-03 16:33:44 -07:00
Mattias Erming
bf8939cf06 List users on server start 2014-09-30 13:23:14 -07:00
Mattias Erming
4d9b58ecd5 Autoload users 2014-09-24 15:23:54 -07:00
Mattias Erming
695e76a544 Added logging 2014-09-16 12:47:01 -07:00
YuviPanda
9b2095fcbc Fix scope error in ClientManager.loadUser 2014-09-13 18:51:34 +01:00
Sascha Depold
aa2406eb4b Load home directory from helper and make it configurable. 2014-09-13 14:26:45 +02:00
Mattias Erming
752c4c491b Save users in ~/.shout/ 2014-08-26 11:01:26 -07:00
Mattias Erming
a904de5d7a Minor changes 2014-08-18 17:07:21 -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