aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | m_spanningtree Propagate oper-only quit reason using METADATA, remove OPERQUITGravatar attilamolnar2013-08-185-57/+23
| |
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-1720-60/+49
| |
* | Clean up the build system properties and related code.Gravatar Peter Powell2013-08-163-10/+4
| | | | | | | | | | | | | | | | | | | | - Deduplicate getcompilerflags, getdependancies, getlinkerflags. - Remove $NoPedantic (add -Wno-pedantic to $CompileFlags instead). - Remove --enable-freebsd-ports-openssl and all related code (this will be replaced with --no-pkg-config=[name] in the future). - Remove some unused build system properties. - Remove support for caching third party include and library paths (can cause unexpected problems when they change).
* | Remove $ModDep commentsGravatar attilamolnar2013-08-1524-46/+0
| |
* | Store oper types and opers in separate containersGravatar attilamolnar2013-08-132-4/+4
| |
* | Add ConfigTag::getDuration() with optional bounds checkingGravatar attilamolnar2013-08-124-17/+5
| |
* | Add <path> keys for all of the compile-time paths.Gravatar Peter Powell2013-08-124-10/+10
| | | | | | | | | | | | Also, make all paths in the config relative to their associated directory. This reverts a change in 2.0 which turned out to be a terrible idea, especially for system-wide installations.
* | Replace range() with min and max arguments on getInt().Gravatar Peter Powell2013-08-102-24/+5
| |
* | Rename <connect:nouserdns> to <connect:resolvehostnames>.Gravatar Peter Powell2013-08-101-1/+1
| | | | | | | | | | This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
* | Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵Gravatar attilamolnar2013-08-099-14/+14
| | | | | | | | | | | | ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
* | Move host cycle logic into m_hostcycleGravatar attilamolnar2013-08-091-0/+114
| |
* | Fix a couple of issuesGravatar attilamolnar2013-08-083-3/+3
| | | | | | | | | | | | | | | | - Wrong doc for Snomask::GetDescription() - Incorrect idle time when WHOISing remote users - String + int = garbage - Remote MODE commands (user mode changes) being broadcast in addition to being forwarded - Incorrect revision being shown
* | Issue #604, fix m_dnsbl, broken in accccc212cd4f08a3c5532b1ae7a17e76bac8718Gravatar Adam2013-08-061-5/+5
| |
* | Call ModeParser::Process() directly instead of going through the CommandParserGravatar attilamolnar2013-08-043-20/+8
| | | | | | | | Simplify the way how m_conn_umodes assembles the modes it sets
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-04127-499/+0
| |
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-049-14/+14
| |
* | Modify the log message to contain the log type.Gravatar Peter Powell2013-08-048-39/+39
| |
* | Change httpd modules to use the MODNAME constant in headers.Gravatar Peter Powell2013-08-043-3/+3
| |
* | Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-0441-131/+131
| | | | | | | | | | | | | | | | 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.
* | Remove a few not-so-useful debug messagesGravatar attilamolnar2013-08-045-23/+1
| |
* | Remove a ton of duplicate and obsolete code from configure.Gravatar Peter Powell2013-07-293-24/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | m_spanningtree Change the type of TreeServer::ServerName to std::stringGravatar attilamolnar2013-07-248-29/+17
| |
* | m_spanningtree Cleanup TreeServer and TreeSocket construction/destructionGravatar attilamolnar2013-07-245-87/+28
| |
* | Enable the LINK snomask from m_spanningtree, remove unused FLOOD snomaskGravatar attilamolnar2013-07-201-0/+2
| |
* | m_ojoin Stop hardcoding +Y, move global vars into a class, move ↵Gravatar attilamolnar2013-07-191-24/+22
| | | | | | | | initialization code into init()
* | Get rid of enum UserModes and mark User::modes as privateGravatar attilamolnar2013-07-191-1/+4
| |
* | Replace hardcoded mode letters, part 3Gravatar attilamolnar2013-07-193-5/+21
| | | | | | | | This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
* | Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵Gravatar attilamolnar2013-07-191-1/+15
| | | | | | | | User class to the snomask modehandler
* | Replace hardcoded mode letters, part 2Gravatar attilamolnar2013-07-197-42/+72
| | | | | | | | This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
* | Seperate ModeReference into ChanModeReference and UserModeReferenceGravatar attilamolnar2013-07-193-3/+3
| |
* | Allow the user to specify any hashing mechanism supported by the underlying ↵Gravatar Daniel Vassdal2013-07-062-5/+25
| | | | | | | | SSL library
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-04158-324/+1
| |
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵Gravatar attilamolnar2013-07-0132-126/+108
| | | | | | | | with ModeHandlers, part 1
* | Fix a few oversightsGravatar attilamolnar2013-07-011-1/+2
| | | | | | | | This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
* | m_repeat Optimize the Levenshtein() functionGravatar attilamolnar2013-06-241-31/+24
| | | | | | | | | | 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
* | Always set the topic in Channel::SetTopic(), move access checks into cmd_topicGravatar attilamolnar2013-06-162-5/+3
| |
* | Add RE2 regex module.Gravatar Peter Powell2013-06-161-0/+89
| |
* | m_banredirect Accept channel names starting with #! and #@Gravatar Daniel Vassdal2013-06-161-7/+9
| | | | | | | | Fixes #504 reported by @mechasr
* | Call Channel::SetModeParam() from the mode parser when needed instead of ↵Gravatar attilamolnar2013-06-138-15/+0
| | | | | | | | requiring mode handlers to do it
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-1329-33/+17
| |
* | Rewrite CommandParser::TranslateUIDs()Gravatar attilamolnar2013-06-133-9/+3
| |
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵Gravatar attilamolnar2013-06-1319-84/+50
| | | | | | | | | | | | | | | | 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.)
* | m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ↵Gravatar attilamolnar2013-06-122-8/+6
| | | | | | | | ignore non-channel METADATA
* | m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers ↵Gravatar attilamolnar2013-06-121-0/+23
| | | | | | | | | | | | into ADDLINE/DELLINE These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers
* | Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to ↵Gravatar attilamolnar2013-06-123-18/+1
| | | | | | | | route KILLs
* | Implement GetRouting() in core commands that require it, remove ugly ↵Gravatar attilamolnar2013-06-121-9/+1
| | | | | | | | workaround from spanningtree RouteCommand()
* | m_callerid Route ACCEPT to the server of the target user only, do not send ↵Gravatar attilamolnar2013-06-121-53/+72
| | | | | | | | | | | | METADATA at all ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before
* | CommandParser::LoopCall() changesGravatar attilamolnar2013-06-121-1/+1
| | | | | | | | | | | | - 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
* | Change command name parameter of OnPostCommand to be a Command*Gravatar attilamolnar2013-06-124-12/+7
| |
* | Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵Gravatar attilamolnar2013-06-124-16/+9
| | | | | | | | space as the sep char