Sadie Powell
04e1a4f5c8
Add a protocol module function for extracting timestamps.
2024-03-12 11:02:08 +00:00
Sadie Powell
1538909ac0
Add ProtocolException and use it to send fatal errors.
2024-03-12 00:17:49 +00:00
Sadie Powell
77435dd0d9
Merge branch '2.0' into 2.1.
2024-03-11 22:43:29 +00:00
Sadie Powell
259b10b83a
Fix some InspIRCd 1206 protocol compatibility issues.
2024-03-11 20:27:30 +00:00
Sadie Powell
29e7674e56
Replace convertTo/stringify with non-throwing alternatives.
...
Having these throw is terrible for ergonomics and there are loads
of places where the exception was either silently ignored or not
handled at all. Having a function which returns an optional and
another that returns a default works a lot better imo.
2024-03-11 19:17:29 +00:00
Sadie Powell
891375baca
Use a separate CAPAB handler on InspIRCd to avoid pollution.
2024-03-08 19:05:12 +00:00
Sadie Powell
41a295202e
Only enable InspIRCd parser logging when using --protocoldebug.
2024-03-08 18:17:17 +00:00
Sadie Powell
722c5b7d61
Implement support for the InspIRCd 1206 protocol.
2024-03-08 17:12:44 +00:00
Sadie Powell
52216b56a1
Merge branch '2.0' into 2.1.
2024-03-08 17:05:49 +00:00
Sadie Powell
46b7064834
Keep the InspIRCd protocol version around for later use.
2024-03-08 11:07:30 +00:00
Sadie Powell
86e3556438
Fix some misc bugs in the InspIRCd protocol module.
...
Closes #373 .
2024-03-07 20:55:22 +00:00
Sadie Powell
893bbf9251
Fix some oversights.
2024-02-29 17:15:15 +00:00
Sadie Powell
5441093211
Merge branch '2.0' into 2.1.
2024-02-29 16:32:14 +00:00
Sadie Powell
b5b3c74477
Make functions that don't use this static.
2024-02-27 10:48:55 +00:00
Sadie Powell
642e68f53a
Fix sending numerics on InspIRCd.
2024-02-26 23:57:55 +00:00
Sadie Powell
1e87849e5c
Rework IRCDMessage/IRCDMessageFlag.
2024-02-26 23:56:07 +00:00
Sadie Powell
2fd4b45f81
Deduplicate InspIRCd CAPAB parsing.
2024-02-26 19:26:21 +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
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
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
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
4056af00e3
Parse InspIRCd module names in a way which is 1206 compatible.
2024-01-10 17:47:27 +00:00
Sadie Powell
5db79c1e24
Add a non-formatting overload of User::SetModesInternal.
2024-01-08 13:11:50 +00:00
Sadie Powell
a40f8e0b9d
Update the copyright headers for 2024.
2024-01-04 22:25:48 +00:00
Sadie Powell
6538641e87
Remove some unnecessary spaces that break editor indentation.
2023-12-17 13:59:49 +00:00
Sadie Powell
46209895e3
Merge branch '2.0' into 2.1.
2023-11-16 19:34:37 +00:00
Sadie Powell
b28180d680
Implement support for the ANONYMOUS SASL mechanism.
2023-11-14 15:02:04 +00:00
Sadie Powell
0f1f0c5a22
Deduplicate account sending code in the inspircd module.
2023-11-14 13:53:45 +00:00
Sadie Powell
6e16e71fda
Remove the two day X-line cap.
2023-11-03 11:01:01 +00:00
Sadie Powell
78398a4481
Add support for server-initiated logouts on InspIRCd.
2023-10-19 22:52:05 +01:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +01:00
Sadie Powell
aa619f1eeb
Merge branch '2.0' into 2.1.
2023-07-11 12:28:54 +01:00
Sadie Powell
9d0a6ddc67
Merge branch '2.0' into 2.1.
2023-06-03 21:51:07 +01:00
Sadie Powell
885462d98e
Merge branch '2.0' into 2.1.
2022-12-31 22:11:19 +00:00
Sadie Powell
5fa3d8f929
Use emplace() instead of insert(std::make_pair()).
2022-12-09 16:50:29 +00:00
Sadie Powell
a631028660
Merge branch '2.0' into 2.1.
2022-01-12 22:08:35 +00:00
Sadie Powell
c9f93eeaed
Merge branch '2.0' into 2.1.
2022-01-04 00:39:34 +00:00
Sadie Powell
7531e90499
Use C++11 style class/struct initialisation.
2022-01-04 00:17:13 +00:00
Sadie Powell
a5f7aac295
Replace anope_{final,override} with their C++11 equivalent.
2022-01-03 19:02:44 +00:00
Sadie Powell
595bc09ec1
Merge branch '2.0' into 2.1.
2021-11-30 09:50:33 +00:00
Sadie Powell
561b205c4a
Merge branch '2.0' into 2.1.
2021-08-01 18:53:24 +01:00