Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-16 | Add ConfigTag::getUInt for reading unsigned config values. | Peter Powell | |
2018-04-16 | Use an oper priv instead of a config flag for overriding callerid. | Peter Powell | |
2018-02-07 | Send 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-06 | Rework 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-29 | Don't hardcode mode characters which are sent in 005 tokens. | Peter Powell | |
2017-11-21 | Add the override keyword in places that it is missing. | Peter Powell | |
GCCs warnings for this are much better than Clangs. | |||
2017-11-17 | Fix a ton of -Wsign-conversion warnings. | Peter Powell | |
2017-11-13 | Only subclass Simple{Channel,User}ModeHandler when necessary. | Peter Powell | |
2017-10-28 | Hide 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-03 | Convert a bunch of time-related config options to getDuration. | Peter Powell | |
2016-02-25 | Add User::WriteRemoteNumeric() and switch code using SendText() to send ↵ | Attila Molnar | |
numerics to it | |||
2016-02-25 | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵ | Attila Molnar | |
parameters | |||
2016-02-22 | Merge insp20 | Attila Molnar | |
2016-02-13 | m_callerid Free old extension data before unserializing the new data | Attila Molnar | |
2015-12-07 | Remove some IS_SERVER() checks | Attila 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-03 | m_callerid Prioritize after other mods for the OnUserPreMessage hook | Attila Molnar | |
Issue #1051 | |||
2015-01-18 | Specify which Extensible subclass an ExtensionItem is valid for | Attila Molnar | |
2014-12-15 | Change type of some associative containers to their flat versions, including ↵ | Attila Molnar | |
Extensible storage | |||
2014-12-10 | m_callerid Change CallerIdDataSet (wholistsme) to be a vector | Attila Molnar | |
2014-12-10 | m_callerid Add typedefs for containers in callerid_data | Attila Molnar | |
2014-12-10 | m_callerid Simplify code interacting with containers | Attila Molnar | |
2014-11-01 | Add stdalgo::erase() and use it to simplify code | Attila Molnar | |
2014-07-25 | Merge insp20 | Attila Molnar | |
2014-04-12 | Correct the syntax messages of a few modules. | Robby- | |
2014-01-21 | Merge insp20 | Attila Molnar | |
2014-01-19 | Use FindNickOnly() in a few more places if a local user is performing an ↵ | Attila Molnar | |
action to prevent UID walking | |||
2014-01-08 | Remove PreText()-like functions | Attila Molnar | |
Do processing in OnUserPreMessage() | |||
2013-12-09 | Fix 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-21 | Fix a few issues | attilamolnar | |
- 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-12 | These two numerics are supposed to use SentText() as they can go to remote ↵ | Adam | |
users... | |||
2013-11-12 | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵ | Adam | |
automatically | |||
2013-09-08 | Automatically register ServiceProviders created by modules | attilamolnar | |
2013-08-30 | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵ | attilamolnar | |
and on rehash This eliminates the need for calling OnRehash() in init() | |||
2013-08-04 | Automatically attach modules to events | attilamolnar | |
2013-08-04 | Change modules to use the MODNAME constant when logging. | Peter Powell | |
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. | |||
2013-07-04 | Remove $Core and $Mod* comments apart from $ModDep. | Peter Powell | |
2013-07-01 | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵ | attilamolnar | |
with ModeHandlers, part 1 | |||
2013-06-13 | Remove TR_END, remove TRANSLATEx() from commands that do not need it | attilamolnar | |
2013-06-12 | m_callerid Route ACCEPT to the server of the target user only, do not send ↵ | attilamolnar | |
METADATA at all ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before | |||
2013-06-12 | CommandParser::LoopCall() changes | attilamolnar | |
- 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 | |||
2013-05-20 | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵ | attilamolnar | |
OnUserMessage and OnUserPreMessage All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases | |||
2013-05-15 | Tidy up keywords on module methods. | Peter Powell | |
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. | |||
2013-05-14 | Add method for writing server notices. | Peter Powell | |
This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. | |||
2013-04-28 | Merge insp20 | attilamolnar | |
2013-04-21 | Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵ | attilamolnar | |
errors in m_callerid | |||
2013-04-19 | m_callerid Allow messaging yourself while +g regardless of the ACCEPT list | attilamolnar | |
2013-04-18 | m_callerid Ignore duplicate entries when unserializing callerid_data | attilamolnar | |
2013-04-18 | m_callerid Fix bookkeeping error introduced when unserializing callerid_data | attilamolnar | |
This also fixes a memory leak that didn't occur naturally but was triggerable by remote servers Thanks to @SimosNap for the report | |||
2013-04-11 | Convert ISUPPORT to use a map instead of a string. | Peter Powell | |
2013-04-10 | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper() | attilamolnar | |