aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/compat.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* m_spanningtree Add TreeSocket::WriteLineNoCompat() to send a line without doi...Gravatar Attila Molnar2014-07-271-6/+9
* 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 se...Gravatar Attila Molnar2014-06-301-0/+17
* m_spanningtree Accept legacy JOINs from 1202-protocol servers•••2.0 accepted JOIN and some pseudoservers might use it Gravatar Attila Molnar2014-06-301-0/+14
* m_spanningtree Translate SINFO version to VERSION and vice versa for 1202 pro...Gravatar Attila Molnar2014-06-171-1/+19
* m_spanningtree Add server-to-server SINFO command handler and builder•••Don't send SINFO to 1202 protocol servers Gravatar Attila Molnar2014-06-171-0/+4
* 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 inv...•••The syntax of the server-to-server INVITE command changes from :<source> INVITE <target> <channel> [<expire>] to :<source> INVITE <target> <channel> <chants> [<expire>] Gravatar Attila Molnar2014-06-101-0/+26
* 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 ...•••TOPIC is no longer accepted from servers using the new protocol Gravatar attilamolnar2013-08-281-3/+21
* m_spanningtree Changes to TreeSocket::WriteLine() to avoid string copies•••- 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 Gravatar attilamolnar2013-08-271-5/+11
* 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.•••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-3/+3
* m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ig...Gravatar attilamolnar2013-06-121-1/+5
* m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers int...•••These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers Gravatar attilamolnar2013-06-121-0/+23
* Allow spaces (and more) in oper types•••The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv Gravatar attilamolnar2013-05-161-0/+13
* 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 RESYNC•••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 ("+"). Gravatar attilamolnar2013-04-131-0/+52
* 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
* Add RAWIO log level which is more verbose than DEBUG•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-191-1/+1
* Don't strip ENCAP from WHOISNOTICE, it will delink 1.2 servers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12566 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-251-1/+1
* Fix FIDENT response forging to run prior to the ENCAP strip•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12372 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-041-10/+12
* Forge FIDENT reply to CHGIDENT to prevent ident desync with 1.2 and 2.0 servers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12365 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-031-0/+10
* Fix ENCAP stripping, was incorrectly checking for " CHGHOST" and similar comm...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12320 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-241-1/+1
* Extbans can be VF_OPTCOMMON as they do not desync on module add/remove•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12303 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-191-0/+10
* Change more modules to VF_OPTCOMMON and assert identical charsets in m_nation...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12277 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-171-0/+3
* Route SVSSILENCE/SVSWATCH using OPT_UCAST, marking them OPTCOMMON•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12264 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-151-0/+2
* Remove VF_COMMON from mode-provider modules (no longer needed due to better C...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-151-12/+42
* Specify regex engine in m_filter/m_rline CAPAB line instead of marking m_rege...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12259 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-1/+4
* Verify cloak keys match during CAPAB negotiation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12258 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-141-1/+5
* ...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
* Use ServiceProvider for inter-module dependencies•••This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-161-0/+1
* Remove m_halfop from list in compat linking mode•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11998 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-11-031-0/+8
* Add ROUTE_TYPE_MESSAGE and use for PRIVMSG/NOTICE routing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11791 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-011-1/+1
* Change SWHOIS to OPTCOMMON, remove m_operinvex•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11789 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-011-0/+4
* ENCAP removal for supported protocol 1201 commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11788 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-011-7/+29
* Don't try to write to dead users, add debug to SquitServer, and remove a stri...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11753 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-211-1/+3
* 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-1/+1
* Add away timestamp to the AWAY message sent server-server•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11664 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+8
* Add 1201 protocol compatability for SAVE•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11663 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+7
* Add modules to the VF_COMMON list in backwards compatability link mode, trans...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11657 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-14/+42