]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Attila Molnar [Wed, 30 Dec 2015 12:28:49 +0000 (13:28 +0100)]
cmd_names Inherit handler from SplitCommand
Attila Molnar [Wed, 30 Dec 2015 12:27:02 +0000 (13:27 +0100)]
core_ison Switch to Numeric::Builder
Attila Molnar [Wed, 30 Dec 2015 12:23:42 +0000 (13:23 +0100)]
core_ison Inherit handler from SplitCommand
Attila Molnar [Wed, 30 Dec 2015 12:22:01 +0000 (13:22 +0100)]
core_ison Simplify handler
Attila Molnar [Wed, 30 Dec 2015 12:20:21 +0000 (13:20 +0100)]
Add Numeric::Builder
Attila Molnar [Tue, 29 Dec 2015 11:45:02 +0000 (12:45 +0100)]
Convert remaining NOTICEs implemented using WriteServ() to WriteNotice()
Attila Molnar [Tue, 29 Dec 2015 11:40:20 +0000 (12:40 +0100)]
Fix InspIRCd::StripColor() stripping characters that shouldn't be stripped
Attila Molnar [Mon, 28 Dec 2015 16:29:00 +0000 (17:29 +0100)]
cmd_part Send ERR_NOTONCHANNEL if the user is not on the channel
Fixes issue #1117 reported by @ProgVal
Attila Molnar [Mon, 28 Dec 2015 16:27:40 +0000 (17:27 +0100)]
Return true from Channel::PartUser() if the user was on the channel
Attila Molnar [Mon, 28 Dec 2015 16:25:30 +0000 (17:25 +0100)]
Invert if in Channel::PartUser()
Attila Molnar [Mon, 28 Dec 2015 15:59:03 +0000 (16:59 +0100)]
Fix some whitespace issues
Attila Molnar [Mon, 28 Dec 2015 15:50:49 +0000 (16:50 +0100)]
m_cap Fix incorrect syntax of empty CAP LIST reply
Fixes issue #1120 reported by @ProgVal
Attila Molnar [Fri, 18 Dec 2015 08:35:39 +0000 (09:35 +0100)]
m_xline_db Don't flush database when an xline expires
Attila Molnar [Tue, 8 Dec 2015 15:32:50 +0000 (16:32 +0100)]
Strip all control codes except \001 in InspIRCd::StripColor()
Fixes issue #1100 reported by @uecasm
Attila Molnar [Mon, 7 Dec 2015 09:53:53 +0000 (10:53 +0100)]
Merge pull request #1110 from SaberUK/insp20+cap
[2.0] Fix CAP REQ to be atomic like the standard dictates.
Peter Powell [Mon, 7 Dec 2015 09:48:33 +0000 (09:48 +0000)]
Work around irc::spacesepstream not stripping extraneous spaces.
Peter Powell [Thu, 26 Nov 2015 04:07:50 +0000 (04:07 +0000)]
Fix CAP REQ to be atomic like the standard dictates.
Reported by @dequis on IRC.
Attila Molnar [Mon, 7 Dec 2015 09:19:02 +0000 (10:19 +0100)]
Deduplicate code in InspIRCd::FindNick()
Attila Molnar [Mon, 7 Dec 2015 09:17:49 +0000 (10:17 +0100)]
Remove some IS_SERVER() checks
- InspIRCd::FindUUID() and FindNick() no longer return FakeUsers so checking the user returned from those methods is needless
- m_dccallow is calling FindNickOnly() so it had the check needlessly
Attila Molnar [Mon, 7 Dec 2015 09:11:09 +0000 (10:11 +0100)]
Do not insert FakeUsers into UserManager::uuidlist
Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want
Attila Molnar [Mon, 7 Dec 2015 09:07:03 +0000 (10:07 +0100)]
m_spanningtree Try FindServerID() first if the prefix looks like a sid in TreeSocket::FindSource()
Attila Molnar [Sun, 6 Dec 2015 11:19:06 +0000 (12:19 +0100)]
m_spanningtree Change allocation of ModuleSpanningTree::commands to be physically part of the object containing it
Attila Molnar [Sun, 6 Dec 2015 11:16:37 +0000 (12:16 +0100)]
m_spanningtree Implement ServerCommand::RegisterService()
Attila Molnar [Sun, 6 Dec 2015 11:01:02 +0000 (12:01 +0100)]
Merge branch 'master+echomessage-invitenotify'
Attila Molnar [Sun, 6 Dec 2015 10:30:13 +0000 (11:30 +0100)]
Add m_ircv3_invitenotify which implements the IRCv3.2 invite-notify extension
Attila Molnar [Sun, 6 Dec 2015 10:24:39 +0000 (11:24 +0100)]
Add minimum channel rank and exception list parameters to the OnUserInvite hook
Attila Molnar [Sun, 6 Dec 2015 10:20:45 +0000 (11:20 +0100)]
cmd_invite Fire the OnUserInvite event before announcing the invite
Attila Molnar [Sun, 6 Dec 2015 10:20:00 +0000 (11:20 +0100)]
cmd_invite Extend scope of the prefix character variable
Attila Molnar [Sun, 6 Dec 2015 10:14:17 +0000 (11:14 +0100)]
Add m_ircv3_echomessage which implements the IRCv3.2 echo-message extension
Attila Molnar [Sun, 6 Dec 2015 10:09:03 +0000 (11:09 +0100)]
Remove <options:ircumsgprefix> entirely
Attila Molnar [Sun, 6 Dec 2015 10:00:12 +0000 (11:00 +0100)]
Merge branch 'master+cap'
Attila Molnar [Sat, 5 Dec 2015 15:55:09 +0000 (16:55 +0100)]
Add m_ircv3_chghost which implements the IRCv3.2 chghost extension
Attila Molnar [Sat, 5 Dec 2015 15:47:41 +0000 (16:47 +0100)]
m_ircv3 Make WriteNeighborsWithCap() available for use in other modules
Attila Molnar [Sat, 5 Dec 2015 15:42:17 +0000 (16:42 +0100)]
m_cap Make Capability objects compatible with dynamic_references, add Cap::Reference
Attila Molnar [Sat, 5 Dec 2015 15:38:51 +0000 (16:38 +0100)]
Add m_ircv3_capnotify which implements the IRCv3.2 cap-notify extension
Attila Molnar [Sat, 5 Dec 2015 15:24:12 +0000 (16:24 +0100)]
m_cap Save and restore the cap state of a module when it is reloaded
Attila Molnar [Sat, 5 Dec 2015 15:16:49 +0000 (16:16 +0100)]
m_cap Specialize extension item
Attila Molnar [Sat, 5 Dec 2015 15:01:30 +0000 (16:01 +0100)]
m_sasl Advertise SASL mechanism list to supporting clients
Attila Molnar [Sat, 5 Dec 2015 14:58:48 +0000 (15:58 +0100)]
m_cap Provide the OnCapValueChange event and add Cap::Manager::NotifyValueChange()
Attila Molnar [Sat, 5 Dec 2015 14:57:00 +0000 (15:57 +0100)]
m_cap Provide the OnCapAddDel() event
Attila Molnar [Sat, 5 Dec 2015 14:50:07 +0000 (15:50 +0100)]
m_cap Add Capability::GetCapValue(), list capabilities with values
Attila Molnar [Sat, 5 Dec 2015 14:45:59 +0000 (15:45 +0100)]
m_cap Reject CAP CLEAR from clients newer than 3.1
Attila Molnar [Sat, 5 Dec 2015 14:45:20 +0000 (15:45 +0100)]
m_cap Learn the supported capability negotiation protocol of a client from CAP LS
Let modules implementing caps query this information
Attila Molnar [Sat, 5 Dec 2015 14:42:04 +0000 (15:42 +0100)]
m_cap Add Capability::OnList() hook
Attila Molnar [Sat, 5 Dec 2015 14:39:52 +0000 (15:39 +0100)]
m_sasl Create SASLCap which subclasses Cap::Capability and implements OnRequest()
Attila Molnar [Sat, 5 Dec 2015 14:35:05 +0000 (15:35 +0100)]
m_cap Add Capability::OnRequest() hook
Attila Molnar [Sat, 5 Dec 2015 14:29:01 +0000 (15:29 +0100)]
Add rewritten m_cap module
- Caps are now managed by m_cap
- Each cap uses one bit in an extension item shared with other caps
Attila Molnar [Sat, 5 Dec 2015 14:04:29 +0000 (15:04 +0100)]
m_sasl Enforce usage of uuids in server-to-server SASL command
Attila Molnar [Sat, 5 Dec 2015 14:04:00 +0000 (15:04 +0100)]
Nuke m_cap
Attila Molnar [Sat, 5 Dec 2015 14:02:20 +0000 (15:02 +0100)]
m_ircv3 Change signature of WriteNeighboursWithExt to accept a cap, rename
Attila Molnar [Wed, 2 Dec 2015 12:30:24 +0000 (13:30 +0100)]
Merge branch 'master+serviceinit'
Attila Molnar [Tue, 1 Dec 2015 11:23:50 +0000 (12:23 +0100)]
Merge branch 'master+reloadmod'
Attila Molnar [Tue, 1 Dec 2015 11:21:21 +0000 (12:21 +0100)]
Merge branch 'master+whowas-purge-empty'
Attila Molnar [Thu, 26 Nov 2015 14:14:07 +0000 (15:14 +0100)]
core_reloadmodule Allow modules to handle reload failures of other mods
Attila Molnar [Thu, 26 Nov 2015 14:10:00 +0000 (15:10 +0100)]
core_reloadmodule Allow modules to save and restore their own data when reloading another mod
Attila Molnar [Thu, 26 Nov 2015 13:58:18 +0000 (14:58 +0100)]
core_reloadmodule Save and restore module state (modes, extensions) on reload
Attila Molnar [Thu, 26 Nov 2015 12:53:01 +0000 (13:53 +0100)]
Add LocalIntExt and LocalStringExt::unserialize() for non-FORMAT_NETWORK
Attila Molnar [Thu, 26 Nov 2015 12:50:28 +0000 (13:50 +0100)]
Fix FORMAT_INTERNAL handling in LocalIntExt::serialize() and LocalStringExt::serialize()
Attila Molnar [Thu, 26 Nov 2015 12:40:44 +0000 (13:40 +0100)]
Add ExtensionManager::GetExts()
Attila Molnar [Thu, 26 Nov 2015 12:39:56 +0000 (13:39 +0100)]
Add typedef ExtensionManager::ExtMap
Attila Molnar [Thu, 26 Nov 2015 12:38:20 +0000 (13:38 +0100)]
m_services_account Handle FORMAT_INTERNAL when unserializing the accountname
Skip sending the numeric and firing the OnAccountChange event
Attila Molnar [Thu, 26 Nov 2015 12:36:44 +0000 (13:36 +0100)]
Handle module reloading in core_reloadmodule entirely
Attila Molnar [Mon, 23 Nov 2015 11:52:24 +0000 (12:52 +0100)]
Add SERVICE_CUSTOM for services managed by a module
Attila Molnar [Mon, 23 Nov 2015 11:52:03 +0000 (12:52 +0100)]
Implement ExtensionItem::RegisterService()
Attila Molnar [Mon, 23 Nov 2015 11:51:00 +0000 (12:51 +0100)]
Implement ModeHandler::RegisterService()
Attila Molnar [Mon, 23 Nov 2015 11:50:35 +0000 (12:50 +0100)]
Implement Command::RegisterService()
Attila Molnar [Mon, 23 Nov 2015 11:50:02 +0000 (12:50 +0100)]
Add ServiceProvider::RegisterService(), call it from ModuleManager::AddService()
Attila Molnar [Mon, 23 Nov 2015 11:46:59 +0000 (12:46 +0100)]
Extract code that manipulates the ModuleManager::DataProviders map into methods
Attila Molnar [Mon, 23 Nov 2015 10:42:49 +0000 (11:42 +0100)]
core_whowas Purge nicks as soon as they no longer have any entries
Attila Molnar [Mon, 23 Nov 2015 10:37:26 +0000 (11:37 +0100)]
core_whowas Add WhoWas::Manager::PurgeNick()
Attila Molnar [Mon, 23 Nov 2015 10:22:03 +0000 (11:22 +0100)]
core_whowas Remove dead code
Attila Molnar [Mon, 23 Nov 2015 09:53:30 +0000 (10:53 +0100)]
m_operprefix Unset mode on unload
Fixes issue #1109 reported by @Sheogorath-SI
Attila Molnar [Mon, 16 Nov 2015 09:26:27 +0000 (10:26 +0100)]
Refuse to link modules to the core binary in dynamic builds
Fixes issue #912
Attila Molnar [Mon, 16 Nov 2015 09:14:55 +0000 (10:14 +0100)]
Merge pull request #1106 from SaberUK/master+purge-pkg-path
Remove the PKG_CONFIG_PATH extension code from the build system.
Attila Molnar [Sun, 15 Nov 2015 17:49:06 +0000 (18:49 +0100)]
Merge pull request #1103 from rburchell/master-fix-info
Some updates to INFO.
Attila Molnar [Thu, 12 Nov 2015 12:45:57 +0000 (13:45 +0100)]
Merge branch 'master+gnutlsprio'
Peter Powell [Thu, 12 Nov 2015 00:21:31 +0000 (00:21 +0000)]
Remove the PKG_CONFIG_PATH extension code from the build system.
Attila Molnar [Wed, 11 Nov 2015 09:51:00 +0000 (10:51 +0100)]
m_ssl_gnutls Disable SSL v3 and when acting as a server enforce our cipher preferences by default
Attila Molnar [Wed, 11 Nov 2015 09:49:12 +0000 (10:49 +0100)]
m_ssl_gnutls Strip unrecognized tokens from the priority string if configured to do so or when using the default
Attila Molnar [Wed, 11 Nov 2015 09:38:28 +0000 (10:38 +0100)]
m_ssl_gnutls Add GnuTLS::Priority::GetDefault()
Attila Molnar [Tue, 10 Nov 2015 16:33:29 +0000 (17:33 +0100)]
m_ssl_gnutls Remove DH parameter generation
Generating DH params like this blocked the main thread, significantly slowing down startup and it made /rehash ssl freeze the server until the generation finished. External tools such as our genssl should be used to generate DH params.
Attila Molnar [Tue, 10 Nov 2015 16:25:16 +0000 (17:25 +0100)]
m_ssl_openssl Disable compression and SSL v3 by default
Attila Molnar [Tue, 10 Nov 2015 16:25:02 +0000 (17:25 +0100)]
m_ssl_openssl Add workaround for a memory leak in OpenSSL
Attila Molnar [Tue, 10 Nov 2015 16:20:23 +0000 (17:20 +0100)]
Merge branch 'master+alreadysent'
Robin Burchell [Mon, 9 Nov 2015 20:41:21 +0000 (21:41 +0100)]
inspircd: Don't list individual authors on startup.
We already keep track of this in /INFO, so point there instead.
Robin Burchell [Fri, 9 Oct 2015 19:52:50 +0000 (21:52 +0200)]
info: Move ChrisTX and Shawn to former contributors section.
Robin Burchell [Mon, 21 Sep 2015 02:24:54 +0000 (04:24 +0200)]
info: Update my copyright since I've touched this rather extensively.
Robin Burchell [Mon, 21 Sep 2015 02:24:11 +0000 (04:24 +0200)]
info: Move SaberUK to Core Developers.
Reflects reality, he's done a fair chunk of work. :)
Robin Burchell [Mon, 21 Sep 2015 02:22:17 +0000 (04:22 +0200)]
info: Reflect reality, and move everyone who hasn't committed since 2010 to "Former Developers"
Self-explanatory, I hope.
Robin Burchell [Mon, 21 Sep 2015 02:16:24 +0000 (04:16 +0200)]
info: Merge "Regular Contributors" and "Other Contributors" into "Active Contributors"
Neither of the two other titles were really informative, and this now gels with
"Former Contributors".
Robin Burchell [Mon, 21 Sep 2015 02:14:56 +0000 (04:14 +0200)]
info: Remove searchirc.com (now defunct), change irc-junkie credits to Asmo.
Asmo was the guy who deserves thanks, not the site, per-se.
Robin Burchell [Mon, 21 Sep 2015 02:13:14 +0000 (04:13 +0200)]
info: Move the early three of us to a "founding developers" section.
Reflecting the reality that we are of some kind of importance, even if we aren't
really doing much nowdays except sipping cocktails on the beach.
Robin Burchell [Mon, 21 Sep 2015 02:09:35 +0000 (04:09 +0200)]
info: Move jackmcbarn from developers back to contributors.
His last contribution was moving his name here, which doesn't seem to quite gel.
Attila Molnar [Tue, 3 Nov 2015 12:16:19 +0000 (13:16 +0100)]
Remove UserManager::GarbageCollect()
Attila Molnar [Tue, 3 Nov 2015 12:13:00 +0000 (13:13 +0100)]
Move already sent id rollover handling and static LocalUser::already_sent_id into UserManager
Attila Molnar [Tue, 3 Nov 2015 12:09:27 +0000 (13:09 +0100)]
Merge pull request #1104 from SaberUK/insp20+secure-cert
[2.0] Generate a 2048-bit dhparams unless explicitly specified.
Attila Molnar [Tue, 3 Nov 2015 12:08:21 +0000 (13:08 +0100)]
Add UserManager::NextAlreadySentId() and convert all code to use it
Attila Molnar [Tue, 3 Nov 2015 11:40:24 +0000 (12:40 +0100)]
Merge branch 'master+invite'
Attila Molnar [Mon, 2 Nov 2015 12:40:15 +0000 (13:40 +0100)]
core_channel Implement invite (un)serialization
Attila Molnar [Mon, 2 Nov 2015 12:28:55 +0000 (13:28 +0100)]
Rewrite invite system
- Moved out of core, now lives entirely in core_channel
- Accessible using the provided API after including the appropriate header
- Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS
- Expiration of timed invites are implemented using Timers
- When creating a new invite let a non-timed invite override a timed one