949 Commits

Author SHA1 Message Date
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
Peter Powell
2ec7654267 Deprecate Send{Channel,User}Notice; use SendMessage instead. 2019-11-17 22:37:24 +00:00
Sadie Powell
7b68936321 Merge branch 'insp3' into master. 2019-11-13 15:24:45 +00:00
Peter Powell
2e75491aed Fix respecting the deprecated <channels:users> tag. 2019-10-24 15:56:20 +01:00
Peter Powell
ede5d4f612 Fire the OnSetUserIP event after the connect class change. 2019-10-21 12:22:46 +01:00
Peter Powell
7cf9bfbcec Fix a shadowing warning in LocalUser. 2019-10-18 13:53:51 +01:00
Peter Powell
d0f802e30c Implement serialisation of users.
This allows for various things which will be coming in the future.

e.g. Transferring users to another server on upgrade.
2019-10-14 11:03:03 +01:00
Sadie Powell
7c7de81b6d Merge branch 'insp3' into master. 2019-08-09 04:07:33 +01:00
Peter Powell
d5ed9d15c1 Fix a shadowing warning in UserIOHandler::OnError. 2019-08-01 12:58:22 +01:00
Peter Powell
ef77989a9d Stop removing oper modes after a user have been quit network-wide.
Fixes #1686.
2019-07-31 21:46:07 +01:00
Sadie Powell
ada6646b65 Merge branch 'insp3' into master. 2019-07-27 19:12:29 +01:00
Peter Powell
93556dbfb8 Improve the "max connections exceeded" oper snotice. 2019-07-26 20:19:32 +01:00
Peter Powell
5f387071d3 Add a method for swapping user I/O handlers. 2019-07-21 16:57:19 +01:00
Peter Powell
850b7a3ace Allow modules to prevent a failed connection from being closed. 2019-07-21 13:50:01 +01:00
Sadie Powell
cd8b456f97 Merge branch 'insp3' into master. 2019-07-16 16:48:18 +01:00
Peter Powell
060335168d Default idents to the uuid of the connecting user. 2019-06-12 00:12:10 +01:00
Sadie Powell
1d5b18de82 Merge branch 'insp3' into master. 2019-05-15 15:26:55 +01:00
Peter Powell
7f979b895e Delete some obsolete comments. 2019-05-09 12:37:44 +01:00
Robby
e57d1b19ff Textual improvements and fixes such as typos, casing, etc. (#1612) 2019-04-28 09:14:21 +01:00
Peter Powell
e6e8364e8e HasModePermission: fix inverted condition. 2019-04-21 10:46:38 +01:00
Peter Powell
d5d1311145 HasModePermission: use IsModeChar. 2019-04-19 10:42:17 +01:00
Peter Powell
2cd6efcc64 Rename HasPermission to HasCommandPermission. 2019-04-19 10:05:06 +01:00
Peter Powell
21f0718c4a Remove the 'noisy' mode for HasPrivPermission.
This was only used in one place.
2019-04-19 00:39:57 +01:00
Sadie Powell
1fff2f7f87 Merge branch 'insp3' into master. 2019-03-30 22:06:19 +00:00
Peter Powell
35bbf9bb01 Fix an off-by-one error in User::GetModeLetters(). 2019-02-17 10:23:19 +00:00
Sadie Powell
e75f03d32f Merge branch 'insp3' into master. 2019-02-15 16:24:02 +00:00
Peter Powell
a7fc2fe0dc Replace GetServerPort() with server_sa.port(). 2019-02-15 11:35:25 +00:00
Peter Powell
168ee80490 Rename User::nping to nextping for consistency with lastping. 2019-02-15 11:35:25 +00:00
Sadie Powell
2cc168cfc0 UserManager: remove fakederef. 2019-02-07 12:18:12 +00:00
Sadie Powell
8e908f0a68 SnomaskManager: remove fakederef. 2019-02-07 12:17:09 +00:00