summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2014-02-25m_svshold Hide server notices by defaultAttila Molnar
Issue #742
2014-02-23Moving CGIIRC to a new snomask (w)Googolplexed
2014-02-22Add ModeParser::GetModes(), returns all user/chanmodesAttila Molnar
2014-02-21Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcntAttila Molnar
2014-02-20Add a ModeParser::FindMode() overload that takes a mode name and a mode typeAttila Molnar
2014-02-18Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ↵Attila Molnar
ModeType
2014-02-15Add ParamModeBase and ParamMode, change all parameter modes to inherit from ↵Attila Molnar
ParamMode - Type of the extension used to store data is a template parameter - The extension is automatically unset when the mode is unset - Handlers inheriting from ParamMode have to provide OnSet() and SerializeParam(); may optionally provide OnUnset() - Transparently handle the case when OnSet() modifies the mode parameter - Remove Channel::custom_mode_params map; ask the mode handlers to serialize their parameters instead
2014-02-14Move GetAllPrefixChars() from Channel to MembershipAttila Molnar
2014-02-14Move GetPrefixChar() from Channel to MembershipAttila Molnar
2014-02-14Return a Membership* from get_first_visible_channel() in cmd_who and pass ↵Attila Molnar
that to modules
2014-02-13Remove support for advertising the SSL ports in RPL_ISUPPORT.Peter Powell
- No other IRC servers implement this. - No IRC clients I can find support this.
2014-02-13Remove redundant null pointer check from m_ldapauthAdam
2014-02-13Wait for the manager bind to come back before sending search in LDAP modulesAdam
2014-02-11m_operjoin Remove duplicated codeAttila Molnar
2014-02-11m_sqlauth Allow the client certificate fingerprint to be used in the SQL queryAttila Molnar
Idea by @m4z
2014-02-09Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)Attila Molnar
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-08Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME defineAttila Molnar
2014-02-08Change SocketEngine functions that do not require an instance to be staticAttila Molnar
2014-02-07m_ldapauth.cpp: Allow multiple patterns for users to bypass LDAP authThiago Crepaldi
2014-02-06Convert irc::stringjoiner to be a method instead of a class.Peter Powell
Add separator parameter
2014-02-06Fix various cases of UUID exposure.Peter Powell
- Introduce WriteCommand which sends * when the user has not registered. - Switch a ton of code to use WriteCommand instead of WriteServ. - Convert WriteNotice to be a wrapper around WriteCommand. - Only send * when NICK has not been sent instead of before registration.
2014-02-06m_cap Instead of using case insensitive compare convert the subcommand to ↵Attila Molnar
uppercase This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase
2014-02-03m_banredirect Fix typo in a message (transfered -> transferred)Attila Molnar
Fixes issue #757 reported by @guikcd
2014-01-31Remove a few unnecessary .c_str() callsAttila Molnar
2014-01-31Remove some dead codeAttila Molnar
2014-01-30m_conn_join Read default settings in ReadConfig()Attila Molnar
2014-01-30m_conn_join: Allow time-delayed joinsDaniel Vassdal
2014-01-30m_conn_join: Fixed indentationDaniel Vassdal
2014-01-30Allow Timers to delete themselves in Tick()Attila Molnar
2014-01-28m_spanningtree Rewrite /mapAdam
2014-01-27m_tline Minor improvementsAttila Molnar
- Replace floats with integers - Use size() instead of counting elements - Use WriteNotice()
2014-01-27m_alias Remove duplicate checksAttila Molnar
2014-01-27m_alias Use equal_range() when searching for aliasesAttila Molnar
2014-01-26m_ssl_openssl Fix memory leaks on /rehash ssl, unload and in VerifyCertificate()Attila Molnar
2014-01-26Add m_clearchan which removes users from a channel without sending n*(n+1)/2 ↵Attila Molnar
QUIT messages
2014-01-26Add ProtocolInterface::BroadcastEncap() and infrastructure for manually ↵Attila Molnar
forwarding ENCAPs
2014-01-26ProtocolInterface::SendEncapsulatedData() changesAttila Molnar
- Pass command name and destination as real parameters - Allow callers to specify the command source - Send a SID instead of a server name if the target is a single server
2014-01-25Add Channel* parameter to OnSendWhoLineAttila Molnar
2014-01-25Omit the server name internally when building a /STATS reply and prepend it ↵Attila Molnar
later
2014-01-25Convert InspIRCd::PassCompare to return bool instead of int.Peter Powell
The insane behaviour of this method was due to an implementation detail which has since become irrelevent.
2014-01-24Set a session id on our server ssl context in m_ssl_openssl. It is required ↵Adam
for some clients which try to restore SSL sessions.
2014-01-24Convert UserChanList to an intrusively linked listAttila Molnar
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-23Globally #undef min and max on WindowsAttila Molnar
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
2014-01-22Add the ability to have multiple SSL profilesAttila Molnar
SSL profiles are now used instead of fixed SSL settings for everything SSL, making it possible to use completely different settings for each listener and outgoing connection. Outgoing connections are broken until the next commit.
2014-01-22m_ssl_gnutls Create GNUTLS_NEW_CERT_CALLBACK_API and cert_cb_last_param_typeAttila Molnar
2014-01-21Merge insp20Attila Molnar
2014-01-21m_spanningtree Fix routing of ROUTE_TYPE_MESSAGE messagesAttila Molnar