Sadie Powell
c9bc8f01e3
Document aligned_storage and use alignment_of_v.
2022-01-31 13:16:57 +00:00
Sadie Powell
d247b77a1e
Move stdalgo::map::difference to its own utility header.
2022-01-31 12:24:12 +00:00
Sadie Powell
4cfc311591
Slim down the protocol interface for sending metadata.
2022-01-31 12:01:39 +00:00
Sadie Powell
6e7d449495
Refuse to set an extension on the wrong type of extensible.
2022-01-31 12:01:39 +00:00
Sadie Powell
4dfb2d1816
Make extension names case insensitive.
2022-01-31 12:01:39 +00:00
Sadie Powell
7d3055f8c3
Add the type to the Extensible class.
2022-01-31 12:01:39 +00:00
Sadie Powell
f6559895b2
Rename the ExtensionItem::type field to extype to avoid collisions.
2022-01-31 12:01:39 +00:00
Sadie Powell
54db5b5e0a
Fix the case of Membership::GetRank.
2022-01-31 00:03:47 +00:00
Sadie Powell
ec46f6acda
Replace consolecolors with a vendored library.
...
This library supports much more than consolecolors including the
Windows 8 console API.
2022-01-26 15:34:17 +00:00
Sadie Powell
4fd71323d3
Slim the included headers down more.
2022-01-26 14:00:58 +00:00
Sadie Powell
8ab6b7230f
Remove duplicate includes from module headers.
2022-01-25 16:20:45 +00:00
Sadie Powell
d79147e7af
Abolish the infernal space before accessibility keywords.
2022-01-25 14:02:36 +00:00
Sadie Powell
94046d9eaf
Fix a few Doxygen comment errors.
2022-01-24 23:03:12 +00:00
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