978 Commits

Author SHA1 Message Date
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
2b2d37ff50 Make MyClass private and move everything to GetClass. 2021-01-31 14:00:34 +00:00
Sadie Powell
e8514f7149 Replace all internal references to uline with services. 2021-01-30 14:20:25 +00:00
Sadie Powell
bcc3f98377 Merge branch 'insp3' into master. 2021-01-13 01:02:33 +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
7187fc224b Rename IdentMax to MaxUser for consistency with the other limits. 2020-11-27 12:27:48 +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
2a9f1c7fa0 Merge branch 'insp3' into master. 2020-11-03 20:11:26 +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
0a6b1e1a7d Make connect class debug logging more complete and consistent. 2020-11-03 15:43:04 +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
4176261edf Convert OperInfo from reference<> to std::shared_ptr<>. 2020-10-31 16:55:18 +00:00
Sadie Powell
f0d76147e6 Don't call the OnChangeRealHost event when initialising a user.
Fixes a (git only) crash when a user gets xlined before they have
been initialised.
2020-10-29 12:50:55 +00:00
Sadie Powell
5a88a78f99 Merge branch 'insp3' into master. 2020-10-27 10:50:28 +00:00
Sadie Powell
5f71fbdbff Fix firing the wrong event when a real hostname changes. 2020-10-08 22:47:28 +01:00
Sadie Powell
e81dcaec7f Recheck users for xlines when their real hostname changes. 2020-10-06 10:31:39 +01:00
Sadie Powell
17b91b7e2f Merge branch 'insp3' into master. 2020-09-18 15:21:25 +01:00
Sadie Powell
bc444b242f Fix OnChangeRealName not being fired for remote users. 2020-09-01 10:00:39 +01:00
Sadie Powell
e059f82249 Merge branch 'insp3' into master. 2020-07-29 12:13:45 +01:00
Sadie Powell
88df35c715 Replace all erroneous space indentation with tab indentation. 2020-07-29 12:01:05 +01:00
Sadie Powell
90fb7c511f Fix the case of getError/getSendQSize and rewrite the doc comments. 2020-07-20 07:36:44 +01:00
Sadie Powell
f73d200a1e Split OnSetEndPoint into two events. 2020-07-20 07:21:16 +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
Sadie Powell
119907f238 Revert "Convert UserType to an enum class".
There's a bug in GCC with bitfields and enum class.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51242

This reverts commit 44834a66a7e92c8979ae16421286c581a9cffbe9.
2020-04-21 11:40:26 +01:00
InspIRCd Robot
4f9abe96a4 Fixes by misspell-fixer 2020-04-21 00:52:12 -06:00
Sadie Powell
44834a66a7 Convert UserType to an enum class. 2020-04-21 04:17:14 +01:00
Sadie Powell
bafb721640 Merge branch 'insp3' into master. 2020-04-14 19:57:10 +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
41f781a9a6 Clean up the logic for parsing oper mode privileges. 2020-04-11 14:29:30 +01:00
Sadie Powell
e1ed9b275f Merge branch 'insp3' into master. 2020-04-09 18:06:50 +01:00
Sadie Powell
bb39d78be6 Set the minimum length to 1 for most config items with a default. 2020-04-09 15:18:04 +01:00
Sadie Powell
9ebda853f5 Fix various documentation and formatting issues. 2020-03-30 17:24:12 +01:00
Sadie Powell
b9acde9aaf Merge branch 'insp3' into master. 2020-03-18 13:51:23 +00:00
Sadie Powell
1efc234a54 Implement support for the SERVLIST command. 2020-03-12 17:51:03 +00:00
Sadie Powell
0a67b8861a Warn if the server config contains an unhashed password.
This will be made a hard failure in v4.
2020-03-11 15:06:19 +00:00
Sadie Powell
84eb33d4c3 Move FindNickOnly to UserManager. 2020-02-09 19:24:26 +00:00
Sadie Powell
98e4ddfb21 Use C++11 inline initialisation for class members. 2020-02-06 11:25:42 +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
4cc992f6c2 Ignore clients on ulined servers when reporting stats in LUSERS. 2019-12-28 17:33:49 +01:00
Sadie Powell
034dad6ab0 Merge branch 'insp3' into master. 2019-12-08 17:47:07 +00:00