aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_callerid.cpp
Commit message (Expand)AuthorAgeFilesLines
* Convert all core ExtensionItem code away from {un,}serialize.Gravatar Peter Powell2019-08-071-13/+11
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-2/+2
* Update trivially-modifiable modules to handle tag messages.Gravatar Peter Powell2019-04-161-3/+17
* Use a consistent naming scheme for operator privileges.•••- users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf. Gravatar Peter Powell2019-04-041-1/+1
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-2/+2
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••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. Gravatar Peter Powell2018-12-121-1/+1
* Allow modules to check if a user is on a callerid accept list.Gravatar Peter Powell2018-12-091-0/+23
* Raise the default max number of ACCEPT entries from 16 to 30.Gravatar Peter Powell2018-12-091-1/+1
* Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-121-2/+2
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-2/+2
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
* Use an oper priv instead of a config flag for overriding callerid.Gravatar Peter Powell2018-04-161-3/+1
* Send the ACCEPT and KEYLEN ISUPPORT tokens.•••- 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 Gravatar Peter Powell2018-02-071-0/+1
* Rework message handling.•••- 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. Gravatar Peter Powell2018-01-061-3/+3
* Don't hardcode mode characters which are sent in 005 tokens.Gravatar Peter Powell2017-12-291-1/+1
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-6/+6
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* Only subclass Simple{Channel,User}ModeHandler when necessary.Gravatar Peter Powell2017-11-131-8/+4
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-1/+1
* Convert a bunch of time-related config options to getDuration.Gravatar Peter Powell2017-09-031-1/+1
* Add User::WriteRemoteNumeric() and switch code using SendText() to send numer...Gravatar Attila Molnar2016-02-251-2/+2
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-8/+8
* Merge insp20Gravatar Attila Molnar2016-02-221-4/+5
|\
| * m_callerid Free old extension data before unserializing the new dataGravatar Attila Molnar2016-02-131-4/+5
* | Remove some IS_SERVER() checks•••- 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 Gravatar Attila Molnar2015-12-071-2/+2
* | m_callerid Prioritize after other mods for the OnUserPreMessage hook•••Issue #1051 Gravatar Attila Molnar2015-06-031-0/+6
* | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
* | Change type of some associative containers to their flat versions, including ...Gravatar Attila Molnar2014-12-151-1/+1
* | m_callerid Change CallerIdDataSet (wholistsme) to be a vectorGravatar Attila Molnar2014-12-101-3/+3
* | m_callerid Add typedefs for containers in callerid_dataGravatar Attila Molnar2014-12-101-6/+9
* | m_callerid Simplify code interacting with containersGravatar Attila Molnar2014-12-101-12/+3
* | Add stdalgo::erase() and use it to simplify codeGravatar Attila Molnar2014-11-011-9/+2
* | Merge insp20Gravatar Attila Molnar2014-07-251-1/+1
|\|
| * Correct the syntax messages of a few modules.Gravatar Robby-2014-04-121-1/+1
* | Merge insp20Gravatar Attila Molnar2014-01-211-4/+9
|\|
| * Use FindNickOnly() in a few more places if a local user is performing an acti...Gravatar Attila Molnar2014-01-191-3/+14
| * Fix ACCEPT propagation bug when it got a nick prefixed with +•••Fixes #696 Does not apply to 2.2 due to Attila's rewrite of the module Gravatar Daniel Vassdal2013-12-091-0/+3
* | Remove PreText()-like functions•••Do processing in OnUserPreMessage() Gravatar Attila Molnar2014-01-081-9/+5
* | Fix a few issues•••- 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 Gravatar attilamolnar2013-11-211-1/+1
* | These two numerics are supposed to use SentText() as they can go to remote us...Gravatar Adam2013-11-121-2/+2
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-11/+23
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-7/+0
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-3/+1
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
* | Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-5/+5
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() w...Gravatar attilamolnar2013-07-011-1/+1
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-1/+1
* | m_callerid Route ACCEPT to the server of the target user only, do not send ME...•••ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before Gravatar attilamolnar2013-06-121-53/+72
* | CommandParser::LoopCall() changes•••- 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 Gravatar attilamolnar2013-06-121-1/+1