summaryrefslogtreecommitdiff
path: root/src/modules/m_callerid.cpp
AgeCommit message (Collapse)Author
2021-05-14Update copyright headers.InspIRCd Robot
2021-04-27Fix a bunch of weird indentation and spacing issues.Sadie Powell
2021-04-21Update the module descriptions.Sadie Powell
2021-03-09Space-delimit the human readable callerid extensible data.Sadie Powell
2020-04-21Fixes by misspell-fixerInspIRCd Robot
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-08-07Convert all core ExtensionItem code away from {un,}serialize.Peter Powell
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2019-04-16Update trivially-modifiable modules to handle tag messages.Peter Powell
2019-04-04Use a consistent naming scheme for operator privileges.Peter Powell
- users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf.
2019-02-18Various text improvements: consistency, syntax, help and doc updates/fixes.Robby
2018-12-12Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Peter Powell
The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
2018-12-09Allow modules to check if a user is on a callerid accept list.Peter Powell
2018-12-09Raise the default max number of ACCEPT entries from 16 to 30.Peter Powell
2018-08-12Pass the Extensible container to ExtensionItem::free().Peter Powell
2018-07-26Use 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.
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-04-16Use an oper priv instead of a config flag for overriding callerid.Peter Powell
2018-02-07Send the ACCEPT and KEYLEN ISUPPORT tokens.Peter Powell
- The ACCEPT=[count] token specifies the maximum amount of nicks which can be added to a m_callerid accept list. This token was added by ircd-ratbox in 3.0.9. - The KEYLEN=[length] token specifies the maximum length of a channel key. This token was added by ircd-ratbox in 3.1 beta. For more info see http://defs.ircdocs.horse/defs/isupport.html
2018-01-06Rework message handling.Peter Powell
- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message.
2017-12-29Don't hardcode mode characters which are sent in 005 tokens.Peter Powell
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-13Only subclass Simple{Channel,User}ModeHandler when necessary.Peter Powell
2017-10-28Hide 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-03Convert a bunch of time-related config options to getDuration.Peter Powell
2016-02-25Add User::WriteRemoteNumeric() and switch code using SendText() to send ↵Attila Molnar
numerics to it
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2016-02-22Merge insp20Attila Molnar
2016-02-13m_callerid Free old extension data before unserializing the new dataAttila Molnar
2015-12-07Remove some IS_SERVER() checksAttila Molnar
- InspIRCd::FindUUID() and FindNick() no longer return FakeUsers so checking the user returned from those methods is needless - m_dccallow is calling FindNickOnly() so it had the check needlessly
2015-06-03m_callerid Prioritize after other mods for the OnUserPreMessage hookAttila Molnar
Issue #1051
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-12-15Change type of some associative containers to their flat versions, including ↵Attila Molnar
Extensible storage
2014-12-10m_callerid Change CallerIdDataSet (wholistsme) to be a vectorAttila Molnar
2014-12-10m_callerid Add typedefs for containers in callerid_dataAttila Molnar
2014-12-10m_callerid Simplify code interacting with containersAttila Molnar
2014-11-01Add stdalgo::erase() and use it to simplify codeAttila Molnar
2014-07-25Merge insp20Attila Molnar
2014-04-12Correct the syntax messages of a few modules.Robby-
2014-01-21Merge insp20Attila Molnar
2014-01-19Use FindNickOnly() in a few more places if a local user is performing an ↵Attila Molnar
action to prevent UID walking
2014-01-08Remove PreText()-like functionsAttila Molnar
Do processing in OnUserPreMessage()
2013-12-09Fix ACCEPT propagation bug when it got a nick prefixed with +Daniel Vassdal
Fixes #696 Does not apply to 2.2 due to Attila's rewrite of the module
2013-11-21Fix a few issuesattilamolnar
- Rehash notices - Modes in CAPAB - GetTargetAndAction() not being static in m_callerid - Loading custom configuration files using --config. (@SaberUK) - ServerConfig::Read not using std::endl. (@SaberUK) - Out of date comments in opers.conf.example, issue #624
2013-11-12These two numerics are supposed to use SentText() as they can go to remote ↵Adam
users...
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()