15702 Commits

Author SHA1 Message Date
Sadie Powell
859088dac5 More const correctness. 2022-10-23 14:51:33 +01:00
Sadie Powell
dc21a3036f Avoid spamming opers with notices when a SQL log provider is down. 2022-10-22 21:25:31 +01:00
Sadie Powell
f8b9411ef0 Add a workaround for a conflict between libmysqlclient and pcre2.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-10-22 15:43:39 +01:00
Sadie Powell
3f97b4b58f Merge branch 'insp3' into master. 2022-10-22 15:37:41 +01:00
Sadie Powell
9554e7736e Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-10-22 15:24:08 +01:00
Sadie Powell
0d686818a2 Revert the previous commit slightly to work around a bug in Clang. 2022-10-22 15:11:39 +01:00
Sadie Powell
3928f478f1 Assign more class members inline instead of in the constructor. 2022-10-21 17:15:10 +01:00
Sadie Powell
77a76b8553 Merge branch 'insp3' into master. 2022-10-18 12:33:09 +01:00
Sadie Powell
ad24454084 Fix an unintentional string copy in the geolocation API. 2022-10-18 12:30:15 +01:00
Sadie Powell
9b8383a2a7 Fix building the account module on Clang. 2022-10-18 11:19:24 +01:00
Sadie Powell
101e12833d Allow requiring users to be logged into their nick for requireaccount. 2022-10-18 11:17:03 +01:00
Sadie Powell
3d660b8e49 Handle renamed modules when reading the modules to load. 2022-10-18 10:59:57 +01:00
Sadie Powell
06b386beba Handle renamed modules when building compat link data. 2022-10-18 10:59:57 +01:00
Sadie Powell
1736775c76 Rename the services_account module to account. 2022-10-18 10:59:57 +01:00
Sadie Powell
fbed3eca25 Split out channel and user mode +r into a separate module. 2022-10-18 10:59:57 +01:00
Sadie Powell
4dfb70a936 Add the accountnicks metadata as a replacement for user mode +r.
This isn't used much currently but in the future will allow doing
a lot of behaviour which is currently implemented in services in
the IRCd instead e.g. killing ghost clients, nickname enforcement.
2022-10-18 10:58:14 +01:00
Sadie Powell
65fe0fc67d Remove is_registered in services_account.
The account can never be an empty string so this check is useless.
2022-10-16 22:15:31 +01:00
Sadie Powell
8e419d0b2a Refactor the DNS resolvers in the spanningtree module. 2022-10-16 19:51:24 +01:00
Sadie Powell
d2392598c2 Clear the ban cache when an xline is expired as well as removed. 2022-10-15 20:22:27 +01:00
Sadie Powell
5da227cf84 Document how DNS PTR record lookups work better. 2022-10-15 00:23:05 +01:00
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