Sadie Powell
6a863194d7
Fix the doxygen documentation and style of the extension classes.
2022-01-22 03:02:58 +00:00
Sadie Powell
a51d044c82
Fix various edge cases in extensible synchronisation.
...
- Fix not forwarding the accountid extensible if it is set.
- Rename the variadic Set() overload to SetFwd().
- Re-add the `const T&` overload of Set().
- Move `bool synced` to SimpleExtItem from StringExtItem.
- Only sync extensibles if their instance is marked as syncable.
2022-01-21 16:36:43 +00:00
Sadie Powell
28513865ce
Fix aliases which require routing to be broadcast out.
2022-01-19 11:44:35 +00:00
Sadie Powell
d216fd0af5
Use vector<string> instead of file_cache in ProcessColors.
2022-01-18 16:54:04 +00:00
Sadie Powell
89c89fd862
Move FilePosition to be with the config stuff it is used by.
2022-01-18 16:39:27 +00:00
Sadie Powell
26394c46f1
Replace FileWrapper with std::unique_ptr.
2022-01-18 16:29:47 +00:00
Sadie Powell
40035385c6
Add constexpr to the initialisation of various const static fields.
2022-01-18 14:33:06 +00:00
Sadie Powell
4856a8f967
Add constructors to the TokenList class.
2022-01-18 02:39:31 +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
aeb0bc3294
Make 005 dependent on the connect class.
2022-01-16 02:19:16 +00:00
Sadie Powell
b867007d20
Allow setting extension data on connect classes.
2022-01-16 02:19:16 +00:00
Sadie Powell
f3fa3716e5
Fix the previous commit on Windows.
2022-01-16 00:04:06 +00:00
Sadie Powell
9059147974
Replace uses of the FileSystem class with std::filesystem.
2022-01-15 23:20:45 +00:00
Sadie Powell
581304f95d
Add the ATTR_NOT_NULL define for marking arguments that can't be null.
2022-01-15 15:52:35 +00:00
Sadie Powell
94d42ad3ba
Rename CUSTOM_PRINTF to ATTR_PRINTF.
...
ATTR_* matches the naming scheme which will be used for function
attributes from now on.
Also, redocument it to have a better description and allow Doxygen
to parse it.
2022-01-15 15:15:42 +00:00
Sadie Powell
52cc8a4183
Refactor CoreException and ModuleException.
2022-01-07 17:16:50 +00:00
Sadie Powell
b96af051c2
Merge branch 'insp3' into master.
2022-01-03 15:14:36 +00:00
Sadie Powell
11b09c10e7
Release v3.12.0.
2021-12-31 00:01:02 +00:00
InspIRCd Robot
adbe149c56
Update copyright headers.
2021-12-30 18:52:08 +00:00
Sadie Powell
4c931b6f6a
Send an account id tag when account-tag & message-tags are enabled.
2021-12-28 13:19:22 +00:00
Sadie Powell
9fafbf633b
Make all extensibles use kebab-case for names where possible.
2021-12-26 00:40:53 +00:00
Sadie Powell
d571752b21
Move RPL_STATS to the stats header.
2021-12-24 15:34:46 +00:00
Sadie Powell
04bdbae4a6
Add a quick method for adding a generic RPL_STATS row.
2021-12-24 15:34:42 +00:00
Sadie Powell
723a36ec39
Move DNS stats to core_dns.
2021-12-24 11:30:24 +00:00
Sadie Powell
6282e1f287
Promote ExtensionItem::ExtensibleType to a top level enum class.
2021-12-23 21:34:53 +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
029e047f99
Mark Regex::Engine::Create{Human,} as const.
2021-12-16 14:17:56 +00:00
Sadie Powell
226c316866
Make upper case regex flags remove the flag if previously set.
2021-12-16 14:13:42 +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
05ccd525ad
Replace some references to ssl with tls.
2021-12-08 12:32:29 +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
f43369b0c4
Merge branch 'insp3' into master.
2021-11-10 18:33:30 +00:00
Sadie Powell
6cee85e732
Fix TokenList not initializing permissive to false on creation.
2021-11-10 18:19:05 +00:00
Sadie Powell
0f2257136d
Remove unused time_t field from the timer system.
...
This is equivalent to calling InspIRCd::Now() and is only actually
used in one place in modules.
2021-11-05 04:24:14 +00:00
Sadie Powell
a94f3b71d5
Merge branch 'insp3' into master.
2021-11-05 04:07:38 +00:00
Sadie Powell
beaae760bd
Add Server::GetPublicName(), fix not respecting <security:hideserver>.
2021-10-25 23:02:28 +01:00
Sadie Powell
6b99684a09
Merge branch 'insp3' into master.
2021-09-30 20:12:36 +01:00
Sadie Powell
1befd6ea00
Move the ParseStack constructor out of the header.
2021-09-30 19:15:18 +01:00
Sadie Powell
f2386ea01f
Add the regex_pcre2 module.
2021-09-26 19:16:51 +01:00
Sadie Powell
502aec599b
Fix and optimise sending standard replies with variable parameters.
2021-09-23 02:14:25 +01:00
Sadie Powell
b5d7c56428
Merge branch 'insp3' into master.
2021-09-23 00:24:36 +01:00