Sadie Powell
41d1312853
Rename User::age to User::nickchanged and fix the docs.
2022-10-11 11:12:04 +01:00
Sadie Powell
552b2db321
Mark User::Has{Command,Priv}Permission as const.
2022-10-07 21:34:37 +01:00
Sadie Powell
89537ed2ab
Fix various cases of the &* being next to the name instead of type.
2022-09-29 12:36:01 +01:00
Sadie Powell
9203f40f41
Fix some warnings noticed by the readability-* clang-tidy checkers.
2022-09-03 23:17:05 +01:00
Sadie Powell
2cfc79bfcb
Rip out the extensible/user serialisation system.
...
This was part of a failed attempt to implement zero downtime
restarts in v3. This can be implemented in a better way but for
now its just slowing down build times so lets kill it.
2022-09-01 11:53:47 +01:00
Sadie Powell
6c34d4e8ea
Update some code that uses "endpoint" to use "socket address" instead.
2022-09-01 11:53:47 +01:00
Sadie Powell
28a7f1f0c8
Merge branch 'insp3' into master.
2022-08-27 14:48:19 +01:00
InspIRCd Robot
96f355c2fa
Update copyright headers.
2022-08-25 20:46:11 +01:00
Sadie Powell
d4125ff12d
Rename SetClientIP to ChangeRemoteAddress.
2022-08-10 22:16:06 +01:00
Sadie Powell
2dc07dbc06
Merge branch 'insp3' into master.
2022-08-10 22:04:19 +01:00
Sadie Powell
bbdbbc64d5
Deprecate the string variant of SetClientIP.
...
Nothing uses this anymore.
2022-08-10 19:37:07 +01:00
Sadie Powell
ad2aecf191
Remove some unnecessary getters in ConnectClass.
...
All of these members are public anyway.
2022-07-22 20:44:47 +01:00
Sadie Powell
0e7883dd96
Format enums with an underlying type like classes.
2022-04-30 14:47:39 +01:00
Sadie Powell
414105e409
Add a typedef for the mode status bitset.
2022-03-27 16:09:19 +01:00
Sadie Powell
d79147e7af
Abolish the infernal space before accessibility keywords.
2022-01-25 14:02:36 +00:00
Sadie Powell
5881e6f6a3
Revert "Allow setting extension data on connect classes".
...
This can't reasonably be implemented safely with the current way
that extensibles work.
This reverts commit b867007d201b1a3b130186c54e41481c0374a7f6.
2022-01-16 15:05:00 +00:00
Sadie Powell
5486c0f383
Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>.
2022-01-16 14:26:49 +00:00
Sadie Powell
b867007d20
Allow setting extension data on connect classes.
2022-01-16 02:19:16 +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
e9d54724e6
Merge branch 'insp3' into master.
2021-12-14 16:56:48 +00:00
Sadie Powell
15a68932b6
If a user has a unique username then include it in bans.
2021-12-14 15:55:06 +00:00
Sadie Powell
64340dc509
Sync uniqueusername from the connect class to the user.
...
This is a massive hack for now but should be made to sync properly
in v4 when we have extensibles that don't suck.
2021-12-14 15:48:57 +00:00
Sadie Powell
42b7a77cc6
Move configuration of connect classes to the ConnectClass class.
2021-11-24 20:54:33 +00:00
Sadie Powell
4a6e0e2133
Refactor the ClassTypes enum and move into ConnectClass.
2021-11-24 20:29:29 +00:00
Sadie Powell
460220fbf5
Add sensible defaults and limits to ConnectClass.
2021-11-24 20:28:05 +00:00
Sadie Powell
d120324c1b
Fix ConnectClass inheriting from refcountbase.
...
This snuck back in during the v3 merge.
Closes #1944 .
2021-11-24 19:42:09 +00:00
Sadie Powell
2ec53e10ee
Merge branch 'insp3' into master.
2021-11-24 07:17:50 +00:00
Sadie Powell
f776f92371
Add the <connect:uniqueusername> option.
2021-11-23 23:05:06 +00:00
Sadie Powell
2cdd311735
Document ConnectClass and reorder it to avoid unnecessary padding.
2021-11-16 18:59:18 +00:00
Sadie Powell
a730147586
Merge branch 'insp3' into master.
2021-08-01 20:14:47 +01:00
Sadie Powell
a488fe52f6
Change ForEachNeighbour to return the already sent id.
2021-07-24 19:00:39 +01:00
Sadie Powell
d95d7fc4f5
Merge branch 'insp3' into master.
2021-07-01 12:33:51 +01:00
Josh Soref
de6d4dbd1e
Fix various spelling issues ( #1883 ).
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-06-21 21:47:06 +01:00
Dominic Hamon
02340285c5
Added -Wshorten-64-to-32 and fixed all warnings.
2021-05-30 20:37:54 +01:00
Sadie Powell
7a712456f1
Merge branch 'insp3' into master.
2021-05-14 16:54:33 +01:00
InspIRCd Robot
e94b673532
Update copyright headers.
2021-05-14 14:48:39 +01:00
Sadie Powell
3ca912ad71
Merge branch 'insp3' into master.
2021-05-11 04:07:45 +01:00
Sadie Powell
b4a174ee9c
Fix a bunch of weird indentation and spacing issues.
2021-04-27 16:41:14 +01:00
Sadie Powell
ba6332b8ec
Rip out the SwapInternals method.
...
This never really worked correctly and will now be replaced with
something better.
2021-04-19 00:14:53 +01:00
Sadie Powell
d8019f87b3
Fix various uses of the _t suffix which is reserved by POSIX.
2021-04-17 22:44:13 +01:00
Sadie Powell
7d84e4900f
Fix a ton of pedantic compiler warnings.
2021-04-04 23:42:15 +01:00
Sadie Powell
0194f799b9
Merge branch 'insp3' into master.
2021-03-31 15:04:15 +01:00
Sadie Powell
952ee5cc60
Fix various documentation comments.
2021-03-31 10:51:51 +01:00
Sadie Powell
f602febac5
Merge branch 'insp3' into master.
2021-03-30 10:12:41 +01:00
Sadie Powell
8c3c4f8e82
Add support for matching multiple hosts in <connect:{allow,deny}>.
2021-03-30 09:02:47 +01: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
4e488cb54d
Refactor classbase/CullResult into Cullable/Cullable::Result.
2021-03-02 05:56:56 +00:00
Sadie Powell
2b2d37ff50
Make MyClass private and move everything to GetClass.
2021-01-31 14:00:34 +00:00
Sadie Powell
14eed26666
Move sendmsglist to above the functions in LocalUser.
2021-01-31 13:50:28 +00:00