summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-04Add SocketEngine::WriteV()Attila Molnar
2015-03-04Add writev() wrapper for WindowsAttila Molnar
2015-03-01Merge branch 'master+gnutls-packet-read'Attila Molnar
2015-02-28m_ssl_gnutls Implement faster reads on GnuTLS 3.3.5 and later by avoiding ↵Attila Molnar
copying the data from GnuTLS buffers to ReadBuffer
2015-02-28m_ssl_gnutls Move logic that reads data from a session into new class ↵Attila Molnar
GnuTLS::DataReader
2015-02-28m_ssl_gnutls Add convenience macro for library version checking, change ↵Attila Molnar
checks to use it
2015-02-27Fix various Doxygen warnings.Peter Powell
2015-02-27Upgrade Doxyfile from 1.8.3.1 to 1.8.9.1.Peter Powell
Also, strip comments by request of @attilamolnar.
2015-02-27Fix miscalculation of maxlen in Channel::UserList() introduced by the ↵Attila Molnar
WriteNumeric() conversion
2015-02-27Fix oversights in substr() conversionAttila Molnar
Thanks to @StevenVanAcker for reporting and testing this
2015-02-26Fix various Clang warnings.Peter Powell
- warning: 'register' storage class specifier is deprecated.
2015-02-24Merge pull request #1002 from SaberUK/insp20+fix-cgiirc-crashAttila Molnar
[2.0] Fix a minor crash when a user has no class after OnCheckReady.
2015-02-23Fix a minor crash when a user has no class after OnCheckReady.Peter Powell
This bug looks serious but it can only be triggered with a very unusual server configuration problem. If you haven't already had a crash then you probably aren't at any risk. The way this crash happens is: 1. InspIRCd::DoBackgroundUserStuff is called by the main loop. 2. In the switch statement curr->registered is set to REG_NICKUSER so InspIRCd::AllModulesReportReady is called. 3. InspIRCd::AllModulesReportReady calls the OnCheckReady event in m_cgiirc. 4. m_cgiirc calls RecheckClass which sets the user's class to NULL and calls LocalUser::SetClass followed by LocalUser::CheckClass. 5. The user doesn't match any classes in LocalUser::SetClass so LocalUser::CheckClass quits the user with with "Access denied by configuration". 6. Control flow returns to InspIRCd::DoBackgroundUserStuff when InspIRCd::AllModulesReportReady returns false. 7. The if statement at the end of InspIRCd::DoBackgroundUserStuff calls ConnectClass::GetRegTimeout on curr->MyClass. 8. ConnectClass::GetRegTimeout tries to access a member of this which is NULL. 9. The server crashes with a SEGFAULT.
2015-02-22Merge pull request #916 from ShutterQuick/master+kickrejoinboundAttila Molnar
Advertise m_kicknorejoin's upper bound. Closes #913
2015-02-22capab: m_kicknorejoin: Don't advertise upper bound to 2.0 serversDaniel Vassdal
2015-02-22m_kicknorejoin: Advertise upper bound. Closes #913Daniel Vassdal
2015-02-22Merge pull request #998 from SaberUK/master+fix-clang-buildsAttila Molnar
Fix oversight which caused problems with Clang on OSX.
2015-02-22Merge pull request #1000 from ShutterQuick/master+281Attila Molnar
m_sqloper: Add `active` column
2015-02-22m_sqloper.cpp: Add support for the `active` columnDaniel Vassdal
When active is true the user is allowed to log in. When it is FALSE, he is not. 2.0 users must alter their table (or view) so that it contains this field.
2015-02-22m_sqloper.sqlite3.sql: Add `active` columnDaniel Vassdal
2015-02-22m_sqloper.postgresql.sql: Add `active` columnDaniel Vassdal
2015-02-22m_sqloper.mssql.sql: Add `active` columnDaniel Vassdal
2015-02-22m_sqloper.mysql.sql: Add `active` columnDaniel Vassdal
2015-02-21m_sqloper.mysql.sql: TYPE is deprecated as of MySQL 5.5Daniel Vassdal
"The older TYPE option that was synonymous with ENGINE was removed in MySQL 5.5." https://dev.mysql.com/doc/refman/5.6/en/create-table.html
2015-02-20Fix oversight which caused problems with Clang on OSX.Peter Powell
2015-02-20Change all occurrences of Inspire to InspIRCdAttila Molnar
2015-02-20Merge pull request #997 from SaberUK/master+compiler-detectionAttila Molnar
Improve compiler detection in configure; update supported compiler tests.
2015-02-18Remove a workaround for a compiler which is no longer supported.Peter Powell
2015-02-18Add the <type_traits> header to the compiler test file.Peter Powell
2015-02-18Improve compiler detection in configure.Peter Powell
- Split the detection and compatibility checks into two different steps (previously it was confusing as it would say the compiler was not available when it was really not compatible). - Fix a minor bug where compilers detected using xcrun on Darwin would not have xcrun returned as part of the compiler name from find_compiler.
2015-02-17Merge pull request #992 from SaberUK/insp20+fix-error-messageAttila Molnar
[2.0] Fix erroneous error messages in configure.
2015-02-15Eliminate constant return value of the all events version of ↵Attila Molnar
ModuleManager::SetPriority()
2015-02-15Convert mods calling the old compat wrapper of ModuleManager::SetPriority() ↵Attila Molnar
to use the current method, remove wrapper
2015-02-15Remove I_BEGIN from enum ImplementationAttila Molnar
2015-02-12Fix erroneous error messages in configure.Peter Powell
2015-02-12m_spanningtree Pass Server* to the OnServerLink/OnServerSplit eventsAttila Molnar
2015-02-12Merge branch 'master+crossmodevents'Attila Molnar
2015-02-12m_httpd_stats Remove days/hours/mins/secs from <uptime>Attila Molnar
Uptime can be calculated easily from the boot time
2015-02-12m_httpd_stats Fix pointer being shown instead of server name in <user>Attila Molnar
2015-02-11m_httpd Remove now unused variable "claimed"Attila Molnar
2015-02-11Remove class Event and the OnEvent hookAttila Molnar
2015-02-11Convert the spanningtree events to use the new cross-module event systemAttila Molnar
2015-02-11Remove unused parameters from HTTPRequest constructorAttila Molnar
2015-02-11Convert the HTTPd request event to use the new cross-module event systemAttila Molnar
2015-02-11Convert the HTTPd ACL event to use the new cross-module event systemAttila Molnar
2015-02-11Convert the SASL fallback event to use the new cross-module event systemAttila Molnar
2015-02-11Convert the CAP event to use the new cross-module event systemAttila Molnar
2015-02-11Allow enabling/disabling caps via GenericCap::SetActive()Attila Molnar
2015-02-11Convert the account login event to use the new cross-module event systemAttila Molnar
2015-02-11Add new cross-module event systemAttila Molnar