summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2014-09-04Migrate code from ModeParser into cmd_mode (core_user)Attila Molnar
- Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes()
2014-09-04m_namedmodes Build and process a Modes::ChangeList when handling PROPAttila Molnar
2014-09-04Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableAttila Molnar
This gets rid of the duplicated mode parsing logic in m_namedmodes
2014-09-04Call the MODE command handler in several modules instead of the old ↵Attila Molnar
ModeParser::Process()
2014-09-04m_spanningtree Simplify processing non-prefix modes in FJOINsAttila Molnar
Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
2014-09-04m_spanningtree Apply FMODE mode changes using the new ModeParser functionsAttila Molnar
2014-09-04m_services_account Call ModeHandler::RemoveMode() instead of duplicating codeAttila Molnar
2014-09-03m_spanningtree Remove CommandFJoin::ApplyModeStack()Attila Molnar
2014-09-03Use Modes::ChangeList in ModeHandler::RemoveMode()Attila Molnar
2014-09-03Replace irc::modestacker usage with the new ModeParser::Process()Attila Molnar
2014-09-03Remove ProtocolInterface::SendMode()Attila Molnar
2014-09-03m_spanningtree Send MODE/FMODE from the OnMode hookAttila Molnar
If the MODE_LOCALONLY flag is set the mode change is not propagated
2014-09-03m_spanningtree Add function to serialize parameters in a ↵Attila Molnar
Modes::ChangeList::List into MODE/FMODE format
2014-09-01m_spanningtree Add optional key parameter to SVSJOIN and allow it to do ↵Attila Molnar
override joins Slightly more readable version of #892 by @ShutterQuick
2014-08-31m_blockamsg Update coding style, use User::WriteNotice()Attila Molnar
2014-08-31m_blockamsg Remove redundant checkAttila Molnar
2014-08-31m_blockamsg Uncrook channel counting logicAttila Molnar
2014-08-31m_blockamsg Prevent double copy of the target stringAttila Molnar
2014-08-31m_blockamsg Remove useless variableAttila Molnar
2014-08-06m_ojoin Change allocation of NetworkPrefix to be physically part of the ↵Attila Molnar
object containing it
2014-08-06m_ojoin Leave it to the core throw an exception if the prefix char is in useAttila Molnar
2014-08-06Pass prefix rank and prefix char to PrefixMode constructorAttila Molnar
2014-08-06m_exemptchanops Fix parameter validationAttila Molnar
2014-08-06m_spanningtree Remove redundant checks from HandleRemoteWhois()Attila Molnar
The size of the vector is checked in OnPreCommand() and that hook only runs for local users
2014-08-04m_pbkdf2 Less string copyingAttila Molnar
2014-08-04m_pbkdf2: Added moduleDaniel Vassdal
Bugfixes and minor changes are by @attilamolnar, original PR #767
2014-08-04m_bcrypt: Add moduleDaniel Vassdal
bcrypt updated to 1.3 by @attilamolnar, original PR #767
2014-08-04Hashing: Redo APIDaniel Vassdal
* Don't assume the printable output of hashes is hex * Add virtual Compare() function, usable for KDFs like BCrypt Some changes and bugfixes are by @attilamolnar, original PR #767
2014-08-04m_password_hash: Use out_size as HMAC-key length, as RFC2104 recommendsDaniel Vassdal
"In any case the minimal recommended length for K is L bytes (as the hash output length)."
2014-07-29Differ database error messages for m_permchannels and m_xline_dbJustin Crawford
m_permchannels and m_xline_db both have the same error messages as well as not informing the server operator what file is at fault for the error. This makes it hard to find which module is causing the error and what file the module is referring to. The new messages explain which database is trying to be written and the path used to write the file.
2014-07-28Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Attila Molnar
the netsplit is handled, not in cull()
2014-07-28m_spanningtree Throw a ProtocolException if a server SQUITs a server it ↵Attila Molnar
shouldn't
2014-07-28m_spanningtree Squit dead servers immediately when they die, not at the next ↵Attila Molnar
timer tick
2014-07-28m_spanningtree Remove the now needless SplitInProgress workaroundAttila Molnar
2014-07-28m_spanningtree Check TreeServer::IsDead() to learn whether a user is being ↵Attila Molnar
quit due to a netsplit in OnUserQuit()
2014-07-28m_spanningtree Change type of num_lost_* to be unsignedAttila Molnar
2014-07-28m_spanningtree Quit all split users in one goAttila Molnar
2014-07-28m_spanningtree Mark servers awaiting destruction after being lost in a ↵Attila Molnar
netsplit, add TreeServer::IsDead()
2014-07-28m_spanningtree Remove now unused TreeServer::Tidy()Attila Molnar
2014-07-28m_spanningtree Add the TreeServer that split to the cull list and destroy ↵Attila Molnar
everything under it recursively at cull time instead of at squit processing time
2014-07-28m_spanningtree Remove split servers from the hash maps in ↵Attila Molnar
TreeServer::SQuitInternal()
2014-07-28m_spanningtree Move squit logic into TreeServer from TreeSocketAttila Molnar
2014-07-28m_spanningtree Remove now needless TreeSocket::ConnectionFailureShownAttila Molnar
2014-07-28m_spanningtree Ensure that TreeSocket::Close() only runs onceAttila Molnar
2014-07-27m_spanningtree Keep track of whether servers are behind a bursting server, ↵Attila Molnar
use it to implement quietbursts
2014-07-27m_spanningtree Only mark one server as finished bursting on ENDBURST (or ↵Attila Molnar
PONG), not all behind it
2014-07-27m_spanningtree Sync bursting state of servers in SERVERAttila Molnar
Also send the time when they started bursting
2014-07-27m_spanningtree Parse additional information present in SERVER messagesAttila Molnar
Format: <key>[=<value>]
2014-07-27m_spanningtree Add TreeServer::BeginBurst() that marks a server as burstingAttila Molnar
Don't mark servers as bursting in the constructor
2014-07-27m_spanningtree Use the value of StartBurst to determine whether a server is ↵Attila Molnar
bursting, remove TreeServer::bursting