summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
AgeCommit message (Collapse)Author
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-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
2012-12-02Attach to events and register services in init()attilamolnar
2012-06-27m_cap Fix crash when a user issued a CAP CLEAR request and the CapEvent had ↵attilamolnar
an empty list of removed CAPs
2012-06-27m_cap Use an enum to specify cap event type instead of a string, assign ↵attilamolnar
CapEvent data in the constructor
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-03-07Change "CAP *" reply to "CAP $nick", which is the intended use of the parameterdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12611 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Change module API to use LocalUser* where correctdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-14Move static map of extensions into ServerInstance, add const-correctnessdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08Update Event and Request APIsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Clean up Command constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Change Extensible to use strongly typed entriesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02ModResult conversion: Change return type of all module functionsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add Module* creator to Command and ModeHandlerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Change allocation of commands/modesdanieldg
API change: Commands passed to AddCommand are no longer deleted automatically This removes lots of needless heap allocation and fixes a few memory leaks by allocating commands and modes as part of the Module rather than creating them separately in the module constructor. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28Make this comply with the spec; that is - CAP may be requested after ↵w00t
registration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10333 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7