aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* Fix various spelling issues (#1883).•••Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Gravatar Josh Soref2021-06-211-2/+2
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
* Add Channel::WriteRemoteNotice and revert WriteNotice changes.•••This is a partial reversion of 687778b72e. See also: #1749. Gravatar Sadie Powell2020-01-291-5/+3
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+5
* Allow Channel::WriteNotice send to other servers and status ranks.Gravatar Peter Powell2019-11-171-2/+7
* 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.•••Special tokenisation rules are not necessary here. Gravatar Peter Powell2018-08-101-1/+1
* 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>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-1/+1
* 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 cases•••- 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 Gravatar Attila Molnar2016-04-111-7/+2
* Send NOTICEs to local channel members with Channel::WriteNotice()Gravatar Attila Molnar2016-03-051-1/+1
* Rewrite invite system•••- 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 Gravatar Attila Molnar2015-11-021-3/+0
* 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.•••This value can be negative so it should be a signed long not an unsigned long. Gravatar Peter Powell2015-01-031-2/+2
* | 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 flexibility...Gravatar Attila Molnar2015-01-091-4/+4
* | m_spanningtree Add source server parameter to CommandFJOIN::Builder constructor•••Default it to this server Gravatar Attila Molnar2015-01-091-2/+2
* | m_spanningtree Simplify processing non-prefix modes in FJOINs•••Use ModeParser::ModeParamsToChangeList() instead of duplicating logic Gravatar Attila Molnar2014-09-041-18/+1
* | 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 th...•••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 Gravatar Attila Molnar2014-04-261-2/+3
* | 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 TS•••Throws a ProtocolException if the input is invalid Gravatar Attila Molnar2014-04-161-7/+1
* | m_spanningtree Throw an exception on protocol violations instead of returning...•••Catch CoreExceptions, log and close the link in OnDataReady() Gravatar Attila Molnar2014-04-161-10/+5
* | 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 class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-4/+4
* | Merge insp20Gravatar attilamolnar2013-08-301-4/+28
|\|
| * m_spanningtree FJOIN handler: Merge and take maxmodes into consideration when...Gravatar attilamolnar2013-06-121-5/+24
* | m_spanningtree Change TreeServer::GetSocket() to always return the socket tha...•••The only exception is the tree root (us) which has no associated socket (NULL) Add TreeServer::IsRoot() and IsLocal() helpers Gravatar attilamolnar2013-08-221-1/+1
* | m_spanningtree Move all server-to-server command handlers into handler classes•••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. Gravatar attilamolnar2013-08-181-1/+1
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-2/+0
* | Change modules to use the MODNAME constant when logging.•••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. Gravatar Peter Powell2013-08-041-1/+1
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••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.) Gravatar attilamolnar2013-06-131-2/+2
* | Deduplicate RemoveMode() implementations•••The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory Gravatar attilamolnar2013-05-271-1/+1
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
* | Channel::JoinUser() and Channel::ForceChan() changes•••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 Gravatar attilamolnar2013-04-131-1/+1
* | m_spanningtree FJOIN handler: Refactor, update doc•••Split the core function into several smaller functions Accept userlist entries having no comma at all Gravatar attilamolnar2013-04-121-129/+120