summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
AgeCommit message (Collapse)Author
2018-08-10Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.Peter Powell
Special tokenisation rules are not necessary here.
2018-08-07Remove the 'debug' snotice character.Peter Powell
2018-08-05Make the FJOIN timestamp message easier for users to understand.Peter Powell
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2016-09-02Bump version to 3.0 in comments and messagesAttila Molnar
2016-04-13m_spanningtree Fix FJOIN forwardingAttila Molnar
2016-04-13m_spanningtree Resync servers when they recreate a channel outside of burstAttila Molnar
2016-04-11Refactor topic setting logic to go through Channel::SetTopic() in all casesAttila Molnar
- Pass topic set time and optionally the setter to SetTopic() - Don't do anything if the topic is changed by a local user to what it is currently
2016-03-05Send NOTICEs to local channel members with Channel::WriteNotice()Attila Molnar
2015-11-02Rewrite invite systemAttila Molnar
- Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one
2015-05-13m_spanningtree Clean up commentsAttila Molnar
2015-04-20Merge insp20Attila Molnar
2015-01-09m_spanningtree Forward FJOINs with correct TS, modes and userlistAttila Molnar
2015-01-09m_spanningtree Change name and scope of commait in FJOIN handlerAttila Molnar
2015-01-09m_spanningtree Add overload for add() and has_room(), giving more ↵Attila Molnar
flexibility to subclasses of CommandFJoin::Builder
2015-01-09m_spanningtree Add source server parameter to CommandFJOIN::Builder constructorAttila Molnar
Default it to this server
2015-01-03Fix a snotice in m_spanningtree incorrectly using an unsigned long.Peter Powell
This value can be negative so it should be a signed long not an unsigned long.
2014-09-04m_spanningtree Simplify processing non-prefix modes in FJOINsAttila Molnar
Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
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-07-27m_spanningtree Replace direct access of TreeServer::bursting with IsBursting()Attila Molnar
2014-07-25Merge insp20Attila Molnar
2014-06-14m_spanningtree Use vector back() where it makes senseAttila Molnar
2014-06-11m_spanningtree Send and parse FJOINs with membership idsAttila Molnar
2014-06-11m_spanningtree Add CmdBuilder specialization for FJOINAttila Molnar
2014-04-26m_spanningtree Set the bursting flag in the FJOIN handler based on whether ↵Attila Molnar
the source of the FJOIN is bursting or not Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting Fixes issue #839 reported by @joshtek0
2014-04-16m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSAttila Molnar
Throws a ProtocolException if the input is invalid
2014-04-16m_spanningtree Throw an exception on protocol violations instead of ↵Attila Molnar
returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
2014-02-22Add ModeParser::GetModes(), returns all user/chanmodesAttila Molnar
2014-01-06Unset all extensions and the topic when lowering TS on a channelAttila Molnar
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2013-08-30Merge insp20attilamolnar
2013-08-22m_spanningtree Change TreeServer::GetSocket() to always return the socket ↵attilamolnar
that can be used to talk to the server The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers
2013-08-18m_spanningtree Move all server-to-server command handlers into handler classesattilamolnar
These commands are not registered in or called by the core. When looking for the handler of a command a new command table is searched first which contains all server-to-server commands. If a handler cannot be found in there, the core command table is consulted.
2013-08-17m_spanningtree Remove SpanningTreeUtilities* fields and parametersattilamolnar
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
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.
2013-06-13Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵attilamolnar
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.)
2013-06-12m_spanningtree FJOIN handler: Merge and take maxmodes into consideration ↵attilamolnar
when applying non-prefix modes
2013-05-27Deduplicate RemoveMode() implementationsattilamolnar
The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
2013-04-13Channel::JoinUser() and Channel::ForceChan() changesattilamolnar
Convert static Channel::ForceChan() to non-static Channel::ForceJoin() that joins a user to a channel, no permission checks The (static) Channel::JoinUser() now has a LocalUser parameter, and no longer have TS and bursting parameters. If the channel doesn't exist, it is created using current time as TS
2013-04-12m_spanningtree FJOIN handler: Refactor, update docattilamolnar
Split the core function into several smaller functions Accept userlist entries having no comma at all
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-01Change channel name parameter of Module::OnUserPreJoin() and ↵attilamolnar
Channel::JoinUser() to std::string from char*
2013-03-20m_spanningtree Fix incoming channel modes being lost for 0-user permanent ↵attilamolnar
channels on the losing side of a netmerge This did not affect listmodes
2012-11-28m_spanningtree Remove redundant params.size() checksattilamolnar
TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters
2012-06-17Fix pending invites not being removed when a channel was deleted or had its ↵attilamolnar
TS lowered
2012-05-25Debian typo fixes.Peter Powell
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-