summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-22Add ModeParser::GetModes(), returns all user/chanmodesAttila Molnar
2014-02-21Index Channel::modes and User::modes with the id of the mode instead of its ↵Attila Molnar
letter
2014-02-21Assign an id to user modes, parameter chanmodes and simple chanmodesAttila Molnar
2014-02-21Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcntAttila Molnar
2014-02-20Fix /who on opers incorrectly showing +i opers toAdam
users without the privilege to see them, introduced in b328aad53b044bd9cf9720dfed216b0ee61c8e31
2014-02-20Add a ModeParser::FindMode() overload that takes a mode name and a mode typeAttila Molnar
2014-02-20Create a name -> ModeHandler* mapAttila Molnar
2014-02-19Merge pull request #772 from SaberUK/insp20+llvm34Attila Molnar
Fix various problems detected by Clang 3.4.
2014-02-18Replace ModeMasks with a two-dimensional arrayAttila 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-15Add ModeHandler::IsParameterMode() and MC_PARAMAttila Molnar
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-13socketengine_select Reset the values in the timeval struct on *nix before ↵Attila Molnar
select()
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-11Fix various problems detected by Clang 3.4.Peter Powell
- cidr.cpp: remove inverted_bits; unused since 9fad3ecb9215a0034bf407f192926b04cb5efaed. - cmd_stats.cpp: remove needless inversion and comparison to 0. - inspircd.cpp: remove needless comparison to 0. - socket.cpp: remove all_zero; unused since 03a1bf15b1da7643b237c22db1a478916a976ccf.
2014-02-10Replace DummyExtItem with a flag in ExtensibleAttila Molnar
2014-02-09Store the EventHandler* in the kevent/epoll_event/portev structAttila Molnar
This removes the need to call GetRef() for every socket in DispatchEvents()
2014-02-09Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)Attila Molnar
2014-02-09Queue changes in socketengine_kqueue and submit them as we poll for new eventsAdam
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-08Move socketengine stats into a new classAttila Molnar
2014-02-08Update SocketEngine::CurrentSetSize in AddFdRef()/DelFdRef()Attila Molnar
2014-02-08Rename SocketEngine::AddFd() and DelFd() to AddFdRef() and DelFdRef()Attila Molnar
2014-02-08Move variables in socketenginesAttila Molnar
Move timespec to DispatchEvents() in kqueue, there is no reason for it to be a member variable
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-07Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is definedAttila 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-06Merge pull request #766 from SaberUK/master+rebuild-fixAttila Molnar
Don't force a rebuild after doing a Git commit.
2014-02-06Don't force a rebuild after doing a Git commit.Peter Powell
Thanks to w00t for pointing out the cause of this.
2014-02-05socketengine_kqueue Remove dead codeAttila Molnar
2014-02-05socketengine_epoll Remove needless initialization of epoll_event when ↵Attila Molnar
removing an fd
2014-02-05socketengine_epoll Initialize CurrentSetSize (only used by m_httpd_stats)Attila Molnar
2014-02-05Fix oversight in 3752b3f59d5216d7dc6221a361efc76b9ad2273dAttila Molnar
2014-02-04Coding style changes in socketenginesAdam
2014-02-04New socketengine stuff:Adam
Use vectors that grow as necessary instead of mass allocating everything at once Rework poll engine logic to make sense
2014-02-04Fix new file descriptor debug log message in socketengine_poll to show the ↵Adam
correct events
2014-02-04Change type of SocketEngine::CurrentSetSize to size_t from intAttila Molnar
2014-02-04Fix ping timeout message seconds vs secondAdam
2014-02-03m_banredirect Fix typo in a message (transfered -> transferred)Attila Molnar
Fixes issue #757 reported by @guikcd