Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-06 | Convert a ton of uses of MAXBUF to use a fixed buffer size. | Peter Powell | |
2013-06-06 | Compare to ServerLimits::MaxLine instead of MAXBUF. | Peter Powell | |
2013-06-06 | Reserve ServerLimits::MaxLine instead of MAXBUF. | Peter Powell | |
2013-06-06 | Merge insp20 | attilamolnar | |
2013-06-05 | Remove unnecessary string copies and dead code | attilamolnar | |
2013-06-04 | m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5d | attilamolnar | |
2013-06-01 | m_mysql Fix escaping strings longer than MAXBUF/2 | attilamolnar | |
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 | |||
2013-05-27 | Clean up the FileReader class and all of the modules that use it. | Peter Powell | |
- 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. | |||
2013-05-22 | m_mysql Fix crash on rehash when the database tags have been changed in the ↵ | attilamolnar | |
config | |||
2013-05-19 | Fix spacing in calls to LogManager::Log. | Peter Powell | |
2013-05-18 | Deduplicate hex string creation code | attilamolnar | |
2013-05-18 | m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULL | attilamolnar | |
2013-05-15 | Tidy 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-05-15 | Replace some C-isms with C++-isms. | Peter Powell | |
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask. | |||
2013-05-14 | Add method for writing server notices. | Peter Powell | |
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. | |||
2013-05-02 | m_ssl_gnutls Call gnutls_transport_set_errno() on Windows only | attilamolnar | |
2013-05-02 | Fix gnutls (again) on Windows by using gnutls_transport_set_errno() | Adam | |
2013-04-28 | Merge insp20 | attilamolnar | |
2013-04-24 | m_ssl_gnutls Add ability to load DH params from file | attilamolnar | |
This greatly decreases the load time because the DH parameters no longer have to be (re)generated each time the module is loaded | |||
2013-04-21 | Timer changes and TimerManager enhancements | attilamolnar | |
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 | |||
2013-04-16 | Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing ↵ | Adam | |
WSAEWOULDBLOCK | |||
2013-04-12 | Tidy 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-12 | Add LOG_ prefix to the log level enum values. | Peter Powell | |
2013-04-11 | Convert ISUPPORT to use a map instead of a string. | Peter Powell | |
2013-04-02 | m_geoip: Fix compilation | ChrisTX | |
2013-04-01 | Whitespace and empty destructor removal, minor coding style changes | attilamolnar | |
2013-04-01 | Change User::GetIPString() to return const std::string& | attilamolnar | |
2013-03-29 | m_ldapoper Make the module actually work | attilamolnar | |
Fixes #439 reported by @rhylan | |||
2013-03-29 | m_ldapoper Fix memory leak | attilamolnar | |
See 1813369adecc1efc9812e90c40c21dc32e4965c9 for details | |||
2013-03-15 | m_ssl_openssl Make it clear that a CA file is not mandatory | attilamolnar | |
2013-02-17 | m_ssl_gnutls Fix null pointer dereference in case gnutls_xxx_get_name() ↵ | attilamolnar | |
returns NULL | |||
2013-01-28 | m_ssl_gnutls Fix build with GnuTLS 1.x | attilamolnar | |
Fixes #409 reported by @SaberUK | |||
2012-12-25 | m_ldapoper Fix typo spotted by @lordsith49 | attilamolnar | |
Fixes #392 | |||
2012-12-17 | Fixed m_ssl_gnutls build on Windows; gnutls.h uses ssize_t which is defined ↵ | Adam | |
in gcrypt.h | |||
2012-12-04 | Unbreak m_geoip | attilamolnar | |
2012-12-02 | Register 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-02 | Dynamically 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-02 | Attach to events and register services in init() | attilamolnar | |
2012-11-29 | Add a typedef for LocalUserList | attilamolnar | |
2012-11-29 | ldapauth: register both extensions | Robin Burchell | |
2012-11-29 | ldapauth: RAII returned ldap message. | Robin Burchell | |
This ensures it is always freed, and coincidentally fixes freeing in the case of LDAP errors. | |||
2012-11-29 | ldapauth: fix memory leak | Robin Burchell | |
ldap_get_dn() results need to be freed. Use a RAII wrapper to do this. Original code by Attila Molnar | |||
2012-11-29 | ldapauth: Allow setting virtual hosts on identification with m_ldapauth. | Robin Burchell | |
<ldapauth:host>, when set, will be applied to users identifying with ldapauth. The host can also take formatters from fields set on the DN of the user. | |||
2012-11-29 | ldapauth: Add missing verbose logging to required attributes. | Robin Burchell | |
2012-11-29 | ldapauth: Rework required attributes code to use only one exit path. | Robin Burchell | |
This makes the upcoming patch to add optional virtual host support cleaner. | |||
2012-11-28 | Change empty string assignments to .clear() or remove them entirely | attilamolnar | |
Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f | |||
2012-11-28 | Silence OpenSSL deprecation warnings on OS X. | Peter Powell | |
2012-11-19 | m_ssl_gnutls Dynamically detect the number of certificates in the certfile | attilamolnar | |
Remove the "certcount" setting, as it's no longer needed When finished reading the certs, resize the buffer to the actual number of certs read | |||
2012-11-19 | Fix m_ssl_gnutls under GCC on recent versions of GnuTLS. | Peter Powell | |
Commas at the end of enumerator lists are valid in C99 but are not valid in C++ before C++11. This causes a build error on GCC when using -pedantic. | |||
2012-11-12 | Remove usage of the deprecated ConfigReader | attilamolnar | |