aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fall back to the most recent version supported on "CAP LS".Gravatar Peter Powell2019-04-191-3/+11
| | | | This ensures compliance with the behaviour specified in ircv3/ircv3-specifications#371.
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-9/+28
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Fix some oversights relating to numerics.Gravatar Peter Powell2018-04-221-1/+1
| | | | | - ERR_CANNOTSENDTOCHAN only takes the channel name and a message. - ERR_INVALIDCAPCMD is 410 not 232.
* Move a bunch of optional module numerics to the module source file.Gravatar Peter Powell2018-04-221-1/+7
|
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-1/+1
|\
| * Fix sending a malformed 410 numeric when sent empty CAP commands.Gravatar Peter Powell2017-10-181-1/+1
| |
| * Work around irc::spacesepstream not stripping extraneous spaces.Gravatar Peter Powell2015-12-071-1/+6
| |
| * Fix CAP REQ to be atomic like the standard dictates.Gravatar Peter Powell2015-12-071-8/+8
| | | | | | | | Reported by @dequis on IRC.
* | Fix Windows build and most MSVC warningsGravatar Attila Molnar2016-09-021-1/+2
| |
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | | | | | parameters
* | Fix some whitespace issuesGravatar Attila Molnar2015-12-281-1/+1
| |
* | m_cap Fix incorrect syntax of empty CAP LIST replyGravatar Attila Molnar2015-12-281-1/+1
| | | | | | | | Fixes issue #1120 reported by @ProgVal
* | m_cap Make Capability objects compatible with dynamic_references, add ↵Gravatar Attila Molnar2015-12-051-0/+2
| | | | | | | | Cap::Reference
* | m_cap Save and restore the cap state of a module when it is reloadedGravatar Attila Molnar2015-12-051-1/+81
| |
* | m_cap Specialize extension itemGravatar Attila Molnar2015-12-051-1/+54
| |
* | m_cap Provide the OnCapValueChange event and add ↵Gravatar Attila Molnar2015-12-051-0/+6
| | | | | | | | Cap::Manager::NotifyValueChange()
* | m_cap Provide the OnCapAddDel() eventGravatar Attila Molnar2015-12-051-2/+11
| |
* | m_cap Add Capability::GetCapValue(), list capabilities with valuesGravatar Attila Molnar2015-12-051-4/+16
| |
* | m_cap Reject CAP CLEAR from clients newer than 3.1Gravatar Attila Molnar2015-12-051-1/+1
| |
* | m_cap Learn the supported capability negotiation protocol of a client from ↵Gravatar Attila Molnar2015-12-051-0/+12
| | | | | | | | | | | | CAP LS Let modules implementing caps query this information
* | m_cap Add Capability::OnList() hookGravatar Attila Molnar2015-12-051-0/+3
| |
* | m_cap Add Capability::OnRequest() hookGravatar Attila Molnar2015-12-051-1/+9
| |
* | Add rewritten m_cap moduleGravatar Attila Molnar2015-12-051-0/+245
| | | | | | | | | | - Caps are now managed by m_cap - Each cap uses one bit in an extension item shared with other caps
* | Nuke m_capGravatar Attila Molnar2015-12-051-148/+0
| |
* | Convert the CAP event to use the new cross-module event systemGravatar Attila Molnar2015-02-111-3/+6
| |
* | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
| |
* | Convert irc::stringjoiner to be a method instead of a class.Gravatar Peter Powell2014-02-061-4/+4
| | | | | | | | Add separator parameter
* | Fix various cases of UUID exposure.Gravatar Peter Powell2014-02-061-4/+4
| | | | | | | | | | | | | | - Introduce WriteCommand which sends * when the user has not registered. - Switch a ton of code to use WriteCommand instead of WriteServ. - Convert WriteNotice to be a wrapper around WriteCommand. - Only send * when NICK has not been sent instead of before registration.
* | m_cap Instead of using case insensitive compare convert the subcommand to ↵Gravatar Attila Molnar2014-02-061-1/+2
| | | | | | | | | | | | uppercase This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase
* | m_cap Convert capability names in CAP REQ to lowercase before processing themGravatar attilamolnar2013-11-211-0/+1
| | | | | | | | Requested in #686
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-1/+1
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
| |
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
| |
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵Gravatar attilamolnar2013-06-121-9/+4
| | | | | | | | space as the sep char
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-3/+3
| | | | | | | | | | - Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
* | Tidy up source files:Gravatar Peter Powell2013-04-121-1/+1
| | | | | | | | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0
|/
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-2/+2
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
|
* m_cap Fix crash when a user issued a CAP CLEAR request and the CapEvent had ↵Gravatar attilamolnar2012-06-271-1/+3
| | | | an empty list of removed CAPs
* m_cap Use an enum to specify cap event type instead of a string, assign ↵Gravatar attilamolnar2012-06-271-21/+7
| | | | CapEvent data in the constructor
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
|
* Change "CAP *" reply to "CAP $nick", which is the intended use of the parameterGravatar danieldg2010-03-071-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12611 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module API to use LocalUser* where correctGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
* Move static map of extensions into ServerInstance, add const-correctnessGravatar danieldg2009-10-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-9/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7