Attila Molnar
c67d3103e9
Move src/commands/cmd_*.cpp to src/coremods[/core_*]/
2014-03-05 15:41:06 +01:00
Attila Molnar
5613d70178
Remove out of date doc and fix typo in commands/cmd_*.cpp
2014-03-04 13:30:56 +01:00
Attila Molnar
a8b146419b
m_spanningtree Remove remains of the KeepNickTS workaround
2014-03-03 15:10:41 +01:00
Attila Molnar
b1173ca66a
Update nick timestamps in User::ChangeNick(), pass the new TS in a parameter
2014-03-03 15:07:17 +01:00
Attila Molnar
a5ca8b892c
Remove REG_ALL checks from User::SharesChannelWith()
...
These checks are never true currently and even if one or both users are unregistered proceeding is harmless
2014-02-27 17:16:48 +01:00
Attila Molnar
5a3ac07e14
cmd_topic Remove redundant NULL check
2014-02-27 17:10:41 +01:00
Googolplexed
dcd07e3892
Give m_connectban a configurable ban message
2014-02-27 16:17:46 +01:00
Daniel Vassdal
8af4a2795b
Simplify /SAJOIN syntax and add permission for joining other users.
2014-02-26 14:00:01 +01:00
Attila Molnar
0ada3aeb10
m_chanfilter Remove needless mode parameter is empty check
2014-02-26 13:37:10 +01:00
Attila Molnar
8776d4fffd
m_cycle Remove redundant IS_LOCAL() check
2014-02-26 13:30:31 +01:00
Attila Molnar
1a3c9fea07
cmd_kill Remove now needless check that prevented KILLing the same user twice
2014-02-25 16:52:30 +01:00
Attila Molnar
9139862182
cmd_kill Hide server notices if the source is ulined
...
Issue #742
2014-02-25 16:51:09 +01:00
Attila Molnar
4e0fd52057
m_svshold Hide server notices by default
...
Issue #742
2014-02-25 16:48:38 +01:00
Attila Molnar
5a64433015
Throw an exception if ModeParser::AddMode() fails
2014-02-23 12:24:14 +01:00
Googolplexed
3c9e626d3f
Moving CGIIRC to a new snomask (w)
2014-02-23 12:10:17 +01:00
Attila Molnar
7affd6453d
Add ModeParser::GetModes(), returns all user/chanmodes
2014-02-22 14:00:04 +01:00
Attila Molnar
7ffef79f97
Index Channel::modes and User::modes with the id of the mode instead of its letter
2014-02-21 15:11:24 +01:00
Attila Molnar
1b6dda7ad5
Assign an id to user modes, parameter chanmodes and simple chanmodes
2014-02-21 14:42:16 +01:00
Attila Molnar
9e123ad121
Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcnt
2014-02-21 14:18:49 +01:00
Attila Molnar
5303501b93
Add a ModeParser::FindMode() overload that takes a mode name and a mode type
2014-02-20 13:34:27 +01:00
Attila Molnar
f66d05dbda
Create a name -> ModeHandler* map
2014-02-20 13:20:21 +01:00
Attila Molnar
7bcb703bca
Replace ModeMasks with a two-dimensional array
2014-02-18 13:47:10 +01:00
Attila Molnar
8f901b33a8
Change the parameter type of ModeHandler::GiveModeList() from ModeMasks to ModeType
2014-02-18 13:41:01 +01:00
Attila Molnar
0556720b55
Add ParamModeBase and ParamMode, change all parameter modes to inherit from 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-15 14:38:24 +01:00
Attila Molnar
88baaf9e68
Add ModeHandler::IsParameterMode() and MC_PARAM
2014-02-15 13:51:35 +01:00
Attila Molnar
8bdc2313a6
Move GetAllPrefixChars() from Channel to Membership
2014-02-14 12:16:31 +01:00
Attila Molnar
74ccc28da3
Move GetPrefixChar() from Channel to Membership
2014-02-14 12:15:00 +01:00
Attila Molnar
51b5f06c48
Return a Membership* from get_first_visible_channel() in cmd_who and pass that to modules
2014-02-14 12:00:06 +01:00
Peter Powell
3111038011
Remove support for advertising the SSL ports in RPL_ISUPPORT.
...
- No other IRC servers implement this.
- No IRC clients I can find support this.
2014-02-13 18:10:40 +01:00
Adam
e91c34ae36
Remove redundant null pointer check from m_ldapauth
2014-02-13 11:07:23 +01:00
Adam
a4f222ee1b
Wait for the manager bind to come back before sending search in LDAP modules
2014-02-13 11:07:10 +01:00
Attila Molnar
c77cc4f737
m_operjoin Remove duplicated code
2014-02-11 14:08:11 +01:00
Attila Molnar
87ce845b68
m_sqlauth Allow the client certificate fingerprint to be used in the SQL query
...
Idea by @m4z
2014-02-11 14:00:05 +01:00
Attila Molnar
6fb7507c58
Replace DummyExtItem with a flag in Extensible
2014-02-10 13:56:14 +01:00
Attila Molnar
034488fc4a
Store the EventHandler* in the kevent/epoll_event/portev struct
...
This removes the need to call GetRef() for every socket in DispatchEvents()
2014-02-09 17:31:57 +01:00
Attila Molnar
4ec65c6231
Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)
2014-02-09 17:17:04 +01:00
Adam
080bb7c0b3
Queue changes in socketengine_kqueue and submit them as we poll for new events
2014-02-09 17:10:21 +01:00
Attila Molnar
efe77ba63b
Change all socketengine methods to be static
2014-02-08 23:01:44 +01:00
Attila Molnar
689996cb88
Move socketengine stats into a new class
2014-02-08 22:40:30 +01:00
Attila Molnar
aea38a0dd7
Update SocketEngine::CurrentSetSize in AddFdRef()/DelFdRef()
2014-02-08 22:34:11 +01:00
Attila Molnar
b01820c079
Rename SocketEngine::AddFd() and DelFd() to AddFdRef() and DelFdRef()
2014-02-08 22:25:06 +01:00
Attila Molnar
dd43a49fc4
Move variables in socketengines
...
Move timespec to DispatchEvents() in kqueue, there is no reason for it to be a member variable
2014-02-08 22:20:05 +01:00
Attila Molnar
ed6176383e
Replace SocketEngine::GetName() with INSPIRCD_SOCKETENGINE_NAME define
2014-02-08 13:16:31 +01:00
Attila Molnar
2cf4b614e6
Change SocketEngine functions that do not require an instance to be static
2014-02-08 13:10:09 +01:00
Attila Molnar
5b6ae9c542
Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is defined
2014-02-07 18:21:01 +01:00
Thiago Crepaldi
4ed0292914
m_ldapauth.cpp: Allow multiple patterns for users to bypass LDAP auth
2014-02-07 18:10:20 +01:00
Peter Powell
9dd4108273
Convert irc::stringjoiner to be a method instead of a class.
...
Add separator parameter
2014-02-06 23:11:51 +01:00
Peter Powell
db0e78c5d2
Fix various cases of UUID exposure.
...
- 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-06 23:10:01 +01:00
Attila Molnar
13edc2e8eb
m_cap Instead of using case insensitive compare convert the subcommand to uppercase
...
This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase
2014-02-06 23:00:18 +01:00
Attila Molnar
a8b986bd78
Merge pull request #766 from SaberUK/master+rebuild-fix
...
Don't force a rebuild after doing a Git commit.
2014-02-06 22:57:21 +01:00