Sadie Powell
8315d5250d
Rename ChanMax to MaxChannel for consistency with the other limits.
2020-11-27 12:36:44 +00:00
Sadie Powell
35765c15b1
Rename NickMax to MaxNick for consistency with the other limits.
2020-11-27 12:30:06 +00:00
Sadie Powell
7187fc224b
Rename IdentMax to MaxUser for consistency with the other limits.
2020-11-27 12:27:48 +00:00
Sadie Powell
54e0cade5c
Merge tag 'v3.8.1' into master.
2020-11-20 15:45:17 +00:00
Sadie Powell
a68424a611
Silence a harmless warning in newer versions of GCC.
2020-11-12 14:26:20 +00:00
Sadie Powell
a16bac5e05
Convert IRCv3::Replies::Reply#Send[IfCap] to variadic functions.
2020-11-12 12:41:43 +00:00
Sadie Powell
2d6d47b489
Add stdalgo::equal_range and switch more stuff to iterator_range.
2020-11-11 02:29:36 +00:00
Sadie Powell
ba3dd9cedc
Convert FOREACH_MOD_CUSTOM to a variadic function.
2020-11-10 23:14:21 +00:00
Sadie Powell
c7690513cd
Convert FIRST_MOD_RESULT_CUSTOM to a variadic function.
2020-11-10 22:23:26 +00:00
Sadie Powell
8240a06ed3
Convert UserType to be a uint8_t and move inside User.
2020-11-10 18:44:05 +00:00
Sadie Powell
2310b03ad5
Initial support for platform-specific module file extensions.
2020-11-04 13:37:14 +00:00
Sadie Powell
3075cc7bd0
Move config typedefs to ServerConfig and use auto in more places.
2020-11-03 22:30:58 +00:00
Sadie Powell
af4d61a960
Fix inconsistencies with FilePosition and column counting.
2020-11-03 21:28:36 +00:00
Sadie Powell
e21af089ba
Rename ConfigTag::tag to ConfigTag::name.
2020-11-03 20:03:02 +00:00
Sadie Powell
373bc208ff
Move FilePosition to fileutils.h and use in ConfigTag.
2020-11-03 19:54:13 +00:00
Sadie Powell
33a987368e
Replace ConfigTag::create with a public constructor.
2020-11-03 19:54:13 +00:00
Sadie Powell
be3b34fcea
Rename ConfigItems to ConfigTag::Items.
2020-11-03 19:54:13 +00:00
Sadie Powell
89a21202de
Convert ConnectClass from reference<> to std::shared_ptr<>.
2020-11-03 19:54:13 +00:00
Sadie Powell
579a17df38
Clean up a bunch of contructors and destructors.
2020-11-01 02:22:41 +00:00
Sadie Powell
e7837aa2ca
Merge branch 'insp3' into master.
2020-11-01 00:32:38 +00:00
Sadie Powell
1b181b42b8
Convert ConfigTag from reference<> to std::shared_ptr<>.
2020-10-31 23:21:15 +00:00
Sadie Powell
441bd151da
Add stdalgo::iterator_range and switch config tag reading to use it.
...
This allows us to use range-based for loops which were not possible
with the previous config tag system.
2020-10-31 22:33:35 +00:00
Sadie Powell
4176261edf
Convert OperInfo from reference<> to std::shared_ptr<>.
2020-10-31 16:55:18 +00:00
Sadie Powell
d38595e7e1
Release v3.8.0.
2020-10-30 12:01:10 +00:00
InspIRCd Robot
e73d011e68
Update copyright headers.
2020-10-30 12:01:10 +00:00
Sadie Powell
5a88a78f99
Merge branch 'insp3' into master.
2020-10-27 10:50:28 +00:00
Sadie Powell
7cb27dabe6
Convert CmdResult to an 8-bit strongly typed enum.
2020-10-27 00:59:11 +00:00
Sadie Powell
7ba36f5348
Don't kill cloaking users when hash/md5 is missing.
2020-10-27 00:42:32 +00:00
Sadie Powell
581d1d8fa0
Fix the behaviour of multi-value PING and PONG messages.
2020-10-26 18:02:23 +00:00
Sadie Powell
e81dcaec7f
Recheck users for xlines when their real hostname changes.
2020-10-06 10:31:39 +01:00
Sadie Powell
5c06a0f335
Check that the values specified in <limits> are reasonable.
2020-09-30 17:21:52 +01:00
Sadie Powell
f6c4ff5498
Merge branch 'insp3' into master.
2020-09-27 12:37:24 +01:00
Sadie Powell
e79d4ec07d
Make shun block client-only tags by default.
2020-09-27 11:37:22 +01:00
Sadie Powell
73b4ac1b3a
Merge branch 'insp3' into master.
2020-08-25 10:46:42 +01:00
Sadie Powell
63dd77804f
Silence some copy warnings on C++11 compilers.
2020-08-01 13:24:36 +01:00
Sadie Powell
279ad1616d
Release v3.7.0.
2020-07-30 17:23:30 +01:00
InspIRCd Robot
2f12f76ec9
Update copyright headers.
2020-07-30 14:31:12 +01:00
Sadie Powell
2c9ebe040c
Make the ERR_CANNOTSENDTOCHAN extban message less misleading.
2020-07-30 12:00:16 +01:00
Sadie Powell
e059f82249
Merge branch 'insp3' into master.
2020-07-29 12:13:45 +01:00
Sadie Powell
1d06a27acc
Add a method for creating a regex pattern with included flags.
2020-07-29 10:42:31 +01:00
Sadie Powell
1621a84f96
Rewrite the regex system from scratch.
...
* Move everything to the Regex namespace:
- Regex -> Regex::Pattern
- RegexException -> Regex::Exception
- RegexFactory -> Regex::Engine
* Add support for regex flags.
- Regex::OPT_CASE_INSENSITIVE performs case-insensitive matching.
* Add the Regex::EngineReference class as a friendly wrapper around
dynamic_reference_nocheck<Regex::Engine>.
* Add the Regex::SimpleEngine template class for automating the
implementation of regex factory classes.
* Use std::shared_ptr for Regex::Pattern objects instead of making
users manage memory manually.
2020-07-28 19:22:59 +01:00
Matt Schatz
30648e84ce
Fix secure websocket users not being seen as secure.
...
Since a TLS (SSL) module will always be the last IOHook attached
to a socket, IsSSL() needs to ignore any Middle IOHooks that may
also be attached.
2020-07-27 09:38:11 +01:00
Sadie Powell
c3e88d6b53
Clean up ISUPPORT code and implement support for ISUPPORT updates.
2020-07-24 14:27:46 +01:00
Sadie Powell
cac18ebf0d
Add a method for comparing two maps.
2020-07-24 13:56:16 +01:00
Sadie Powell
1b356e5a89
Move the property string from cmd_modules to Module & show on load.
2020-07-24 05:05:27 +01:00
Sadie Powell
4e3d97546a
Pascalize Cap::set and rename Cap::get to IsEnabled.
2020-07-20 12:16:48 +01:00
Sadie Powell
ef4e61cd24
Pascalize ExtensionItem::{get,set,unset}_raw.
2020-07-20 11:58:28 +01:00
Sadie Powell
456989e9d5
Clean up the StreamSocket documentation comments slightly.
2020-07-20 07:52:59 +01:00
Sadie Powell
306594f591
Move GetNextLine from StreamSocket to TreeSocket.
2020-07-20 07:50:18 +01:00
Sadie Powell
90fb7c511f
Fix the case of getError/getSendQSize and rewrite the doc comments.
2020-07-20 07:36:44 +01:00