aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* Avoid copying a shared_ptr where not actually necessary.Gravatar Sadie Powell2022-12-011-1/+1
* Yet more stylistic fixes.Gravatar Sadie Powell2022-12-0114-18/+18
* 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.•••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> Gravatar Sadie Powell2022-11-301-1/+26
* Fix a typo in core_oper.Gravatar Sadie Powell2022-11-291-1/+2
* Move the oper statistics to core_oper and rewrite.•••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. Gravatar Sadie Powell2022-11-292-50/+85
* Refactor the internals of the oper system.•••- 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. Gravatar Sadie Powell2022-11-288-22/+33
* Rename session registration to connection to avoid a semantic conflict.•••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. Gravatar Sadie Powell2022-10-2913-26/+26
* Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-297-7/+7
* Allow UserManager::Find{Nick,UUID,} to ignore unregistered users.Gravatar Sadie Powell2022-10-2910-30/+28
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-10-181-1/+4
|\
| * Document how DNS PTR record lookups work better.Gravatar Sadie Powell2022-10-151-1/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-10-131-15/+25
|\|
| * Fix the default case in GetFirstVisibleChannel and document it.Gravatar Sadie Powell2022-10-131-2/+5
| * Allow modules to control the visible channel in a WHO request.Gravatar Sadie Powell2022-10-121-7/+15
| * Add the matched channel to the WHO request data.Gravatar Sadie Powell2022-10-121-3/+3
* | Rename user_hash to UserMap and move to usermanager.Gravatar Sadie Powell2022-10-071-1/+1
* | Replace *foo.rbegin() with foo.end().Gravatar Sadie Powell2022-10-011-2/+2
* | Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-2918-19/+19
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-294-4/+4
* | WHOIS and WHOWAS have their own empty trailing logic now.Gravatar Sadie Powell2022-09-122-0/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-09-128-9/+19
|\|
| * Send ERR_NONICKNAMEGIVEN when an empty nick is given in WHOIS/WHOWAS.Gravatar Sadie Powell2022-09-122-3/+14
| * Fix unnecessarily using c_str in parameters that take a std::string.Gravatar Sadie Powell2022-09-045-5/+5
* | Make internal penalty be specified in millisecs instead of seconds.•••This removes the need to multiply it later. Gravatar Sadie Powell2022-09-0915-20/+20
* | Default allow_empty_last_param to false.Gravatar Sadie Powell2022-09-0714-8/+8
* | Fix more warnings discovered with -Weverything.Gravatar Sadie Powell2022-09-051-1/+1
* | Use auto in places where it is really obvious what the type is.Gravatar Sadie Powell2022-09-046-6/+6
* | Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-0318-25/+29
* | Fix some warnings noticed by the bugprone-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-2/+2
* | Clean up the Windows build process and remove some legacy code.Gravatar Sadie Powell2022-09-031-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-08-273-3/+3
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2022-08-253-3/+3
| * Fix some warnings in core_who on newer GCC.Gravatar Sadie Powell2022-08-171-3/+4
* | Replace GetUserCounter() with GetUsers().size().•••This method is legacy from when there was a manual user counter and isn't much of a length saving over the unsugared version. Gravatar Sadie Powell2022-08-242-2/+2
* | Move aptosa/untosa into the sockaddrs union and add from/from_ip.•••The struct will also now always be zero-initialized by default which removes the footgun which has happened previously where the union has been accessed before being initialized leading to it containing weird values. Gravatar Sadie Powell2022-08-111-11/+8
* | Rename OnSetUserIP to OnChangeRemoteAddress.Gravatar Sadie Powell2022-08-102-2/+2
* | Modernize various minor legacy C++isms.Gravatar Sadie Powell2022-07-301-12/+12
* | Remove some unnecessary getters in ConnectClass.•••All of these members are public anyway. Gravatar Sadie Powell2022-07-221-3/+3
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-2212-25/+25
* | Allow remote servers to specify the context of a message.Gravatar Sadie Powell2022-07-011-1/+6
* | Move config xline reading and rehashing to core_xline.Gravatar Sadie Powell2022-06-261-0/+39
* | Make dynamic a non-default header.Gravatar Sadie Powell2022-06-261-0/+2
* | Fix various bugs relating to platform-native module extensions.Gravatar Sadie Powell2022-06-261-1/+1
* | Make clientprotocol{msg,event} and numericbuilder non-default headers.Gravatar Sadie Powell2022-06-269-3/+20
* | Move numeric helper classes to their own header.Gravatar Sadie Powell2022-06-269-0/+15
* | Move numerics to the source files where they are actually used.Gravatar Sadie Powell2022-06-2621-9/+142
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-06-251-6/+2
|\|
| * Fix inconsistencies between USERHOST and USERIP.Gravatar Sadie Powell2022-06-231-5/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-06-081-2/+2
|\|