aboutsummaryrefslogtreecommitdiffstats
path: root/src/listmode.cpp
Commit message (Expand)AuthorAgeFilesLines
* Minor cleanup of ListModeBase•••- Rename ChanData to ListData - Rename extItem to listdata - Use GetRef instead of Get/Set. Gravatar Sadie Powell2026-06-151-33/+24
* Rework how list mode limits are parsed and applied.•••- Keep one list of all limits in ServerLimits instead of one in each list mode. This should reduce memory usage slightly and the lists are usually so small and are compared so infrequently that this won't cause any performnace issues. - Automatically look up the mode limit when the mode list is used instead of manually rehashing in each module. This should cause less footguns than the old API and doesn't require manually updating the limit on rehash. - Move code relating to variable and lower limits from the core to core_channel. This is only used by ISUPPORT. Gravatar Sadie Powell2026-06-151-73/+20
* Update my email address.Gravatar Sadie Powell2026-06-061-1/+1
* Switch ascii comparisons over to our own casemap functions.Gravatar Sadie Powell2026-04-301-1/+1
* Remove the remaining bits of stdalgo to utility/container.Gravatar Sadie Powell2026-04-041-1/+2
* Switch modules from reference<> to shared_ptr<> and weak_ptr<>.Gravatar Sadie Powell2026-03-291-1/+1
* Make the ban checking functions able to check any list mode.Gravatar Sadie Powell2026-03-081-2/+3
* Replace IS_* with member functions.•••- All user types get an Is* function. - Only local users are cast using the old function so only local users get an As* function. Gravatar Sadie Powell2026-03-081-1/+1
* Rename ServiceProvider::creator to service_creator and add GetSource.Gravatar Sadie Powell2026-03-021-1/+1
* Rename ServiceProvider methods to avoid shadowing issues.Gravatar Sadie Powell2026-03-021-8/+13
* Merge branch 'insp4' into master.Gravatar Sadie Powell2025-12-071-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2025-12-031-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-221-1/+1
|\|
| * Add a formatting overload of the ModuleException constructor.Gravatar Sadie Powell2025-03-181-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-03-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2025-02-281-1/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2025-02-141-0/+1
|\|
| * When removing a list mode update the parameter to the actual entry.Gravatar Sadie Powell2025-01-251-0/+1
* | Merge branch 'insp4' into master.Gravatar Sadie Powell2024-11-011-7/+0
|\|
| * All core numerics should be in numeric.h not in .cpp files.Gravatar Sadie Powell2024-10-261-7/+0
* | Use C++20 <format> instead of fmtlib when available.Gravatar Sadie Powell2024-08-221-6/+6
* | Always use fmtlib directly.Gravatar Sadie Powell2024-06-071-6/+6
|/
* 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