355 Commits

Author SHA1 Message Date
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
Peter Powell
5cf6f65044 Document ConfigStatus and add a way to detect the initial load. 2019-09-02 15:17:30 +01:00
Sadie Powell
03d3563ef9 Replace socketengine_{pthread,win32} with C++11 threads. 2019-05-15 21:06:09 +01:00
Sadie Powell
b4685e06d4 Remove all 2.0 config compatibility code. 2019-01-25 03:27:13 +00:00
Sadie Powell
c78ecdf579 Replace the override macro with the override keyword. 2019-01-25 02:52:11 +00:00
Sadie Powell
fb17bba197 Replace the TR1NS macro with the std namespace. 2019-01-25 02:49:03 +00:00
Peter Powell
4047a143fc Move the <disabled> tag out of the core to a new module. 2019-01-24 15:10:02 +00:00
Matt Schatz
f2e3fd5952 Improve X-line text consistency.
- Change any "-Line", ":Line", or "*line" to "-line" throughout
the X-line code, comments, and documentation.
- Add periods to the end of some notices.
- Correct a typo in the Q-line code comments.
- Update the filter module documentation (shun addition).

Co-authored-by: Robby <robby@chatbelgie.be>
2019-01-09 10:07:09 +00:00