Sadie Powell
ddd91d0f0d
Fix a dangling view in dccallow.
2021-04-09 00:15:21 +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
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
Sadie Powell
0194f799b9
Merge branch 'insp3' into master.
2021-03-31 15:04:15 +01:00
Sadie Powell
fc3c650e8d
Add support for per-DNSBL timeouts.
...
This should fix the issue of some DNSBLs being slower than others.
2021-03-31 13:41:55 +01:00
Sadie Powell
952ee5cc60
Fix various documentation comments.
2021-03-31 10:51:51 +01:00
Sadie Powell
1011981f47
Stop asking if users want to generate a self-signed certificate.
...
Users should be using real certificates in 2021.
2021-03-30 21:20:48 +01:00
Sadie Powell
03058a043a
Convert SQL::Field to be a typedef of optional<string>.
2021-03-30 20:24:41 +01:00
Sadie Powell
86c991f7ae
Stop installing inspircd-genssl and delete the now useless manpage.
...
Hopefully this pushes people towards using real certificates instead
of self-signed certificates.
2021-03-30 19:58:18 +01:00
Sadie Powell
4933952811
Use emplace_back where possible.
2021-03-30 19:44:07 +01:00
Sadie Powell
d121f8d4cf
Fix the setter and set time of list modes being lost on netburst.
...
Closes #1812 .
2021-03-30 19:05:21 +01:00
Sadie Powell
d13cd19efe
Fix a compiler warning caused by an unused variable.
2021-03-30 18:31:54 +01:00
Sadie Powell
49702c621e
Convert various mode methods to take Mode::Change.
...
- AccessCheck
- AfterMode
- BeforeMode
- OnModeChange
- OnRawMode
2021-03-30 18:25:55 +01:00
Sadie Powell
82aa0ecf57
Remove multi-line FJOIN and FMODE logic.
...
This only existed for 1202 protocol compatibility. As of 1205 the
line length has been removed.
2021-03-30 14:53:09 +01:00
Sadie Powell
91ceed9d93
Add the ~ server tag prefix.
...
This is used for sending arbitrarily tagged messages between servers.
2021-03-30 14:09:40 +01:00
Sadie Powell
f602febac5
Merge branch 'insp3' into master.
2021-03-30 10:12:41 +01:00
Sadie Powell
8c3c4f8e82
Add support for matching multiple hosts in <connect:{allow,deny}>.
2021-03-30 09:02:47 +01:00
Sadie Powell
e2b0f3dc9e
Add support for blocking tag messages with the deaf mode.
2021-03-30 09:02:26 +01:00
Sadie Powell
4ace96e521
Make the system-wide runtime directory /var/run/inspircd.
...
This avoids permission issues.
2021-03-25 12:28:11 +00:00
Sadie Powell
635cb9d65f
Remove the Kiwi links from the readme.
...
If you're setting up an IRC server you should be able to use an
IRC client to connect to the support channel.
2021-03-25 12:28:11 +00:00
Sadie Powell
7cfeb97166
Improve the header messages of the filter and permchannels modules.
2021-03-21 01:25:33 +00:00
Sadie Powell
99bb7ac8bd
Add an <include> option to allow certain config files to not exist.
...
This is useful when using modules that generate a config file such
as the filter and permchannels modules.
2021-03-19 00:51:09 +00:00
Sadie Powell
6c98127a46
Always disable TLSv1.0 and disable TLSv1.1 by default.
2021-03-18 08:46:48 +00:00
Sadie Powell
c1aa1d5a2b
Add a subclass of ExtensionItem exclusively for booleans.
2021-03-17 21:14:07 +00:00
Sadie Powell
a4e9ebfda3
Implement support for automatically syncing extension items.
2021-03-17 21:13:10 +00:00
Sadie Powell
cdcce7908e
Move extensible code from base.cpp to extensible.cpp and cleanup.
2021-03-17 15:10:01 +00:00
Sadie Powell
3b71f2068e
Mark {From,To}{Human,Internal,Network} as noexcept.
2021-03-17 13:34:43 +00:00
Sadie Powell
3c013df6da
Add a forwarding overload of SimpleExtItem#Set.
2021-03-17 13:12:24 +00:00
Sadie Powell
9ad9a668d5
Pascalize Unset in extension item classes.
2021-03-17 06:15:48 +00:00
Sadie Powell
e2f8e75ab8
Pascalize Set in extension item classes.
2021-03-17 06:07:41 +00:00
Sadie Powell
59ee026b3b
Pascalize Get in extension item classes.
2021-03-17 05:58:47 +00:00
Sadie Powell
8cb6691601
Merge branch 'insp3' into master.
2021-03-17 04:16:24 +00:00
Sadie Powell
37f068576e
Default <permchannelsdb:listmodes> to on.
2021-03-14 02:59:13 +00:00
Sadie Powell
0a329440bd
Implement support for saving filters.
2021-03-14 02:55:03 +00:00