Sadie Powell
ba6332b8ec
Rip out the SwapInternals method.
...
This never really worked correctly and will now be replaced with
something better.
2021-04-19 00:14:53 +01:00
Sadie Powell
e701bd0305
Rip out the OnConnectionFail event.
...
This never really worked correctly and will now be replaced with
something better.
2021-04-19 00:14:53 +01:00
Sadie Powell
6b188f1d4e
Use a duration string for the idle time in /STATS P
.
2021-04-18 16:49:38 +01:00
Sadie Powell
569324feee
Migrate collections from insert to emplace.
2021-04-18 04:58:28 +01:00
Sadie Powell
e5b586315b
Make the reason parameter to PartUser const.
2021-04-18 04:58:28 +01:00
Sadie Powell
bc9f851755
Abstract out the single byte codepage support to a class.
...
This will allow us to modularly implement support for multi-byte
codepages in the near future.
2021-04-18 01:28:54 +01:00
Sadie Powell
d8019f87b3
Fix various uses of the _t suffix which is reserved by POSIX.
2021-04-17 22:44:13 +01:00
Sadie Powell
01884cb328
Rename censor_t to CensorMap as the _t suffix is reserved by POSIX.
2021-04-17 22:18:17 +01:00
Sadie Powell
ab6a0b3ae4
LogManager does not implement fakederef in v4.
2021-04-17 19:30:13 +01:00
Sadie Powell
8e6b4d17d4
Merge branch 'insp3' into master.
2021-04-17 18:52:19 +01:00
Sadie Powell
23b8d6bbed
Improve the debug logging for httpd_acl auth attempts.
2021-04-17 18:04:50 +01:00
Sadie Powell
b0f16081cc
Fix the 'w' extban not being added to the EXTBAN 005 numeric.
2021-04-17 14:18:50 +01:00
Sadie Powell
ba8a15adcd
Fix using a different field name in ldapauth than is documented.
...
Closes #1864 .
2021-04-16 11:50:51 +01:00
Sadie Powell
e414f10a6a
Clean up the ConvTo functions.
...
- Add a default parameter to ConvToNum.
- Use std::to_string for types that implement it.
- Document the functions properly.
2021-04-15 15:35:57 +01:00
Sadie Powell
60a66c8749
Add an initializer_list constructor to the flat types.
2021-04-14 23:35:51 +01:00
Sadie Powell
ff7c1adf1b
Remove some useless getter methods and make the members public.
...
This isn't part of a public API so we don't need to care about
exposing implementation details.
2021-04-14 23:11:53 +01:00
Sadie Powell
0960d5e9e3
Update references to config fields which were renamed.
2021-04-14 18:58:17 +01:00
Sadie Powell
eee4ef7d33
Fix a compiler error in the gateway module.
2021-04-12 14:14:40 +01:00
Sadie Powell
ad8f880e30
Fix an inverted condition in the previous commit.
2021-04-12 14:13:13 +01:00
Sadie Powell
1d9936943e
Move ssl_cert::GetMetaLine into the sslinfo module.
2021-04-12 14:10:20 +01:00
Sadie Powell
e33114954c
Constify the members of ssl_cert.
2021-04-12 14:09:55 +01:00
Sadie Powell
6d205fc3fb
Rename the cgiirc module to gateway.
2021-04-11 18:34:08 +01:00
Sadie Powell
cc4fdb24ed
Remove <cgiirc:opernotice>.
...
This is no longer necessary now we have snomask privs.
2021-04-11 18:14:33 +01:00
Sadie Powell
b00cf4ca15
Only show the WebIRC gateway name to unprivileged users.
2021-04-11 15:03:06 +01:00
Sadie Powell
351d04e19a
Merge branch 'insp3' into master.
2021-04-11 14:53:44 +01:00
Sadie Powell
405396945a
Allow banning WebIRC users by their gateway name.
...
Closes #1857 .
2021-04-11 14:32:39 +01:00
Sadie Powell
4232adcb5a
Replace interfacebase with deleted operator new.
2021-04-09 01:18:06 +01:00
Sadie Powell
ee643ad2a5
Migrate IOHookProvider from reference<> to std::shared_ptr<>.
2021-04-09 01:03:30 +01:00
Sadie Powell
5dc87c938a
Remove usecountbase from ExtensionItem and refer to using pointers.
...
At one point (1.2?) this was actually useful but nowadays its not.
2021-04-09 00:16:02 +01:00
Sadie Powell
ddd91d0f0d
Fix a dangling view in dccallow.
2021-04-09 00:15:21 +01:00
Sadie Powell
bfbd0f6cc6
Fix not parsing connect class hosts for inherited classes.
...
This bug was introduced since the last release and only ever
affected git versions built since commit 8c3c4f8e82.
2021-04-08 21:19:06 +01:00
Sadie Powell
77802d96ca
Use string_view in IsCTCP.
2021-04-08 20:00:46 +01:00
Sadie Powell
a6f81edcdb
Take a string_view in irc::equals.
2021-04-08 18:48:52 +01:00
Sadie Powell
48e3f729e5
Default to rehashing TLS certificates on rehash.
2021-04-08 11:55:21 +01:00
Sadie Powell
3c426be2a1
Refer to encryption as TLS instead of SSL in all messages.
2021-04-08 11:45:15 +01:00
Sadie Powell
825599a696
Remove the remainders of genssl.
2021-04-08 11:12:41 +01:00
Sadie Powell
bc2fa5c4a5
Show all prefix modes in the CHECK onchans output.
2021-04-07 15:36:15 +01:00
Sadie Powell
942fd2bcfd
Switch simple iterator loops to use range-based for loops.
2021-04-07 10:36:11 +01:00
Sadie Powell
c05bb42e8d
Merge branch 'insp3' into master.
2021-04-06 15:40:21 +01:00
Sadie Powell
c05f81cac8
Use IsCTCP in blockcolor for ignoring CTCPs.
2021-04-06 15:15:14 +01:00
Sadie Powell
6537ce1dbe
Rewrite the COMMANDS handler
...
- C++17ify
- Fix the weird visibility logic.
- Only show commands to opers that they can execute
- Add a priv to show all commands regardless of access.
- Use parameters instead of jamming everything into a <trailing>.
- Use SplitCommand as the command is local-only.
2021-04-06 12:14:33 +01:00
Sadie Powell
34169ed0a7
Constify their_param in ResolveModeConflict.
...
There's no reason for this to be mutable.
2021-04-06 10:37:00 +01:00
Sadie Powell
845907275e
Fix core_dns failing to compile on GCC.
2021-04-04 23:59:16 +01:00
Sadie Powell
7d84e4900f
Fix a ton of pedantic compiler warnings.
2021-04-04 23:42:15 +01:00
Sadie Powell
e4f7e2523b
Automatically prune the history lists in chanhistory.
2021-04-03 14:35:18 +01:00
Sadie Powell
131e570621
Remove the unused ExitCodes array.
2021-04-02 00:26:44 +01:00
Sadie Powell
834c11f6e9
Add support for syncing metadata set on memberships.
...
No compat logic is required here as existing servers will just drop
the unknown METADATA message when they can't find the target.
2021-04-01 19:03:40 +01:00
Sadie Powell
ef24ec632d
Constify variables within loops.
2021-04-01 18:10:11 +01:00
Sadie Powell
1dac868077
Implement support for random spamtrap channels in the LIST output.
2021-04-01 16:53:06 +01:00
Sadie Powell
0fb1a898ba
Refactor the securelist module.
...
- General clean up of the module source to comply with our coding
style.
- Allow <securehost> tags to contain a user@ip mask as well as a
user@host mask.
- Default <securelist:exemptregistered> to on.
2021-04-01 15:57:33 +01:00