Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-26 | Fix a bunch of harmless compiler warnings on recent GCC releases. | Peter Powell | |
2018-09-11 | Amend OnPostCommand to specify whether the command is loopcalled. | Peter Powell | |
This restores previous behaviour which was lost when the original line parameter was removed. | |||
2018-08-13 | Implement IRCv3 message tag support. | Peter Powell | |
Co-authored-by: Attila Molnar <attilamolnar@hush.com> | |||
2018-08-10 | Move message parsing to ProcessBuffer and fix edge cases in it. | Peter Powell | |
2018-08-10 | Split irc::tokenparser::GetToken into GetMiddle and GetTrailing. | Peter Powell | |
This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously. | |||
2018-08-10 | Remove the original line parameter of On{Pre,Post}Command. | Peter Powell | |
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. | |||
2018-07-26 | Use CommandBase::Params instead of std::vector<std::string>. | Peter Powell | |
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. | |||
2017-11-17 | Fix a ton of -Wsign-conversion warnings. | Peter Powell | |
2017-10-28 | Hide User#host and User#dhost and use accessors to modify them. | Peter Powell | |
This removes the need to invalidate the cache after changing a user's hostname. | |||
2017-09-06 | Move RPL_SYNTAX to 650 to prevent a collision with RPL_TEXT. | Peter Powell | |
Also move the command name to a parameter so that it is more easily parseable by software. | |||
2016-08-22 | Replace irc::string usage in CommandParser::LoopCall() with ↵ | Attila Molnar | |
irc::insensitive_swo set | |||
2016-03-23 | Don't prepend ":<nick>" to raw input log | Attila Molnar | |
2016-02-25 | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵ | Attila Molnar | |
parameters | |||
2015-11-23 | Implement Command::RegisterService() | Attila Molnar | |
2015-04-20 | Merge insp20 | Attila Molnar | |
2015-01-24 | Move implementation of Command and CommandBase functions into a source file | Attila Molnar | |
2015-01-21 | Fix numeric ERR_NOTREGISTERED not containing the user's nick | Attila Molnar | |
2015-01-12 | Always penalize clients executing a command which fails before running the ↵ | Attila Molnar | |
handler, even if the command has 0 penalty | |||
2014-12-15 | Change type of some associative containers to their flat versions, including ↵ | Attila Molnar | |
Extensible storage | |||
2014-06-28 | Use TimingSafeCompare() to compare passwords and password hashes (non-hmac only) | Attila Molnar | |
Issue #882 | |||
2014-06-13 | Change allocation of InspIRCd::Parser to be physically part of the object ↵ | Attila Molnar | |
containing it | |||
2014-06-13 | Remove global Commandtable typedef | Attila Molnar | |
2014-06-13 | Change allocation of InspIRCd::stats to be physically part of the object ↵ | Attila Molnar | |
containing it While at it, remove "stats" from all field names | |||
2014-04-07 | Merge insp20 | Attila Molnar | |
2014-04-04 | Fix snotice about disabled command usage being sent to the wrong snomask | Attila Molnar | |
2014-01-26 | Add ProtocolInterface::BroadcastEncap() and infrastructure for manually ↵ | Attila Molnar | |
forwarding ENCAPs | |||
2014-01-25 | Convert InspIRCd::PassCompare to return bool instead of int. | Peter Powell | |
The insane behaviour of this method was due to an implementation detail which has since become irrelevent. | |||
2014-01-09 | Stop null checking pointers that are always valid | Attila Molnar | |
2013-11-12 | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵ | Adam | |
automatically | |||
2013-08-31 | Improve support for rarely used compilers, EKOPath in this case. | ChrisTX | |
2013-08-18 | Create the CommandBase class from Command | attilamolnar | |
The Handle() method is not part of CommandBase, making it possible to provide a different Handle() in each class derived from CommandBase | |||
2013-08-04 | Change the syntax of FOREACH macros to be less dumb. | Adam | |
2013-06-18 | Remove dead code from the InspIRCd and CommandParser classes and typedefs.h | attilamolnar | |
Removed functions: InspIRCd: - Restart() - unused - DoSocketTimeouts() - no implementation exists - AddCommand() - useless wrapper around ModuleManager::AddService() CommandParser: - IsValidCommand() - unused - ProcessParameters() - no implementation exists | |||
2013-06-13 | Remove TR_END, remove TRANSLATEx() from commands that do not need it | attilamolnar | |
2013-06-13 | Rewrite CommandParser::TranslateUIDs() | attilamolnar | |
2013-06-12 | Run the OnPostCommand hook from LoopCall() | attilamolnar | |
2013-06-12 | CommandParser::LoopCall() changes | attilamolnar | |
- Change function to be static, return a bool - Do not filter duplicates when there are 2 lists (JOIN) - Remove validation of 'extra' parameter, caller must pass either a valid index or -1 | |||
2013-06-12 | Change command name parameter of OnPostCommand to be a Command* | attilamolnar | |
2013-06-06 | Merge insp20 | attilamolnar | |
2013-06-01 | Remove #define MAXPARAMETERS and "MAXPARA" 005 token | attilamolnar | |
2013-06-01 | CommandParser::ProcessCommand() and ProcessBuffer() cleanup | attilamolnar | |
- Change return types to void - Use a pointer to the command handler instead of an iterator | |||
2013-06-01 | Improve command parser logic when there are more params than Command::max_params | attilamolnar | |
2013-06-01 | Remove (non-functional) total_bytes counter from Command | attilamolnar | |
2013-05-16 | Remove unused variables, avoid copies where possible, check empty() instead ↵ | attilamolnar | |
of size() == 0 Most of these were detected by cppcheck | |||
2013-05-16 | Allow spaces (and more) in oper types | attilamolnar | |
The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv | |||
2013-04-12 | Add LOG_ prefix to the log level enum values. | Peter Powell | |
2013-04-10 | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper() | attilamolnar | |
2012-12-15 | Add a flag to Command that controls whether an empty last parameter is ↵ | attilamolnar | |
allowed or not | |||
2012-11-28 | Change empty string assignments to .clear() or remove them entirely | attilamolnar | |
Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f | |||
2012-04-19 | Replace copyright headers with headers granting specific authors copyright | Robby- | |