summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-08-04Modify the log message to contain the log type.Peter Powell
2013-08-04Change httpd modules to use the MODNAME constant in headers.Peter Powell
2013-08-04Change 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-08-04Remove a few not-so-useful debug messagesattilamolnar
2013-07-29Remove a ton of duplicate and obsolete code from configure.Peter Powell
- Add the data and log paths to dumphash. - Always exit with EXIT_FAILURE on error. - Always replace the old config.h with our new one. - Clean up the ./configure --help message slightly. - Install dhparams.pem into the conf directory on GnuTLS as well as OpenSSL. - Only show the users InspIRCd Git revision when building from Git. - Remove a check for MinGW (we have proper Windows builds). - Remove a check for FreeBSD 4 (released in 2000). - Remove a ton of pointless tab-indented comments. - Remove a ton of duplicate or unused variables. - Remove the check for stdint.h (always available on TR1 compilers). - Remove the $writeheader argument from writefiles (always 1). - Remove the following %config options: - DESTINATION (not used, always set to BASE). - EXECUTABLE (always set to inspircd). - OSNAME (duplicate of SYSTEM). - Remove support for checking whether -extra modules are up to date (if the user is installing they won't have any -extra modules installed). - Remove SSL generation messages (genssl provides these). - Replace inappropriate uses of printf with print. - Replace is_dir with -d from the Perl stdlib. - Replace resolve_directory with rel2abs from the Perl stdlib. - Rewrite getrevision to be more compact, cache the revision and return 'release' on non-Git builds. - Use consistent messages for all tests. - Use tput to clear the screen in a portable way.
2013-07-24m_spanningtree Change the type of TreeServer::ServerName to std::stringattilamolnar
2013-07-24m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionattilamolnar
2013-07-20Enable the LINK snomask from m_spanningtree, remove unused FLOOD snomaskattilamolnar
2013-07-19m_ojoin Stop hardcoding +Y, move global vars into a class, move ↵attilamolnar
initialization code into init()
2013-07-19Get rid of enum UserModes and mark User::modes as privateattilamolnar
2013-07-19Replace hardcoded mode letters, part 3attilamolnar
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-19Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵attilamolnar
User class to the snomask modehandler
2013-07-19Replace hardcoded mode letters, part 2attilamolnar
This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-19Seperate ModeReference into ChanModeReference and UserModeReferenceattilamolnar
2013-07-06Allow the user to specify any hashing mechanism supported by the underlying ↵Daniel Vassdal
SSL library
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-07-01Fix a few oversightsattilamolnar
This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
2013-06-24m_repeat Optimize the Levenshtein() functionattilamolnar
New version uses 2 vectors instead of a matrix Do not shrink the vectors even if the user sets a lower <repeat:size> than before, this is because longer lines may remain in the backlog
2013-06-16Always set the topic in Channel::SetTopic(), move access checks into cmd_topicattilamolnar
2013-06-16Add RE2 regex module.Peter Powell
2013-06-16m_banredirect Accept channel names starting with #! and #@Daniel Vassdal
Fixes #504 reported by @mechasr
2013-06-13Call Channel::SetModeParam() from the mode parser when needed instead of ↵attilamolnar
requiring mode handlers to do it
2013-06-13Remove TR_END, remove TRANSLATEx() from commands that do not need itattilamolnar
2013-06-13Rewrite CommandParser::TranslateUIDs()attilamolnar
2013-06-13Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵attilamolnar
indicate local only mode changes and mode merges Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
2013-06-12m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ↵attilamolnar
ignore non-channel METADATA
2013-06-12m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers ↵attilamolnar
into ADDLINE/DELLINE These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers
2013-06-12Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to ↵attilamolnar
route KILLs
2013-06-12Implement GetRouting() in core commands that require it, remove ugly ↵attilamolnar
workaround from spanningtree RouteCommand()
2013-06-12m_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-12CommandParser::LoopCall() changesattilamolnar
- 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-06-12Change command name parameter of OnPostCommand to be a Command*attilamolnar
2013-06-12Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵attilamolnar
space as the sep char
2013-06-12m_banredirect Fix modestack usageattilamolnar
2013-06-10Added m_repeat - Allows for blocking of similiar messagesDaniel Vassdal
Changes to the original module: - Parse settings using a sepstream, accept remote mode changes regardless of our config - Refuse to link when config settings differ - Style changes All ideas and features are the brainchild and work of Daniel Vassdal
2013-06-07Change the API of m_httpd to be dynamic_reference-basedattilamolnar
2013-06-07Change the API of m_sslinfo to be dynamic_reference-basedattilamolnar
2013-06-07Create SSLIOHook interface that provides GetCertificate()attilamolnar
2013-06-07Create IOHook interface (extracted from Module)attilamolnar
2013-06-06Store prefix rank in a ModeHandler field, change ↵attilamolnar
ModeHandler::GetPrefixRank() to be non-virtual
2013-06-06Convert a ton of uses of MAXBUF to use a fixed buffer size.Peter Powell
2013-06-06Replace some C string operations with the + operator.Peter Powell
2013-06-06Use InspIRCd::Format instead of snprintf().Peter Powell
2013-06-06Use iostream instead of C-style file operations.Peter Powell
2013-06-06Compare to ServerLimits::MaxLine instead of MAXBUF.Peter Powell
2013-06-06Reserve ServerLimits::MaxLine instead of MAXBUF.Peter Powell
2013-06-06Merge insp20attilamolnar