13857 Commits

Author SHA1 Message Date
linuxdaemon
577cc512e4 Don't allow invalid characters in UNIX listener paths. 2019-02-06 10:45:58 +00:00
linuxdaemon
d4a1ea7045 Expand searching in m_httpd_stats, add global handling of GET parameters (#1566) 2019-02-06 10:33:06 +00:00
Peter Powell
a638de7715 Release v3.0.0 release candidate 2. v3.0.0rc2 2019-02-06 10:02:31 +00:00
Peter Powell
01451ab26e Quit users during cleanup instead of when /DIE is executed. 2019-02-05 17:26:19 +00:00
Peter Powell
bf046f87c8 Delete the old broken test suite.
This doesn't work properly and is disabled in both debug & release
builds. It will be resurrected with a proper unit testing framework
in the future.
2019-02-05 17:11:54 +00:00
Peter Powell
6a95b42e11 Move <oper:class> and <oper:vhost> to core_oper. 2019-02-05 02:22:26 +00:00
Peter Powell
104ae68718 ModuleManager: use std::flush instead of fflush(stdout). 2019-02-05 00:06:03 +00:00
Peter Powell
05485be9f0 Module: Initialise 'ModuleDLLManager' and 'dying' correctly. 2019-02-05 00:00:56 +00:00
Peter Powell
8d87fa3837 DLLManager: add a function for retrieving a symbol. 2019-02-04 23:37:54 +00:00
Peter Powell
1ad063eff9 m_check: improve the output when showing list modes.
Closes #1568.
2019-02-04 18:46:02 +00:00
Peter Powell
0a229e70a5 m_check: rename the timestamp key to createdat. 2019-02-04 15:28:01 +00:00
Peter Powell
a7b52308db m_check: improve the output of the member key. 2019-02-04 15:26:53 +00:00
Peter Powell
4690bbdee8 m_check: split modeperms into chanmodeperms and usermodeperms. 2019-02-04 14:22:49 +00:00
Peter Powell
7141ccc5bb m_check: remove unnecessary usage of CheckContext::List. 2019-02-04 14:18:32 +00:00
Peter Powell
452a00e69f Improve the name of the list mode extensible. 2019-02-04 14:04:05 +00:00
Peter Powell
f434c03f51 m_check: replace timestring() with a Write() overlod. 2019-02-04 13:17:31 +00:00
Peter Powell
26095b12f6 ident: fix erroneously prefixing an ident multiple times. 2019-02-04 10:20:33 +00:00
Peter Powell
625e5435f5 ident: rename ext to socket. 2019-02-04 09:47:26 +00:00
Peter Powell
09da1499d7 ident: rename nolookupprefix to prefixunqueried. 2019-02-04 09:47:26 +00:00
Peter Powell
965c55881b ident: store the timeout as an unsigned value and limit to 60s. 2019-02-04 09:47:26 +00:00
Peter Powell
d66757a438 ident: reduce the amount of messages sent when a lookup fails. 2019-02-04 09:47:24 +00:00
Peter Powell
f35490427c ident: Change idents with the ChangeIdent method. 2019-02-04 09:16:40 +00:00
Peter Powell
3b9ef1ae8d ident: Fix making idents longer than maxident when a lookup fails. 2019-02-04 09:16:40 +00:00
linuxdaemon
2ee2e8b60d Allow multiple fingerprints in an oper block (#1564) 2019-02-01 09:47:20 +00:00
B00mX0r
e844a2cef9 Fix a minor typo in ssl.h 2019-02-01 09:43:32 +00:00
Peter Powell
a580cacb19 Improve the accessibility and robustness of prompt_bool.
- Use "yes" and "no" instead of "y" and "n".
- Validate the true and false responses properly.
- Keep prompting the user for a response until they give one which
  is valid.
2019-01-29 21:18:18 +00:00
Peter Powell
f1c3833663 Don't clear the screen when running in interactive mode.
This hides potentially useful information.
2019-01-29 21:18:18 +00:00
Peter Powell
59ddf1a456 Improve setting the gid/uid which will own files.
- Consistently set the gid/uid for all directories and files.
- Replace the obnoxious warning about root on `make install` with
  a friendlier warning whilst running configure.
- Always install the inspircd executable and modules.
2019-01-29 21:18:18 +00:00
Peter Powell
202ba7d76d Fix -Wnewline-eof warning. 2019-01-29 04:46:18 +00:00
Peter Powell
4d768d823d Fix reading the setname config tag. 2019-01-28 23:23:41 +00:00
Peter Powell
26a80ed2c7 Read the muteban config in ReadConfig(). 2019-01-28 22:19:33 +00:00
Peter Powell
4a99e25569 Fix RPL_ADMINME not having the correct parameters. 2019-01-28 22:18:00 +00:00
Peter Powell
fd6b8bddfa Fix the prioritisation of OnRawMode in m_samode. 2019-01-28 21:54:49 +00:00
Peter Powell
3c71f24704 Fix the description of <setname:operonly>. 2019-01-28 21:41:28 +00:00
Peter Powell
c202169f92 Fix sending the modes in RPL_CHANNELMODEIS as one big parameter. 2019-01-28 21:27:10 +00:00
Peter Powell
a032cd90ad Allow configuring whether SETNAME sends snotices and is oper-only. 2019-01-28 19:42:02 +00:00
Peter Powell
18678c6a22 Add ParamMode::IsParameterSecret and remove special casing of keys. 2019-01-28 17:26:15 +00:00
Peter Powell
4818b1bc1b Fix not checking for server names case insensitively. 2019-01-28 17:26:15 +00:00
linuxdaemon
e84858dc7f Refactor m_httpd_stats, add subpages (#1554) 2019-01-28 16:39:07 +00:00
Peter Powell
e1cf6f5ec7 Fix erroneously sending RPL_YOURDISPLAYEDHOST to HAProxy clients. 2019-01-28 14:02:27 +00:00
Peter Powell
5ed970ca7d Fix parsing anticaps mode parameters (again).
It is better to fix the underlying bug than the result of it.

This replaces commit 963213132dd923d0e7dbd47ea6f20373cdef343b.
2019-01-28 11:15:15 +00:00
Peter Powell
874ce50b8d Add overloads for ConvToNum to prevent (unsigned) char weirdness. 2019-01-28 11:08:19 +00:00
Peter Powell
fa6cfec3f8 Fix sending the SSL connection notice when using a non-SSL gateway. 2019-01-25 18:05:39 +00:00
Peter Powell
961109ae4f Remove trailing whitespace from various source files. 2019-01-24 22:18:22 +00:00
Peter Powell
dba2cddc46 Fix overriding <options:exemptchanops> with the exemptchanops mode.
Closes #1558.
2019-01-24 18:03:12 +00:00
Peter Powell
963213132d Fix parsing anticaps mode parameters. 2019-01-24 17:56:52 +00:00
Peter Powell
3b39a88fdf Fix a minor Doxygen warning. 2019-01-24 17:15:13 +00:00
Matt Schatz
d5b50d9ed1 Add the reason to xline removal notices. (#1545)
Show the reason in manual xline removal SNOTICEs, just like
expiry SNOTICEs do.

This modifies XLineManager::DelLine() to require another string
reference passed to it.

Requested by @Robby-.
2019-01-24 16:01:56 +00:00
linuxdaemon
2f35b78fba Add translation for casemapping between 2.0/3.0 (#1544)
If the casemapping is set to ascii, advertise the m_ascii module to 2.0
to allow use of the m_ascii extras module for 2.0
2019-01-24 15:56:58 +00:00
Peter Powell
1ab93cf702 Merge the censor module example config into modules.conf.example. 2019-01-24 15:23:17 +00:00