aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/compat.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-1/+0
|
* Add the FRHOST command to allow changing a remote user's real host.Gravatar Sadie Powell2021-09-021-1/+6
| | | | Closes #1803.
* Make the protocol version enum entries slightly less verbose.Gravatar Sadie Powell2021-08-281-2/+2
|
* Forward SQUERY to services instead of downgrading it to PRIVMSG.Gravatar Sadie Powell2021-08-281-0/+59
|
* Rip out compatibility code for the 2.0 protocol.Gravatar Sadie Powell2020-05-201-609/+0
|
* Move FindUUID to the UserManager class.Gravatar Sadie Powell2020-02-091-2/+2
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+5
|\
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+5
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-2/+2
|\|
| * Add the server id to the Server class.Gravatar Peter Powell2019-09-231-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-1/+6
|\|
| * spanningtree: Never send a message to a raw UUID in CmdBuilder.Gravatar Peter Powell2019-07-191-1/+6
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-3/+7
|\|
| * 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
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-1/+6
|\|
| * 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
| |
* | LogManager: remove fakederef.Gravatar Sadie Powell2019-02-071-5/+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