Sadie Powell
80894752a7
Make JoinUser return a Membership instead of a Channel.
2023-06-22 16:40:05 +01:00
Sadie Powell
7d202728c8
Merge branch 'insp3' into master.
2023-06-17 19:05:08 +01:00
InspIRCd Robot
ff8e1e2c75
Update copyright headers.
2023-06-16 11:54:49 +01:00
Sadie Powell
78cd3898f5
Only regenerate cloaks if a cloak of that type exists.
...
This prevents unnecessary recloaking which may result in spam.
2023-06-07 12:59:35 +01:00
Sadie Powell
684d9a8da1
Fix some typos in the cloak header.
2023-06-06 01:05:55 +01:00
Sadie Powell
acc9f5228f
Allow secondary cloak methods to be used on link synchronisation.
...
If a server has a conditional cloak method (e.g. account) as the
primary cloak method it doesn't make sense to use it for link
consistency. With this change a secondary cloak method can request
that it is used instead of the primary if the primary does not
mark itself as link sensitive.
2023-06-06 01:02:14 +01:00
Sadie Powell
6348a2e4bc
Misc XLine cleanup.
2023-06-05 14:40:52 +01:00
Sadie Powell
fabd86ab97
Make XLine::Matches const.
2023-06-05 14:31:29 +01:00
Sadie Powell
1367e66500
Add a DelLine override that takes an XLine pointer.
2023-06-05 14:22:42 +01:00
Sadie Powell
a4b95340b7
Make XLine::Displayable const.
2023-06-05 14:22:42 +01:00
Sadie Powell
c4858e2a11
Convert DelLine from const char* to const std::string&.
2023-05-30 20:37:48 +01:00
Sadie Powell
ea85c0c6ba
Fix casing of metadata in function and event names.
...
Metadata is one word not two so it shouldn't be capitalised like this.
2023-05-30 02:38:25 +01:00
Sadie Powell
ad02b418fd
We can't explicitly specify the signedness here as it causes issues.
...
This reverts commit 023ca96054191b66643425d673acb66c08fa1048.
2023-05-17 13:18:50 +01:00
Sadie Powell
67c37b43de
Merge branch 'insp3' into master.
2023-05-16 09:52:22 +01:00
Sadie Powell
e64d14f4f7
Fix some minor Doxygen issues.
2023-05-16 09:51:14 +01:00
Sadie Powell
023ca96054
Fix some issues with ConvToNum<char> and ConvToStr<char>.
2023-05-16 09:12:44 +01:00
Sadie Powell
fe4c512839
Rename duration to timeutils and relocate InspIRCd::TimeString.
2023-05-10 11:57:48 +01:00
Sadie Powell
cc2244e7ba
Fix the cloak modules on Clang and MSVC.
2023-05-03 17:47:41 +01:00
Sadie Powell
aae97bda3e
Add <cloak:class> to limit cloaks to a specific connect class.
2023-05-02 13:33:31 +01:00
Sadie Powell
8900f17231
Merge branch 'insp3' into master.
2023-04-28 19:30:25 +01:00
Sadie Powell
2950bc7a2f
Release v3.16.0.
2023-04-28 10:22:59 +01:00
InspIRCd Robot
f2c74267ac
Update copyright headers.
2023-04-28 10:21:39 +01:00
Sadie Powell
3c056d489c
Merge branch 'insp3' into master.
2023-04-27 11:00:42 +01:00
Sadie Powell
f8614ea985
Allow customising the message shown when hiding an X-line ban.
2023-04-18 14:21:11 +01:00
Sadie Powell
054fd8de79
Allow modules to provide an error for when a class doesn't match.
2023-03-24 12:01:03 +00:00
Sadie Powell
5a24fb0f61
Add client cert activation/expiration times to the ssl_cert class.
2023-03-01 20:45:07 +00:00
Sadie Powell
166a47ac68
Remove GetSID, rename sid to ServerId.
2023-02-28 16:32:27 +00:00
Sadie Powell
8685129c52
Fix missing a Doxygen parameter comment.
2023-02-28 14:38:44 +00:00
Sadie Powell
1c6d20e73c
Refactor the password checking API.
...
- Rename from (On)PassCompare to (On)CheckPassword.
- Fix the order of the arguments to be password, hash, value. This
makes more sense than what it was previously.
- Fix the code documentation to not be complete nonsense and not
reference ancient outdated APIs.
2023-02-28 14:38:44 +00:00
Sadie Powell
45d68e95c9
Sort opers alphabetically in /STATS P
.
2023-02-27 22:11:52 +00:00
Sadie Powell
d141f9c025
Make module classes specify their priority manually.
2023-02-27 20:29:56 +00:00
Sadie Powell
23ab5cfa51
Allow modules to get/reset the cloak lists.
2023-02-14 14:24:22 +00:00
Sadie Powell
06d801b527
Merge branch 'insp3' into master.
2023-02-14 09:21:59 +00:00
Sadie Powell
297212ca4d
Switch to the IRCv3 standard-replies cap.
...
Nothing is using this so far so I'm not counting it as a breaking
change.
2023-02-13 14:27:51 +00:00
Sadie Powell
416661d17d
Add an option so local non-SSL users can be seen as securely connected.
2023-02-11 09:30:22 +00:00
Sadie Powell
e64ace4c82
Expose the removed away message in OnUserBack.
2023-02-03 09:26:31 +00:00
Sadie Powell
d4ff568093
Make reading the core config less of a mess.
2023-01-27 04:15:36 +00:00
Sadie Powell
57cc457ec6
Rename some headers to match the common naming system.
2023-01-26 06:16:57 +00:00
Sadie Powell
4472683dc7
Move CheckExemption::Call to CheckExemption::EventProvider.
...
Now FirstResult not a macro there's no need for this to be a free
function.
2023-01-25 03:43:40 +00:00
Sadie Powell
af8effe4f0
Replace getInt/getUInt/getFloat with type safe templated functions.
2023-01-25 00:39:27 +00:00
Sadie Powell
babc733d2d
Fix using (unsigned) long instead of (s)size_t.
2023-01-24 23:02:35 +00:00
Sadie Powell
e338e88e4f
Fix some junk left over in Doxygen comments.
2023-01-24 09:00:16 +00:00
Sadie Powell
f3a023523f
Include more stuff in the Doxygen documentation.
2023-01-24 08:02:56 +00:00
Sadie Powell
704d2c5da0
Slim down stdalgo by removing unused and duplicate functions.
2023-01-24 06:34:44 +00:00
Sadie Powell
f310e1c98d
Refactor the caching methods in User and rename to make more sense.
2023-01-24 02:58:46 +00:00
Sadie Powell
206d31de85
Convert log calls to use fmtlib format strings
2023-01-24 00:12:57 +00:00
Sadie Powell
9db9d5abe4
Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.
2023-01-23 13:07:53 +00:00
Sadie Powell
7edc627317
Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf.
2023-01-23 13:07:53 +00:00
Sadie Powell
5c4badf8ea
Replace InspIRCd::Format with fmt::format.
2023-01-23 13:07:53 +00:00
Sadie Powell
671b84ecf2
Vendor the fmtlib library.
2023-01-23 13:07:52 +00:00