3336 Commits

Author SHA1 Message Date
Sadie Powell
d7912e6a3e Merge branch 'insp3' into master. 2022-04-29 11:24:05 +01:00
Sadie Powell
b36bfce84f Release v3.13.0. 2022-04-28 18:50:30 +01:00
InspIRCd Robot
346ec99c43 Update copyright headers. 2022-04-28 18:49:16 +01:00
Sadie Powell
4f58176bc2 Merge branch 'insp3' into master. 2022-04-26 17:09:31 +01:00
Sadie Powell
d682f3f2c9 Only write to the pid file on boot.
Being able to change this after first boot is error prone and does
not work well on system-wide installs where the server needs root
to write the file.

Closes #566.
2022-04-23 09:57:52 +01:00
Sadie Powell
c886bc0395 Remove a forward declaration for a non-existent type. 2022-04-21 22:51:14 +01:00
Sadie Powell
9fbcb685e8 Merge branch 'insp3' into master. 2022-04-21 16:32:29 +01:00
Sadie Powell
5d90fa4c6e Mark the main loop as noreturn. 2022-04-21 09:20:33 +01:00
Sadie Powell
b122c182cc Fix an outdated comment. 2022-04-20 23:57:04 +01:00
Sadie Powell
47515ac269 Fix a now outdated documentation comment. 2022-04-18 18:04:59 +01:00
Sadie Powell
d45fe55f0e Constify the parameter arguments in ListModeBase's Tell* methods. 2022-04-17 14:57:41 +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
57b3a40afa Refactor ListModeBase::OnModeChange. 2022-04-17 11:23:14 +01:00
Sadie Powell
80e8013282 Remove ValidateParam and rename CanonicalizeParam.
There's basically no safe way to handle a malformed list mode
sent by a remote server without causing a desync. Its probably
for the best if we just only apply validation to locally added
list modes entries.
2022-04-17 11:14:39 +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
8656e9cce1 Replace duplicated documentation with @copydoc. 2022-04-16 09:38:34 +01:00
Sadie Powell
0cf1eb4b04 Make the parameter field of ValidateParam const. 2022-04-16 09:17:27 +01:00
Sadie Powell
7266f8681d Add a numeric builder for the ERR_CHANOPRIVSNEEDED numeric.
This should make privilege errors more consistent.
2022-04-12 12:48:54 +01:00
Sadie Powell
fa8c035373 Use ERR_UNAVAILRESOURCE for things that should be retried later.
Also move it to the global numerics header to avoid duplication.
2022-04-12 00:52:10 +01:00
Sadie Powell
6830169ef1 Add a method for finding the next prefix mode above a rank. 2022-04-11 23:49:22 +01:00
Sadie Powell
79b1c44721 Add a method to ConfigTag to help with retrieving a single character. 2022-04-10 23:43:43 +01:00
Sadie Powell
7385ceccb1 Expose the invite announcement level to modules. 2022-04-07 20:00:52 +01:00
Sadie Powell
9e3784dc0b Fix converting a token list to a string.
Fixes showing oper privs in /CHECK.
2022-04-05 15:51:10 +01:00
Sadie Powell
4552856752 Use a consistent message format for end of list numerics. 2022-04-01 18:25:25 +01:00
Sadie Powell
056d0b4383 Pack the mode set more efficiently and add support for numeric modes. 2022-03-27 16:09:19 +01:00
Sadie Powell
414105e409 Add a typedef for the mode status bitset. 2022-03-27 16:09:19 +01:00
Sadie Powell
ed6e19bbd0 Fix unsigned/const keyword ordering, remove unnecessary consts. 2022-03-27 15:41:28 +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
744f8b4604 Fix various minor Doxygen warnings. 2022-02-02 14:15:57 +00:00
Sadie Powell
c9bc8f01e3 Document aligned_storage and use alignment_of_v. 2022-01-31 13:16:57 +00:00
Sadie Powell
d247b77a1e Move stdalgo::map::difference to its own utility header. 2022-01-31 12:24:12 +00:00
Sadie Powell
4cfc311591 Slim down the protocol interface for sending metadata. 2022-01-31 12:01:39 +00:00
Sadie Powell
6e7d449495 Refuse to set an extension on the wrong type of extensible. 2022-01-31 12:01:39 +00:00
Sadie Powell
4dfb2d1816 Make extension names case insensitive. 2022-01-31 12:01:39 +00:00
Sadie Powell
7d3055f8c3 Add the type to the Extensible class. 2022-01-31 12:01:39 +00:00
Sadie Powell
f6559895b2 Rename the ExtensionItem::type field to extype to avoid collisions. 2022-01-31 12:01:39 +00:00
Sadie Powell
54db5b5e0a Fix the case of Membership::GetRank. 2022-01-31 00:03:47 +00:00
Sadie Powell
ec46f6acda Replace consolecolors with a vendored library.
This library supports much more than consolecolors including the
Windows 8 console API.
2022-01-26 15:34:17 +00:00
Sadie Powell
4fd71323d3 Slim the included headers down more. 2022-01-26 14:00:58 +00:00
Sadie Powell
8ab6b7230f Remove duplicate includes from module headers. 2022-01-25 16:20:45 +00:00