3706 Commits

Author SHA1 Message Date
Sadie Powell
2c789b7c32 Fix core message events not being fired.
Third time lucky eh?
2020-12-23 15:39:31 +00:00
Sadie Powell
96befc58f0 Send RPL_SAVENICK from irc2 when renaming a user to their UUID. 2020-12-22 04:13:56 +00:00
Sadie Powell
a63b6e16df Merge branch 'insp3' into master. 2020-12-21 16:40:52 +00:00
Sadie Powell
6cfabb0064 Hide the server name/desc better when <options:hideserver> is set. 2020-12-20 03:05:29 +00:00
Sadie Powell
029ff235e1 Fix an inverted condition in the previous commit. 2020-12-20 00:25:27 +00:00
Sadie Powell
b618b194f3 Don't call events provided by dying or dead modules. 2020-12-18 01:10:13 +00:00
Sadie Powell
3ab889537f Merge branch 'insp3' into master. 2020-12-04 18:44:40 +00:00
Sadie Powell
ffacccbb6f Add a typedef for the data provider map. 2020-12-04 18:06:42 +00:00
Sadie Powell
eda0e5e2f0 Improve the logging of service adding/deleting. 2020-12-04 15:56:59 +00:00
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