aboutsummaryrefslogtreecommitdiff
path: root/src/coremods
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-05-211-3/+6
|\
| * Use a mode reference instead of repeatedly looking up the snomask mode.Gravatar Sadie Powell2022-05-151-3/+6
* | Precache the version numerics in the VERSION command class.Gravatar Sadie Powell2022-05-183-15/+20
* | Fix an oversight in commit 3be039e.Gravatar Sadie Powell2022-05-171-2/+2
* | Initialize some variables which are checked before being assigned.Gravatar Sadie Powell2022-05-171-3/+3
* | Get rid of GetVersionString.•••TODO: split fullversion/version into individual fields. Gravatar Sadie Powell2022-05-171-3/+12
* | Reload isupport in the next main loop iteration.•••This allows modules to load their new config before building it. Gravatar Sadie Powell2022-05-171-1/+18
* | Add a typedef for a mode rank.Gravatar Sadie Powell2022-05-174-7/+7
* | Store a set of list mode pointers in Membership instead of characters.Gravatar Sadie Powell2022-05-173-10/+4
* | Require specifying the repeat argument of the Timer class.Gravatar Sadie Powell2022-05-171-1/+1
* | Add the new account system.•••This still relies on the old extensibles for now but we can change that later. Gravatar Sadie Powell2022-05-141-4/+4
* | Use the servprotect mode to protect services.•••Anope and Atheme already set this on their clients so no downstream changes are needed. Closes #781. Gravatar Sadie Powell2022-05-121-6/+0
* | Move unistd out of the global compat header.Gravatar Sadie Powell2022-05-071-0/+1
* | Remove unnecessary arguments to On(Post)Oper.•••These are already accessible from the user object. Gravatar Sadie Powell2022-05-071-1/+1
* | Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-0111-61/+61
* | 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