aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* spanningtree: Never send a message to a raw UUID in CmdBuilder.Gravatar Peter Powell2019-07-191-1/+1
|
* Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.Gravatar Peter Powell2018-08-101-1/+1
| | | | Special tokenisation rules are not necessary here.
* Remove the 'debug' snotice character.Gravatar Peter Powell2018-08-071-1/+1
|
* Make the FJOIN timestamp message easier for users to understand.Gravatar Peter Powell2018-08-051-1/+2
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Bump version to 3.0 in comments and messagesGravatar Attila Molnar2016-09-021-1/+1
|
* m_spanningtree Fix FJOIN forwardingGravatar Attila Molnar2016-04-131-1/+1
|
* m_spanningtree Resync servers when they recreate a channel outside of burstGravatar Attila Molnar2016-04-131-2/+12
|
* Refactor topic setting logic to go through Channel::SetTopic() in all casesGravatar Attila Molnar2016-04-111-7/+2
| | | | | - 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
* Send NOTICEs to local channel members with Channel::WriteNotice()Gravatar Attila Molnar2016-03-051-1/+1
|
* Rewrite invite systemGravatar Attila Molnar2015-11-021-3/+0
| | | | | | | | - 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
* m_spanningtree Clean up commentsGravatar Attila Molnar2015-05-131-6/+3
|
* Merge insp20Gravatar Attila Molnar2015-04-201-2/+2
|\
| * Fix a snotice in m_spanningtree incorrectly using an unsigned long.Gravatar Peter Powell2015-01-031-2/+2
| | | | | | | | | | This value can be negative so it should be a signed long not an unsigned long.
* | m_spanningtree Forward FJOINs with correct TS, modes and userlistGravatar Attila Molnar2015-01-091-2/+75
| |
* | m_spanningtree Change name and scope of commait in FJOIN handlerGravatar Attila Molnar2015-01-091-3/+4
| |
* | m_spanningtree Add overload for add() and has_room(), giving more ↵Gravatar Attila Molnar2015-01-091-4/+4
| | | | | | | | flexibility to subclasses of CommandFJoin::Builder
* | m_spanningtree Add source server parameter to CommandFJOIN::Builder constructorGravatar Attila Molnar2015-01-091-2/+2
| | | | | | | | Default it to this server
* | m_spanningtree Simplify processing non-prefix modes in FJOINsGravatar Attila Molnar2014-09-041-18/+1
| | | | | | | | Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
* | m_spanningtree Remove CommandFJoin::ApplyModeStack()Gravatar Attila Molnar2014-09-031-12/+0
| |
* | Use Modes::ChangeList in ModeHandler::RemoveMode()Gravatar Attila Molnar2014-09-031-3/+3
| |
* | Replace irc::modestacker usage with the new ModeParser::Process()Gravatar Attila Molnar2014-09-031-22/+14
| |
* | m_spanningtree Replace direct access of TreeServer::bursting with IsBursting()Gravatar Attila Molnar2014-07-271-1/+1
| |
* | Merge insp20Gravatar Attila Molnar2014-07-251-4/+5
|\|
| * m_spanningtree Set the bursting flag in the FJOIN handler based on whether ↵Gravatar Attila Molnar2014-04-261-2/+3
| | | | | | | | | | | | | | | | 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
* | m_spanningtree Use vector back() where it makes senseGravatar Attila Molnar2014-06-141-1/+1
| |
* | m_spanningtree Send and parse FJOINs with membership idsGravatar Attila Molnar2014-06-111-7/+23
| |
* | m_spanningtree Add CmdBuilder specialization for FJOINGravatar Attila Molnar2014-06-111-0/+32
| |
* | m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TSGravatar Attila Molnar2014-04-161-7/+1
| | | | | | | | Throws a ProtocolException if the input is invalid
* | m_spanningtree Throw an exception on protocol violations instead of ↵Gravatar Attila Molnar2014-04-161-10/+5
| | | | | | | | | | | | returning CMD_INVALID Catch CoreExceptions, log and close the link in OnDataReady()
* | Add ModeParser::GetModes(), returns all user/chanmodesGravatar Attila Molnar2014-02-221-4/+4
| |
* | Unset all extensions and the topic when lowering TS on a channelGravatar Attila Molnar2014-01-061-10/+30
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-4/+4
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Merge insp20Gravatar attilamolnar2013-08-301-4/+28
|\|
| * m_spanningtree FJOIN handler: Merge and take maxmodes into consideration ↵Gravatar attilamolnar2013-06-121-5/+24
| | | | | | | | when applying non-prefix modes
* | m_spanningtree Change TreeServer::GetSocket() to always return the socket ↵Gravatar attilamolnar2013-08-221-1/+1
| | | | | | | | | | | | | | | | 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
* | m_spanningtree Move all server-to-server command handlers into handler classesGravatar attilamolnar2013-08-181-1/+1
| | | | | | | | 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.
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-2/+0
| |
* | Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-1/+1
| | | | | | | | | | | | | | | | 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.
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵Gravatar attilamolnar2013-06-131-2/+2
| | | | | | | | | | | | | | | | 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.)
* | Deduplicate RemoveMode() implementationsGravatar attilamolnar2013-05-271-1/+1
| | | | | | | | | | The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
| |
* | Channel::JoinUser() and Channel::ForceChan() changesGravatar attilamolnar2013-04-131-1/+1
| | | | | | | | | | | | 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
* | m_spanningtree FJOIN handler: Refactor, update docGravatar attilamolnar2013-04-121-129/+120
| | | | | | | | | | Split the core function into several smaller functions Accept userlist entries having no comma at all
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-3/+3
| |
* | Change channel name parameter of Module::OnUserPreJoin() and ↵Gravatar attilamolnar2013-04-011-1/+1
|/ | | | Channel::JoinUser() to std::string from char*
* m_spanningtree Fix incoming channel modes being lost for 0-user permanent ↵Gravatar attilamolnar2013-03-201-0/+8
| | | | | | channels on the losing side of a netmerge This did not affect listmodes
* m_spanningtree Remove redundant params.size() checksGravatar attilamolnar2012-11-281-2/+0
| | | | TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters
* Fix pending invites not being removed when a channel was deleted or had its ↵Gravatar attilamolnar2012-06-171-0/+1
| | | | TS lowered
* Debian typo fixes.Gravatar Peter Powell2012-05-251-2/+2
|