Jérémie Astori
cf64cb04c4
Fix token persistency across server restarts
...
This fixes a regression introduced by LDAP support addition
(https://github.com/thelounge/lounge/pull/477 ), which forces
users to re-login when the server restarts. This was originally
implemented in https://github.com/thelounge/lounge/pull/370 .
2016-08-10 02:26:47 -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
779aed7cd6
Use tabs when saving user configs
2016-06-19 20:16:50 +03:00
Daniel
f8044bfc96
Remove redundant variables ( #397 )
2016-06-12 09:43:35 +03:00
Pavel Djundik
643e07dead
Merge pull request #396 from hogofwar/capital
...
Capitalise constructor Oidentd
2016-06-12 09:43:02 +03:00
Daniel
29d94bf297
Capitalise constructor.
2016-06-11 21:03:59 +01: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
Maxime Poulin
fabb758985
Add support for oidentd spoofing
2016-06-02 23:59:19 -04:00
Jérémie Astori
fe85873f1e
Replace all concatenated paths with Node's path.join
2016-05-15 17:01:10 -04:00
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