aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.h
Commit message (Expand)AuthorAgeFilesLines
* Add an event for adding tags to S2S messages.Gravatar Peter Powell2019-07-191-0/+7
* Split ServerEventListener into {Broadcast,Link,Sync}EventListener.•••There is no reason to have these events in one big handler and it causes unnecessary event hooks to be created by having them like this. The ServerEventListener class still exists for compatibility Gravatar Peter Powell2019-07-151-4/+16
* Fix msgid inconsistencies with TAGMSG•••Also fixes accidentally copying incoming tags on TAGMSG when sending to other users Gravatar linuxdaemon2019-06-221-0/+3
* Add an enumeration for known protocol versions.Gravatar Peter Powell2019-05-141-9/+23
* Replace ModuleSpanningTree::TimeToStr with InspIRCd::DurationStr.Gravatar Peter Powell2019-05-141-4/+0
* Merge branch 'insp20' into insp3.Gravatar Peter Powell2019-05-021-1/+1
|\
| * Update documentation links.Gravatar Peter Powell2019-04-261-1/+1
* | Generate the ssl_cert metadata before bursting a connecting user.Gravatar Peter Powell2019-03-141-0/+4
* | Fix message tags not being broadcast across the network.Gravatar Peter Powell2019-01-021-0/+3
* | Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. Gravatar Peter Powell2018-12-121-2/+2
* | Amend OnPostCommand to specify whether the command is loopcalled.•••This restores previous behaviour which was lost when the original line parameter was removed. Gravatar Peter Powell2018-09-111-1/+1
* | Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-1/+1
* | Convert AWAY to use cross-module events and clean up slightly.•••OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed. Gravatar Peter Powell2018-08-121-2/+6
* | Remove the original line parameter of On{Pre,Post}Command.•••In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do. Gravatar Peter Powell2018-08-101-2/+2
* | Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-301-1/+1
* | Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-1/+1
* | 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-7/+7
* | Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-1/+2
* | Rework message handling.•••- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. Gravatar Peter Powell2018-01-061-1/+1
* | Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-1/+1
|\|
| * Update wiki links to use HTTPS and point to the correct pages.•••When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0. Gravatar Peter Powell2017-10-151-1/+1
| * m_spanningtree Rebuild serverlist and sidlist when receiving a specific Request•••Issue #923 Gravatar Attila Molnar2014-10-131-0/+1
* | Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-2/+2
* | m_spanningtree Refuse topic changes that would result in desync•••This is a workaround until the protocol is updated Gravatar Attila Molnar2016-09-021-0/+1
* | m_spanningtree Remove ModuleSpanningTree::RemoteMessage()•••This method is no longer used, replacement is User::WriteRemoteNotice() Gravatar Attila Molnar2016-03-011-4/+0
* | Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-1/+1
* | m_spanningtree Change allocation of ModuleSpanningTree::commands to be physic...Gravatar Attila Molnar2015-12-061-2/+1
* | Add minimum channel rank and exception list parameters to the OnUserInvite hookGravatar Attila Molnar2015-12-061-1/+1
* | Convert the spanningtree events to use the new cross-module event systemGravatar Attila Molnar2015-02-111-0/+7
* | m_spanningtree Rewrite PING logic to use TimersGravatar Attila Molnar2015-01-251-4/+0
* | m_spanningtree Send MODE/FMODE from the OnMode hook•••If the MODE_LOCALONLY flag is set the mode change is not propagated Gravatar Attila Molnar2014-09-031-0/+1
* | m_spanningtree Remove the now needless SplitInProgress workaroundGravatar Attila Molnar2014-07-281-4/+0
* | m_spanningtree Remove the MAP ISUPPORT token•••No other servers send this token and sending it has little to no benefit Gravatar Attila Molnar2014-07-201-1/+0
* | m_spanningtree Remove declaration for nonexistent function: OnLine()Gravatar Attila Molnar2014-06-141-1/+0
* | m_spanningtree Change allocation of the specialized ProtocolInterface to be p...Gravatar Attila Molnar2014-06-131-0/+5
* | m_spanningtree Assign an id to new MembershipsGravatar Attila Molnar2014-06-111-0/+4
* | m_spanningtree Remove remains of the KeepNickTS workaroundGravatar Attila Molnar2014-03-031-5/+0
* | Merge insp20Gravatar Attila Molnar2014-01-211-0/+5
|\|
| * m_spanningtree Fix nick TS desync on SVSNICK•••Don't accept invalid timestamps Gravatar Attila Molnar2013-12-151-0/+5
* | Move server description field from TreeServer into Server; remove OnGetServer...Gravatar Attila Molnar2014-01-051-1/+0
* | Improve UserManager::QuitUser() and related code•••- Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree Gravatar Attila Molnar2014-01-051-0/+4
* | Pass an interface to the OnSync hooks•••Remove Module::ProtoSendMetaData() Gravatar attilamolnar2013-09-131-1/+0
* | Send ListModeBase modes implicitly on channel sync•••Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel() Gravatar attilamolnar2013-09-121-1/+0
* | m_spanningtree Move c2s commands out of SpanningTreeCommands to auto register...Gravatar attilamolnar2013-09-101-0/+9
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-1/+1
* | Remove cmd_map from the coreGravatar attilamolnar2013-08-191-12/+1
* | m_spanningtree Minor cleanup of functionsGravatar attilamolnar2013-08-191-6/+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/+4
* | m_spanningtree Remove SpanningTreeUtilities* fields and parametersGravatar attilamolnar2013-08-171-2/+0
* | 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-1/+0