aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Switch to the IRCv3 standard-replies cap.Gravatar Sadie Powell2023-02-131-2/+0
| | | | | Nothing is using this so far so I'm not counting it as a breaking change.
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
|
* Update module descriptions.Gravatar Sadie Powell2022-12-301-1/+1
|
* Add the inspircd.org/standard-replies capability.Gravatar Sadie Powell2020-04-131-2/+4
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Fix not assigning bits to capabilities correctly.Gravatar Sadie Powell2020-03-091-2/+2
| | | | | This makes it correctly throw when the capability limit is reached and allows up to 64 capabilities to be created instead of 32.
* Implement support for multi-line CAP responses.Gravatar Sadie Powell2020-03-091-32/+53
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
|
* Add a vendor cap which rejects any attempts to enable it.Gravatar Sadie Powell2020-01-281-0/+18
| | | | | | This is similar to the oragono.io/nope capability only instead of killing the connection it just rejects the request. This should be less intrusive for users.
* Use irc::equals instead of transforming to upper case in CAP.Gravatar Sadie Powell2020-01-181-7/+5
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-1/+2
|
* Convert all core ExtensionItem code away from {un,}serialize.Gravatar Peter Powell2019-08-071-26/+36
|
* 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.