15856 Commits

Author SHA1 Message Date
Sadie Powell
d7182c584c Add a helper class for creating a reference to a DNS manager. 2023-01-05 00:41:04 +00:00
Sadie Powell
26c6a8811b Allow specifying milliseconds and a timespec in the server-time API. 2023-01-04 19:56:57 +00:00
Sadie Powell
3ea463dae7 Misc DNSBL code cleanup. 2023-01-04 18:00:54 +00:00
Sadie Powell
bb9c264dca Move the shared data in the DNSBL module to its own class. 2023-01-04 17:52:36 +00:00
Sadie Powell
3d1f139467 Sync whether an oper login was performed automatically. 2023-01-03 15:23:04 +00:00
Sadie Powell
ef292c8d80 Fix CanUseSnomask checking the wrong snomask index.
We reuse the mode index packing here to avoid duplication.
2023-01-02 22:49:07 +00:00
Sadie Powell
b1e6084b2d Fix getting the full snomask and mode lists. 2023-01-02 22:49:07 +00:00
Sadie Powell
45ef938965 Get rid of the virtual Has*Permission methods.
These are no longer needed now we store privs for the remote oper.
2023-01-02 21:49:20 +00:00
Sadie Powell
4a468f26cc Allow synching oper privileges between servers. 2023-01-02 21:49:20 +00:00
Sadie Powell
137dbe2fdc Allow getting all of the oper command/mode/snomask privs. 2023-01-02 21:05:19 +00:00
Sadie Powell
37ce48e61a Add some useful aliases to OperType. 2023-01-02 19:48:14 +00:00
Sadie Powell
6d6ccfd24b Add a method for unescaping tags. 2023-01-02 19:22:40 +00:00
Sadie Powell
93088a1ffb Release v4.0.0 alpha 18. v4.0.0a18 2023-01-01 13:21:20 +00:00
Sadie Powell
d048778f78 Merge branch 'insp3' into master. 2023-01-01 13:19:45 +00:00
Sadie Powell
b310c28aff Fix some minor config parser error messages.
- Fix starting the column count for the first line on one instead
  of zero. This is incremented when reading the first character so
  starting at 1 causes an off by one error.

- Fix showing "last tag was on line ..." message when there is an
  error before any tags.
2022-12-31 18:27:50 +00:00
Sadie Powell
1106b97c41 Release v3.15.0. v3.15.0 2022-12-30 11:33:00 +00:00
InspIRCd Robot
2b810b412a Update copyright headers. 2022-12-30 11:31:28 +00:00
Sadie Powell
f6bd143ff0 Update module descriptions. 2022-12-30 11:27:46 +00:00
Sadie Powell
5894b4eb80 Update vendored dependencies. 2022-12-30 11:25:25 +00:00
Sadie Powell
f547805018 Rename the SimpleExtItem type parameter to be more descriptive. 2022-12-27 19:29:43 +00:00
Sadie Powell
a752f952af Allow overriding the deleter in ListExtItem. 2022-12-27 19:29:43 +00:00
Sadie Powell
72b5aec5d5 Add the SimpleExtItem::GetRef method. 2022-12-27 19:29:43 +00:00
Sadie Powell
75de6e0d5c Add the ListExtItem extension type. 2022-12-27 18:19:10 +00:00
Sadie Powell
baccb43263 Merge branch 'insp3' into master. 2022-12-27 15:27:34 +00:00
Sadie Powell
9b5c86c0b6 Ignore edits to the copyright headers when updating them.
This fixes a committer who has run mkheaders from being added to
the copyright headers when it is next run.
2022-12-27 15:01:13 +00:00
Sadie Powell
549105eb53 Use delete_zero in place that it makes sense to. 2022-12-27 14:12:25 +00:00
Sadie Powell
1c2e79ea80 Move cull_delete to be inside of Cullable. 2022-12-27 14:12:10 +00:00
Sadie Powell
ed81ec45ad Move some stuff from the Windows compat header to where it is used. 2022-12-27 13:50:13 +00:00
Sadie Powell
193408e3b4 Replace the unused padding argument of Percent::Encode with upper. 2022-12-27 13:37:38 +00:00
Sadie Powell
beb9c2475c Fix a C++11-ism in the dnsbl module. 2022-12-26 20:04:17 +00:00
Sadie Powell
946cb66aac Fix overwriting marks from earlier DNSBLs. 2022-12-26 19:59:53 +00:00
Sadie Powell
7021dc0a12 Include the WebSocket fail reason in the body of the HTTP response. 2022-12-25 23:10:19 +00:00
Sadie Powell
05168e3549 Merge branch 'insp3' into master. 2022-12-25 22:44:50 +00:00
Sadie Powell
b1eb362d83 Refactor SocketEngine slightly.
- Remove pointless shutdown() wrapper.
- Remove pointless bounds checking function.
- Make Bind and Listen take an EventHandler instead of a fd.
- Add nullability attributes to every method.
2022-12-25 22:41:28 +00:00
Sadie Powell
cdbdfc7176 Refactor ListenSocket::OnEventHandlerRead slightly. 2022-12-25 20:37:43 +00:00
Sadie Powell
7673db8d1b Pass the client/server sockaddr around as a ref instead of a ptr. 2022-12-25 13:06:50 +00:00
Sadie Powell
12518ce966 Add nullability attributes to UserManager. 2022-12-25 12:48:26 +00:00
Sadie Powell
81d8fde748 Default <bind:replace> for UNIX socket listeners to on. 2022-12-25 12:25:50 +00:00
Sadie Powell
dea1450a70 Update the Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-12-23 20:42:11 +00:00
Sadie Powell
14ab989acf Remove the string_view utility header from the global header. 2022-12-23 19:10:30 +00:00
Sadie Powell
957cb76eba Lower the threshold for server clock offsets to 15s/5s. 2022-12-20 18:48:03 +00:00
Sadie Powell
997684e183 Fix a Doxygen documentation typo. 2022-12-20 17:17:47 +00:00
Sadie Powell
8025a69a53 Allow remapping mode and extban characters at load time.
Closes #1970.
2022-12-20 16:02:12 +00:00
Sadie Powell
2b33c3c303 Don't automatically fall back to ToNetwork from ToInternal.
Only one thing used this and its really unclear especially when
SimpleExtItem does the opposite.
2022-12-20 10:51:57 +00:00
Sadie Powell
abc1e463a7 Move {From,To}Network from StringExtItem to SimpleExtItem. 2022-12-20 10:50:31 +00:00
Sadie Powell
43d48a2e98 Move extension types to their own header to speed up build times. 2022-12-19 14:18:30 +00:00
Sadie Powell
dcd6fa89bc Fix parsing extbans in banredirect and timedbans. 2022-12-19 11:29:55 +00:00
Sadie Powell
4dff02f7ed Consistently limit the range for config port fields. 2022-12-19 09:48:16 +00:00
Sadie Powell
be6555384d Add an oper priv for exempting opers from blockamsg.
Closes #2007.
2022-12-19 09:25:18 +00:00
Sadie Powell
2f77eb6e9c Add the Cohost account to the readme. 2022-12-18 20:48:33 +00:00