summaryrefslogtreecommitdiff
path: root/modules/commands/cs_access.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-10-27Beginning of new module dependency stuff, seems to compile and link. Move ↵Adam
some of the madness in chanserv.h to the module.
2015-07-08Fix a ton of typos.Peter Powell
2015-06-14Allow opers with chanserv/access/list to view the levels listThomas Fargeix
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-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-11-15Fix access dup check to account for accountsAdam
2014-10-14Set access masks to the case of the nick they match, if anyAdam
2014-10-12Add a chanserv/access/list privilegeThomas Fargeix
Replace the existing chanserv/access/list command access, only used in cs_xop, by a privilege with the same name. It which allows read-only access to cs_access, cs_flags, cs_xop and cs_akick, while the already-existing chanserv/access/modify privilege allows to modify them.
2014-06-26Change NumberList to take std::function's and use lambda closuresAdam
instead of having to create full classes in order to process number lists.
2014-06-25Remove the rest of the 1.8 logic "let's write all of the command handler ↵Adam
with no return statement!" Fix if (something) else if (!something) tests Remove returns at the bottom of void functions
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-05-14Fix access lists showing the wrong mask if the display nick for a groupAdam
expires but the group still exists. This can cause access entries for nicks to not be deleted whenever the nicks are deleted.
2014-04-20New event systemAdam
2014-04-01Require cmake 2.8 and C++11 supportAdam
2014-01-09Remove help access levels from help output because it no longer existsAdam
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-12-26Default the founder privilege to level 10000 as I had originally intended. ↵Adam
Document set fonder usage in cs_levels help.
2013-12-20Fix deleting multiple access entries when one of them matches your access groupAdam
2013-11-18cs_access: Fixed disabling channel levels. Also, correctly log /cs levels ↵Robby-
commands as an override or a normal command at the time it is executed, so, right before levels actually get modified.
2013-11-16Tell people why they cant disable the founder level instead of claiming it ↵Adam
doesn't exist
2013-11-12try/catch cs_access AccessUnserialize just incase, don't crash if ns_ajoin ↵Adam
is loaded before the protocol module
2013-11-01Attempt #3Adam
2013-11-01Fix release build, not too sure why this is, compiler seems to infer this as ↵Adam
a copy of ChanAccess
2013-11-01Compare access entries created with the levels access system by access level ↵Adam
and not by privilege set, as two entries can have the same privset but different levels, but still represent two different levels of access. This prevented users from adding other users at a lower access level when that level had the same privset as them. Spotted by TSG.
2013-10-05Fix logging for log type 'other'.Robby-
os_ignore: Log expired ignores to the normal log level. cs_drop: Allow Services Operators to actually drop channels in Read-Only mode. os_akill, os_sxline, cs_akick: Log deletions by number.
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-20Readonlyize many commandsAdam
2013-08-22Do not have cs_access try to represent non levels access entries as levels ↵Adam
access entries. Sometimes it cant accurately be done and it confuses people.
2013-07-22Squashed commit of the following from Federico G. Schwindt <fgsch@lodoss.net>:Federico G. Schwindt
Date: Mon Jul 22 22:40:07 2013 +0100 Correct pasto Use proper name for included file. Date: Mon Jul 22 22:30:23 2013 +0100 Indent defaults Date: Mon Jul 22 22:28:50 2013 +0100 Correct option name signkicklevel is really signkick_level. Date: Mon Jul 22 22:25:24 2013 +0100 Ensure some of the options are persisted Correct type for memo_signon, memo_receive, memo_mail and memo_hardmax so they're serialized. Date: Mon Jul 22 22:23:36 2013 +0100 Add missing newline plus additional suggestions from fgs
2013-07-04Allow access and flags to take privilege namesAdam
2013-07-03Allow channels on access listsAdam
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per 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-17Removed some hard coded command names in help outputAdam
2013-05-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
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-11Pass new config and the new config reader to the OnReload event, aswell as ↵Adam
call it on module load on modules that hook to it
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.
2013-04-08Made XOP privileges configurableAdam
2013-04-08Made auto* chanserv privileges not hard coded.Adam
Made cs_statusupdate not remove status on users if they still match other entries. Move privilege descriptions out of the config
2013-04-07Optimizations of much of the more commonly used codeAdam
2013-02-14Switch Destroy methods to deleteAdam