Commit graph

47 commits

Author SHA1 Message Date
Pavel Djundik
099fb058c6 Merge pull request #1478 from eliemichel/pr-proper-ldap--rebased
Implement a proper LDAP authentication process
2017-09-04 09:02:58 +03:00
Elie Michel
00e54e49ac Add tests for LDAP auth plugin 2017-09-03 23:00:24 +02:00
Élie Michel
cfa6db10c7 Make new LDAP options backward compatible
Also draft some kind of plugin system for auth, although it essentially consists in writing a function
and there is no mechanism to automatically fallback from one auth to another
2017-09-03 23:00:23 +02:00
Jérémie Astori
d543123095 Bump default image prefetch limit to 2MB 2017-09-02 21:17:46 +03:00
Pavel Djundik
b79a6cce0c Add support for binding to unix sockets
Fixes #686.
Fixes #691.
2017-08-31 21:56:20 +03:00
Élie Michel
19710b90c0 Merge branch 'master' into pr-proper-ldap 2017-08-29 08:42:26 +02:00
Pavel Djundik
4a3026e11b Set default quit default message 2017-08-24 21:07:47 +03:00
Jérémie Astori
cdbefd3905
Make The Lounge private mode by default 2017-08-23 13:21:14 -04:00
Jérémie Astori
5e7a7a3870
Update CLI help with regard to recent deprecation of --home option
- Mark the option as deprecated (cannot be removed from the help, unfortunately)
- Add details to `lounge config` regarding `LOUNGE_HOME`
- Remove mention of `--home` in default config file
2017-08-16 00:33:33 -04:00
Pavel Djundik
f35a2809a7 Store preview images on disk for privacy, security and caching 2017-07-18 11:37:16 +03:00
Pavel Djundik
16bc465cfd Remove kilobyte ambiguity 2017-06-21 14:01:47 +03:00
Metsjeesus
fa51a2c281 Add CA bundle option in SSL 2017-04-15 19:12:21 +03:00
Élie Michel
642442c041 Implement a proper LDAP authentication process
The Lounge first log as a special user in order to search (as in LDAP's
'"search" verb) for the user's full DN. It then attempts to bind using the
found user DN and the user provided password.
2017-03-21 15:15:33 +01:00
Pavel Djundik
a8b93edd86 Change default maxHistory to 10000 2017-01-29 11:18:33 +02:00
Pavel Djundik
4dd79af9bb Option to log raw IRC traffic 2016-12-21 13:22:18 +02:00
Jérémie Astori
b01517861d Remove autoload option and always autoload users
Since @xPaw provided a really nice way to watch user config files, there is now no need to be cheap about it (it used to be run every second, possibly why it could be disabled via settings?).

This commit also improves the function a little bit by making use of ES6 syntax.

A warning gets displayed on the server console when the `autoload` option is still present in the config file.
2016-12-11 03:29:30 -05:00
Pavel Djundik
708788338c Add support for hexip ilines 2016-11-19 20:32:47 +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
Maxime Poulin
0c3dc31e31 Add debug config option for irc-fw debug log 2016-08-29 02:07:09 -04:00
Johan Lindskogen
987474cfc1 implementing LDAP support 2016-07-29 21:28:00 -04:00
Maxime Poulin
1b9c5d8996
Fix default configuration for host.
Similarly to kiwiirc/irc-framework#55, passing `undefined` there instead of `"0.0.0.0"` allows the OS to decide and use both IPv4 and IPv6.
2016-06-24 06:25:51 -04:00
Max-P
bc5abc4c92 Fix description of host and bind config options (#378)
Commit da54263b8e introduced a totally wrong description for those options. This one describes better what exactly those options do.
2016-06-16 01:15:24 +03:00
Maxime Poulin
fabb758985 Add support for oidentd spoofing 2016-06-02 23:59:19 -04:00
Jérémie Astori
ca06e63e98 Fix log directory in config defaults 2016-05-15 17:22:32 -04:00
Pavel Djundik
ac5e96cddf Update irc-framework 2016-05-12 10:15:37 +03:00
Maxime Poulin
96d282e73c
Add WEBIRC support
Fixes #181
2016-05-02 00:45:19 -04:00
Maxime Poulin
7209bcd58a Add config option to limit in-memory history size
This adds a (temporary?) config option to limit the amount of messages stored per channel to avoid the server's memory usage to grow as channels fills up with messages.
2016-04-06 03:29:35 -04:00
Jérémie Astori
3b0aa2df9b Update configuration file to reflect recent HTTP/2 support addition 2016-03-19 18:26:32 -04:00
xPaw
9e8bc44e3a Fix default socket.io transports 2016-03-19 18:48:36 +02:00
Pavel Djundik
aab7f298d8 Allow locking network configuration 2016-02-21 14:02:35 +02:00
Jérémie Astori
7746629f38 Merge pull request #13 from dubzi/fixed_freenode_url
Changed the hostname of freenode in the default config
2016-02-14 17:55:11 -05:00
Jérémie Astori
665cfbe317 Merge pull request #22 from thelounge/astorije/remove-foo-channel
Remove #foo channel from default config
2016-02-14 15:29:02 -05:00
Jérémie Astori
7701c3eaa6 Remove #foo channel from default config 2016-02-14 07:10:33 +00:00
Alistair McKinlay
3d159f64dc Merge pull request #1 from FryDay/master
Fix comments in config file
2016-02-13 09:37:47 +00:00
Jordan Day
da54263b8e Adds clarity to bind option default 2016-02-12 21:27:27 -06:00
dubzi
30fa879400 Changed the hostname of freenode to the correct one as suggested by their website 2016-02-12 12:54:41 +00:00
Jérémie Astori
7ff07efa4c Update project name in configuration default configuration file 2016-02-10 06:20:05 +00:00
Jordan Day
df1e7ad3a3 Fix comments in config file 2016-02-09 08:07:50 -06:00
Olivier Lambert
e5858744a2 Limit preview for large image files (fix #500) 2015-11-09 10:07:47 +01:00
Mattias Erming
feebaa440e Set prefetch default to 'false' 2015-09-18 22:11:17 +02:00
Kjetil Mehl
20103a29a5 Adds configurable network form display 2015-03-22 15:58:28 +01:00
Mattias Erming
4d525eba88 Fix config 2014-11-06 11:48:10 +00:00
Mattias Erming
ac6aeaeba2 Merge pull request #267 from rikukissa/master
Add socket.io transports to configuration
2014-11-05 23:41:55 +01:00
Mattias Erming
7aafa8a956 Fix username input 2014-11-05 23:19:29 +01:00
Riku Rouvila
aff5492ee4 add username input to user preferences 2014-11-02 17:44:52 +02:00
Riku Rouvila
9416c492dd add socket.io transports to configuration 2014-11-01 22:06:01 +02:00
Mattias Erming
377e778f5d Move config.js 2014-10-14 21:10:09 +02:00