aboutsummaryrefslogtreecommitdiff
path: root/src/listmode.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix big list limits and expose the limit to TellListTooLong.Gravatar Sadie Powell2023-08-121-15/+19
|
* Fix list modes unintentionally being case sensitive.Gravatar Sadie Powell2023-08-121-2/+2
| | | | Closes #907.
* 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.Gravatar Sadie Powell2023-01-221-7/+7
| | | | This enum is functionally the same as bool but with weird semantics.
* 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.Gravatar Sadie Powell2022-04-171-28/+4
| | | | | | | | | | | | | | 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.
* | 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.Gravatar Sadie Powell2021-03-301-1/+1
| | | | | | | | Closes #1812.
* | Convert various mode methods to take Mode::Change.Gravatar Sadie Powell2021-03-301-10/+10
| | | | | | | | | | | | | | | | - AccessCheck - AfterMode - BeforeMode - OnModeChange - OnRawMode
* | 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.Gravatar Sadie Powell2020-10-311-4/+2
| | | | | | | | | | This allows us to use range-based for loops which were not possible with the previous config tag system.
* | 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.Gravatar Sadie Powell2019-08-131-1/+1
| | | | | | | | This matches what other ServiceProvider types do.
* | 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.Gravatar Peter Powell2019-05-091-8/+16
|/ | | | | | - 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 *.
* 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.Gravatar Peter Powell2018-12-191-11/+15
| | | | | | | | | | | | | | 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.
* Make more modules rehash atomically (#1535)Gravatar linuxdaemon2018-12-191-6/+12
| | | | | Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
* Use consistent numerics when a mode already exists or doesn't exist.Gravatar Peter Powell2018-12-091-2/+5
|
* Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules.Gravatar Peter Powell2018-12-091-1/+1
|
* Merge tag 'v2.0.27' into master.Gravatar Peter Powell2018-11-071-1/+1
|
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
|
* Remove the default value in ConfigTag::get{Duration,Float,Int}.Gravatar Peter Powell2018-04-161-1/+1
|