Sadie Powell
14eed26666
Move sendmsglist to above the functions in LocalUser.
2021-01-31 13:50:28 +00:00
Sadie Powell
7f764767fa
Fix a shadowing warning in SERVLIST.
2021-01-30 19:55:27 +00:00
Sadie Powell
601ddbbb25
Replace defaultdeleter with the C++11 one and rename culldeleter.
2021-01-30 19:53:36 +00:00
Sadie Powell
3ae299f298
Rename Extensible::doUnhookExtensions to UnhookExtensions.
2021-01-30 19:16:49 +00:00
Sadie Powell
e8514f7149
Replace all internal references to uline with services.
2021-01-30 14:20:25 +00:00
Sadie Powell
aa6cc72191
Rename <uline> to <service>.
2021-01-30 14:04:59 +00:00
Sadie Powell
74661a8112
Allow ServerConfig::Conf{Value,Tags} to have a fallback default.
2021-01-30 14:04:19 +00:00
Sadie Powell
2b1d0f5ef4
Rename <deaf:privdeafuline> to <deaf:privdeafservice>.
2021-01-30 13:44:15 +00:00
Sadie Powell
702d9bc3e5
Rename <deaf:bypasscharsuline> to <deaf:servicebypasschars>.
2021-01-30 13:42:25 +00:00
Sadie Powell
3c7d5e2823
Rename <silence:exemptuline> to <silence:exemptservice>.
2021-01-30 13:32:55 +00:00
Sadie Powell
67e212710b
Rename <alias:uline> to <alias:service>.
2021-01-30 13:30:32 +00:00
Sadie Powell
61f3f350f2
Rename <security:hideulines> to <security:hideservices>.
2021-01-30 13:24:05 +00:00
Sadie Powell
589c4b80f4
Rename <security:hideulinekills> to <security:hideservicekills>.
2021-01-30 13:23:19 +00:00
Sadie Powell
bb35650b57
Merge branch 'insp3' into master.
2021-01-29 18:15:32 +00:00
Sadie Powell
3236e2b26f
Allow using fixedpart/fixedquit with an empty message.
2021-01-29 18:02:46 +00:00
Sadie Powell
ce05e885a9
Remove unnecessary chdirs in the helper script.
2021-01-29 15:01:37 +00:00
Sadie Powell
0e5081e87c
Fix some minor oversights introduced in 859a799 and 3e557e8.
2021-01-29 14:24:56 +00:00
Sadie Powell
413a08a4d3
Improve the ./configure --help
output
...
- Document --portable, --runtime-dir, and INSPIRCD_VERBOSE.
- Make the output coloured on supporting terminals.
- Fix the description of --data-dir.
- Wrap all lines at 80 charactrs.
- Upper case the value names and wrap in <> not [].
2021-01-29 14:10:00 +00:00
Sadie Powell
2fceea41e8
Always use for in Perl modules.
2021-01-29 13:46:37 +00:00
Sadie Powell
3e557e85d3
Purge all remaining uses of print_format.
2021-01-29 13:39:13 +00:00
Sadie Powell
ad1ad11067
Update the mailmap.
2021-01-28 11:58:15 +00:00
Sadie Powell
0ea4e0cb91
Exempt IRCCloud users from connectban and DNSBL lookups.
2021-01-27 19:39:34 +00:00
Sadie Powell
05fe4bdd1d
Allow disabling connectban for specific connect classes.
...
Ref: #1841 .
2021-01-27 19:39:32 +00:00
Sadie Powell
859a79923a
Migrate some stuff away from print_format.
2021-01-27 16:47:08 +00:00
Sadie Powell
f6b861f12d
Fix unnecessary begin blocks in Perl source files.
2021-01-25 12:39:56 +00:00
Sadie Powell
cc28ba0f21
Make the UNIX socket listener path relative to the runtime path.
...
This is not a breaking change because unless the runtime path is
explicitly set it defaults to the same as the data path.
2021-01-20 11:54:13 +00:00
Sadie Powell
a601cf2f0d
Add <dns:enabled>; allows disabling DNS lookups entirely.
...
Ref: #1839 .
2021-01-19 08:42:44 +00:00
Sadie Powell
ebe3e3f3cf
Allow converting a Cap::Reference to a Cap::Capability*.
2021-01-19 08:11:01 +00:00
Sadie Powell
28fef58b88
Send ERR_CANTUNLOADMODULE when unloading a module on reload fails.
2021-01-19 07:19:48 +00:00
Sadie Powell
5fe9da839c
Refactor the globalload module.
...
- Require that a non-empty last parameter is given to the commands.
- Use WriteRemoteNumeric instead of WriteNumeric so opers actually see the response.
- Store <security:allowcoreunload> instead of looking it up every time.
2021-01-19 07:09:56 +00:00
Sadie Powell
da7cba6938
Fix the DNS socket not being closed when core_dns is unloaded.
2021-01-19 01:43:52 +00:00
R-V6
c2369968bc
Added <module name="codepage"> to modules.conf.example.
2021-01-18 23:46:32 +00:00
Sadie Powell
db0052bcc2
Merge branch 'insp3' into master.
2021-01-18 11:42:25 +00:00
Sadie Powell
4a126ad130
Add a separate stats class for DNSBL errors.
2021-01-18 10:22:57 +00:00
Sadie Powell
e626ceeb33
Improve the robustness of the DNSBL module.
...
- Handle DNSBLs that return invalid lookup results.
- Fix DNSBLs that return non-local addresses blocking connections.
- Fix silently failing when a DNSBL returns no IPv4 results.
- General code cleanup.
2021-01-18 10:22:57 +00:00
iwalkalone
6223be60de
Implemented configurable kick message for the repeat module ( #1835 ).
2021-01-18 07:22:44 +00:00
Sadie Powell
f9a6631854
Fix showing the start header when using --version.
2021-01-18 07:12:23 +00:00
Sadie Powell
a59ed4b394
Add a new runtime directory and move the pid file to it.
...
The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.
2021-01-18 07:05:27 +00:00
Sadie Powell
8b2f3980cc
Fix ./configure --update
with cache files generated before v3.2.
2021-01-18 06:54:01 +00:00
Sadie Powell
267d85ac62
Add default empty openssl compiler flags.
...
This makes things easier for users who are using InspIRCd on OSes
where OpenSSL is part of the base system.
2021-01-18 05:38:11 +00:00
Sadie Powell
77a8864d58
Fix not rejecting attempts to set snomasks with SAMODE/override.
2021-01-16 04:48:16 +00:00
Sadie Powell
8754618697
Delete the ISO 8859-1 locale files.
...
These are all subsets of the latin1 codepage file which should be
used instead.
2021-01-14 12:40:33 +00:00
Sadie Powell
bcc3f98377
Merge branch 'insp3' into master.
2021-01-13 01:02:33 +00:00
Sadie Powell
56b4dc61e4
Add a shun option to only apply when users are fully connected.
...
Closes #1825 .
2021-01-13 00:05:17 +00:00
Sadie Powell
0365daef5e
Improve parsing modes and snomasks in oper classes.
...
- Deduplicate the code to one function.
- Fix defaulting snomasks when a user has more than one class.
2021-01-12 23:52:22 +00:00
Sadie Powell
5a19ff00ac
Add a user mode which allows disabling receiving channel history.
...
Closes #1830 .
2021-01-11 10:07:11 +00:00
Sadie Powell
4f68d162cc
Merge branch 'insp3' into master.
2021-01-07 13:13:58 +00:00
Sadie Powell
8d6b550e0b
Implement support for more XML and IRC colour code escapes.
2021-01-07 11:53:58 +00:00
Sadie Powell
73a209628c
v2 is dead, long live v3!
2020-12-31 22:54:50 +00:00
Sadie Powell
dac5a72ac3
Use the builtin Perl kill function not system.
2020-12-31 22:54:50 +00:00