11110 Commits

Author SHA1 Message Date
Adam
9b9140d5f8 Rewrote caller.h to be more C++11 ish, currently commented out pending whenever we decide to support some C++11 features 2013-03-31 19:08:36 -05:00
attilamolnar
d1b9bf8e35 New API version 2013-04-01 01:42:49 +02:00
attilamolnar
12872e3d4b Change User::GetIPString() to return const std::string& 2013-04-01 01:27:02 +02:00
attilamolnar
d1a88f0957 m_samode Require an oper privilege to change the user modes of other users
Issue #417
2013-04-01 01:13:24 +02:00
attilamolnar
0115c77804 Send LUSERS before MOTD
Issue #399
2013-04-01 01:01:12 +02:00
attilamolnar
be9358c43f Change the default value of <options:cyclehosts> to no
Issue #402
2013-04-01 00:58:44 +02:00
attilamolnar
56cae0f3a4 Remove legacy code, mostly related to 1.2 compatibility 2013-04-01 00:54:58 +02:00
attilamolnar
f62fb75d9d Mark as version 2.2 masterfork 2013-03-31 20:23:47 +02:00
attilamolnar
8de053ee38 Minor update to example configs 2013-03-31 19:52:43 +02:00
attilamolnar
ee4289a9b6 Release 2.0.11 v2.0.11 2013-03-29 02:16:32 +01:00
attilamolnar
2ae964012e cmd_kill Send snotice to servers when both the oper and the victim are on the same server 2013-03-29 01:31:57 +01:00
attilamolnar
3eeb85d3c5 Update doc and fix the description of m_allowinvite 2013-03-29 01:09:55 +01:00
attilamolnar
3135a6cc0e m_ldapoper Make the module actually work
Fixes #439 reported by @rhylan
2013-03-29 01:09:34 +01:00
attilamolnar
c2549b0402 m_ldapoper Fix memory leak
See 1813369adecc1efc9812e90c40c21dc32e4965c9 for details
2013-03-29 01:09:34 +01:00
attilamolnar
4e9cfa5b3a Fix premature overwriting of OLDTIME that resulted in time drifts never being detected 2013-03-28 15:06:47 +01:00
attilamolnar
63b7384092 cmd_lusers Fix miscounting 2013-03-27 21:49:59 +01:00
Attila Molnar
8d419c3873 Merge pull request #443 from ShutterQuick/sasl_external
Added support for SASL EXTERNAL
2013-03-26 09:41:48 -07:00
Daniel Vassdal
929ef50908 Added support for EXTERNAL 2013-03-25 23:38:48 +01:00
attilamolnar
31344bbedf m_xline_db Fix pointless excessive stack usage in ReadDatabase() 2013-03-25 16:22:14 +01:00
attilamolnar
e55cafb93f m_xline_db Major enhancements
- Save database on a timer, not on every single change
- Use the internal database instead of keeping track of xlines ourselves
2013-03-25 16:22:13 +01:00
attilamolnar
0ee7c0a97b Accept -c as a command line argument (equivalent to --config) 2013-03-25 15:18:20 +01:00
ChrisTX
25aa230671 Win32: Rewrite the service wrapper
Edited original commit to pass MAX_PATH as nSize to GetModuleFileNameA() instead of 101 after approval from author @ChrisTX (Attila Molnar)

Fixes #404 reported by @crchauffe
2013-03-25 14:57:05 +01:00
attilamolnar
f2a5fa58ed Initialize the FakeClient pointer in InspIRCd::InspIRCd() 2013-03-24 20:20:19 +01:00
attilamolnar
5513496d5f m_timedbans Notice halfops and above when a timed ban is placed
Fixes #415 reported by @killerrabbit
2013-03-24 19:11:36 +01:00
Adam
6b2d45c154 win: Made config, modules, data, and log paths configurable.
Update win/README with instructions on how to use cmake-gui.
Always build m_regex_stdlib, since all VS versions we support
support it.
2013-03-23 22:47:25 -05:00
attilamolnar
21f7e4a8cd Fix infinite loop when all DNS request slots are in use
This is not the best way to detect this scenario, a better detection mechanism will replace this in the future
2013-03-20 23:43:51 +01:00
attilamolnar
fd6a8e9392 Add support for mandatory tags in included config files
If the mandatory tag is not found in the included config, the rehash is aborted. This is especially useful for remote includes, as it allows users to have a dummy tag at the end of the included config to indicate that the config has been wholly read.
This method does not depend on exit codes so even situations where wget returns an empty or a wrong page that we would otherwise accept can be detected and an error can be generated before we assume that the contents have disappeared (and unload all modules, if the included file is supposed to contain module tags, for example).

Usage: <include ... mandatorytag="namehere"> - if the included config doesn't contain a <namehere> tag then the rehash is aborted

Fixes #30 reported by @Justasic
2013-03-20 21:43:46 +01:00
attilamolnar
f658270c83 m_spanningtree Fix incoming channel modes being lost for 0-user permanent channels on the losing side of a netmerge
This did not affect listmodes
2013-03-20 18:23:44 +01:00
attilamolnar
31de5a7e8f m_permchannels Load channels from the config only at module load time and only when there are no linked servers to avoid desync 2013-03-20 18:23:43 +01:00
attilamolnar
e5aaeec626 m_connflood Ignore e-lined users 2013-03-19 18:06:22 +01:00
Adam
f5377329ef Link win32_memory too inspircd too 2013-03-15 15:10:53 -05:00
attilamolnar
efdf336d8c m_ssl_openssl Make it clear that a CA file is not mandatory 2013-03-15 00:50:35 +01:00
ShutterQuick
b71f1affea Modified m_timedbans to behave more like setting mode +b manually.
It now accepts extbans. If one enters something not an extban, or valid banmask, it'll add "!*@*", making it a nick-ban instead of borking.
2013-03-15 00:41:16 +01:00
Adam
b17ba83e9c Replace Windows build system and installer with cmake 2013-03-14 15:19:41 -04:00
attilamolnar
ade9cc2134 Remove dead code from DNS 2013-03-11 20:52:21 +01:00
attilamolnar
e59bb59ea2 m_connectban Switch to OnSetUserIP hook to handle cgiirc users properly, ignore e-lined users 2013-03-11 20:48:58 +01:00
attilamolnar
fe9e594755 Fix m_dnsbl not checking cgiirc users when the cgiirc address is elined 2013-03-11 20:48:58 +01:00
attilamolnar
2bdbb2878e Either store the Resolver in DNS::AddResolverClass() or delete it before returning 2013-03-11 20:48:58 +01:00
attilamolnar
99a470a590 Stop user initialization when the user is marked as quitting after OnSetUserIP 2013-03-11 20:48:58 +01:00
attilamolnar
3e6a05f4fa m_dnsbl Fix connecting users timeouting when a dnsbl result is in the dns cache
Fixes #431 reported by @killerrabbit
2013-03-11 20:48:58 +01:00
Attila Molnar
af496f1fea Merge pull request #437 from SaberUK/insp20+doxygen-update
Update Doxyfile for the latest version of Doxygen.
2013-03-09 11:22:36 -08:00
Peter Powell
6da7562f94 Update Doxyfile for the latest version of Doxygen. 2013-03-08 16:50:04 +00:00
attilamolnar
0fa15e165f cmd_lusers Be smart and know how many invisible users are there without iterating the userlist 2013-03-03 23:08:33 +01:00
attilamolnar
596f199f11 cmd_lusers Use of size() instead of counting elements 2013-03-03 23:08:33 +01:00
attilamolnar
19523c7500 cmd_lusers Refresh max local/global user counters after a user connects
Fixes #423 reported by @RawrDragon
2013-03-03 23:08:33 +01:00
attilamolnar
1d3d2a5434 cmd_lusers Convert to a module 2013-03-03 23:08:33 +01:00
Attila Molnar
be5b0e2b39 Merge pull request #430 from SaberUK/insp20+config-tidy
Reorganise configuration files.
2013-03-02 08:23:22 -08:00
Peter Powell
5f6372b2f0 Reorganise configuration files:
- Example config files now end with .conf.example.
- Example text files now end with .txt.example.
- Removed 'inspircd' from the name of multiple example files.
- Added missing oper motd example file.
2013-03-02 15:50:09 +00:00
attilamolnar
d8e92ecc5e m_ssl_gnutls Fix null pointer dereference in case gnutls_xxx_get_name() returns NULL 2013-02-17 21:59:23 +01:00
Peter Powell
83e36af589 Fix multiple escape bugs in m_httpd_stats. 2013-02-17 21:36:26 +01:00