Sadie Powell
2fd4b45f81
Deduplicate InspIRCd CAPAB parsing.
2024-02-26 19:26:21 +00:00
Sadie Powell
d914febbec
Fix a typo in UnrealIRCd's SendGlobops.
2024-02-26 17:23:15 +00:00
Sadie Powell
2962a0be8c
Fix bs_kick not using the correct kick message for automatic kicks.
...
Closes #354 .
2024-02-26 16:45:28 +00:00
Sadie Powell
6be4df3b39
Remove several string format IRCDProto function overloads.
2024-02-26 16:45:28 +00:00
Sadie Powell
4789751e50
Fix a missing override keyword.
2024-02-26 16:45:28 +00:00
Sadie Powell
57674f5869
Replace IRCDProto::CanSendTags with IsTagValid.
...
Not every IRC server accepts arbitrary tags so this is a better
way to handle tag filtering.
2024-02-26 15:50:35 +00:00
Sadie Powell
c6cb4ba159
Fix some coding style issues.
2024-02-26 15:34:17 +00:00
Sadie Powell
e341cac8d6
Implement support for the IRCv3 +draft/channel-context tag.
...
Closes #358 .
2024-02-26 15:34:17 +00:00
Sadie Powell
b26f198489
Fix formatting messages on ngircd.
2024-02-22 19:54:09 +00:00
Sadie Powell
a99a00d7c5
Fix sending the ngircd PASS handler.
2024-02-22 19:07:11 +00:00
Sadie Powell
283137841f
Refactor the InspIRCd module static variables and method.
2024-02-22 17:47:14 +00:00
Sadie Powell
3290ebd36a
GetMaxListFor: use size_t and add a default like the other fields.
2024-02-22 17:25:47 +00:00
Sadie Powell
c4e9c0bf85
If the IRCd sends a field limit then use it over that of the config.
2024-02-22 17:05:30 +00:00
Sadie Powell
84ad85ee85
Fix a bug in the unrealircd protocol module.
2024-02-22 15:58:23 +00:00
Sadie Powell
f93d9e7698
Store the source message identifier in CommandSource.
2024-02-22 13:19:36 +00:00
Sadie Powell
7423fa9998
Route message tags into more message functions.
2024-02-22 13:03:53 +00:00
Sadie Powell
7cba665270
Fix some oversights in commit 82fa7e1467.
2024-02-22 11:18:05 +00:00
Sadie Powell
9502567453
Fix the NickServ help message showing a wrong min password length.
...
Closes #357 .
2024-02-22 11:01:41 +00:00
Sadie Powell
14472c5a95
Increase minpasslen and maxpasslen slightly.
2024-02-22 10:46:30 +00:00
Sadie Powell
82fa7e1467
Convert protocol modules over to Uplink::Send.
2024-02-22 00:14:08 +00:00
Sadie Powell
aefbb4fbda
Rework SendModeInternal to be usable with Uplink::Send.
2024-02-22 00:14:08 +00:00
Sadie Powell
9b77fdf5b6
Rework SendNumericInternal to be usable with Uplink::Send.
2024-02-22 00:14:08 +00:00
Sadie Powell
c4ab550ec7
Add Uplink::Send, rework message formatting.
...
This is the new way of sending messages to the uplink inspired by
the work done in the old git master. This will allow us to do new
things involving tags in the future.
2024-02-22 00:14:08 +00:00
TehPeGaSuS
ccfaca32a2
Fix a typo in cs_drop.
2024-02-21 23:09:09 +00:00
Sadie Powell
89594d4557
Add a method to the ns_cert API for replacing a certificate.
...
This will be used for upgrading certificate fingerprints when the
InspIRCd 1206 protocol support is added.
2024-02-21 13:30:16 +00:00
Sadie Powell
1fb77e414d
Increase the size of the random codes in ns_register and ns_set.
2024-02-19 22:31:07 +00:00
Sadie Powell
22fe5bb724
Require users to use a confirmation code when dropping channels.
2024-02-19 22:20:36 +00:00
Sadie Powell
49ea709027
Merge branch '2.0' into 2.1.
2024-02-17 20:50:31 +00:00
Sadie Powell
4cc68397dc
Update the copyright headers for 2024.
2024-02-17 19:58:17 +00:00
Sadie Powell
2b7872139c
Prevent resetting the password of suspended accounts.
...
Closes #351 .
2024-02-17 19:52:39 +00:00
Sadie Powell
2c5b84bd1d
Replace Condition and Mutex with the C++11 standard equivalents.
2024-02-11 19:53:05 +00:00
Sadie Powell
5c50bcb9c7
Remove the time_t parameter from Tick and TickTimers.
...
Most uses of Tick do not use the parameter and even when it is used
it is always the same as CurTime.
2024-02-11 18:18:18 +00:00
Sadie Powell
cef56abea4
Consistently use time_t for the timer duration.
2024-02-11 18:10:38 +00:00
Sadie Powell
30b9f12711
Remove the now parameter from the Timer class.
...
This was never actually changed from the default.
2024-02-11 17:56:35 +00:00
Robby
7ae20c2a6d
Remove an extraneous space in cs_xop.
2024-01-31 03:08:54 +01:00
Sadie Powell
026661c9a2
Fix irc2sql and webcpanel not being put into the modules folder.
2024-01-30 14:53:08 +00:00
Sadie Powell
dfd41b9b94
Fix Clang and GCC disagreeing about whether a move is needed.
2024-01-24 16:12:29 +00:00
Sadie Powell
484160eb4e
Shuffle modules around a bit.
2024-01-24 12:34:34 +00:00
Sadie Powell
7ac1fe5847
Rename several modules to remove the m_ prefix.
2024-01-24 12:22:51 +00:00
Sadie Powell
72acef4e15
Mark types that have no inheritors as final.
2024-01-23 16:53:06 +00:00
Sadie Powell
a6a0f6c447
Improve the layout of types that inherit from another type.
2024-01-23 15:28:23 +00:00
Sadie Powell
d6ced86021
Fix some module names that were missed in commit 4056af00e3.
2024-01-11 17:13:14 +00:00
Sadie Powell
0d8d1675f7
Fix an oversight in build_subdir.
2024-01-10 17:49:02 +00:00
Sadie Powell
4056af00e3
Parse InspIRCd module names in a way which is 1206 compatible.
2024-01-10 17:47:27 +00:00
Sadie Powell
349ae043b6
Always build the stats modules.
...
These have no external dependencies so it makes no sense to not
always build them.
2024-01-09 21:25:44 +00:00
Sadie Powell
710e7dd3a2
Bump the minimum OpenSSL version to 1.1.
2024-01-09 21:25:44 +00:00
Sadie Powell
1e9c6d7931
Always disable SSLv3 support, allow disabling TLSv1.[012].
2024-01-09 21:25:44 +00:00
Sadie Powell
5772b924cc
Drop support for ancient versions of GnuTLS.
2024-01-09 21:25:44 +00:00
Sadie Powell
fce5f4cc0f
Update the default SSL filenames to use the Certbot names.
2024-01-09 21:25:44 +00:00
Sadie Powell
fa7ad6b3df
Use native file extensions on macOS and Windows.
2024-01-09 14:35:49 +00:00