aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-013-5/+5
|
* Yet more stylistic fixes.Gravatar Sadie Powell2022-12-0110-31/+64
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-304-26/+26
|\
| * Mark the entire client protocol namespace as CoreExport.Gravatar Sadie Powell2022-11-304-26/+26
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-301-1/+1
|\|
| * Add a method for quickly escaping a tag value.Gravatar Sadie Powell2022-11-301-0/+5
| |
* | Allow attaching tags with extra info to stats rows.Gravatar Sadie Powell2022-11-301-6/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+5
| |
* | Make it easier to add tags to a numeric.Gravatar Sadie Powell2022-11-301-0/+21
| |
* | Use `T&&` instead of `T` or `const T&`.Gravatar Sadie Powell2022-11-295-7/+7
| |
* | Extract the logic for tags that need message-tags to its own type.Gravatar Sadie Powell2022-11-291-0/+24
| |
* | Move the oper statistics to core_oper and rewrite.Gravatar Sadie Powell2022-11-291-0/+11
| | | | | | | | | | | | | | 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-286-80/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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-241-2/+2
|\|
| * Add a workaround for the replies API not working with a cap reference.Gravatar Sadie Powell2022-11-241-0/+47
| | | | | | | | | | | | | | A Cap::Reference can not be cast to a Cap::Capability& because it may not be available and that would create a null reference. In v4 we can change the API to take a Cap::Capability* but for now this is the best we can do.
* | Use string_view in IsNick/IsIdent/IsChannel.Gravatar Sadie Powell2022-11-212-6/+6
| |
* | Fix iterator_range when the range points to a string_view.Gravatar Sadie Powell2022-11-211-1/+1
| |
* | Add a typedef for sa_family_t on Windows.Gravatar Sadie Powell2022-11-161-2/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-11-161-0/+92
|\|
| * Add support for the IRCv3 extended-monitor specification.Gravatar delthas2022-11-021-0/+92
| | | | | | Co-authored-by: Sadie Powell <sadie@witchery.services>
* | Fix some types which were missed when making stuff final.Gravatar Sadie Powell2022-10-3011-18/+17
| |
* | Slim down the forward declarations in typedefs.Gravatar Sadie Powell2022-10-291-11/+2
| |
* | Clean up the typedefs for OnBuildNeighborList.Gravatar Sadie Powell2022-10-293-6/+8
| |
* | Move xline-related typedefs from typedefs to the xline header.Gravatar Sadie Powell2022-10-292-28/+29
| |
* | Rename session registration to connection to avoid a semantic conflict.Gravatar Sadie Powell2022-10-298-60/+59
| | | | | | | | | | | | 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.
* | Allow UserManager::Find{Nick,UUID,} to ignore unregistered users.Gravatar Sadie Powell2022-10-292-3/+10
| |
* | More const correctness.Gravatar Sadie Powell2022-10-234-13/+14
| |
* | Revert the previous commit slightly to work around a bug in Clang.Gravatar Sadie Powell2022-10-221-0/+4
| |
* | Assign more class members inline instead of in the constructor.Gravatar Sadie Powell2022-10-214-12/+7
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-10-181-2/+2
|\|
| * Fix an unintentional string copy in the geolocation API.Gravatar Sadie Powell2022-10-181-2/+2
| |
* | Handle renamed modules when reading the modules to load.Gravatar Sadie Powell2022-10-181-0/+3
| |
* | Add the accountnicks metadata as a replacement for user mode +r.Gravatar Sadie Powell2022-10-181-0/+15
| | | | | | | | | | | | This isn't used much currently but in the future will allow doing a lot of behaviour which is currently implemented in services in the IRCd instead e.g. killing ghost clients, nickname enforcement.
* | Fix various inappropriate uses of UINT_MAX.Gravatar Sadie Powell2022-10-141-1/+1
| |
* | Fix a harmless todo in clientprotocolmsg.Gravatar Sadie Powell2022-10-141-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-10-132-1/+25
|\|
| * Allow modules to control the visible channel in a WHO request.Gravatar Sadie Powell2022-10-121-1/+21
| |
| * Add the matched channel to the WHO request data.Gravatar Sadie Powell2022-10-121-0/+4
| |
| * Fix saving the database identifier in SQL::Provider.Gravatar Sadie Powell2022-10-071-0/+1
| |
* | Clean up various socket-related code.Gravatar Sadie Powell2022-10-122-8/+3
| |
* | Rename User::age to User::nickchanged and fix the docs.Gravatar Sadie Powell2022-10-111-3/+2
| |
* | Mark User::Has{Command,Priv}Permission as const.Gravatar Sadie Powell2022-10-071-4/+4
| |
* | Remove a now unused overload of ConvToStr.Gravatar Sadie Powell2022-10-071-16/+0
| |
* | Rename user_hash to UserMap and move to usermanager.Gravatar Sadie Powell2022-10-073-5/+7
| |
* | Modernize an old-style loop that was previously missed.Gravatar Sadie Powell2022-10-011-2/+2
| |
* | Replace foo.erase(foo.{size|end}()-1) with foo.pop_back().Gravatar Sadie Powell2022-10-013-3/+3
| |
* | Replace *foo.rbegin() with foo.end().Gravatar Sadie Powell2022-10-011-2/+1
| |
* | Inline the one use of ServerNoticeAll and rm the function.Gravatar Sadie Powell2022-10-011-6/+0
| |
* | Use a global typedef for representing a character set.Gravatar Sadie Powell2022-09-302-2/+3
| |
* | Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-293-3/+3
| |