aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/compat.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+5
|
* Add the server id to the Server class.Gravatar Peter Powell2019-09-231-2/+2
|
* spanningtree: Never send a message to a raw UUID in CmdBuilder.Gravatar Peter Powell2019-07-191-1/+6
|
* Add an enumeration for known protocol versions.Gravatar Peter Powell2019-05-141-2/+2
|
* Delete some obsolete comments.Gravatar Peter Powell2019-05-091-1/+0
|
* Remove m_silence pending a complete rewrite.Gravatar Peter Powell2019-04-181-0/+5
|
* Strip message tags correctly in the 1202 spanningtree compat layer.Gravatar Peter Powell2019-03-201-1/+1
|
* Implement support for IRCv3 client-to-client tags.Gravatar Peter Powell2019-02-191-0/+5
|
* Strip message tags when talking with 1202 protocol servers.Gravatar Peter Powell2019-01-021-0/+6
|
* Remove spanningtree check for lines sent without a source.Gravatar Peter Powell2019-01-021-6/+0
| | | | We don't send any of these anymore.
* Fix thinking that 1202 protocol servers have not finished bursting.Gravatar Peter Powell2018-12-201-3/+13
| | | | | | | A server introduction is only a burst if all of the parent servers of it are not bursting. Fixes #1527.
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Gravatar Peter Powell2018-12-121-1/+1
| | | | | | | 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.
* Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.Gravatar Peter Powell2018-08-101-6/+6
| | | | | This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously.
* 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.
* Change ServerInfo::gecos to descriptionGravatar genius30002018-04-111-1/+1
|
* Bump version to 3.0 in comments and messagesGravatar Attila Molnar2016-09-021-2/+2
|
* m_spanningtree Translate NUM to PUSH and PUSH to NUM, NOTICE or PRIVMSG for ↵Gravatar Attila Molnar2016-03-291-0/+90
| | | | 1202 protocol servers
* m_spanningtree Ignore SVSWATCH from 2.0 serversGravatar Attila Molnar2016-01-061-0/+5
|
* m_spanningtree Use uint64_t for the burst start time to avoid overflowsGravatar Attila Molnar2015-05-131-1/+1
|
* Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-2/+2
| | | | substr() returns a new string while erase() and assign() modify the existing one
* m_spanningtree Sync bursting state of servers in SERVERGravatar Attila Molnar2014-07-271-0/+5
| | | | Also send the time when they started bursting
* m_spanningtree Don't send needless BURST after introducing a serverGravatar Attila Molnar2014-07-271-0/+14
| | | | Synthesize a BURST after SERVER for 1202 protocol servers if we are not bursting
* m_spanningtree Add TreeSocket::WriteLineNoCompat() to send a line without ↵Gravatar Attila Molnar2014-07-271-6/+9
| | | | doing any translation for old protocol servers
* m_spanningtree Translate the new SERVER message for 1202 protocol serversGravatar Attila Molnar2014-07-271-0/+26
|
* m_spanningtree Translate user mode changes done via FMODE by 1202-protocol ↵Gravatar Attila Molnar2014-06-301-0/+17
| | | | servers to MODE
* m_spanningtree Accept legacy JOINs from 1202-protocol serversGravatar Attila Molnar2014-06-301-0/+14
| | | | 2.0 accepted JOIN and some pseudoservers might use it
* m_spanningtree Translate SINFO version to VERSION and vice versa for 1202 ↵Gravatar Attila Molnar2014-06-171-1/+19
| | | | protocol servers
* m_spanningtree Add server-to-server SINFO command handler and builderGravatar Attila Molnar2014-06-171-0/+4
| | | | Don't send SINFO to 1202 protocol servers
* m_spanningtree Strip membership id from KICKs sent to 1202 protocol serversGravatar Attila Molnar2014-06-111-0/+18
|
* m_spanningtree Strip membership ids from FJOINs sent to 1202 protocol serversGravatar Attila Molnar2014-06-111-0/+32
|
* m_spanningtree Send, parse and translate IJOINs with membership idsGravatar Attila Molnar2014-06-111-2/+8
|
* Add channel TS to server-to-server INVITE to detect and drop unauthorized ↵Gravatar Attila Molnar2014-06-101-0/+26
| | | | | | | | | invites The syntax of the server-to-server INVITE command changes from :<source> INVITE <target> <channel> [<expire>] to :<source> INVITE <target> <channel> <chants> [<expire>]
* m_spanningtree Allow callers of InsertCurrentChannelTS() to customize positionsGravatar Attila Molnar2014-06-101-4/+4
|
* Switch to std::string::compare() from substr() in a couple of placesGravatar Attila Molnar2014-05-261-1/+1
|
* Add m_showfile, remove cmd_rulesGravatar Attila Molnar2013-12-181-0/+4
|
* Convert cmd_modenotice into an optional moduleGravatar attilamolnar2013-09-111-0/+7
|
* m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync ↵Gravatar attilamolnar2013-08-281-3/+21
| | | | | | when two TOPIC messages cross TOPIC is no longer accepted from servers using the new protocol
* m_spanningtree Changes to TreeSocket::WriteLine() to avoid string copiesGravatar attilamolnar2013-08-271-5/+11
| | | | | - Change argument type to a reference to avoid copies of the string object - If the std::string implementation is using copy-on-write then calling operator[] on a mutable string results in a copy; avoid this by calling .c_str() instead
* m_spanningtree Propagate oper-only quit reason using METADATA, remove OPERQUITGravatar attilamolnar2013-08-181-5/+21
|
* Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-3/+3
| | | | | | | | 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.
* m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ↵Gravatar attilamolnar2013-06-121-1/+5
| | | | ignore non-channel METADATA
* m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers ↵Gravatar attilamolnar2013-06-121-0/+23
| | | | | | into ADDLINE/DELLINE These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers
* Allow spaces (and more) in oper typesGravatar attilamolnar2013-05-161-0/+13
| | | | | The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv
* m_spanningtree Remove redundant first parameter of PING/PONGGravatar attilamolnar2013-04-131-0/+41
|
* m_spanningtree Add channel timestamp to FTOPICGravatar attilamolnar2013-04-131-0/+23
|
* m_spanningtree Add channel timestamp to channel METADATAGravatar attilamolnar2013-04-131-0/+47
|
* m_spanningtree Introduce IJOIN and RESYNCGravatar attilamolnar2013-04-131-0/+52
| | | | | | | | | | | | When a local user joins an existing channel, instead of an FJOIN, send an IJOIN with the channel name being the first parameter. If the joining user received prefix modes, append the channel TS and the prefix mode letters as the second and third parameters. When receiving an IJOIN, first check if the target channel exists. If it does not exist, ignore the join (that is, do not create the channel) and send a RESYNC back to the source. If the channel does exist then join the user, and in case any prefix modes were sent (found in the 3rd parameter), compare the TS of the channel to the TS in the IJOIN (2nd parameter). If the timestamps match, set the modes on the user, otherwise ignore the modes. Outgoing IJOINs to 1202 protocol servers are converted to FJOINs, but the channel mode parameter is left empty ("+").
* Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
|
* Remove legacy code, mostly related to 1.2 compatibilityGravatar attilamolnar2013-04-011-149/+1
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
|