Branch: refs/heads/bug55-conf-eval-modes Home: https://github.com/ngircd/ngircd Commit: decf98d5efce97f1abfbd125a9aae92a2e94b89f https://github.com/ngircd/ngircd/commit/decf98d5efce97f1abfbd125a9aae92a2e94... Author: michi michi+ngircd@dataswamp.org Date: 2020-03-28 (Sat, 28 Mar 2020)
Changed paths: M src/ngircd/channel.c M src/ngircd/conf.h
Log Message: ----------- Evaluate initial channel modes
Allow setting arbitrary channel modes in the config file.
Closes #55.
Commit: a3072ce698873d3732160b1cee63a35ccb75d5b4 https://github.com/ngircd/ngircd/commit/a3072ce698873d3732160b1cee63a35ccb75... Author: michi michi+ngircd@dataswamp.org Date: 2020-03-29 (Sun, 29 Mar 2020)
Changed paths: M src/ngircd/channel.c M src/ngircd/conf.c M src/ngircd/conf.h
Log Message: ----------- Allow multiple "Modes =" lines per [Channel] section
Commit: fed22184c57be6959b1906138ce83f5476ec2efa https://github.com/ngircd/ngircd/commit/fed22184c57be6959b1906138ce83f5476ec... Author: Alexander Barton alex@barton.de Date: 2020-03-29 (Sun, 29 Mar 2020)
Changed paths: M src/ngircd/channel.c
Log Message: ----------- Enhance logging while setting up predefined channels
Commit: 4d519cfdbf57344aeaa3610a302bf4c654c058f6 https://github.com/ngircd/ngircd/commit/4d519cfdbf57344aeaa3610a302bf4c654c0... Author: Alexander Barton alex@barton.de Date: 2020-03-29 (Sun, 29 Mar 2020)
Changed paths: M src/ngircd/channel.c M src/testsuite/server-login-test.e
Log Message: ----------- Predefined channles: Fix handling of legacy configuration options
Fix the handling of legacy "Key" and "MaxUsers" [Channel] settings:
- Activate them before evaluating the "Modes" parameter, to allow the latter to override those legacy options. - Enforce setting the respective +k/+l mode(s) to support the legacy "Mode = kl" notation, which was valid but is an invalid MODE string: key and limit are missing! So set them manually when "k" or "l" are detected in the first MODE parameter. - Sort modes +kl alphabetically, adjust test suite accordingly.
Commit: ba3b22b851d1b20fc918569a50e328ed7edf906d https://github.com/ngircd/ngircd/commit/ba3b22b851d1b20fc918569a50e328ed7edf... Author: Alexander Barton alex@barton.de Date: 2020-03-29 (Sun, 29 Mar 2020)
Changed paths: M src/testsuite/join-test.e M src/testsuite/ngircd-test1.conf
Log Message: ----------- Test suite: Test multiple "Modes" lines in [Channel] sections
Compare: https://github.com/ngircd/ngircd/compare/decf98d5efce%5E...ba3b22b851d1
ngircd-commits@lists.barton.de