summaryrefslogtreecommitdiff
path: root/src/command.cpp
AgeCommit message (Collapse)Author
2012-12-19Add a command flag to require that a user is executing the commandAdam
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-10-08Fix fantasy !help & give it its own help header, not ChanServ'sAdam
2012-10-08Made fantasy commands configurableAdam
2012-09-30Make CommandSource use references, sometimes we hold them for awhileAdam
2012-09-01Added a web panel module + a default templateAdam
2012-06-18Allow userless command sourcesAdam
2012-02-14Clean up and reorganize our header filesAdam
2012-01-25WindowsAdam
2012-01-02Updated Copyright to 2012Adam
2011-11-21Fixed not translating messages using varargsAdam
2011-09-10Fixed compile errors & warnings from 1.9.6 to 1.9 mergeAdam
2011-09-10Removed /bs set msgAdam
2011-09-10Made service_reference type safeAdam
2011-09-03Translate whole messages before splitting them up to send to usersAdam
2011-08-04Added a command:permission settingAdam
2011-08-02Fixed /cs clone copying channel access, fixed restricted, and fixed some ↵Adam
compiler warnings
2011-07-14Rewrote how commands are handled within Anope.Adam
This allows naming commands and having spaces within command names.
2011-07-10Bug #1283 - Upped the buffer used for messge replies, as some can be really bigAdam
2011-06-17Search all domains for language strings, fixes the mess that we used to use ↵Adam
to translate strings in 3rd party modules
2011-05-16Expand more on m_alias and changed some std::string usage in sockets.cpp to ↵Adam
use Anope::string
2011-02-20Much more work on the live SQL. Should work pretty decently now under heavy ↵Adam
load.
2011-02-11Made the help command description code more saneAdam
2011-02-04Moved the language strings which are only used onceAdam
out of the core and into the modules that use them.
2011-01-08Made the Flag class able to convert flags to strings and backAdam
2011-01-05update copyrights for 2011lethality
2010-12-12Cleaned up some things, made the protocol modules use some basic inheritance ↵Adam
to cut back on their code duplication. More work can be done in the future to remove even more of it.
2010-12-12Fixed subcommandsAdam
2010-12-12The rest of the earlier command changesAdam
2010-12-12Added /bs set msgAdam
2010-12-12Send replies from fantasy commands back to the channel, this will be ↵Adam
expanded on later
2010-10-11Fixed some warningsAdam
2010-07-31Don't dynamically allocate commands in modules anymore, instead made them ↵Adam
members of modules. This means the commands are automatically destructed when the module is unloaded. Cleans up some old ugly code.
2010-07-25Epic commit to replace most of the strings in Anope with a single ↵Naram Qashat
Anope::string class, plus some other little fixes here and there. If you follow 1.9.x development and are testing things, THIS is one of those things that NEEDS testing.
2010-06-20The first of a few "CBX OCDing over code style" commits, focusing on ↵Naram Qashat
include/* and src/* but not src/core/* or src/modules/*.
2010-06-18Added in a subcommand system and switched ns_set and ns_saset to use itAdam
2010-06-18Moved the *Serv help functions to Command, will come in use later with ↵Adam
subcommands
2010-06-18Rewrote the hashing system to use std::tr1::unordered_mapAdam
2010-06-18Moved Commands stuff to its own file and changed Command::name to be ↵Adam
ci::string - Will be used after hashing system is rewritten
2010-06-18Removed all references to $, git has no svn keywordsAdam
2010-01-11updated copyright info for 2010pimpmylinux
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2753 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-12Made Command::Execute's params constAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2644 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-11Made Command::OnSyntaxError accept a subcommand parameter, we now give ↵Adam-
syntax error messages for subcommands (eg, cs_set) instead of giving the general syntax error for the main command git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2643 5417fbe8-f217-4b02-8779-1006273d7864
2009-11-08Rewrote all of the old C style flag systems into a new Flag class which ↵Adam-
everything inherits from. This breaks reading and writing flags to the old databases (and probably many other things aswell) - Don't use it git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2636 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-06Destroyed Command::help_param* and rewrote the help part of os_news to be ↵Adam-
much better git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2538 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-25Changed params parameter of Command's Execute() from ↵cyberbotx
std::vector<std::string> to std::vector<ci::string>, seems to have no ill effects but may require some testing to be sure. Also a few minor cleanups here and there. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2392 5417fbe8-f217-4b02-8779-1006273d7864
2009-07-24Changed subcommand parameter of Command's OnHelp() from std::string to ↵cyberbotx
ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864
2009-05-05Adds check for opertype permissions to mod_run_cmd() in commands.c, and adds ↵cyberbotx
optional parameter to Command class constructor that takes the opertype permissions for the command. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2292 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-16Add Command::SetPermission member to centralise access checking. Remove ↵rburchell
duplicated comments at the same time. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2282 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-02Remove capability for commands to hook existing commands, add an ↵rburchell
OnPreCommand event instead. Tidies up a lot of stuff. Also remove a bunch of dead code. NOTE: This will break some stuff. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2241 5417fbe8-f217-4b02-8779-1006273d7864