aboutsummaryrefslogtreecommitdiff
path: root/src/listmode.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add a formatting overload of the ModuleException constructor.Gravatar Sadie Powell2025-03-181-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2025-02-281-1/+1
* When removing a list mode update the parameter to the actual entry.Gravatar Sadie Powell2025-01-251-0/+1
* All core numerics should be in numeric.h not in .cpp files.Gravatar Sadie Powell2024-10-261-7/+0
* Update copyright headers.Gravatar InspIRCd Robot2024-06-071-2/+2
* Add an option for including the setter's full mask in list modes.Gravatar Sadie Powell2023-09-211-1/+5
* Fix big list limits and expose the limit to TellListTooLong.Gravatar Sadie Powell2023-08-121-15/+19
* Fix list modes unintentionally being case sensitive.•••Closes #907. Gravatar Sadie Powell2023-08-121-2/+2
* Update usages of stdalgo::string::equalsci to use insp::equalsci.Gravatar Sadie Powell2023-08-111-1/+1
* Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-1/+1
* Convert log calls to use fmtlib format stringsGravatar Sadie Powell2023-01-241-2/+2
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-6/+7
* Replace ModeAction with bool.•••This enum is functionally the same as bool but with weird semantics. Gravatar Sadie Powell2023-01-221-7/+7
* Rework the levels things are logged at to make more sense.Gravatar Sadie Powell2022-12-181-1/+1
* Fix various inappropriate uses of UINT_MAX.Gravatar Sadie Powell2022-10-141-1/+1
* Move numerics to the source files where they are actually used.Gravatar Sadie Powell2022-06-261-0/+7
* Rewrite logging calls to use the new APIs.Gravatar Sadie Powell2022-05-011-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* | Constify the parameter arguments in ListModeBase's Tell* methods.Gravatar Sadie Powell2022-04-171-3/+3
* | Refactor ListModeBase::OnModeChange.Gravatar Sadie Powell2022-04-171-33/+34
* | 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-171-28/+4
* | Add ListModeBase::CanonicalizeParam, fix cleaning extban masks.Gravatar Sadie Powell2022-04-161-4/+10
* | Make the parameter field of ValidateParam const.Gravatar Sadie Powell2022-04-161-1/+1
* | Use a consistent message format for end of list numerics.Gravatar Sadie Powell2022-04-011-4/+3
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-011-3/+7
|\|
| * Fix DisplayEmptyList not being called when a list does not exist.Gravatar Sadie Powell2022-04-011-5/+8
* | Refactor CoreException and ModuleException.Gravatar Sadie Powell2022-01-071-1/+1
* | Make all extensibles use kebab-case for names where possible.Gravatar Sadie Powell2021-12-261-1/+1
* | Promote ExtensionItem::ExtensibleType to a top level enum class.Gravatar Sadie Powell2021-12-231-1/+1
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-5/+5
* | Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-1/+1
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-19/+14
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
* | Constify variables within loops.Gravatar Sadie Powell2021-04-011-1/+1
* | Fix the setter and set time of list modes being lost on netburst.•••Closes #1812. Gravatar Sadie Powell2021-03-301-1/+1
* | Convert various mode methods to take Mode::Change.•••- AccessCheck - AfterMode - BeforeMode - OnModeChange - OnRawMode Gravatar Sadie Powell2021-03-301-10/+10
* | Pascalize Set in extension item classes.Gravatar Sadie Powell2021-03-171-1/+1
* | Pascalize Get in extension item classes.Gravatar Sadie Powell2021-03-171-5/+5
* | Move FilePosition to fileutils.h and use in ConfigTag.Gravatar Sadie Powell2020-11-031-1/+1
* | Add stdalgo::iterator_range and switch config tag reading to use it.•••This allows us to use range-based for loops which were not possible with the previous config tag system. Gravatar Sadie Powell2020-10-311-4/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-1/+4
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+4
* | Move the Module parameter of ExtensionItem et al to the start.•••This matches what other ServiceProvider types do. Gravatar Sadie Powell2019-08-131-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-3/+0
|\|
| * Add a constant for the maximum length of a mode parameter.Gravatar Peter Powell2019-07-231-3/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-8/+16
|\|
| * Improve handling of list mode limits.•••- Fix not being able to set a zero limit. - Fix MAXLIST not reflecting the true lower limit. - Fix not treating an empty <maxlist:limit> as equivalent to *. Gravatar Peter Powell2019-05-091-8/+16
|/
* Improve the name of the list mode extensible.Gravatar Peter Powell2019-02-041-1/+1
* Add the <maxlist> tag and switch ListModeBase to always use it.•••The old method of doing this was: 1. Extremely inconsistently used. Some list modes used <banlist> and some used their own config tag. 2. Not documented in the slightest. There was a small reference to <maxbans> for the ban mode but nothing else. 3. In some cases conflicting with other config tags. The chanfilter module defined a <chanfilter> tag for general config whilst also using it for the max list settings. The new <maxlist> tag avoids these issues entirely. Gravatar Peter Powell2018-12-191-11/+15