]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
attilamolnar [Sun, 24 Jun 2012 15:05:31 +0000 (17:05 +0200)]
m_operprefix Enhance compatibility with m_hideoper using a ModeWatcher
Prioritize after m_opermodes, so we know when it sets +H on somebody
attilamolnar [Sun, 24 Jun 2012 15:05:31 +0000 (17:05 +0200)]
m_operprefix Switch to OnUserPreJoin hook to give +y to joining opers, switch to OnPostOper for giving +y initially
attilamolnar [Wed, 24 Oct 2012 15:38:39 +0000 (17:38 +0200)]
m_operprefix Remove unused hooks, move module initialization to init()
attilamolnar [Fri, 9 Nov 2012 02:34:37 +0000 (03:34 +0100)]
m_spanningtree SVSNICK needs 3 parameters
attilamolnar [Fri, 9 Nov 2012 02:20:46 +0000 (03:20 +0100)]
m_spanningtree Refuse bogus NICK messages
If the new nick looks like an uid verify that its the correct uid
Adam [Sun, 12 Jun 2011 15:53:38 +0000 (11:53 -0400)]
Make the select() socketengine suck significantly less
attilamolnar [Thu, 8 Nov 2012 18:35:17 +0000 (19:35 +0100)]
m_ssl_gnutls, m_ssl_openssl Set error message for the socket to "Connection closed" whenever the ssl connection is closed
attilamolnar [Thu, 8 Nov 2012 18:30:36 +0000 (19:30 +0100)]
m_ssl_openssl Remove unused variables
Attila Molnar [Fri, 9 Nov 2012 15:38:37 +0000 (07:38 -0800)]
Merge pull request #357 from StevenVanAcker/insp20
unbreak m_hostchange.so
Steven Van Acker [Fri, 9 Nov 2012 14:36:38 +0000 (15:36 +0100)]
wrong order of arguments to Host()
Steven Van Acker [Fri, 9 Nov 2012 14:36:08 +0000 (15:36 +0100)]
use documented "value" attribute instead of undocumented "newhost"
Peter Powell [Wed, 7 Nov 2012 11:05:30 +0000 (11:05 +0000)]
Fix m_ssl_gnutls when using non-standard include/lib paths.
This fixes #315.
Peter Powell [Wed, 7 Nov 2012 09:07:43 +0000 (09:07 +0000)]
Fix ModuleManager failing when:
- LWP::Simple is not installed.
- Crypt::SSLeay or IO::Socket::SSL are not installed.
This fixes #154.
Peter Powell [Wed, 7 Nov 2012 10:33:30 +0000 (10:33 +0000)]
Temporary fix for HASHMAP_DEPRECATED on clang.
Peter Powell [Wed, 7 Nov 2012 10:35:01 +0000 (10:35 +0000)]
Fix typo in m_filter.
newuser1 [Fri, 2 Nov 2012 16:48:35 +0000 (00:48 +0800)]
Fix incorrect substr usage
Adam [Wed, 31 Oct 2012 17:14:13 +0000 (13:14 -0400)]
Don't send quitting users in RPL_NAMREPLY, fixes desyncing clients who join a channel after a user has quit but before they are culled
attilamolnar [Mon, 29 Oct 2012 17:33:07 +0000 (18:33 +0100)]
Fix typo in doc and remove some whitespace
attilamolnar [Mon, 29 Oct 2012 17:04:30 +0000 (18:04 +0100)]
m_opermotd Add support for replacing \u \b etc. with color codes
Fixes #322 reported by @MistrX
attilamolnar [Mon, 29 Oct 2012 16:19:21 +0000 (17:19 +0100)]
Move ServerConfig::ProcessColors() into class InspIRCd, as a helper function
Change signature to accept a file_cache reference so modules can use it easily
attilamolnar [Fri, 12 Oct 2012 21:32:35 +0000 (23:32 +0200)]
m_operlog Add tosnomask config option, to log all oper actions to snomask 'r'
If enabled, the commands can be logged to channels with m_chanlog and also other +s +r opers can see them
Fixes #325 reported by @SeLEct-
attilamolnar [Sun, 28 Oct 2012 13:54:39 +0000 (14:54 +0100)]
Fix warnings in configreader.cpp on FreeBSD
Fixes #348 reported by @netkurd
Adam [Sat, 27 Oct 2012 13:09:33 +0000 (09:09 -0400)]
Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their databases on Windows due to rename() failing if the destination file exists
Peter Powell [Wed, 24 Oct 2012 16:18:54 +0000 (17:18 +0100)]
Fix configure system loading cache file too late.
attilamolnar [Thu, 26 Jul 2012 15:52:13 +0000 (17:52 +0200)]
m_ojoin Fix giving +Y only instead of +Yo when <ojoin:op> is on and the user is already in the channel
attilamolnar [Tue, 23 Oct 2012 20:08:53 +0000 (22:08 +0200)]
m_ircv3 Attach to OnRehash
attilamolnar [Mon, 22 Oct 2012 16:14:37 +0000 (18:14 +0200)]
m_ircv3 Fix away-notify not sending AWAY messages when somebody joins who is away
attilamolnar [Tue, 23 Oct 2012 14:16:34 +0000 (16:16 +0200)]
m_nicklock Fix typo
attilamolnar [Tue, 23 Oct 2012 14:12:32 +0000 (16:12 +0200)]
m_topiclock Prefix ModDesc with $
attilamolnar [Sun, 21 Oct 2012 15:25:17 +0000 (17:25 +0200)]
m_nickflood Fix a case when channels were locked regardless of elapsed time since the last nick change
Fixes #330 reported by @Shawn-Smith
attilamolnar [Sun, 21 Oct 2012 15:06:25 +0000 (17:06 +0200)]
m_nickflood Make code more readable, unset +F when the module is unloaded
See
21c3232b8e0bb41727f2d65a0b2d5304587cf6be and
fae560cddc389b88c9cd34afdccf9035f4d11c5b
attilamolnar [Sun, 21 Oct 2012 14:47:16 +0000 (16:47 +0200)]
Fix /RESTART not closing file descriptors
Fixes issue #262 reported by @MistrX
attilamolnar [Sun, 21 Oct 2012 13:10:44 +0000 (15:10 +0200)]
Make better use of User::GetFullRealHost()
attilamolnar [Wed, 17 Oct 2012 15:13:20 +0000 (17:13 +0200)]
Fix KILL accepting SIDs, get rid of potentially unsafe snprintf and strlcpy
Adrien Bustany [Wed, 10 Oct 2012 07:04:18 +0000 (10:04 +0300)]
m_ldapauth Allow filtering on arbitrary LDAP attributes
This commit implements filtering on LDAP attributes, in a similar way
to what Apache Httpd does with "Require ldap-attribute".
attilamolnar [Fri, 19 Oct 2012 17:41:52 +0000 (19:41 +0200)]
m_filter More cleanup and optimizations
Fix a typo
attilamolnar [Fri, 19 Oct 2012 17:19:46 +0000 (19:19 +0200)]
m_filter Don't move the filter to the beginning of the vector when a match occurs
attilamolnar [Fri, 19 Oct 2012 16:58:30 +0000 (18:58 +0200)]
m_filter Remove redundant flags field from FilterResult
Change FillFlags() to return the character it did not understand, 0 if all ok
attilamolnar [Fri, 19 Oct 2012 16:42:52 +0000 (18:42 +0200)]
m_filter Change exemptfromfilter to be a set
attilamolnar [Fri, 19 Oct 2012 16:20:26 +0000 (18:20 +0200)]
m_filter Use an enum for filter actions instead of a string
attilamolnar [Thu, 13 Sep 2012 18:05:17 +0000 (20:05 +0200)]
m_filter Cleanup, remove empty and useless functions
Peter Powell [Wed, 12 Sep 2012 15:27:59 +0000 (16:27 +0100)]
Fix for #268.
- Move color stripping code to helperfuncs.
- Strip color codes before matching filters.
attilamolnar [Thu, 5 Jul 2012 01:23:23 +0000 (03:23 +0200)]
m_ident Allow the usage of an overriden IsIdent() instead of using a hardcoded version of it
Fix long idents being accepted regardless of Limits.IdentMax
Attila Molnar [Sun, 14 Oct 2012 22:04:43 +0000 (15:04 -0700)]
Merge pull request #340 from ChrisTX/insp20+clangwarningsfix
Resolve two warnings clang complains about
ChrisTX [Sun, 14 Oct 2012 21:58:20 +0000 (23:58 +0200)]
Resolve two warnings clang complains about
No newline at end of file in consolecolors.h
String plus int in snomasks
Attila Molnar [Sun, 14 Oct 2012 20:39:54 +0000 (13:39 -0700)]
Merge pull request #274 from ChrisTX/insp20+gnutlsdeprecation
m_ssl_gnutls: Resolve deprecation warnings properly
Attila Molnar [Sun, 14 Oct 2012 19:40:52 +0000 (12:40 -0700)]
Merge pull request #338 from ChrisTX/insp20+iostream
Replace printf(_c) with iostream
ChrisTX [Sun, 14 Oct 2012 02:03:35 +0000 (04:03 +0200)]
m_ssl_gnutls: Resolve deprecation warnings properly
ChrisTX [Sun, 14 Oct 2012 00:13:49 +0000 (02:13 +0200)]
Replace printf(_c) with iostream
attilamolnar [Sat, 13 Oct 2012 23:38:10 +0000 (01:38 +0200)]
Remove IncreaseOSBuffers() completely
attilamolnar [Fri, 12 Oct 2012 02:31:01 +0000 (04:31 +0200)]
m_chancreate Fix snonotices not being sent when remote users create channels
Fixes #318
attilamolnar [Sat, 13 Oct 2012 14:00:20 +0000 (16:00 +0200)]
Remove no-op call to IncreaseOSBuffers() from BufferedSocket::BeginConnect()
attilamolnar [Fri, 12 Oct 2012 14:29:52 +0000 (16:29 +0200)]
m_ssl_gnutls Cast pointer difference to an unsigned int before displaying it
Adam [Fri, 12 Oct 2012 21:50:05 +0000 (14:50 -0700)]
Merge pull request #320 from ChrisTX/insp20+cleanupwin
Windows: In-depth cleanup (see details)
attilamolnar [Fri, 12 Oct 2012 21:08:44 +0000 (23:08 +0200)]
Fix broken build
ChrisTX [Fri, 12 Oct 2012 20:31:38 +0000 (22:31 +0200)]
Windows: In-depth cleanup (see details)
-Fix x64 builds for Windows. Now all configurations compile.
-Remove the non-working rebase stuff.
-Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now.
-Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2
-Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need.
-Enable optimizations for release builds.
-De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure
-Add the VC++ specific bad files in .gitignore
-Disable PID writing on Windows. This is only making sense for *nix builds.
-Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working)
-Removed certain unused functions and variables
-Remove stdint defines from the windows wrapper
-Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds.
-Re-evaluated the warnings list, commented it.
-Moved inspircd_config/_version to include/ to match *nix
-Removed the creation of inspircd_se_config, as it isn't used at all.
-Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out)
-Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly.
-Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down)
-Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded.
-Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways)
-Removed the unused ClearConsole()
-Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate.
-Made inet_aton an inline function for increased performance
-C4800, performance warning about bool forcing, resolved at all occurrences.
-C4701, uninitialized variable 'cached', resolved at all occurrences.
-dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance.
-Removed the wrong CRT debug flags. This drains a lot of performance.
-Removed the clock_gettime/gettimeofday wrappers
-Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function.
-Added a block of C4355 for < VS2012
-Update project files for
c870714
attilamolnar [Fri, 12 Oct 2012 16:51:53 +0000 (18:51 +0200)]
m_cgiirc, m_dnsbl Remove unnecessary includes
attilamolnar [Tue, 24 Jul 2012 12:54:29 +0000 (14:54 +0200)]
Remove superfluous std::string()s
attilamolnar [Wed, 10 Oct 2012 00:15:40 +0000 (02:15 +0200)]
Fix unregistered users getting global notices, also fix certain commands working on unregistered users, spotted by @Adam-
Adam [Fri, 12 Oct 2012 01:15:00 +0000 (21:15 -0400)]
Add myself to the Other Contributors list
Adam [Thu, 11 Oct 2012 01:32:11 +0000 (21:32 -0400)]
Compare the result of ldap_search_ext_s to LDAP_SUCCESS....
attilamolnar [Sun, 7 Oct 2012 16:14:22 +0000 (18:14 +0200)]
Move simple user and channel mode handlers into a single file
attilamolnar [Mon, 8 Oct 2012 14:47:12 +0000 (16:47 +0200)]
Update modules.conf.example with m_ircv3
Attila Molnar [Mon, 8 Oct 2012 14:42:31 +0000 (07:42 -0700)]
Merge pull request #321 from ballock/insp20
Allows to use user->ident string instead of user->nick for NickServ.
Boleslaw Tokarski [Mon, 8 Oct 2012 13:09:09 +0000 (15:09 +0200)]
Allows to use user->ident string instead of user->nick for NickServ.
attilamolnar [Sat, 6 Oct 2012 22:29:07 +0000 (00:29 +0200)]
Release 2.0.9
Adam [Sat, 6 Oct 2012 22:25:58 +0000 (18:25 -0400)]
attilamolnar [Sat, 6 Oct 2012 22:12:29 +0000 (00:12 +0200)]
Update modules.conf.example with m_topiclock
attilamolnar [Sat, 6 Oct 2012 21:49:47 +0000 (23:49 +0200)]
m_spanningtree Fix undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary
attilamolnar [Wed, 3 Oct 2012 13:48:40 +0000 (15:48 +0200)]
New module to support server-side topic locking and server-to-server SVSTOPIC command
SVSTOPIC can either set the topic, the topic setter and the topic timestamp to the given parameters or can nuke the topic entirely on a channel (like it was never set)
It is for ulines only
attilamolnar [Sat, 6 Oct 2012 12:26:22 +0000 (14:26 +0200)]
Update .gitignore
Attila Molnar [Fri, 5 Oct 2012 12:39:36 +0000 (05:39 -0700)]
Merge pull request #317 from ChrisTX/insp20+fixwinbuild
Windows: Fix broken build
ChrisTX [Fri, 5 Oct 2012 11:14:53 +0000 (13:14 +0200)]
Windows: Fix broken build
Resolves a mistake made in
c2f7fc047c2e5bbb899c820590ce07fee593b28f
attilamolnar [Thu, 4 Oct 2012 21:45:51 +0000 (23:45 +0200)]
m_cban, m_rline, m_shun Broadcast these commands as some services implementations send them (even though they shouldn't)
Adam [Thu, 4 Oct 2012 21:12:30 +0000 (14:12 -0700)]
Merge pull request #314 from ChrisTX/insp20+DnsQueryConfig
Windows: Replace the old DNS server find mechanism with the proper one, the appropriate API
attilamolnar [Thu, 4 Oct 2012 14:15:34 +0000 (16:15 +0200)]
Windows: Remove modules.conf.charybdis and modules.conf.unreal with the uninstaller
ChrisTX [Sun, 23 Sep 2012 10:30:30 +0000 (12:30 +0200)]
Replace hardcoded paths with configurable ones
This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario.
Changes in detail:
configure: Add the options --log-path and --data-path
m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro
m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be
changed using the configuration files.
ChrisTX [Thu, 4 Oct 2012 11:49:34 +0000 (13:49 +0200)]
Windows: Use the WinAPI for DNS server retrieval
Adam [Thu, 4 Oct 2012 06:59:56 +0000 (23:59 -0700)]
Merge pull request #313 from ChrisTX/insp20+explicittemps
Windows: Replace the unused function hack with explicit instantiation
ChrisTX [Thu, 4 Oct 2012 06:31:38 +0000 (08:31 +0200)]
Windows: Replace the unused function hack with explicit instantiation
attilamolnar [Wed, 3 Oct 2012 17:53:46 +0000 (19:53 +0200)]
Fix (d)host starting with ':' for some IPv6 clients
attilamolnar [Wed, 3 Oct 2012 02:38:11 +0000 (04:38 +0200)]
Change User::SetClientIP() to be virtual
attilamolnar [Wed, 3 Oct 2012 00:50:20 +0000 (02:50 +0200)]
Check if the mask is long enough before accessing it when checking extbans
attilamolnar [Wed, 3 Oct 2012 00:37:05 +0000 (02:37 +0200)]
m_services_account Fix possible recursion when checking 'U' extbans
attilamolnar [Wed, 4 Jul 2012 21:27:03 +0000 (23:27 +0200)]
m_spanningtree Fill a parameterlist in OnAddLine/OnDelLine
attilamolnar [Wed, 4 Jul 2012 21:20:41 +0000 (23:20 +0200)]
m_spanningtree Simplify OnMode and OnSetAway handlers
attilamolnar [Wed, 4 Jul 2012 21:19:39 +0000 (23:19 +0200)]
m_spanningtree Remove empty RedoConfig()
attilamolnar [Wed, 4 Jul 2012 20:50:45 +0000 (22:50 +0200)]
m_spanningtree Utils: Remove unused functions
attilamolnar [Wed, 4 Jul 2012 19:19:49 +0000 (21:19 +0200)]
m_spanningtree OPERTYPE handler: Return when finished processing instead of changing execution path with a flag
attilamolnar [Tue, 24 Jul 2012 14:18:34 +0000 (16:18 +0200)]
m_spanningtree Remote WHOIS handler: Find target with FindNickOnly (don't accept uids, like in cmd_whois)
attilamolnar [Wed, 4 Jul 2012 18:44:38 +0000 (20:44 +0200)]
m_spanningtree Netburst: Remove unused parameters and variables
attilamolnar [Wed, 4 Jul 2012 18:34:51 +0000 (20:34 +0200)]
m_spanningtree Netburst: Prefix SERVER and VERSION lines with SIDs instead of server names
attilamolnar [Wed, 4 Jul 2012 18:33:24 +0000 (20:33 +0200)]
m_spanningtree Netburst: Remove unnecessary variables from DoBurst()
attilamolnar [Wed, 4 Jul 2012 18:26:24 +0000 (20:26 +0200)]
m_spanningtree Use iterators in CAPAB handler and when generating reply to spanningtree related /stats, use std::find() in TreeServer::DelChild()
attilamolnar [Wed, 4 Jul 2012 18:25:41 +0000 (20:25 +0200)]
m_spanningtree Only allow uuids in SVSJOIN, METADATA and OPERQUIT
attilamolnar [Sun, 30 Sep 2012 00:47:10 +0000 (02:47 +0200)]
m_spanningtree Return const references from several TreeServer getter functions
attilamolnar [Sat, 29 Sep 2012 23:26:06 +0000 (01:26 +0200)]
Make ConfigReader::GetSID() return a const reference to a string instead of a string
attilamolnar [Sat, 29 Sep 2012 23:10:57 +0000 (01:10 +0200)]
Fix more undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary
See
83c7cc45daf6fb1f8c36f15297a4657e45a34e88
Adam [Sat, 29 Sep 2012 01:27:38 +0000 (21:27 -0400)]
Fixed issue #303 - fixed Windows build
attilamolnar [Sun, 23 Sep 2012 01:18:45 +0000 (03:18 +0200)]
m_httpd Accept POST requests only when the value for Content-Length is greater than zero