aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-0/+1
|
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Add back the prefix on a server target message.Gravatar Matt Schatz2020-03-311-2/+2
| | | | | The prefix is dropped when building the message. We add it back here so that the remote servers can recognize it as a server target.
* Fix various documentation and formatting issues.Gravatar Sadie Powell2020-03-301-1/+1
|
* Add HasFd to EventHandler and switch code to use it.Gravatar Sadie Powell2020-02-151-5/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+8
|
* Add an event provider class for the event/messagetag event.Gravatar Sadie Powell2020-01-031-1/+1
|
* Mark messages from ulined clients with the inspircd.org/service tag.Gravatar Peter Powell2019-12-291-0/+1
|
* SQuit all servers when a shutdown happens.Gravatar Peter Powell2019-10-171-0/+7
|
* Add whether the server split with an error to OnServerSplit.Gravatar Peter Powell2019-09-231-1/+1
|
* Add the server id to the Server class.Gravatar Peter Powell2019-09-231-1/+1
|
* Add {To,From}{Human,Internal,Network} to ExtensionItem.Gravatar Peter Powell2019-08-071-1/+1
| | | | Also, deprecate the old SerializeFormat/serialize/unserialise API.
* Add an event for adding tags to S2S messages.Gravatar Peter Powell2019-07-191-1/+1
|
* Get rid of CommandBuilder::push_back.Gravatar Peter Powell2019-07-191-18/+18
|
* spanningtree: Never send a message to a raw UUID in CmdBuilder.Gravatar Peter Powell2019-07-191-3/+3
|
* Split ServerEventListener into {Broadcast,Link,Sync}EventListener.Gravatar Peter Powell2019-07-151-2/+4
| | | | | | | | 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
* Replace large if/else blocks for target.type with switches (#1668).Gravatar linuxdaemon2019-06-241-21/+27
|
* Fix msgid inconsistencies with TAGMSGGravatar linuxdaemon2019-06-221-0/+37
| | | | | Also fixes accidentally copying incoming tags on TAGMSG when sending to other users
* Add irc::sockets::isunix for checking if a file is a UNIX socket.Gravatar Peter Powell2019-05-291-4/+1
|
* Replace ModuleSpanningTree::TimeToStr with InspIRCd::DurationStr.Gravatar Peter Powell2019-05-141-14/+0
|
* Fix linking servers with UNIX sockets.Gravatar Peter Powell2019-04-151-17/+15
| | | | | - Remove the address/port overloads of BeginConnect. - Change DoConnect to take a sockaddrs instead of an address/port.
* Generate the ssl_cert metadata before bursting a connecting user.Gravatar Peter Powell2019-03-141-0/+5
|
* Fix sending the entire VERSION output as a single parameter.Gravatar Peter Powell2019-01-191-2/+6
| | | | Closes #1560.
* Fix message tags not being broadcast across the network.Gravatar Peter Powell2019-01-021-1/+4
|
* Fix not propagating rehashes properly across the network.Gravatar Peter Powell2018-12-171-3/+0
| | | | | | | | | | | | | The REHASH command is not routed like a normal command. When a rehash that needs to be forwarded is received the local server forwards it indirectly by calling the local REHASH handler which then calls the OnPreRehash hook. This results in the OnPreRehash hook being called whilst loopCall is true. The bug which this check was added to fix seems to no longer be present so no alternate fix for that seems necessary. Closes #1537.
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-3/+3
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Convert AWAY to use cross-module events and clean up slightly.Gravatar Peter Powell2018-08-121-4/+9
| | | | | | | 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.
* 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-2/+2
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-3/+3
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Fix building on Windows.Gravatar Peter Powell2018-07-241-0/+2
|
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-1/+7
|
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-1/+1
|
* Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-081-1/+4
| | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
* Rework message handling.Gravatar Peter Powell2018-01-061-11/+11
| | | | | | | | | | | | | - 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.
* Rename the spanningtree module header to server.Gravatar Peter Powell2017-12-031-3/+3
| | | | | In the future we will have server linking modules that are not the spanningtree module.
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-4/+4
|
* Remove module file extensions from user-visible messages.Gravatar Peter Powell2017-08-271-1/+1
|
* Purge code for Windows XP and MSVC pre-2015.Gravatar Peter Powell2017-08-061-1/+1
|
* m_spanningtree Refuse topic changes that would result in desyncGravatar Attila Molnar2016-09-021-0/+13
| | | | This is a workaround until the protocol is updated
* m_spanningtree Drop unnecessary c_str() call when passing Link::Name to ↵Gravatar Attila Molnar2016-08-261-1/+1
| | | | methods expecting std::string
* spanningtree: use bindip aftype as a hint for dns lookup typeGravatar Adam2016-08-251-1/+9
|
* m_spanningtree Use ASCII case insensitive map for matching server namesGravatar Attila Molnar2016-08-221-3/+3
|
* m_spanningtree Change type of Link::Name to std::stringGravatar Attila Molnar2016-08-221-2/+2
| | | | Switch to stdalgo::string::equalsci()
* Add StreamSocket::GetModHook() for obtaining the IOHook belonging to a given ↵Gravatar Attila Molnar2016-08-081-2/+2
| | | | | | module Use it to simplify logic in all modules using or providing IOHooks
* m_spanningtree Call the OnServerSplit hook from the OnUnloadModule() handler ↵Gravatar Attila Molnar2016-04-251-0/+16
| | | | on unload
* m_spanningtree Remove PUSH handlerGravatar Attila Molnar2016-03-301-1/+1
|
* m_spanningtree Add NUM command handlerGravatar Attila Molnar2016-03-291-1/+1
|
* m_spanningtree Remove ModuleSpanningTree::RemoteMessage()Gravatar Attila Molnar2016-03-011-13/+0
| | | | This method is no longer used, replacement is User::WriteRemoteNotice()