aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* Use a consistent message format for end of list numerics.Gravatar Sadie Powell2022-04-011-1/+1
* Shrink module names in /COMMANDS and /MODULES.Gravatar Sadie Powell2022-03-292-2/+2
* Pack the mode set more efficiently and add support for numeric modes.Gravatar Sadie Powell2022-03-273-15/+18
* Fix unsigned/const keyword ordering, remove unnecessary consts.Gravatar Sadie Powell2022-03-271-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-03-271-2/+55
|\
| * Allow modules to handle WHO matching.Gravatar Sadie Powell2022-03-251-1/+12
| * Fix GNU++98 compatibility.Gravatar Sadie Powell2022-03-241-1/+1
| * Fix using the prefix char instead of the prefix letter in oplevels.Gravatar Sadie Powell2022-03-231-1/+1
| * Fix our WHO oplevels being incompatible with the WHOX spec.•••Unlike in InspIRCd where 0 is an unprivileged member and higher levels grant more privileges the WHOX spec defines the oplevel field as using n/a for unprivileged users and the lower an oplevel is the more privileges it grants. InspIRCd also uses values between 0 and UINT_MAX whereas WHOX only uses values between 0 and 999. In order to work around this we now lazily build dummy oplevels for the InspIRCd member ranks. Gravatar Sadie Powell2022-03-221-1/+49
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-03-191-2/+10
|\|
| * Add support for the <count> param of WHOWAS (#1968)•••Not very useful IMO, but every server but InspIRCd seems to implement it, and it's part of the RFCs: * https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3 * https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3Gravatar Val Lorentz2022-03-191-2/+10
| * Reverse order of WHOWAS replies•••To be consistent with other implementations + the RFCs: * https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3 * https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3 Gravatar Valentin Lorentz2022-03-191-1/+1
* | Move stdalgo::map::difference to its own utility header.Gravatar Sadie Powell2022-01-311-1/+3
* | Fix the case of Membership::GetRank.Gravatar Sadie Powell2022-01-312-2/+2
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-2530-144/+144
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-01-241-49/+43
|\|
| * Fix parsing a LIST request with both a match and inverted match.•••e.g. /LIST *foo* !*bar* Gravatar Sadie Powell2022-01-201-25/+15
| * Fix parsing LIST commands with multiple constraints.Gravatar Sadie Powell2022-01-201-35/+38
* | Add constexpr to the initialisation of various const static fields.Gravatar Sadie Powell2022-01-184-12/+11
* | Switch isupport to use a module-local map instead of an extensible.Gravatar Sadie Powell2022-01-162-15/+21
* | Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>.Gravatar Sadie Powell2022-01-162-2/+2
* | Make 005 dependent on the connect class.Gravatar Sadie Powell2022-01-163-31/+49
* | Fix the previous commit on Windows.Gravatar Sadie Powell2022-01-161-1/+1
* | Replace uses of the FileSystem class with std::filesystem.Gravatar Sadie Powell2022-01-151-1/+3
* | Always catch exceptions as a constant reference.Gravatar Sadie Powell2022-01-092-2/+2
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-072-28/+36
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-01-037-8/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-12-307-7/+6
| * We only care about the first parameter to the nick command.•••Nicknames can't have spaces so the trailing concatenation logic here is not what users will expect. Gravatar Sadie Powell2021-12-281-1/+1
* | Fix PREFIX in RPL_ISUPPORT (#1955).•••Co-authored-by: Andrio Celos <AndrioCelos@users.noreply.github.com>Gravatar Andrio Celos2021-12-271-4/+4
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-272-85/+125
|\|
| * Fix not being able to look up hostnames that point to multiple IPs.Gravatar Sadie Powell2021-12-271-82/+123
| * Make packing PTR queries a bit more robust.•••There is no first party modules which could be compromised before this check was added but its better to be safe wherever possible. Gravatar Sadie Powell2021-12-251-3/+4
* | Make all extensibles use kebab-case for names where possible.Gravatar Sadie Powell2021-12-261-1/+1
* | Add a quick method for adding a generic RPL_STATS row.Gravatar Sadie Powell2021-12-241-1/+1
* | Move DNS stats to core_dns.Gravatar Sadie Powell2021-12-242-7/+23
* | Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-234-11/+11
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-143-6/+6
|\|
| * If a user has a unique username then include it in bans.Gravatar Sadie Powell2021-12-143-6/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-12-111-1/+1
|\|
| * Fix sending ERR_CHANOPRIVSNEEDED where ERR_RESTRICTED should be used.Gravatar Sadie Powell2021-12-111-1/+1
* | Consistently use `!foo` instead of `foo == NULL`.Gravatar Sadie Powell2021-12-033-3/+3
* | Fix a bunch of cases where module types were not marked as final.Gravatar Sadie Powell2021-11-284-10/+15
* | Add a snomask flag for rehash messages.Gravatar Sadie Powell2021-11-281-1/+1
* | Move the stats and xline snomasks to their associated modules.Gravatar Sadie Powell2021-11-282-0/+10
* | Refactor the ClassTypes enum and move into ConnectClass.Gravatar Sadie Powell2021-11-241-3/+3
* | Don't allow routing INFO to remote servers.•••There's no reason to request this for a remote server. It rarely differs between InspIRCd versions and neither Anope nor Atheme implement handlers for it. We don't need to implement anything to the protocol compat layer for this as if v3 servers send an INFO request to a v4 server they they will just be ignored as the command has no HandleRemote impl. Closes #1943. Gravatar Sadie Powell2021-11-202-14/+8
* | 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. Gravatar Sadie Powell2021-11-052-6/+6
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-11-054-5/+5
|\|
| * Add Server::GetPublicName(), fix not respecting <security:hideserver>.Gravatar Sadie Powell2021-10-253-4/+4