aboutsummaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2021-08-271-0/+1
|
* Code refactor and minor fix (#1879)Gravatar Herman2021-06-121-9/+9
|
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
|
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-2/+2
|
* 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
|
* 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.Gravatar Peter Powell2018-09-111-4/+4
| | | | | This restores previous behaviour which was lost when the original line parameter was removed.
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-38/+11
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* 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.Gravatar Peter Powell2018-08-101-3/+3
| | | | | This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously.
* Remove the original line parameter of On{Pre,Post}Command.Gravatar Peter Powell2018-08-101-5/+5
| | | | | | | | | In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-11/+11
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
|
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-1/+1
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Move RPL_SYNTAX to 650 to prevent a collision with RPL_TEXT.Gravatar Peter Powell2017-09-061-1/+1
| | | | | Also move the command name to a parameter so that it is more easily parseable by software.
* Replace irc::string usage in CommandParser::LoopCall() with ↵Gravatar Attila Molnar2016-08-221-2/+2
| | | | irc::insensitive_swo set
* Don't prepend ":<nick>" to raw input logGravatar Attila Molnar2016-03-231-2/+1
|
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-9/+9
| | | | parameters
* Implement Command::RegisterService()Gravatar Attila Molnar2015-11-231-0/+6
|
* Merge insp20Gravatar Attila Molnar2015-04-201-1/+16
|\
| * Fix numeric ERR_NOTREGISTERED not containing the user's nickGravatar Attila Molnar2015-01-211-1/+1
| |
| * Always penalize clients executing a command which fails before running the ↵Gravatar Attila Molnar2015-01-121-1/+16
| | | | | | | | handler, even if the command has 0 penalty
* | Move implementation of Command and CommandBase functions into a source fileGravatar Attila Molnar2015-01-241-0/+28
| |
* | Change type of some associative containers to their flat versions, including ↵Gravatar Attila Molnar2014-12-151-1/+1
| | | | | | | | Extensible storage
* | Use TimingSafeCompare() to compare passwords and password hashes (non-hmac only)Gravatar Attila Molnar2014-06-281-1/+1
| | | | | | | | Issue #882
* | Change allocation of InspIRCd::Parser to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-1/+1
| | | | | | | | containing it
* | Remove global Commandtable typedefGravatar Attila Molnar2014-06-131-3/+3
| |
* | Change allocation of InspIRCd::stats to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-1/+1
| | | | | | | | | | | | containing it While at it, remove "stats" from all field names
* | Merge insp20Gravatar Attila Molnar2014-04-071-1/+1
|\|
| * Fix snotice about disabled command usage being sent to the wrong snomaskGravatar Attila Molnar2014-04-041-1/+1
| |
| * Improve support for rarely used compilers, EKOPath in this case.Gravatar ChrisTX2013-08-311-1/+1
| |
* | Add ProtocolInterface::BroadcastEncap() and infrastructure for manually ↵Gravatar Attila Molnar2014-01-261-1/+3
| | | | | | | | forwarding ENCAPs
* | Convert InspIRCd::PassCompare to return bool instead of int.Gravatar Peter Powell2014-01-251-6/+5
| | | | | | | | | | The insane behaviour of this method was due to an implementation detail which has since become irrelevent.
* | Stop null checking pointers that are always validGravatar Attila Molnar2014-01-091-1/+1
| |
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-9/+8
| | | | | | | | automatically
* | Create the CommandBase class from CommandGravatar attilamolnar2013-08-181-2/+6
| | | | | | | | The Handle() method is not part of CommandBase, making it possible to provide a different Handle() in each class derived from CommandBase
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-2/+2
| |
* | Remove dead code from the InspIRCd and CommandParser classes and typedefs.hGravatar attilamolnar2013-06-181-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Removed functions: InspIRCd: - Restart() - unused - DoSocketTimeouts() - no implementation exists - AddCommand() - useless wrapper around ModuleManager::AddService() CommandParser: - IsValidCommand() - unused - ProcessParameters() - no implementation exists