]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
attilamolnar [Mon, 1 Apr 2013 14:32:01 +0000 (16:32 +0200)]
cmd_invite Check if the inviting user is on the channel before potentially telling him the target is already on it
attilamolnar [Mon, 1 Apr 2013 14:20:35 +0000 (16:20 +0200)]
Change IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ strings as arguments instead of C strings
attilamolnar [Mon, 1 Apr 2013 14:15:19 +0000 (16:15 +0200)]
Convert IsSID() to a static member function, modules shouldn't override it
attilamolnar [Mon, 1 Apr 2013 14:10:45 +0000 (16:10 +0200)]
Remove more deprecated code
- ConfigReader
- FloodQuitUserHandler
- IsValidModuleCommand
- CallCommandHandler
- DoCleanup from u_listmode.h
Attila Molnar [Mon, 1 Apr 2013 13:53:24 +0000 (06:53 -0700)]
Merge pull request #454 from SaberUK/master+misc-improvements
Purge dead code and deprecated types.
Attila Molnar [Mon, 1 Apr 2013 13:40:35 +0000 (06:40 -0700)]
Merge pull request #455 from SaberUK/master+deprecation-macro
Add macro for marking methods as deprecated.
Peter Powell [Mon, 1 Apr 2013 09:20:52 +0000 (10:20 +0100)]
Purge references to the deprecated GetStackedLine method.
Peter Powell [Mon, 1 Apr 2013 09:11:03 +0000 (10:11 +0100)]
Purge the deprecated chanprotect module.
Peter Powell [Mon, 1 Apr 2013 07:58:06 +0000 (08:58 +0100)]
Remove some dead code:
- Conditions in m_httpd_stats which can never be true.
- Commented out code in m_sqloper.
- Unused macro in inspircd.h.
Peter Powell [Mon, 1 Apr 2013 09:38:31 +0000 (10:38 +0100)]
Add macro for marking methods as deprecated.
Adam [Mon, 1 Apr 2013 05:20:32 +0000 (00:20 -0500)]
Fix linker error when linking spanningtree caused by
56cae0f3a484cbcb20569b68917f1810a0c2f4a4
Peter Powell [Mon, 1 Apr 2013 04:25:03 +0000 (05:25 +0100)]
Purge the deprecated hash_map from existance.
attilamolnar [Mon, 1 Apr 2013 00:13:43 +0000 (02:13 +0200)]
Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser() to std::string from char*
Adam [Sun, 21 Oct 2012 02:14:46 +0000 (22:14 -0400)]
Rewrote caller.h to be more C++11 ish, currently commented out pending whenever we decide to support some C++11 features
attilamolnar [Sun, 31 Mar 2013 23:42:49 +0000 (01:42 +0200)]
New API version
attilamolnar [Sun, 31 Mar 2013 23:27:02 +0000 (01:27 +0200)]
Change User::GetIPString() to return const std::string&
attilamolnar [Sun, 31 Mar 2013 23:13:24 +0000 (01:13 +0200)]
m_samode Require an oper privilege to change the user modes of other users
Issue #417
attilamolnar [Sun, 31 Mar 2013 23:01:12 +0000 (01:01 +0200)]
Send LUSERS before MOTD
Issue #399
attilamolnar [Sun, 31 Mar 2013 22:58:44 +0000 (00:58 +0200)]
Change the default value of <options:cyclehosts> to no
Issue #402
attilamolnar [Sun, 31 Mar 2013 22:54:58 +0000 (00:54 +0200)]
Remove legacy code, mostly related to 1.2 compatibility
attilamolnar [Sun, 31 Mar 2013 18:23:47 +0000 (20:23 +0200)]
Mark as version 2.2
attilamolnar [Sun, 31 Mar 2013 17:52:43 +0000 (19:52 +0200)]
Minor update to example configs
attilamolnar [Fri, 29 Mar 2013 01:16:32 +0000 (02:16 +0100)]
Release 2.0.11
attilamolnar [Sun, 24 Mar 2013 21:19:44 +0000 (22:19 +0100)]
cmd_kill Send snotice to servers when both the oper and the victim are on the same server
attilamolnar [Fri, 29 Mar 2013 00:09:55 +0000 (01:09 +0100)]
Update doc and fix the description of m_allowinvite
attilamolnar [Sat, 23 Mar 2013 20:08:04 +0000 (21:08 +0100)]
m_ldapoper Make the module actually work
Fixes #439 reported by @rhylan
attilamolnar [Mon, 11 Mar 2013 18:53:54 +0000 (19:53 +0100)]
m_ldapoper Fix memory leak
See
1813369adecc1efc9812e90c40c21dc32e4965c9 for details
attilamolnar [Thu, 28 Mar 2013 14:06:47 +0000 (15:06 +0100)]
Fix premature overwriting of OLDTIME that resulted in time drifts never being detected
attilamolnar [Wed, 27 Mar 2013 20:49:59 +0000 (21:49 +0100)]
cmd_lusers Fix miscounting
Attila Molnar [Tue, 26 Mar 2013 16:41:48 +0000 (09:41 -0700)]
Merge pull request #443 from ShutterQuick/sasl_external
Added support for SASL EXTERNAL
Daniel Vassdal [Mon, 25 Mar 2013 14:04:26 +0000 (15:04 +0100)]
Added support for EXTERNAL
attilamolnar [Mon, 17 Dec 2012 01:40:02 +0000 (02:40 +0100)]
m_xline_db Fix pointless excessive stack usage in ReadDatabase()
attilamolnar [Mon, 17 Dec 2012 01:20:06 +0000 (02:20 +0100)]
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
attilamolnar [Mon, 25 Mar 2013 14:18:20 +0000 (15:18 +0100)]
Accept -c as a command line argument (equivalent to --config)
ChrisTX [Sat, 23 Mar 2013 22:52:51 +0000 (23:52 +0100)]
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
attilamolnar [Sun, 24 Mar 2013 19:20:19 +0000 (20:20 +0100)]
Initialize the FakeClient pointer in InspIRCd::InspIRCd()
attilamolnar [Sun, 24 Mar 2013 18:11:36 +0000 (19:11 +0100)]
m_timedbans Notice halfops and above when a timed ban is placed
Fixes #415 reported by @killerrabbit
Adam [Sun, 24 Mar 2013 03:47:25 +0000 (22:47 -0500)]
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.
attilamolnar [Wed, 20 Mar 2013 22:43:51 +0000 (23:43 +0100)]
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
attilamolnar [Tue, 12 Mar 2013 17:21:21 +0000 (18:21 +0100)]
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
attilamolnar [Wed, 13 Mar 2013 15:41:44 +0000 (16:41 +0100)]
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
attilamolnar [Tue, 12 Mar 2013 19:45:02 +0000 (20:45 +0100)]
m_permchannels Load channels from the config only at module load time and only when there are no linked servers to avoid desync
attilamolnar [Tue, 19 Mar 2013 17:06:22 +0000 (18:06 +0100)]
m_connflood Ignore e-lined users
Adam [Fri, 15 Mar 2013 20:10:53 +0000 (15:10 -0500)]
Link win32_memory too inspircd too
attilamolnar [Tue, 12 Mar 2013 15:30:45 +0000 (16:30 +0100)]
m_ssl_openssl Make it clear that a CA file is not mandatory
ShutterQuick [Thu, 7 Mar 2013 19:23:47 +0000 (11:23 -0800)]
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.
Adam [Thu, 14 Mar 2013 19:19:41 +0000 (15:19 -0400)]
Replace Windows build system and installer with cmake
attilamolnar [Mon, 11 Mar 2013 19:52:21 +0000 (20:52 +0100)]
Remove dead code from DNS
attilamolnar [Sun, 3 Mar 2013 22:20:12 +0000 (23:20 +0100)]
m_connectban Switch to OnSetUserIP hook to handle cgiirc users properly, ignore e-lined users
attilamolnar [Sun, 3 Mar 2013 22:13:54 +0000 (23:13 +0100)]
Fix m_dnsbl not checking cgiirc users when the cgiirc address is elined
attilamolnar [Sat, 2 Mar 2013 20:45:14 +0000 (21:45 +0100)]
Either store the Resolver in DNS::AddResolverClass() or delete it before returning
attilamolnar [Sat, 2 Mar 2013 20:36:44 +0000 (21:36 +0100)]
Stop user initialization when the user is marked as quitting after OnSetUserIP
attilamolnar [Sat, 2 Mar 2013 20:36:15 +0000 (21:36 +0100)]
m_dnsbl Fix connecting users timeouting when a dnsbl result is in the dns cache
Fixes #431 reported by @killerrabbit
Attila Molnar [Sat, 9 Mar 2013 19:22:36 +0000 (11:22 -0800)]
Merge pull request #437 from SaberUK/insp20+doxygen-update
Update Doxyfile for the latest version of Doxygen.
Peter Powell [Fri, 8 Mar 2013 16:50:04 +0000 (16:50 +0000)]
Update Doxyfile for the latest version of Doxygen.
attilamolnar [Thu, 1 Nov 2012 22:34:28 +0000 (23:34 +0100)]
cmd_lusers Be smart and know how many invisible users are there without iterating the userlist
attilamolnar [Tue, 12 Feb 2013 20:21:17 +0000 (21:21 +0100)]
cmd_lusers Use of size() instead of counting elements
attilamolnar [Tue, 12 Feb 2013 20:19:11 +0000 (21:19 +0100)]
cmd_lusers Refresh max local/global user counters after a user connects
Fixes #423 reported by @RawrDragon
attilamolnar [Tue, 12 Feb 2013 20:07:25 +0000 (21:07 +0100)]
cmd_lusers Convert to a module
Attila Molnar [Sat, 2 Mar 2013 16:23:22 +0000 (08:23 -0800)]
Merge pull request #430 from SaberUK/insp20+config-tidy
Reorganise configuration files.
Peter Powell [Fri, 1 Mar 2013 03:06:06 +0000 (03:06 +0000)]
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.
attilamolnar [Sun, 17 Feb 2013 20:59:23 +0000 (21:59 +0100)]
m_ssl_gnutls Fix null pointer dereference in case gnutls_xxx_get_name() returns NULL
Peter Powell [Mon, 11 Feb 2013 10:25:57 +0000 (10:25 +0000)]
Fix multiple escape bugs in m_httpd_stats.
attilamolnar [Mon, 11 Feb 2013 16:52:21 +0000 (17:52 +0100)]
cmd_invite Send invite announcements to halfops and higher when <security:announceinvites> is 'dynamic' regardless of the channel being +i or not
Clarify what the various options mean in the doc
Fixes #418 reported by @RawrDragon
attilamolnar [Mon, 11 Feb 2013 16:47:51 +0000 (17:47 +0100)]
cmd_invite Correct error message when the user has no privs to invite and no halfop prefix is available
attilamolnar [Mon, 11 Feb 2013 15:16:39 +0000 (16:16 +0100)]
Fix exactly <limits:maxchan> long channel names being truncated
Fixes #422 reported by @RawrDragon
Attila Molnar [Sun, 3 Feb 2013 15:01:56 +0000 (07:01 -0800)]
Merge pull request #416 from SaberUK/insp20+clang42-warnings
Remove unused variables detected by Clang 4.2.
Peter Powell [Thu, 31 Jan 2013 11:37:52 +0000 (11:37 +0000)]
Remove unused variables detected by Clang 4.2.
Attila Molnar [Mon, 28 Jan 2013 21:57:10 +0000 (13:57 -0800)]
Merge pull request #414 from SaberUK/insp20+hashmap
[2.0] Use the preprocessor to detect whether hash_map is available.
Attila Molnar [Mon, 28 Jan 2013 21:53:06 +0000 (13:53 -0800)]
Merge pull request #413 from SaberUK/insp20+httpd
[2.0] Use a better server name in m_httpd.
Peter Powell [Fri, 4 Jan 2013 18:22:29 +0000 (18:22 +0000)]
Use the preprocessor to detect whether hash_map is available.
Peter Powell [Fri, 4 Jan 2013 15:26:49 +0000 (15:26 +0000)]
Use a better server name in m_httpd.
attilamolnar [Mon, 28 Jan 2013 20:10:11 +0000 (21:10 +0100)]
m_ssl_gnutls Fix build with GnuTLS 1.x
Fixes #409 reported by @SaberUK
attilamolnar [Sun, 27 Jan 2013 16:22:18 +0000 (17:22 +0100)]
m_chanhistory Fix durations containing 'S' being rejected
Peter Powell [Fri, 25 Jan 2013 22:56:39 +0000 (22:56 +0000)]
Use GNU install on Solaris.
Attila Molnar [Tue, 22 Jan 2013 17:47:50 +0000 (09:47 -0800)]
Merge pull request #407 from SaberUK/insp20+fix-openssl-detection
Fix OpenSSL detection on distributions which modify the version number.
Peter Powell [Tue, 22 Jan 2013 10:52:56 +0000 (10:52 +0000)]
Fix OpenSSL detection on distributions which modify the version number.
Robin Burchell [Wed, 16 Jan 2013 11:18:13 +0000 (03:18 -0800)]
Merge pull request #403 from SaberUK/insp20+wextra-fixes
Fix warning: "const type qualifier on return type has no effect".
Peter Powell [Wed, 16 Jan 2013 11:06:44 +0000 (11:06 +0000)]
Fix warning: "const type qualifier on return type has no effect".
attilamolnar [Mon, 14 Jan 2013 18:59:47 +0000 (19:59 +0100)]
m_spanningtree Fix rare desync when a KILL crosses a message that has the killed user's prefix and modifies global state
attilamolnar [Sun, 13 Jan 2013 22:33:20 +0000 (23:33 +0100)]
m_maphide Ignore unregistered users
Fixes #400 reported by @SaberUK
Attila Molnar [Sat, 5 Jan 2013 15:44:55 +0000 (07:44 -0800)]
Merge pull request #397 from Robby-/insp20+cmode_b-limit
[2.0] cmode_b: Correction to the maxbans conditional
Robby- [Thu, 3 Jan 2013 18:35:02 +0000 (19:35 +0100)]
cmode_b: Correction to the maxbans conditional
It was possible to set one more ban beyond the configured limit.
attilamolnar [Wed, 2 Jan 2013 18:01:57 +0000 (19:01 +0100)]
m_messageflood Ask to be the last to handle OnUserPreMessage/OnUserPreNotice
Fixes #394 reported by @JDowny
attilamolnar [Wed, 2 Jan 2013 17:36:09 +0000 (18:36 +0100)]
m_banredirect Deny the join to the redirect channel if it has a redirecting ban set that matches the user
Fixes #395 reported by @patatje368
attilamolnar [Wed, 2 Jan 2013 17:36:00 +0000 (18:36 +0100)]
m_banredirect Remove unnecessary hooks, cleanup
- Remove prioritization before m_banexception, it doesn't even hook OnUserPreJoin
- Remove OnChannelDelete handler: nothing to do in that case, our extension item is automatically freed
- Remove empty OnRehash handler
Peter Powell [Sun, 23 Dec 2012 18:40:53 +0000 (18:40 +0000)]
Replace a GNUmake idiom with the portable equivalent.
Peter Powell [Thu, 20 Dec 2012 00:45:59 +0000 (00:45 +0000)]
Include <list> in base.h to prevent build errors on OpenBSD.
Peter Powell [Thu, 20 Dec 2012 00:34:38 +0000 (00:34 +0000)]
Fix the poll socket engine on BSD's other than FreeBSD.
Peter Powell [Thu, 20 Dec 2012 00:07:32 +0000 (00:07 +0000)]
OpenBSD does not have KERN_MAXFILESPERPROC.
attilamolnar [Tue, 25 Dec 2012 17:26:47 +0000 (18:26 +0100)]
m_ldapoper Fix typo spotted by @lordsith49
Fixes #392
attilamolnar [Wed, 19 Dec 2012 00:23:42 +0000 (01:23 +0100)]
Fix errors in socketengine_ports so it compiles on Solaris
Thanks to fraggeln for reporting and testing
Peter Powell [Mon, 17 Dec 2012 04:35:32 +0000 (04:35 +0000)]
Fix property list arguments.
Adam [Mon, 17 Dec 2012 11:02:09 +0000 (06:02 -0500)]
Fixed m_ssl_gnutls build on Windows; gnutls.h uses ssize_t which is defined in gcrypt.h
attilamolnar [Sun, 16 Dec 2012 15:30:58 +0000 (16:30 +0100)]
Release 2.0.10
attilamolnar [Sun, 16 Dec 2012 15:08:39 +0000 (16:08 +0100)]
m_callerid Fix memory leak in CallerIDExtInfo::free()
attilamolnar [Sat, 1 Dec 2012 20:33:42 +0000 (21:33 +0100)]
Add a flag to Command that controls whether an empty last parameter is allowed or not
attilamolnar [Sat, 15 Dec 2012 18:41:58 +0000 (19:41 +0100)]
m_ident Reject invalid and error replies
attilamolnar [Mon, 19 Nov 2012 02:37:59 +0000 (03:37 +0100)]
Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a target nickname
If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message
attilamolnar [Sun, 9 Dec 2012 17:06:21 +0000 (18:06 +0100)]
Remove ServerLimits::Finalise(), it's completely wrong
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()