16745 Commits

Author SHA1 Message Date
Sadie Powell
d346d6783b Add the Time::FromNow helper function. 2024-10-03 10:51:21 +01:00
Sadie Powell
5e1310188b Fix potentially generating an invalid permchannel database. 2024-10-01 14:59:24 +01:00
dependabot[bot]
3a9ff2563f Bump peter-evans/create-pull-request from 6 to 7
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 14:18:49 +01:00
Sadie Powell
c2c5b44983 Implement ldap_initialize on Windows using InternetCrackUrlA.
[skip alpine ci]
[skip irctest ci]
[skip macos ci]
[skip ubuntu ci]
2024-09-30 13:15:40 +01:00
Sadie Powell
9506e09ff7 Allow customising the anticaps reason. 2024-09-29 19:48:50 +01:00
Sadie Powell
1061dbeb11 Add %channel% to the messageflood and repeat module templates. 2024-09-28 18:23:50 +01:00
Sadie Powell
88c28f5256 Make the messageflood and repeat messages a bit better. 2024-09-28 16:05:40 +01:00
Sadie Powell
51824113f0 Revert "Refactor how the anticaps module parses the mode value".
This reverts commit 759e40563edfdf7acc19d2c2436cf4b5249b8f22.
2024-09-28 15:52:30 +01:00
Sadie Powell
bd7e5fd621 Add a type alias for the extban letter type. 2024-09-27 18:38:42 +01:00
Sadie Powell
b0a73189db Clean up the names of some variables in the extban header. 2024-09-27 18:30:11 +01:00
Sadie Powell
565d3fdc4a Make it clear that Anope 2.1 does not need cmode or umode +r. 2024-09-26 19:48:15 +01:00
Sadie Powell
95e36721d4 Let services know what format it should send extbans in. 2024-09-25 12:54:10 +01:00
Wade Cline
78c4e562df Change PID example path from absolute to relative
The relative path is resolved based on the configured runtime directory,
which is determined at build time.
2024-09-23 10:40:34 +01:00
Wade Cline
e9b26e487f
Remove non-breaking space from the sasl module comment. 2024-09-23 07:01:16 +01:00
Sadie Powell
43a5068798 Hide the channels of services pseudoclient with +I from opers too.
Closes #2106.
2024-09-22 14:38:19 +01:00
Sadie Powell
1686b00675 Refactor hidechans slightly. 2024-09-22 14:17:34 +01:00
Sadie Powell
70a92b4dae Allow opting-out of saving bot messages in the channel history.
Closes #2107.
2024-09-22 14:01:37 +01:00
Sadie Powell
2b10b8fc2a Rename <chanhistory:bots> to <chanhistory:sendtobots>. 2024-09-22 14:01:11 +01:00
Sadie Powell
fbbc362ebb Merge branch 'insp3' into insp4. 2024-09-19 01:26:21 +01:00
Sadie Powell
aa7394ca95 Expand IPv6 addresses in connectban to avoid breaking S2S. 2024-09-19 01:19:30 +01:00
Sadie Powell
e657edc2b3 Fix rebuilding the 004 numeric on reloading core_info. 2024-09-17 01:06:42 +01:00
Sadie Powell
8649d33465 Sort the 004 mode list alphabetically. 2024-09-17 00:45:21 +01:00
Sadie Powell
dfd72fe029 Remove some unnecessary uses of <iostream>. 2024-09-16 10:02:19 +01:00
Sadie Powell
bf53ff5084 Make Cullable::Deleter const. 2024-09-13 15:40:43 +01:00
Sadie Powell
a6ea949d4d Use reference<>::ptr() in more places. 2024-09-13 12:11:11 +01:00
Sadie Powell
45f10a7f6f Only remove extbans on unload if provided by the right module. 2024-09-13 11:52:26 +01:00
Sadie Powell
8b253d39a1 Raise an exception if an extban name or letter is already in use. 2024-09-13 11:30:08 +01:00
Sadie Powell
45f7640d2a Send an ISupport diff when a user moves to a new connect class. 2024-09-09 12:15:34 +01:00
Sadie Powell
b5032fb641 Fix rawio logs not being written after a rehash. 2024-09-09 11:29:08 +01:00
Sadie Powell
a3668d75d6 Use -I for the vendor directory instead of -isystem.
Fixes {fmt} from the system conflicting with our local vendored
copy of {fmt}.

Thanks to @slimture for testing.

Closes #2105.
2024-09-09 07:42:31 +01:00
Sadie Powell
73a98ce7be Use string_view in InspIRCd::Is{FQDN,Host,SID}. 2024-09-07 19:26:29 +01:00
Sadie Powell
83e142fa2f Release v4.3.0. v4.3.0 2024-09-07 11:14:08 +01:00
InspIRCd Robot
8e784862f5 Update copyright headers. 2024-09-07 11:10:36 +01:00
Sadie Powell
863f631fef Merge branch 'insp3' into insp4. 2024-09-07 11:00:50 +01:00
Sadie Powell
bfa2870254 Update the readme for the CentOS packages being dropped. 2024-09-06 11:07:44 +01:00
Sadie Powell
4dc6c98d98 Document the deprecation of the cloak_md5 and md5 module. 2024-09-05 13:25:52 +01:00
Sadie Powell
4579bc5524 Log if the server is using a md5 cloak as their primary method. 2024-09-05 13:25:46 +01:00
Sadie Powell
1f65eb8efc Fix needlessly separating threads and lanes in the argon2 module.
We were not using these correctly and Argon2 uses the thread count
as the lane count anyway so its pointless to even have a setting
for this.
2024-09-05 12:47:03 +01:00
Sadie Powell
bb05d0dd46 Make the <define> options in the example config actually useful. 2024-09-05 12:13:29 +01:00
Sadie Powell
0617fdfb65 Check the connection state of a command before the parameter count.
Works around a bug in irssi.

Closes #2103.
2024-09-03 19:04:27 +01:00
Sadie Powell
591cb8e0b9 Const correct the xline header. 2024-09-03 11:09:54 +01:00
Sadie Powell
e02637d1ed Fix mkdescriptions when parsing docs containing Jinja variables. 2024-09-02 12:37:15 +01:00
Sadie Powell
266cc6c3c3 Make mkauthors/mkheaders respect the mailmap for coauthors. 2024-09-02 11:47:53 +01:00
Sadie Powell
faa96b7956 Fix a regression in ProcessColors.
We should wait until v5 to be this aggressive with MOTD parsing so
we dont break existing users in a minor release.
2024-09-02 10:40:47 +01:00
Sadie Powell
f6da60b3f4 Normalise the case of MOD_RESULT variables. 2024-08-31 16:21:09 +01:00
Sadie Powell
0e603bab1d Minor performance improvement to ProcessColors. 2024-08-31 15:41:35 +01:00
Sadie Powell
7d7b78f3d0 Fix the case of the override module settings. 2024-08-31 00:29:04 +01:00
Sadie Powell
ca0ea6e3d0 Make blockcolor only block known formatting codes. 2024-08-30 17:08:18 +01:00
Sadie Powell
babb39cb17 Refactor InspIRCd::StripColor.
- Only strip characters we actually recognise.
- Strip the value for hex color codes.
2024-08-30 17:07:29 +01:00
Sadie Powell
5d801283bb Fix the getentropy test. 2024-08-30 15:34:00 +01:00