aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra
Commit message (Expand)AuthorAgeFilesLines
* Automatically attach modules to eventsGravatar attilamolnar2013-08-0411-26/+0
* Modify the log message to contain the log type.Gravatar Peter Powell2013-08-042-16/+16
* Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-047-35/+35
* Allow the user to specify any hashing mechanism supported by the underlying S...Gravatar Daniel Vassdal2013-07-062-5/+25
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-0414-18/+0
* Add RE2 regex module.Gravatar Peter Powell2013-06-161-0/+89
* Create SSLIOHook interface that provides GetCertificate()Gravatar attilamolnar2013-06-072-28/+18
* Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-072-653/+698
* Convert a ton of uses of MAXBUF to use a fixed buffer size.Gravatar Peter Powell2013-06-062-4/+4
* Compare to ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
* Reserve ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
* Merge insp20Gravatar attilamolnar2013-06-064-64/+99
|\
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-1/+0
| * m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5dGravatar attilamolnar2013-06-041-8/+8
| * m_mysql Fix escaping strings longer than MAXBUF/2•••Quotes from the documentation: "You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)" "The return value is the length of the encoded string, not including the terminating null character." http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html Gravatar attilamolnar2013-06-011-6/+12
| * m_mysql Fix crash on rehash when the database tags have been changed in the c...Gravatar attilamolnar2013-05-221-5/+6
| * m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULLGravatar attilamolnar2013-05-181-2/+3
| * m_ssl_gnutls Call gnutls_transport_set_errno() on Windows onlyGravatar attilamolnar2013-05-021-0/+14
| * Fix gnutls (again) on Windows by using gnutls_transport_set_errno()Gravatar Adam2013-05-021-42/+56
* | Clean up the FileReader class and all of the modules that use it.•••- Modules which use this class will now have to catch a CoreException when opening files if they wish to ignore the failed loading of a file. - m_randquote has been cleaned up massively and the RANDQUOTE command has been removed as it was pretty much useless. Gravatar Peter Powell2013-05-271-6/+6
* | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-195-25/+25
* | Deduplicate hex string creation codeGravatar attilamolnar2013-05-182-2/+2
* | Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-1513-106/+106
* | Replace some C-isms with C++-isms.•••* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. Gravatar Peter Powell2013-05-151-16/+1
* | Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-142-6/+6
* | Merge insp20Gravatar attilamolnar2013-04-281-3/+36
|\|
| * m_ssl_gnutls Add ability to load DH params from file•••This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded Gravatar attilamolnar2013-04-241-2/+23
| * Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing WSAE...Gravatar Adam2013-04-161-0/+12
* | Timer changes and TimerManager enhancements•••Timer::Tick() now has a bool return value: if false is returned the timer is deleted using operator delete, otherwise, if it's a repeating timer then it's rescheduled (readded) Timers are removed from the TimerManager automatically at destruction Timers are now stored in a multimap instead of a sorted vector Gravatar attilamolnar2013-04-211-4/+9
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-129-14/+14
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-127-34/+34
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-112-5/+5
* | m_geoip: Fix compilationGravatar ChrisTX2013-04-021-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-0112-54/+28
* | Change User::GetIPString() to return const std::string&Gravatar attilamolnar2013-04-011-1/+1
|/
* m_ldapoper Make the module actually work•••Fixes #439 reported by @rhylan Gravatar attilamolnar2013-03-291-10/+50
* m_ldapoper Fix memory leak•••See 1813369adecc1efc9812e90c40c21dc32e4965c9 for details Gravatar attilamolnar2013-03-291-1/+27
* m_ssl_openssl Make it clear that a CA file is not mandatoryGravatar attilamolnar2013-03-151-1/+1
* m_ssl_gnutls Fix null pointer dereference in case gnutls_xxx_get_name() retur...Gravatar attilamolnar2013-02-171-3/+11
* m_ssl_gnutls Fix build with GnuTLS 1.x•••Fixes #409 reported by @SaberUK Gravatar attilamolnar2013-01-281-0/+19
* m_ldapoper Fix typo spotted by @lordsith49•••Fixes #392 Gravatar attilamolnar2012-12-251-1/+1
* Fixed m_ssl_gnutls build on Windows; gnutls.h uses ssize_t which is defined i...Gravatar Adam2012-12-171-1/+1
* Unbreak m_geoipGravatar attilamolnar2012-12-041-1/+1
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-021-1/+1
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-029-9/+9
* Attach to events and register services in init()Gravatar attilamolnar2012-12-022-3/+3
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-291-1/+1
* ldapauth: register both extensionsGravatar Robin Burchell2012-11-291-0/+2
* ldapauth: RAII returned ldap message.•••This ensures it is always freed, and coincidentally fixes freeing in the case of LDAP errors. Gravatar Robin Burchell2012-11-291-10/+41
* ldapauth: fix memory leak•••ldap_get_dn() results need to be freed. Use a RAII wrapper to do this. Original code by Attila Molnar Gravatar Robin Burchell2012-11-291-3/+29