aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/fjoin.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-3/+3
* | Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUse...Gravatar attilamolnar2013-04-011-1/+1
|/
* m_spanningtree Fix incoming channel modes being lost for 0-user permanent cha...•••This did not affect listmodes Gravatar attilamolnar2013-03-201-0/+8
* m_spanningtree Remove redundant params.size() checks•••TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters Gravatar attilamolnar2012-11-281-2/+0
* Fix pending invites not being removed when a channel was deleted or had its T...Gravatar attilamolnar2012-06-171-0/+1
* Debian typo fixes.Gravatar Peter Powell2012-05-251-2/+2
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Log mode errors when processing FJOIN.Gravatar Robin Burchell2012-04-181-3/+5
* Fix unused variables reported by the clang static analyzer.Gravatar Peter Powell2012-04-141-1/+0
* Use the remote channel's capitalization on a losing TS mergeGravatar Daniel De Graaf2010-08-031-2/+4
* Move lots of spanningtree items to commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-181-20/+11
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Make User::uuid and User::server const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-231-15/+12
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-4/+4
* Create StreamSocket for IO hooking implementation•••Fixes the SSL SendQ bug Removes duplicate code between User and BufferedSocket Simplify SSL module API Simplify EventHandler API (Readable/Writeable moved to SE) Add hook for culled objects to invoke callbacks prior to destructor Replace SocketCull with GlobalCull now that sockets can close themselves Shorten common case of user read/parse/write path: User::Write is now zero-copy up to syscall/SSL invocation User::Read has only two copy/scan passes from read() to ProcessCommand git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-4/+4