aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Release v4.0.0 alpha 17. v4.0.0a17Gravatar Sadie Powell2022-12-011-1/+1
|
* Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-019-12/+11
|
* Yet more stylistic fixes.Gravatar Sadie Powell2022-12-0187-179/+379
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-302-6/+3
|\
| * Add a method for quickly escaping a tag value.Gravatar Sadie Powell2022-11-301-0/+31
| |
| * Use gnutls_digest_get_id if supported by the GnuTLS library.Gravatar Sadie Powell2022-11-291-1/+4
| |
| * Fix asserting when building against libstdc++ in debug mode.Gravatar Sadie Powell2022-11-281-1/+1
| | | | | | | | | | This code was safe as the pointer was never actually dereferenced but libstdc++ would assert on it anyway.
| * Avoid sending an +o mode change when the mode isn't available.Gravatar Sadie Powell2022-11-281-1/+1
| | | | | | | | | | This is generally fine but may cause problems if an oper unloads the core_oper module.
* | Fix GetSnomasks returning unregistered snomasks.Gravatar Sadie Powell2022-11-301-1/+1
| |
* | Add stats tags for `/STATS O` and `/STATS o`.Gravatar Sadie Powell2022-11-301-18/+35
| |
* | Allow attaching tags with extra info to stats rows.Gravatar Sadie Powell2022-11-301-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stats responses are incredibly non-standard and no clients render them correctly. This makes using /STATS a massive pain in the ass for users. However, now we have message tags we have a way to fix this. We can send a <trailing> with the message details and for clients (probably bots) that need to parse the response we can include the specific details in message tags enabled by the new inspircd.org/stats-tags capability. The average user will get this: :<server> 210 <nick> <stats-char> :<stats-message> If however they enable the newcapability they will get this instead: @inspircd.org/stats-foo=bar;inspircd.org/stats-baz=bax :<server> 210 <nick> <stats-char> :<stats-message>
* | Add a method for quickly escaping a tag value.Gravatar Sadie Powell2022-11-301-0/+32
| |
* | Fix a typo in core_oper.Gravatar Sadie Powell2022-11-291-1/+2
| |
* | Extract the logic for tags that need message-tags to its own type.Gravatar Sadie Powell2022-11-294-33/+7
| |
* | Move the oper statistics to core_oper and rewrite.Gravatar Sadie Powell2022-11-295-96/+141
| | | | | | | | | | | | | | The numerics we used previously were not being used according to the RFC and every implementation has their own behaviour here which makes it hard for clients to do anything reasonable. Instead of this using the generic stats numeric makes a lot more sense.
* | Refactor the internals of the oper system.Gravatar Sadie Powell2022-11-2834-290/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | - Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-244-8/+20
|\|
| * Allow silence flag metadata to contain unknown flags.Gravatar Sadie Powell2022-11-231-3/+5
| | | | | | | | | | This prevents breaking link compatibility if we ever add more silence flags in the future.
| * Fix matching partially expanded IPv6 addresses.Gravatar Sadie Powell2022-11-181-2/+2
| |
| * Avoid using a CIDR range when it only represents a single IP.Gravatar Sadie Powell2022-11-181-1/+11
| |
* | Use string_view in IsNick/IsIdent/IsChannel.Gravatar Sadie Powell2022-11-214-12/+12
| |
* | Update the vendored libraries.Gravatar Sadie Powell2022-11-161-7/+0
| |
* | Fix a compiler error on Alpine and macOS.Gravatar Sadie Powell2022-11-161-0/+2
| |
* | Add a typedef for sa_family_t on Windows.Gravatar Sadie Powell2022-11-163-12/+12
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-166-7/+58
|\|
| * Fix cidr_range::str() on a UNIX socket returning an uninit value.Gravatar Sadie Powell2022-11-161-1/+2
| | | | | | | | | | This isn't an ideal fix but its the best we can do for now. In v4 we can change the struct internals to do this properly.
| * Fix the previous commit on Windows.Gravatar Sadie Powell2022-11-091-2/+4
| |
| * Log when the uid/gid of config files might be wrong.Gravatar Sadie Powell2022-11-081-2/+29
| |
| * The extended-monitor spec has been ratified now.Gravatar Sadie Powell2022-11-021-1/+1
| |
| * Add support for the IRCv3 extended-monitor specification.Gravatar delthas2022-11-024-6/+40
| | | | | | Co-authored-by: Sadie Powell <sadie@witchery.services>
* | Release v4.0.0 alpha 16. v4.0.0a16Gravatar Sadie Powell2022-11-011-1/+1
| |
* | Clean up the typedefs for OnBuildNeighborList.Gravatar Sadie Powell2022-10-296-13/+13
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-10-292-6/+22
|\|
| * Allow using sts over a proxied hook like HAProxy.Gravatar Sadie Powell2022-10-241-1/+13
| | | | | | | | Closes #1911.
| * Only store the topic in the permchannels database if one is set.Gravatar Sadie Powell2022-10-231-5/+9
| |
* | Rename session registration to connection to avoid a semantic conflict.Gravatar Sadie Powell2022-10-2931-79/+77
| | | | | | | | | | | | We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works.
* | Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-2928-41/+43
| |
* | Allow UserManager::Find{Nick,UUID,} to ignore unregistered users.Gravatar Sadie Powell2022-10-2931-99/+90
| |
* | More const correctness.Gravatar Sadie Powell2022-10-2317-23/+23
| |
* | Avoid spamming opers with notices when a SQL log provider is down.Gravatar Sadie Powell2022-10-221-1/+7
| |
* | Revert the previous commit slightly to work around a bug in Clang.Gravatar Sadie Powell2022-10-221-0/+5
| |
* | Assign more class members inline instead of in the constructor.Gravatar Sadie Powell2022-10-218-29/+13
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-10-182-1/+5
|\|
| * Clear the ban cache when an xline is expired as well as removed.Gravatar Sadie Powell2022-10-151-0/+1
| |
| * Document how DNS PTR record lookups work better.Gravatar Sadie Powell2022-10-151-1/+4
| |
* | Fix building the account module on Clang.Gravatar Sadie Powell2022-10-181-1/+1
| |
* | Allow requiring users to be logged into their nick for requireaccount.Gravatar Sadie Powell2022-10-181-3/+15
| |
* | Handle renamed modules when reading the modules to load.Gravatar Sadie Powell2022-10-182-15/+43
| |
* | Handle renamed modules when building compat link data.Gravatar Sadie Powell2022-10-181-0/+6
| |
* | Rename the services_account module to account.Gravatar Sadie Powell2022-10-183-8/+7
| |