aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* Slim down the globally included files.Gravatar Sadie Powell2022-04-303-0/+12
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-2914-14/+15
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-2814-14/+15
* | Allow normalising extbans to a specific format.•••Also, fix canonicalisation of acting extban values. Gravatar Sadie Powell2022-04-173-0/+30
* | Remove ValidateParam and rename CanonicalizeParam.•••There's basically no safe way to handle a malformed list mode sent by a remote server without causing a desync. Its probably for the best if we just only apply validation to locally added list modes entries. Gravatar Sadie Powell2022-04-172-2/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-166-33/+20
|\|
| * Use FindNearestPrefixMode instead of looking for the halfop mode.Gravatar Sadie Powell2022-04-121-2/+2
| * Add a numeric builder for the ERR_CHANOPRIVSNEEDED numeric.•••This should make privilege errors more consistent. Gravatar Sadie Powell2022-04-123-7/+3
| * Fix <security announceinvites="dynamic"> when halfop is not loaded.Gravatar Sadie Powell2022-04-071-2/+8
| * Expose the invite announcement level to modules.Gravatar Sadie Powell2022-04-074-21/+5
* | Add ListModeBase::CanonicalizeParam, fix cleaning extban masks.Gravatar Sadie Powell2022-04-163-1/+33
* | Move most channel mode constructors to their own source file.•••+k will be removed later once we have better validation. Gravatar Sadie Powell2022-04-162-36/+27
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-055-10/+10
|\|
| * Fix the grammar of various xline messages.Gravatar Sadie Powell2022-04-055-10/+10
* | 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