15682 Commits

Author SHA1 Message Date
Sadie Powell
edfa7270f7 Fix various inappropriate uses of UINT_MAX. 2022-10-14 12:54:36 +01:00
Sadie Powell
cf628fb946 Fix a harmless todo in clientprotocolmsg. 2022-10-14 12:20:50 +01:00
Sadie Powell
f49cfd2f30 Merge branch 'insp3' into master. 2022-10-13 08:35:02 +01:00
Sadie Powell
d97a8f15de Fix the default case in GetFirstVisibleChannel and document it. 2022-10-13 08:17:33 +01:00
Sadie Powell
a4ec09b455 Clean up various socket-related code. 2022-10-12 19:34:22 +01:00
Sadie Powell
e4119e33f4 Remove some unused method arguments. 2022-10-12 14:26:09 +01:00
Sadie Powell
c747d89f0e Avoid file_cache in opermotd and showfile. 2022-10-12 10:58:40 +01:00
Sadie Powell
e8e99c6ee7 Add the inspircd.org/echo tag to echo message responses. 2022-10-12 08:50:40 +01:00
Sadie Powell
e37ee111a8 Fix channels with +D or +u set being picked for the /WHO response. 2022-10-12 08:50:06 +01:00
Sadie Powell
59ec1f6eb6 Allow modules to control the visible channel in a WHO request. 2022-10-12 08:50:06 +01:00
Sadie Powell
a54b78fb9d Add the matched channel to the WHO request data. 2022-10-12 08:50:06 +01:00
Sadie Powell
d24b04308b Fix generating self-signed certificates on newer versions of GnuTLS. 2022-10-11 13:03:15 +01:00
Sadie Powell
8f0d732e38 Switch the ssl_mbedtls module to use ifstream instead of FileReader.
Using FileReader here is problematic because it means that certs
can't be reloaded without a full rehash.
2022-10-11 12:55:49 +01:00
Sadie Powell
41d1312853 Rename User::age to User::nickchanged and fix the docs. 2022-10-11 11:12:04 +01:00
Sadie Powell
c853673b79 Prevent having the dccallow module loaded with a zero list size.
This doesn't make sense.
2022-10-10 07:57:33 +01:00
Sadie Powell
7e1f8466b7 Fix serializing attributes in httpd_stats. 2022-10-10 07:48:43 +01:00
Sadie Powell
552b2db321 Mark User::Has{Command,Priv}Permission as const. 2022-10-07 21:34:37 +01:00
Sadie Powell
986b9ae594 Remove a now unused overload of ConvToStr. 2022-10-07 20:09:40 +01:00
Sadie Powell
1cdf4a5ca1 Rename user_hash to UserMap and move to usermanager. 2022-10-07 20:03:05 +01:00
Sadie Powell
45cfe11c98 Fix saving the database identifier in SQL::Provider. 2022-10-07 19:41:07 +01:00
Sadie Powell
08918dca94 Fix the indentation of various modules. 2022-10-05 19:36:56 +01:00
Sadie Powell
69aab925da Modernize an old-style loop that was previously missed. 2022-10-01 22:26:26 +01:00
Sadie Powell
ee633a943c Replace foo.erase(foo.{size|end}()-1) with foo.pop_back(). 2022-10-01 22:15:23 +01:00
Sadie Powell
c7f6ffccbd Replace *foo.rbegin() with foo.end(). 2022-10-01 22:15:23 +01:00
Sadie Powell
d9fe87212d Release v4.0.0 alpha 15. v4.0.0a15 2022-10-01 02:00:48 +01:00
Sadie Powell
04b4b81a0a Inline the one use of ServerNoticeAll and rm the function. 2022-10-01 02:00:48 +01:00
Sadie Powell
ba587437a4 Merge branch 'insp3' into master. 2022-10-01 01:59:56 +01:00
Sadie Powell
f765ae5dbf Enforce <hostname:charmap> network-wide on the 1206 protocol. 2022-09-30 20:37:37 +01:00
Sadie Powell
b2c78ffe59 Prevent allowing weird characters within hostnames. 2022-09-30 20:33:49 +01:00
Sadie Powell
e4efd41a99 Use a global typedef for representing a character set. 2022-09-30 20:21:59 +01:00
Sadie Powell
44986c7976 Use auto instead of type names where the type is obvious. 2022-09-29 12:54:24 +01:00
Sadie Powell
89537ed2ab Fix various cases of the &* being next to the name instead of type. 2022-09-29 12:36:01 +01:00
Sadie Powell
5812f5cfbf Drop attempts to send a tag message to a server. 2022-09-24 22:52:14 +01:00
Sadie Powell
1e29546b16 Remove error prone missing include logic in calcdep.
[skip windows ci]
2022-09-24 17:41:44 +01:00
Sadie Powell
c036834745 Use NOMINMAX on Windows and undefine error in the log header. 2022-09-23 22:15:02 +01:00
Sadie Powell
13e429445f Add Windows extra modules to the module list instead of copying.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-09-22 09:08:41 +01:00
Sadie Powell
cbac0a3470 Merge branch 'insp3' into master. 2022-09-21 22:38:48 +01:00
Sadie Powell
c2e6c819bc Allow building regex_posix against PCRE on Windows for link compat. 2022-09-21 22:01:17 +01:00
Sadie Powell
9b8eb0f8c2 Avoid packaging unnecessary .lib files on Windows.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-09-21 16:24:24 +01:00
Sadie Powell
d03385aaa1 Fix the ldap module when building against Windows LDAP. 2022-09-21 15:10:50 +01:00
Sadie Powell
b7f59e33ee Add the protocol serializer to the check output. 2022-09-21 02:41:31 +01:00
Sadie Powell
17950178cd Avoid creating duplicate account API instances in ircv3_accounttag. 2022-09-19 23:47:13 +01:00
Sadie Powell
68fe8cb864 Merge branch 'insp3' into master. 2022-09-19 23:46:53 +01:00
Sadie Powell
b6de89b4d2 Fix forwarding tags when sending a numeric to a remote user. 2022-09-19 23:42:08 +01:00
Sadie Powell
72802fac3f Fix not adding tags when converting a Numeric to a Message. 2022-09-18 21:15:34 +01:00
Sadie Powell
9155b99389 Rework the snotices sent when a rehash loads/unloads a module.
- Fix sending a duplicate load/unload message when rehashed from
  the terminal.
- Avoid formatting the log message twice.
2022-09-13 14:26:25 +01:00
Sadie Powell
3ce0441473 WHOIS and WHOWAS have their own empty trailing logic now. 2022-09-12 23:29:22 +01:00
Sadie Powell
023e3bd22e Merge branch 'insp3' into master. 2022-09-12 23:26:22 +01:00
Sadie Powell
1fc7742a5d Send ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS. 2022-09-12 23:06:03 +01:00
Sadie Powell
c56bea9d5f Make internal penalty be specified in millisecs instead of seconds.
This removes the need to multiply it later.
2022-09-09 02:16:13 +01:00