summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
AgeCommit message (Collapse)Author
2020-04-13Add the inspircd.org/standard-replies capability.Sadie Powell
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-03-09Fix not assigning bits to capabilities correctly.Sadie Powell
This makes it correctly throw when the capability limit is reached and allows up to 64 capabilities to be created instead of 32.
2020-03-09Implement support for multi-line CAP responses.Sadie Powell
2020-01-31Update copyright headers.InspIRCd Robot
2020-01-28Add a vendor cap which rejects any attempts to enable it.Sadie Powell
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.
2020-01-18Use irc::equals instead of transforming to upper case in CAP.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-08-07Convert all core ExtensionItem code away from {un,}serialize.Peter Powell
2019-04-19Fall back to the most recent version supported on "CAP LS".Peter Powell
This ensures compliance with the behaviour specified in ircv3/ircv3-specifications#371.
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-04-22Fix some oversights relating to numerics.Peter Powell
- ERR_CANNOTSENDTOCHAN only takes the channel name and a message. - ERR_INVALIDCAPCMD is 410 not 232.
2018-04-22Move a bunch of optional module numerics to the module source file.Peter Powell
2017-11-12Merge tag 'v2.0.25' into master.Peter Powell
2017-10-18Fix sending a malformed 410 numeric when sent empty CAP commands.Peter Powell
2016-09-02Fix Windows build and most MSVC warningsAttila Molnar
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-12-28Fix some whitespace issuesAttila Molnar
2015-12-28m_cap Fix incorrect syntax of empty CAP LIST replyAttila Molnar
Fixes issue #1120 reported by @ProgVal
2015-12-07Work around irc::spacesepstream not stripping extraneous spaces.Peter Powell
2015-12-07Fix CAP REQ to be atomic like the standard dictates.Peter Powell
Reported by @dequis on IRC.
2015-12-05m_cap Make Capability objects compatible with dynamic_references, add ↵Attila Molnar
Cap::Reference
2015-12-05m_cap Save and restore the cap state of a module when it is reloadedAttila Molnar
2015-12-05m_cap Specialize extension itemAttila Molnar
2015-12-05m_cap Provide the OnCapValueChange event and add ↵Attila Molnar
Cap::Manager::NotifyValueChange()
2015-12-05m_cap Provide the OnCapAddDel() eventAttila Molnar
2015-12-05m_cap Add Capability::GetCapValue(), list capabilities with valuesAttila Molnar
2015-12-05m_cap Reject CAP CLEAR from clients newer than 3.1Attila Molnar
2015-12-05m_cap Learn the supported capability negotiation protocol of a client from ↵Attila Molnar
CAP LS Let modules implementing caps query this information
2015-12-05m_cap Add Capability::OnList() hookAttila Molnar
2015-12-05m_cap Add Capability::OnRequest() hookAttila Molnar
2015-12-05Add rewritten m_cap moduleAttila Molnar
- Caps are now managed by m_cap - Each cap uses one bit in an extension item shared with other caps
2015-12-05Nuke m_capAttila Molnar
2015-02-11Convert the CAP event to use the new cross-module event systemAttila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-02-06Convert irc::stringjoiner to be a method instead of a class.Peter Powell
Add separator parameter
2014-02-06Fix various cases of UUID exposure.Peter Powell
- 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.
2014-02-06m_cap Instead of using case insensitive compare convert the subcommand to ↵Attila Molnar
uppercase This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase
2013-11-21m_cap Convert capability names in CAP REQ to lowercase before processing themattilamolnar
Requested in #686
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-12Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵attilamolnar
space as the sep char
2013-05-15Tidy up keywords on module methods.Peter Powell
- 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.
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove