13743 Commits

Author SHA1 Message Date
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
Peter Powell
4047a143fc Move the <disabled> tag out of the core to a new module. 2019-01-24 15:10:02 +00:00
Peter Powell
cbef0241a0 Implement support for the extended tag space for client tags. 2019-01-24 14:28:21 +00:00
linuxdaemon
a7fac86ccd Avoid forwarding passwords to nickserv when using SASL (#1562) 2019-01-24 13:34:54 +00:00
Peter Powell
806e400619 Fix a crash in m_sslinfo when a socket is SSL but a gateway is not. 2019-01-23 15:16:07 +00:00
Peter Powell
997e570fe4 Don't tell the user if DNS lookups are disabled. 2019-01-23 15:16:07 +00:00
linuxdaemon
5394adf41f Fix away broadcast logic (#1561) 2019-01-23 08:40:25 +00:00
Peter Powell
965c81baee Rename OnClientProtocolProcessTag to OnProcessTag. 2019-01-22 12:09:28 +00:00
Peter Powell
0a1f9bc594 Call the OnUserInit hook from earlier in UserManager::AddUser.
This fixes messages being lost when sending them to a user who has
only just connected to the server.
2019-01-20 09:52:38 +00:00
Peter Powell
0a9c72335a Move ident lookups to the OnSetUserIP hook. 2019-01-20 09:51:12 +00:00
Peter Powell
25b3686f43 Fix sending the entire VERSION output as a single parameter.
Closes #1560.
2019-01-19 13:10:56 +00:00
Robby
0527f858ce m_check: Fix showing oper permissions (privileges). (#1556) 2019-01-17 11:20:26 +00:00
Peter Powell
11cc922584 Fix the hostchange set action swapping the host/value fields. 2019-01-14 21:33:51 +00:00
linuxdaemon
f400d5f394 Redo OnSetEndPoint logic to fix duplicate clones (#1549). 2019-01-14 11:48:45 +00:00
linuxdaemon
0a7d2456d9 Allow wildcards in <connect:dnsbl>
This makes it consistent with other <connect> class parameters like
`webirc`
2019-01-11 16:17:51 +00:00