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 |
|
Sadie Powell
|
8240a06ed3
|
Convert UserType to be a uint8_t and move inside User.
|
2020-11-10 18:44:05 +00:00 |
|
Sadie Powell
|
89a21202de
|
Convert ConnectClass from reference<> to std::shared_ptr<>.
|
2020-11-03 19:54:13 +00:00 |
|
Sadie Powell
|
579a17df38
|
Clean up a bunch of contructors and destructors.
|
2020-11-01 02:22:41 +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
|
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 |
|