summaryrefslogtreecommitdiff
path: root/modules/commands/cs_mode.cpp
AgeCommit message (Collapse)Author
2015-12-14New source tree structure for modules. From commands/cs_access => ↵Adam
chanserv/access etc.
2015-10-27Merge branch '2.0' into 2.1Adam
2015-09-06Merge pull request #126 from SaberUK/2.0+typosAdam
Fix a ton of typos.
2015-07-13Fix incorrect iteration when destructing modelockimplsAdam
2015-07-08Fix a ton of typos.Peter Powell
2015-02-05Fix os_mode to handle channels going away due to mode changes, and maybe cs_modeAdam
2015-01-26Fix negatively locking param modes in default mlockAdam
2015-01-05Merge branch '2.0' into 2.1Adam
Conflicts: CMakeLists.txt include/modules.h include/serialize.h modules/commands/bs_assign.cpp modules/commands/bs_badwords.cpp modules/commands/bs_bot.cpp modules/commands/bs_control.cpp modules/commands/bs_kick.cpp modules/commands/cs_access.cpp modules/commands/cs_akick.cpp modules/commands/cs_drop.cpp modules/commands/cs_entrymsg.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_invite.cpp modules/commands/cs_kick.cpp modules/commands/cs_mode.cpp modules/commands/cs_register.cpp modules/commands/cs_seen.cpp modules/commands/cs_set.cpp modules/commands/cs_suspend.cpp modules/commands/cs_topic.cpp modules/commands/cs_unban.cpp modules/commands/cs_xop.cpp modules/commands/hs_del.cpp modules/commands/hs_list.cpp modules/commands/hs_request.cpp modules/commands/ms_ignore.cpp modules/commands/ms_send.cpp modules/commands/ns_recover.cpp modules/commands/ns_register.cpp modules/commands/ns_suspend.cpp modules/commands/os_dns.cpp modules/commands/os_noop.cpp modules/commands/os_oper.cpp modules/commands/os_session.cpp modules/database/db_sql_live.cpp modules/encryption/enc_bcrypt.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_ldap_oper.cpp modules/fantasy.cpp modules/m_dnsbl.cpp modules/m_sasl.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp modules/webcpanel/webcpanel.cpp modules/webcpanel/webcpanel.h src/command.cpp src/messages.cpp src/modulemanager.cpp src/regchannel.cpp src/serialize.cpp
2014-12-27Remove now unnecessary eventhook constructor calls in module init listsAdam
2014-12-10Unconst these config Get<Anope::string> calls as it makes no senseAdam
2014-12-10Use a triat class for event names instead of having to manually give them ↵Adam
places, which is much less error prone
2014-11-24Rewrite serializable to have field level granularityAdam
Represent serializable objects in a digraph, and as a result made most object relationships implicitly defined, and use the graph to trace references between objects to determine relationships. Edges may also be marked as having a dependency of the object they point to, which allows for automatic cleanup and deletion of most objects when no longer needed. Additionally, this allows not having to require in-memory copies of everything when using external databases. db_sql has been rewritten for this and now always requires a database to function. db_sql with MySQL now requires InnoDB to make use of transactions and foreign key constraints.
2014-08-24Change Channel::GetModeList to return a copy of the mode list, not aAdam
pair of lower/upper bound iterators. Sometimes when iterating the list, like in cs_mode, we can modify the contents of it, which combined with mlock always agressively trying to readd modes to it can do bad things.
2014-08-03Add cs_mode:max config optionAdam
2014-06-23Merge branch '2.0' into 2.1Adam
Conflicts: cmake/Anope.cmake cmake/FindGettext.cmake include/access.h include/messages.h include/modes.h include/modules.h include/users.h modules/CMakeLists.txt modules/commands/bs_bot.cpp modules/commands/cs_access.cpp modules/commands/cs_ban.cpp modules/commands/cs_clone.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_list.cpp modules/commands/cs_log.cpp modules/commands/cs_mode.cpp modules/commands/cs_status.cpp modules/commands/cs_suspend.cpp modules/commands/cs_updown.cpp modules/commands/cs_xop.cpp modules/commands/ms_check.cpp modules/commands/ns_access.cpp modules/commands/ns_cert.cpp modules/commands/ns_group.cpp modules/commands/ns_register.cpp modules/commands/ns_set.cpp modules/commands/ns_suspend.cpp modules/commands/os_session.cpp modules/commands/os_svs.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_regex_pcre.cpp modules/extra/m_sql_authentication.cpp modules/extra/stats/m_chanstats.cpp modules/protocol/bahamut.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd12.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/chanserv/channel.cpp modules/pseudoclients/nickserv/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp src/access.cpp src/bots.cpp src/channels.cpp src/language.cpp src/modes.cpp src/modulemanager.cpp src/process.cpp src/users.cpp src/version.sh
2014-06-23Mostly working language string rewrite with new format stringsAdam
2014-05-28Move most of the core pseudoclient logic to modulesAdam
2014-04-25Add "virtual mode" supportAdam
This allows fully tracking extbans and other modes set by a different underlying mode, such as InspIRCd's namedmodes Add two configuration options to cs_ban to configure which mode is set and whether or not to kick banned users. Add default "mute" fantasy command to botserv.example.conf
2014-04-20New event systemAdam
2014-04-17Use OnChanRegistered instead of OnCreateChan to set default mlocks.Adam
Because OnCreateChan is called from ChannelInfo's constructor, during DB loading it could cause mode locks to be unserialized without having all channels loaded, which breaks things.
2014-04-01Require cmake 2.8 and C++11 supportAdam
2014-03-04Fix 2 crashes from removing the permanent channel mode from channels which ↵Adam
do not exist
2014-03-01Do not enforce mlock when enforcing mlockAdam
2014-02-03Actually just allow mode clear to take any mode nameAdam
2014-02-03Fix typo in mode clear, exempts -> exceptsAdam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-11-18Default adding to 1 in mlock add/del, always reply with something even if ↵Adam
the input is invalid
2013-10-05cs_mode: Fix override in /cs mode set.Robby-
2013-09-27Allow modifying mlock on nonexistant (but registered) channelsAdam
2013-09-27Add missing columns to os_forbid. Make most lists with dates use the shorter ↵Robby-
output format.
2013-09-27Make column titles in listings translatable.Robby-
Make some more strings translatable, and remove some that don't need translation at all. Make expirytimes and units translatable. Make predefined messages in listings also translatable. Make the remaining command descriptions translatable. Make some ns/cs info strings equal to dedupe in translation file. Add missing no-autoop setting to cs info output. Make some strings translatable.
2013-09-27Translate listformatter properlyAdam
2013-09-27Fix typos, remove dead language defines.Robby-
os_set: Add missing debug text in help output.
2013-09-27Added missing override capabilities and log calls to some ChanServ commandsRobby-
2013-09-27Fix cs_mode lock reply if nothing is doneAdam
Fix not clearing forbids when os_forbid is unloaded Apply nick and chan forbids when added Fix loading forbids until after the service is constructed
2013-09-20Readonlyize many commandsAdam
2013-08-27Move Serialize::Types to construct after the corresponding extensible items ↵Adam
they require when unserializing
2013-08-26Log parameters given to /cs mode set. Add logging to /os ignore.Adam
2013-08-26Fix status mlocks. Fix reply from lock add.Adam
2013-08-25Remove unnecesary mlock code in cs_mode, change mode set events to never ↵Adam
bounce modes set by bots or servers, as it was possible to get modules to fight with each other
2013-08-14Do not default mlock +r, it is unnecessray and only clutters up the mlock listAdam
2013-07-20Fix not setting the correct compile flags on modules and fix the resulting ↵Adam
warnings
2013-07-08Fix deleting badwords/modes/logs etcAdam
2013-07-07Move op/deop/etc back to an actual command, its too hard to use cs_log with ↵Adam
it as rewrites. Allow cs_log to work with either command names or service names.
2013-07-01Change extensible keys to require explicitly having a type defined for it. ↵Adam
Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.
2013-05-08Check for peace being on before denying a mode change in cs_modeAdam
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-04-11Merge chanserv saset and set back into one command since it no longer needs ↵Adam
to be separated... replace chanserv/set privilege with chanserv/administration. Dont tell users to use 'help' for more help if there is no help.
2013-04-10Move some of the modules in extras/ that arent really extra out of extras. ↵Adam
Mark our modules as VENDOR and allow modules to have multple types.