aboutsummaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
Commit message (Expand)AuthorAgeFilesLines
* Refactor the password checking API.•••- Rename from (On)PassCompare to (On)CheckPassword. - Fix the order of the arguments to be password, hash, value. This makes more sense than what it was previously. - Fix the code documentation to not be complete nonsense and not reference ancient outdated APIs. Gravatar Sadie Powell2023-02-281-10/+10
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-2/+2
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* | Remove the unused Extensible* parameter to PassCompare/OnPassCompare.Gravatar Sadie Powell2022-12-101-2/+2
* | Refactor the internals of the oper system.•••- Allow overriding privileges from the <class> blocks in the <type> and <oper> blocks. - Separate oper types from oper accounts in the code. This enables moving some core stuff out of the config tag later. - Merge the config tags together to make a synthetic tag that can have getXXX called on it instead of using getConfig and then converting it. - Move the details of Have*Permission into the oper type class. - Improve oper events to allow modules to easily hook into the oper system. Gravatar Sadie Powell2022-11-281-1/+1
* | Rename session registration to connection to avoid a semantic conflict.•••We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works. Gravatar Sadie Powell2022-10-291-1/+1
* | Use User::IsFullyConnected instead of checking for REG_ALL.Gravatar Sadie Powell2022-10-291-3/+3
* | Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-1/+1
* | Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-1/+1
* | Make internal penalty be specified in millisecs instead of seconds.•••This removes the need to multiply it later. Gravatar Sadie Powell2022-09-091-2/+2
* | Remove some unnecessary getters in ConnectClass.•••All of these members are public anyway. Gravatar Sadie Powell2022-07-221-1/+1
* | Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
* | Improve the performance of AddCommand slightly.Gravatar Sadie Powell2022-07-221-8/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-08-281-0/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-08-271-0/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-06-131-9/+8
|\|
| * Code refactor and minor fix (#1879)Gravatar Herman2021-06-121-9/+9
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-2/+2
* | Fix a ton of pedantic compiler warnings.Gravatar Sadie Powell2021-04-041-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* | Make MyClass private and move everything to GetClass.Gravatar Sadie Powell2021-01-311-1/+1
* | Clean up a bunch of contructors and destructors.Gravatar Sadie Powell2020-11-011-4/+0
* | Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-2/+2
* | Switch to the C++17 fallthrough attribute.Gravatar Sadie Powell2020-05-111-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-3/+3
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-2/+2
* | Replace the flags_required field with an enum.Gravatar Sadie Powell2020-04-141-19/+42
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-03-181-42/+4
|\|
| * Allow commands to override ERR_{NEEDSMOREPARAMS,NOTREGISTERED}.Gravatar Sadie Powell2020-03-181-4/+2
| * Fix detection of the "plaintext" pseudo-hash being case sensitive.Gravatar Sadie Powell2020-03-111-1/+1
| * Move command stuff to a more appropriate source file.Gravatar Sadie Powell2020-03-051-42/+0
| * Move user command stuff from CommandBase to Command.Gravatar Sadie Powell2020-03-051-5/+5
* | Move FindNick to UserManager.Gravatar Sadie Powell2020-02-091-1/+1
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-6/+0
|/
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
* Add an event for when a command is blocked before execution.Gravatar Sadie Powell2020-01-221-0/+15
* Remove unnecessary copies of CommandBase::Params in LoopCall.Gravatar Sadie Powell2020-01-221-6/+5
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+6
* Rename HasPermission to HasCommandPermission.Gravatar Peter Powell2019-04-191-2/+2
* Rename User::nping to nextping for consistency with lastping.Gravatar Peter Powell2019-02-151-1/+1
* Move the <disabled> tag out of the core to a new module.Gravatar Peter Powell2019-01-241-19/+0
* Fix a bunch of harmless compiler warnings on recent GCC releases.Gravatar Peter Powell2018-10-261-1/+1
* Amend OnPostCommand to specify whether the command is loopcalled.•••This restores previous behaviour which was lost when the original line parameter was removed. Gravatar Peter Powell2018-09-111-4/+4
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-38/+11
* Move message parsing to ProcessBuffer and fix edge cases in it.Gravatar Peter Powell2018-08-101-22/+38
* Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.•••This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously. Gravatar Peter Powell2018-08-101-3/+3