summaryrefslogtreecommitdiff
path: root/src/modules/m_cgiirc.cpp
AgeCommit message (Collapse)Author
2017-10-28Hide User#host and User#dhost and use accessors to modify them.Peter Powell
This removes the need to invalidate the cache after changing a user's hostname.
2017-10-27Change SetClientIP to take a C++ string instead of a char array.Peter Powell
2017-10-16Un-constify the private fields of WebIRCHost.Peter Powell
These being constant causes problems on older compilers that don't elide the temporary copy when adding to the host list.
2017-10-15Rewrite the configuration documentation for m_cgiirc.Peter Powell
2017-10-15Add support for WEBIRC blocks authenticating using client certs.Peter Powell
2017-10-15Show the gateway, realhost, and realip in WHOIS for cgiirc clients.Peter Powell
This mirrors a similar feature in ircd-hybrid but using a different numeric that is not already taken in InspIRCd.
2017-10-15Clean up the WEBIRC command handler.Peter Powell
- Fix the extremely broken indentation. - Simplify the HandleLocal code flow. - Improve the notices sent to operators.
2017-10-15Add support for hashed WebIRC passwords to m_cgiirc.Peter Powell
2017-10-15Rewrite the m_cgiirc configuration handling.Peter Powell
- Store ident hosts separately to WebIRC hosts. - Throw exceptions when the configuration is invalid.
2017-10-12Merge the latest changes from insp20 into master.Peter Powell
2017-10-01Switch the WEBIRC command to use SplitCommand.Peter Powell
2017-09-27Remove support for the pass, passfirst, identfirst cgiirc types.Peter Powell
These methods are not supported by any widely used gateways that I can find. If your gateway uses this then you should rewrite it to use the webirc method. For more details see the IRCv3 WEBIRC specification at http://ircv3.net/specs/extensions/webirc.html.
2017-09-09Fix m_cgiirc allowing malformed hosts sent via WEBIRC.Peter Powell
2017-08-05Merge pull request #1351 from SaberUK/master+webircPeter Powell
Allow filtering WebIRC connections into a connect class by gateway.
2017-07-09Merge v2.0.23 and v2.0.24 into master.Peter Powell
2017-06-22Allow filtering WebIRC connections into a connect class by gateway.Peter Powell
2017-04-27Penalise clients that use WEBIRC incorrectly.Peter Powell
2017-04-27Fix WEBIRC not rejecting invalid IP addresses.Peter Powell
2016-09-12Change type of log messages to MODNAME in several modulesAttila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-07-25Merge insp20Attila Molnar
2014-05-01m_cgiirc Call User::InvalidateCache() after changing host and dhost in ↵Attila Molnar
OnCheckReady()
2014-04-09Fix m_cgiirc to set the user's host straight away when using WEBIRC.md_5
2014-03-17Rewrite clone counting to use one map instead of twoAttila Molnar
2014-03-08Make the maximum hostname length configurable in the config.Peter Powell
2014-02-23Moving CGIIRC to a new snomask (w)Googolplexed
2014-01-23Remove whitespace and minor style changesAttila Molnar
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-10Rename <connect:nouserdns> to <connect:resolvehostnames>.Peter Powell
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Modify the log message to contain the log type.Peter Powell
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-24Prevent m_cgiirc from blocking indefinitely, resulting in registration ↵ElementalAlchemist
timeouts on e.g. Mibbit when webirc is not used
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
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-27Move <performance:nouserdns> to <connect:nouserdns>.Peter Powell
2013-04-26Modularize DNSAdam
The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-01Move member variables from User to LocalUserattilamolnar
- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping
2013-03-11Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedattilamolnar
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-11-29m_cgiirc Fix wrong announcement when the host in WEBIRC is too longattilamolnar
2012-11-29m_cgiirc Don't apply resolved host or send notifications when the user is ↵attilamolnar
quitting (matched a line)
2012-11-29m_cgiirc Don't resolve IPs when <performance:nouserdns> is trueattilamolnar
2012-11-29m_cgiirc De-duplicate code, recheck elines after ip/host changesattilamolnar
Fixes #350 reported by @MistrX New functions: - RecheckElineAndClass() - ChangeIP() - decreases clone counts for a user, calls SetUserIP, increases clone counts after the new ip is applied - HandleIdentOrPass() - common code extracted from CheckIdent() and CheckPass()
2012-11-29m_cgiirc Remove dead code, warn when a <cgihost> block has an invalid type ↵attilamolnar
value, misc. cleanup
2012-10-12m_cgiirc, m_dnsbl Remove unnecessary includesattilamolnar