275 Commits

Author SHA1 Message Date
Sadie Powell
648f813f8c Switch from NULL to nullptr. 2022-07-22 18:53:21 +01:00
Sadie Powell
a0850bc53f Add methods for extracting specific regex captures. 2022-06-28 14:00:14 +01:00
Sadie Powell
89712e2e84 Move numerics to the source files where they are actually used. 2022-06-26 15:29:29 +01:00
Sadie Powell
fe9107c992 Modernize the syntax of various templates. 2022-06-23 21:22:04 +01:00
Sadie Powell
bc2098a492 Require specifying the repeat argument of the Timer class. 2022-05-17 12:06:26 +01:00
Sadie Powell
986d587ea4 Add the new account system.
This still relies on the old extensibles for now but we can change
that later.
2022-05-14 14:47:56 +01:00
Sadie Powell
83b1afdfad Remove the old account system. 2022-05-14 13:50:29 +01:00
Sadie Powell
f7c041f560 Implement support for regex capture groups. 2022-05-06 15:53:08 +01:00
Sadie Powell
0e7883dd96 Format enums with an underlying type like classes. 2022-04-30 14:47:39 +01:00
Sadie Powell
0e660314c3 Make the extban enums 8-bit. 2022-04-29 22:07:42 +01:00
Sadie Powell
d7912e6a3e Merge branch 'insp3' into master. 2022-04-29 11:24:05 +01:00
InspIRCd Robot
346ec99c43 Update copyright headers. 2022-04-28 18:49:16 +01:00
Sadie Powell
9fbcb685e8 Merge branch 'insp3' into master. 2022-04-21 16:32:29 +01:00
Sadie Powell
d856205432 Fix doxygen to include the public module header files. 2022-04-17 14:16:05 +01:00
Sadie Powell
b6c77b3e01 Fix a missing doxygen comment. 2022-04-17 12:13:35 +01:00
Sadie Powell
27c0ae9433 Allow normalising extbans to a specific format.
Also, fix canonicalisation of acting extban values.
2022-04-17 12:08:57 +01:00
Sadie Powell
30edd1070d Merge branch 'insp3' into master. 2022-04-16 16:16:29 +01:00
Sadie Powell
c0bc5bf798 Add ListModeBase::CanonicalizeParam, fix cleaning extban masks. 2022-04-16 12:01:59 +01:00
Sadie Powell
985ef046ce Add a class that wraps a dynamic reference to the extban manager. 2022-04-16 10:52:34 +01:00
Sadie Powell
7385ceccb1 Expose the invite announcement level to modules. 2022-04-07 20:00:52 +01:00
Sadie Powell
f06ea52d0a Merge branch 'insp3' into master. 2022-03-27 15:30:41 +01:00
Sadie Powell
3bf6454518 Allow modules to handle WHO matching. 2022-03-25 13:18:42 +00:00
Sadie Powell
a7de91861f Merge branch 'insp3' into master. 2022-03-19 18:37:51 +00:00
Sadie Powell
e3f8149f65 Fix a compiler warning on Windows. 2022-03-19 16:36:25 +00:00
Sadie Powell
2d329701db Merge branch 'insp3' into master. 2022-03-11 14:52:56 +00:00
Sadie Powell
4169e0e799 Make the accessor methods in ssl_cert const. 2022-02-14 20:28:08 +00:00
Sadie Powell
24229f59f7 Squash an unnecessary string copy in SQL::Error. 2022-02-05 01:52:45 +00:00
Sadie Powell
8ab6b7230f Remove duplicate includes from module headers. 2022-01-25 16:20:45 +00:00
Sadie Powell
d79147e7af Abolish the infernal space before accessibility keywords. 2022-01-25 14:02:36 +00:00
Sadie Powell
40035385c6 Add constexpr to the initialisation of various const static fields. 2022-01-18 14:33:06 +00:00
Sadie Powell
5486c0f383 Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>. 2022-01-16 14:26:49 +00:00
Sadie Powell
aeb0bc3294 Make 005 dependent on the connect class. 2022-01-16 02:19:16 +00:00
Sadie Powell
52cc8a4183 Refactor CoreException and ModuleException. 2022-01-07 17:16:50 +00:00
Sadie Powell
b96af051c2 Merge branch 'insp3' into master. 2022-01-03 15:14:36 +00:00
InspIRCd Robot
adbe149c56 Update copyright headers. 2021-12-30 18:52:08 +00:00
Sadie Powell
4c931b6f6a Send an account id tag when account-tag & message-tags are enabled. 2021-12-28 13:19:22 +00:00
Sadie Powell
d571752b21 Move RPL_STATS to the stats header. 2021-12-24 15:34:46 +00:00
Sadie Powell
04bdbae4a6 Add a quick method for adding a generic RPL_STATS row. 2021-12-24 15:34:42 +00:00
Sadie Powell
421e8c8c79 Add the final keyword to all remaining classes that can have it. 2021-12-20 20:19:40 +00:00
Sadie Powell
029e047f99 Mark Regex::Engine::Create{Human,} as const. 2021-12-16 14:17:56 +00:00
Sadie Powell
226c316866 Make upper case regex flags remove the flag if previously set. 2021-12-16 14:13:42 +00:00
Sadie Powell
05ccd525ad Replace some references to ssl with tls. 2021-12-08 12:32:29 +00:00
Sadie Powell
0f2257136d Remove unused time_t field from the timer system.
This is equivalent to calling InspIRCd::Now() and is only actually
used in one place in modules.
2021-11-05 04:24:14 +00:00
Sadie Powell
f2386ea01f Add the regex_pcre2 module. 2021-09-26 19:16:51 +01:00
Sadie Powell
502aec599b Fix and optimise sending standard replies with variable parameters. 2021-09-23 02:14:25 +01:00
Sadie Powell
b5d7c56428 Merge branch 'insp3' into master. 2021-09-23 00:24:36 +01:00
Sadie Powell
6646c9fbea Use CXX11_OVERRIDE instead of the override keyword. 2021-09-22 20:49:32 +01:00
Sadie Powell
5bd0a93976 Add an API for checking if I/O hooks are ready or not. 2021-09-22 20:43:49 +01:00
Sadie Powell
b7615ccd86 Merge branch 'insp3' into master. 2021-08-28 13:20:53 +01:00
InspIRCd Robot
4540162276 Update copyright headers. 2021-08-27 09:38:22 +01:00