]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
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.
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
attilamolnar [Sun, 23 Sep 2012 00:51:16 +0000 (02:51 +0200)]
Fix undefined behavior caused by referencing the returned buffer by std::string::c_str() when the object is temporary
Thanks to @ChrisTX for pointing this out
Fixes #257 reported by @helloall
Attila Molnar [Sun, 23 Sep 2012 00:43:08 +0000 (17:43 -0700)]
Merge pull request #308 from SaberUK/insp20-fingerprint
[2.0] Remove references to removed FINGERPRINT command.
Peter Powell [Sat, 22 Sep 2012 21:26:30 +0000 (22:26 +0100)]
Remove references to removed FINGERPRINT command.
attilamolnar [Sat, 22 Sep 2012 14:00:50 +0000 (16:00 +0200)]
Instruct users to verify that std::regex is supported on their setup before using m_regex_stdlib
ChrisTX [Sat, 22 Sep 2012 04:11:43 +0000 (06:11 +0200)]
m_regex_stdlib: A regex provider for the C++11 container std::regex
For it to work you need a standards compliant implementation as for
instance Visual C++ 2010 and 2012 deliver. GCC's libstdc++ does not
implement this class yet.
attilamolnar [Thu, 13 Sep 2012 18:32:39 +0000 (20:32 +0200)]
m_blockamsg, m_sslinfo Don't convert the command name to irc::string in OnPreCommand()
See
44e89aafb69fb266bdf780d12a31947bfff4e330
attilamolnar [Thu, 13 Sep 2012 18:25:41 +0000 (20:25 +0200)]
m_shun Convert enabled commands to uppercase so they match correctly even if they're lowercase in the config
Adam [Thu, 13 Sep 2012 17:50:25 +0000 (13:50 -0400)]
Fixed crash in m_mysql if a module is unloaded while executing
a query and there is only one query in the queue to be executed.
attilamolnar [Sun, 22 Jul 2012 18:08:47 +0000 (20:08 +0200)]
m_cgiirc Take actions after a successful WEBIRC in the OnCheckReady hook, stop using OnUserConnect
attilamolnar [Sun, 22 Jul 2012 18:07:56 +0000 (20:07 +0200)]
m_cgiirc Register the "waiting" extension
attilamolnar [Mon, 9 Jul 2012 14:09:38 +0000 (16:09 +0200)]
m_dnsbl Display <unknown> as the user's nick when annoucing the dnsbl result and the user has an empty nick
attilamolnar [Mon, 9 Jul 2012 13:54:37 +0000 (15:54 +0200)]
m_dnsbl Switch to OnUserSetIP hook
attilamolnar [Mon, 9 Jul 2012 13:35:12 +0000 (15:35 +0200)]
Call OnUserSetIP() whenever the IP of a local user changes, set ident,host,dhost in LocalUser constructor
attilamolnar [Mon, 9 Jul 2012 13:34:44 +0000 (15:34 +0200)]
New OnUserSetIP() hook
attilamolnar [Wed, 12 Sep 2012 23:15:44 +0000 (01:15 +0200)]
m_knock Add support for sending a 710 numeric when a KNOCK succeeds, add a config option to choose between behaviors
Fixes #287 reported by @ElementalAlchemist
Attila Molnar [Thu, 13 Sep 2012 15:32:18 +0000 (08:32 -0700)]
Merge pull request #301 from Adam-/insp20+bindrehash
Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl
ChrisTX [Wed, 8 Aug 2012 22:03:33 +0000 (00:03 +0200)]
configreader: Replace ConfValue here with a ConfigTagList enumeration, as it isn't guaranteed that bind or link tags are unique which causes Issue #270
Original commit edited by @attilamolnar
- fixed wrong line being displayed in generated messages
- removed redundant ServerInstance->Config before ConfTags
attilamolnar [Wed, 12 Sep 2012 23:53:42 +0000 (01:53 +0200)]
Set errno to EINPROGRESS on Windows when the connect() call does not complete immediately, to simulate unix behavior
This makes code that checks errno to determine whether connect() has succeeded or not work properly on Windows
Fixes #298 reported by @butaman
attilamolnar [Wed, 12 Sep 2012 23:01:05 +0000 (01:01 +0200)]
Don't allow banned users to NOTICE a channel when security:restrictbannedusers is on
Fixes #297 reported by @killerrabbit
Adam [Wed, 12 Sep 2012 20:56:47 +0000 (16:56 -0400)]
Fix bug #291 - fix rehashing bind tags not changing them between servers/clients and ssl/nonssl
Attila Molnar [Sun, 9 Sep 2012 18:32:27 +0000 (11:32 -0700)]
Merge pull request #296 from SaberUK/insp20-namespace-pollution
[2.0] Avoid global namespace pollution.
Peter Powell [Thu, 6 Sep 2012 14:38:24 +0000 (15:38 +0100)]
Avoid global namespace pollution.
attilamolnar [Sun, 2 Sep 2012 01:06:59 +0000 (03:06 +0200)]
m_svshold Broadcast SVSHOLD commands sent by servers without ADDLINE
Fixes #293 reported by @DrRenX
attilamolnar [Sun, 8 Jul 2012 13:07:58 +0000 (15:07 +0200)]
Remove unnecessary assignment in BanCacheManager::RemoveEntries
attilamolnar [Sun, 8 Jul 2012 12:53:33 +0000 (14:53 +0200)]
Remove unnecessary cleanup in XLineManager destructor
attilamolnar [Sun, 8 Jul 2012 12:49:18 +0000 (14:49 +0200)]
Remove unnecessary string copy in XLineManager::InvokeStats
attilamolnar [Fri, 24 Aug 2012 22:43:50 +0000 (00:43 +0200)]
m_knock Don't concatenate the knock reason, the command parser does it for us
attilamolnar [Fri, 24 Aug 2012 22:03:38 +0000 (00:03 +0200)]
Add a config option to enable/disable the welcome notice sent to clients after successful registration
Fixes #284 reported by @hoggeh
attilamolnar [Fri, 24 Aug 2012 22:09:00 +0000 (00:09 +0200)]
Remove reference to m_ziplinks from modules.conf.unreal and modules.conf.charybdis
Fixes #285 reported by @hoggeh
ChrisTX [Wed, 8 Aug 2012 21:43:07 +0000 (23:43 +0200)]
listensocket: Fix the two aliasing warnings
m_ssl_gnutls: Fix three warnings:
1. libgcrypt will emit a warning to stdout during runtime that it has not been properly initialized
2. Resolve a warning about invalid narrowing inside a { } block. This is not valid as of C++11.
3. Resolve a warning about a wrong format specifier being used
attilamolnar [Mon, 20 Aug 2012 14:47:24 +0000 (16:47 +0200)]
Change "allowmismatched" to "allowmismatch" in example config
Fixes issue #279 reported by @lethality
Attila Molnar [Tue, 14 Aug 2012 11:22:34 +0000 (04:22 -0700)]
Merge pull request #278 from SaberUK/insp20-fix-windows
Fix Windows build that was broken by
9b66dd6 .
Peter Powell [Tue, 14 Aug 2012 06:02:25 +0000 (07:02 +0100)]
Fix Windows build that was broken by
9b66dd6 .
Robin Burchell [Mon, 13 Aug 2012 08:08:35 +0000 (01:08 -0700)]
Merge pull request #251 from Shawn-Smith/insp20+extbanU
[2.0] Add ExtBan U to match only unregistered users
attilamolnar [Fri, 10 Aug 2012 15:02:04 +0000 (17:02 +0200)]
m_spanningtree Add missing aposthrope to connection failed server notice
ChrisTX [Wed, 8 Aug 2012 23:49:32 +0000 (01:49 +0200)]
m_spanningtree: Resolve issue #250
attilamolnar [Sun, 1 Jul 2012 20:07:47 +0000 (22:07 +0200)]
m_spanningtree Specify the uuid of the remote user when sending server NOTICE/PRIVMSG to him
attilamolnar [Sun, 1 Jul 2012 19:44:02 +0000 (21:44 +0200)]
m_spanningtree Handle ? wildcard as well when processing an incoming ENCAP
attilamolnar [Wed, 8 Aug 2012 12:07:09 +0000 (14:07 +0200)]
m_messageflood Unset +f when the module is unloaded
attilamolnar [Thu, 26 Jul 2012 20:00:02 +0000 (22:00 +0200)]
m_messageflood Make code more readable
Remove unnecessary checks
Use std::string::find() and ::substr() for finding the delimiter and splitting the parameter
attilamolnar [Wed, 4 Jul 2012 13:30:15 +0000 (15:30 +0200)]
m_messageflood Perform at most one std::map::find() per message if we aren't kicking the user
attilamolnar [Thu, 26 Jul 2012 19:45:37 +0000 (21:45 +0200)]
Remove sprintf from the two implementations of ModeHandler::RemoveMode
attilamolnar [Thu, 26 Jul 2012 23:04:24 +0000 (01:04 +0200)]
m_namesx, m_uhnames Don't convert the command name to irc::string in OnPreCommand()
The command is converted into an uppercase string in CommandParser::ProcessCommand()
Peter Powell [Wed, 11 Jul 2012 19:38:17 +0000 (20:38 +0100)]
Don't hard code the branch version.
attilamolnar [Thu, 26 Jul 2012 21:39:07 +0000 (23:39 +0200)]
m_ssl_openssl Port ISUPPORT changes from m_ssl_gnutls to fix #261
Add a config option that can be used to set the value of the SSL token in ISUPPORT (
77b42efc86122d3720f85bddd85a2dc80d0baff9 )
Advertise only one ssl port by default in ISUPPORT (
d30cdacab7100426c3773eafffd50aebf8155bba )
attilamolnar [Thu, 12 Jul 2012 18:36:14 +0000 (20:36 +0200)]
Update example configs
Document m_chanhistory settings
Note that m_censor adds usermode +G as well
Add geoip /STATS G to helpop
Attila Molnar [Thu, 26 Jul 2012 15:54:57 +0000 (08:54 -0700)]
Merge pull request #267 from Shawn-Smith/insp20+versionsfix
[2.0] Removed version line references to other IRCds
Shawn Smith [Thu, 26 Jul 2012 15:49:45 +0000 (11:49 -0400)]
Updated version lines to be more descriptive and remove references to other IRCds
attilamolnar [Sun, 22 Jul 2012 12:42:38 +0000 (14:42 +0200)]
m_ssl_gnutls Allow setting the priorities to use on the ciphers, key exchange algorithms, compression methods and macs
attilamolnar [Wed, 25 Jul 2012 23:53:52 +0000 (01:53 +0200)]
m_hostchange No reason to prioritize after m_cloaking
attilamolnar [Wed, 25 Jul 2012 23:47:07 +0000 (01:47 +0200)]
m_hostchange Remove string copy
attilamolnar [Sun, 24 Jun 2012 16:00:24 +0000 (18:00 +0200)]
m_hostchange Store host change action as an enum value instead of a string, stop using pointers and std::map for no reason, warn about config problems
attilamolnar [Sun, 24 Jun 2012 16:44:47 +0000 (18:44 +0200)]
m_opermotd Add support for viewing opermotd on a remote server (as advertised)
attilamolnar [Sun, 24 Jun 2012 14:10:24 +0000 (16:10 +0200)]
m_uninvite Notify remote users properly
attilamolnar [Sun, 24 Jun 2012 16:37:25 +0000 (18:37 +0200)]
m_connflood Cleanup
attilamolnar [Sun, 8 Jul 2012 13:03:35 +0000 (15:03 +0200)]
Remove negative BanCache entries only when the AddLine is successful instead of removing them before checking anything
attilamolnar [Sat, 21 Jul 2012 11:28:05 +0000 (13:28 +0200)]
Don't hardcode conf/inspircd.conf as the config file, allow the configure script to override it (configure asked for the path but the ircd used the hardcoded path regardless)
Fixes #264 reported by @ampt
attilamolnar [Wed, 18 Jul 2012 11:34:08 +0000 (13:34 +0200)]
m_namesx Handle colons in channel names properly
Fixes #258 reported by @FxChiP
attilamolnar [Sat, 21 Jul 2012 13:49:04 +0000 (15:49 +0200)]
m_ssl_gnutls Compile with -Wno-deprecated-declarations
Fixes #246 reported by @SeLEct-
attilamolnar [Sat, 21 Jul 2012 12:16:07 +0000 (14:16 +0200)]
m_ssl_gnutls Advertise only one ssl port by default in ISUPPORT
Fixes #261 reported by @Shawn-Smith and others
attilamolnar [Thu, 19 Jul 2012 14:14:20 +0000 (16:14 +0200)]
m_ssl_gnutls Move common session initialization code into a function
attilamolnar [Thu, 19 Jul 2012 14:03:06 +0000 (16:03 +0200)]
m_ssl_gnutls Add a config option that can be used to set the value of the SSL token in ISUPPORT
Adam [Wed, 18 Jul 2012 02:10:49 +0000 (22:10 -0400)]
Fixed Windows build
attilamolnar [Tue, 17 Jul 2012 02:15:28 +0000 (04:15 +0200)]
m_noctcp Fix /me not being allowed on +C channels
Fixes #260 reported by @JDowny
attilamolnar [Fri, 13 Jul 2012 19:32:41 +0000 (21:32 +0200)]
m_ssl_openssl Use the system default cipher list if no cipher list is specifed
Attila Molnar [Fri, 13 Jul 2012 19:24:06 +0000 (12:24 -0700)]
Merge pull request #230 from Robby-/insp20-openssl
[2.0] m_ssl_openssl: Show cipher used on connect and allow available ciphers to be customized.
attilamolnar [Fri, 13 Jul 2012 15:38:01 +0000 (17:38 +0200)]
Release 2.0.8
Attila Molnar [Fri, 13 Jul 2012 15:32:54 +0000 (08:32 -0700)]
Merge pull request #249 from Shawn-Smith/insp20+simplemode
[2.0] Simplified the SimpleModeHandlers
attilamolnar [Wed, 4 Jul 2012 15:20:22 +0000 (17:20 +0200)]
m_services_account Simplify mode handlers
attilamolnar [Wed, 4 Jul 2012 15:13:41 +0000 (17:13 +0200)]
Use SimpleUserModeHandler/SimpleChannelModeHandler where possible
attilamolnar [Fri, 15 Jun 2012 01:26:47 +0000 (03:26 +0200)]
Use less memory when rehashing built-in hashmaps
attilamolnar [Thu, 5 Jul 2012 22:22:01 +0000 (00:22 +0200)]
m_blockamsg Remove redundant null pointer and IS_LOCAL() check
attilamolnar [Thu, 5 Jul 2012 01:25:25 +0000 (03:25 +0200)]
m_ident Fix casting User pointers to LocalUser pointers blindly
attilamolnar [Thu, 5 Jul 2012 01:04:41 +0000 (03:04 +0200)]
m_ident Close the socket and mark as done when received something instead of doing it in two places before returning
attilamolnar [Fri, 13 Jul 2012 13:09:30 +0000 (15:09 +0200)]
Move STATS handler back to cmd_stats so it's hotpatchable again
attilamolnar [Fri, 13 Jul 2012 15:17:06 +0000 (17:17 +0200)]
Revert m_xline_db Get the xlines from the core, don't maintain a seperate list (reverse-merged from commit
183b182b3d6c0c32f4d10e131a55adbf54b8be01 )