312 Commits

Author SHA1 Message Date
Sadie Powell
52cc8a4183 Refactor CoreException and ModuleException. 2022-01-07 17:16:50 +00:00
Sadie Powell
b96af051c2 Merge branch 'insp3' into master. 2022-01-03 15:14:36 +00:00
InspIRCd Robot
adbe149c56 Update copyright headers. 2021-12-30 18:52:08 +00:00
Sadie Powell
421e8c8c79 Add the final keyword to all remaining classes that can have it. 2021-12-20 20:19:40 +00:00
Sadie Powell
2f462a6098 Merge branch 'insp3' into master. 2021-09-16 15:50:00 +01:00
Sadie Powell
1586569069 Use the network name as the description when hideserver is enabled. 2021-09-04 20:14:47 +01:00
Dominic Hamon
02340285c5
Added -Wshorten-64-to-32 and fixed all warnings. 2021-05-30 20:37:54 +01:00
Sadie Powell
c6c4bcf952 Make ServerConfig::{ApplyModules, Fill} private. 2021-05-13 15:29:39 +01:00
Sadie Powell
3ca912ad71 Merge branch 'insp3' into master. 2021-05-11 04:07:45 +01:00
Sadie Powell
7d84e4900f Fix a ton of pedantic compiler warnings. 2021-04-04 23:42:15 +01:00
Sadie Powell
e76b208ce8 Merge branch 'insp3' into master. 2021-03-05 09:54:26 +00:00
Sadie Powell
2ba32afa9a Fix a bunch of really obvious unnecessary includes. 2021-03-05 09:17:13 +00:00
Sadie Powell
dcafba9596 Fix comments that claim that the InspIRCd protocol uses TS6 UUIDs.
Just because they happen to look the same doesn't mean that they
actually are.
2021-03-05 03:23:25 +00:00
Sadie Powell
1e1cf527d2 Merge branch 'insp3' into master. 2021-03-05 02:32:35 +00:00
InspIRCd Robot
7b1ab06a95 Update copyright headers. 2021-03-05 02:16:11 +00:00
Sadie Powell
3f113fc046 Move iterator_range to the utility directory and renamespace. 2021-03-02 02:56:49 +00:00
Sadie Powell
c22c7e5a99 Merge branch 'insp3' into master. 2021-02-28 19:16:40 +00:00
InspIRCd Robot
1bf7ca3894 Update copyright headers. 2021-02-26 06:58:13 +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
db0052bcc2 Merge branch 'insp3' into master. 2021-01-18 11:42:25 +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
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
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
3075cc7bd0 Move config typedefs to ServerConfig and use auto in more places. 2020-11-03 22:30:58 +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
1b181b42b8 Convert ConfigTag from reference<> to std::shared_ptr<>. 2020-10-31 23:21:15 +00:00
Sadie Powell
4176261edf Convert OperInfo from reference<> to std::shared_ptr<>. 2020-10-31 16:55:18 +00:00
Sadie Powell
5a88a78f99 Merge branch 'insp3' into master. 2020-10-27 10:50:28 +00:00
Sadie Powell
5c06a0f335 Check that the values specified in <limits> are reasonable. 2020-09-30 17:21:52 +01:00
Sadie Powell
437c2045ad Add ConfigParser::getEnum for parsing enum values. 2020-05-13 14:33:47 +01:00
Sadie Powell
b755d2a778 Merge branch 'insp3' into master. 2020-05-05 22:03:14 +01:00
InspIRCd Robot
44489ddf7e Update copyright headers. 2020-04-24 10:23:47 +01:00
InspIRCd Robot
4f9abe96a4 Fixes by misspell-fixer 2020-04-21 00:52:12 -06:00
Sadie Powell
bafb721640 Merge branch 'insp3' into master. 2020-04-14 19:57:10 +01:00
Sadie Powell
d99ee13f29 Mark all config parsing methods as const. 2020-04-12 06:04:42 +01:00
Sadie Powell
6fcbfc0723 Add support for limiting what opers can subscribe to snomasks. 2020-04-11 15:44:51 +01:00
Sadie Powell
98e4ddfb21 Use C++11 inline initialisation for class members. 2020-02-06 11:25:42 +00:00
Sadie Powell
0966ad5a0a Make WritePID read directly from the config. 2020-02-06 01:53:16 +00:00
Sadie Powell
1de6f5b4a9 Merge branch 'insp3' into master. 2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
f856d5ab8a Merge branch 'insp3' into master. 2020-01-01 12:33:10 +01:00
Peter Powell
37b46ade4b Extract command line option parsing to a function. 2019-12-09 01:15:31 +00:00
Sadie Powell
8848169e8b Merge branch 'insp3' into master. 2019-09-23 00:37:33 +01:00