]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Adam [Thu, 8 May 2014 23:18:02 +0000 (19:18 -0400)]
Do not export callers
Their functions are all inlined and Windows gives unresolved symbol errors
Attila Molnar [Tue, 6 May 2014 13:17:12 +0000 (15:17 +0200)]
Remove needless checks from Invitation::Find()
Attila Molnar [Tue, 6 May 2014 13:13:30 +0000 (15:13 +0200)]
Document the Membership and the Invitation class
Attila Molnar [Wed, 30 Apr 2014 22:07:10 +0000 (00:07 +0200)]
m_cgiirc Call User::InvalidateCache() after changing host and dhost in OnCheckReady()
Attila Molnar [Tue, 29 Apr 2014 14:10:22 +0000 (16:10 +0200)]
m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIES
Attila Molnar [Sat, 26 Apr 2014 14:22:03 +0000 (16:22 +0200)]
m_spanningtree Set the bursting flag in the FJOIN handler based on whether the source of the FJOIN is bursting or not
Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting
Fixes issue #839 reported by @joshtek0
Peter Powell [Thu, 24 Apr 2014 12:09:11 +0000 (13:09 +0100)]
Add support for generating DANE TLSA records to genssl.
Attila Molnar [Sat, 26 Apr 2014 11:00:51 +0000 (13:00 +0200)]
Remove redundant IS_LOCAL() checks discovered by static asserts
Attila Molnar [Sun, 20 Apr 2014 17:58:26 +0000 (19:58 +0200)]
Merge pull request #832 from SaberUK/insp20+fix-ssl-question
Backport questions from master's genssl tool.
Attila Molnar [Sun, 20 Apr 2014 12:12:59 +0000 (14:12 +0200)]
Document parameters and return value for the OnNamesListItem() hook
Attila Molnar [Sun, 20 Apr 2014 12:05:21 +0000 (14:05 +0200)]
Change the OnNamesListItem() hook to return ModResult
Return MOD_RES_DENY to exclude the user from the NAMES list
Attila Molnar [Sat, 19 Apr 2014 15:10:01 +0000 (17:10 +0200)]
Fix undefined symbol error on module load if compiled with Clang 3.4
Fixes issue #803 reported by @SaberUK
Peter Powell [Wed, 16 Apr 2014 18:58:01 +0000 (19:58 +0100)]
Backport questions from master's genssl tool.
Attila Molnar [Wed, 16 Apr 2014 11:20:39 +0000 (13:20 +0200)]
m_spanningtree Add ServerCommand::ExtractTS() to convert string to raw TS
Throws a ProtocolException if the input is invalid
Attila Molnar [Wed, 16 Apr 2014 11:08:44 +0000 (13:08 +0200)]
m_spanningtree Throw an exception on protocol violations instead of returning CMD_INVALID
Catch CoreExceptions, log and close the link in OnDataReady()
Attila Molnar [Mon, 14 Apr 2014 15:57:31 +0000 (17:57 +0200)]
Remove WALLCHOPS and WALLVOICES ISUPPORT tokens
These tokens have been deprecated in favour of STATUSMSG for a long time
Attila Molnar [Mon, 14 Apr 2014 15:56:01 +0000 (17:56 +0200)]
core_lusers Don't capitalize "local users" and "global users"
Attila Molnar [Mon, 14 Apr 2014 15:14:10 +0000 (17:14 +0200)]
m_sajoin, m_sapart Support a comma separated list of channels
Issue #818
Attila Molnar [Mon, 14 Apr 2014 15:10:26 +0000 (17:10 +0200)]
m_sajoin Abort and report if the target user is already on the channel
Fixes issue #820 reported by @UselessOper
Attila Molnar [Mon, 14 Apr 2014 15:01:11 +0000 (17:01 +0200)]
m_spanningtree Fix routing of unicast messages
Attila Molnar [Sun, 13 Apr 2014 14:08:49 +0000 (16:08 +0200)]
Compress the Windows installer with zlib to reduce AV false positives
Adam [Sun, 13 Apr 2014 01:46:19 +0000 (21:46 -0400)]
Change Windows libraries to be dynamically linked
Attila Molnar [Thu, 10 Apr 2014 23:03:36 +0000 (01:03 +0200)]
m_ssl_openssl Avoid Applink on Windows by calling PEM_read_bio_DHparams() instead of PEM_read_DHparams()
Attila Molnar [Sun, 13 Apr 2014 14:02:07 +0000 (16:02 +0200)]
Allow uppercase letters in IPv6 CIDR masks
Attila Molnar [Sun, 13 Apr 2014 13:46:10 +0000 (15:46 +0200)]
m_auditorium Handle NULL return from Channel::GetUser() in OnSendWhoLine()
Found by Coverity, CID:
1135647
Attila Molnar [Sun, 13 Apr 2014 13:43:01 +0000 (15:43 +0200)]
Ignore NULL callbacks in ModuleManager::Reload()
Found by Coverity, CID:
1201453
Attila Molnar [Sun, 13 Apr 2014 13:41:35 +0000 (15:41 +0200)]
m_ojoin Remove pointless FindChan() call
Found by Coverity, CID:
1135649
Attila Molnar [Sat, 12 Apr 2014 21:00:01 +0000 (23:00 +0200)]
Change FormatMessage() usage in DLLManager::RetrieveLastError() to match SocketEngine::LastError()
See
4451fd13a1accec8d7c2b1bb7fdafd6e50a2566b
Attila Molnar [Sat, 12 Apr 2014 20:51:10 +0000 (22:51 +0200)]
Filter out newlines from error messages on Windows
Attila Molnar [Sat, 12 Apr 2014 20:38:34 +0000 (22:38 +0200)]
m_watch Be more strict when checking whether the watch list of a user is full
After a rehash MAX_WATCH can become lower than it was before
Attila Molnar [Sat, 12 Apr 2014 20:35:34 +0000 (22:35 +0200)]
Merge pull request #827 from Robby-/insp20-helpopconf
Some more helpop config updates, and fix a few module syntax messages.
Robby- [Sat, 12 Apr 2014 20:18:22 +0000 (22:18 +0200)]
Some more helpop config updates.
Robby- [Sat, 12 Apr 2014 20:08:41 +0000 (22:08 +0200)]
Correct the syntax messages of a few modules.
Peter Powell [Wed, 19 Mar 2014 20:52:56 +0000 (20:52 +0000)]
Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.
Remove channels/high-join-limit privilege
Peter Powell [Wed, 26 Mar 2014 20:02:49 +0000 (20:02 +0000)]
Implement support for numeric character references.
Peter Powell [Sun, 2 Mar 2014 21:23:08 +0000 (21:23 +0000)]
Clean up a bunch of legacy code in the Poll socketengine.
Peter Powell [Wed, 26 Feb 2014 20:19:58 +0000 (20:19 +0000)]
Remove various broken/useless features from the build system.
- Removed support for changing the build directory using configure.
This can still be set using make BUILDPATH=foo.
- Removed support for SPLIT_CC builds. This is not documented
anywhere and is quite useless as it doesn't work.
- Remove STARTSCRIPT from configure; always install the perl
helper.
Attila Molnar [Fri, 11 Apr 2014 13:25:54 +0000 (15:25 +0200)]
m_filter Allow exemption of messages sent to nicks specified in <exemptfromfilter> tags
Issue #655
Attila Molnar [Fri, 11 Apr 2014 13:20:29 +0000 (15:20 +0200)]
Redirect the reader to filters.conf.example for advanced filter configuration
Attila Molnar [Fri, 11 Apr 2014 13:16:26 +0000 (15:16 +0200)]
m_filter Rename config key used in exemptfromfilter from "channel" to "target", but keep compatibility
Attila Molnar [Fri, 11 Apr 2014 13:10:03 +0000 (15:10 +0200)]
m_filter Rename exemptfromfilter field to exemptedchans, use std::set::count()
Attila Molnar [Fri, 11 Apr 2014 13:06:44 +0000 (15:06 +0200)]
m_filter Use case insensitive compare for exempted targets, add typedef for the set
Attila Molnar [Wed, 9 Apr 2014 13:44:19 +0000 (15:44 +0200)]
m_services_account Remove now needless workaround added to 2.0 to display the correct host when cgiirc users log in using SASL
md_5 [Thu, 23 Jan 2014 04:35:47 +0000 (15:35 +1100)]
Fix m_cgiirc to set the user's host straight away when using WEBIRC.
Attila Molnar [Wed, 9 Apr 2014 13:02:10 +0000 (15:02 +0200)]
Avoid double Membership lookup in Channel::UserList()
The user is always inside if UserList() is called from ForceJoin() and the HasUser() result obtained in the /NAMES handler can be reused
Attila Molnar [Wed, 9 Apr 2014 12:57:42 +0000 (14:57 +0200)]
Move checks determining whether a user is allowed to view the NAMES list of a channel from Channel::UserList() to cmd_names
Attila Molnar [Wed, 9 Apr 2014 12:50:37 +0000 (14:50 +0200)]
Eliminate usage of has_one in Channel::UserList()
Attila Molnar [Tue, 8 Apr 2014 15:03:30 +0000 (17:03 +0200)]
m_blockcaps Get rid of needless cast, use unsigned types
Attila Molnar [Tue, 8 Apr 2014 15:02:10 +0000 (17:02 +0200)]
m_blockcaps Simplify CTCP ACTION (/me) detection
Attila Molnar [Tue, 8 Apr 2014 14:48:10 +0000 (16:48 +0200)]
m_spanningtree Don't rely on "m_sha256.so" being loaded, use any "hash/sha256" service provider
Attila Molnar [Tue, 8 Apr 2014 14:41:09 +0000 (16:41 +0200)]
m_spanningtree Remove the (now) undocumented disablehmac config option
Attila Molnar [Mon, 7 Apr 2014 11:59:10 +0000 (13:59 +0200)]
Fix accessibility in intrusive_list_node and return value of operator-- in intrusive_list
Attila Molnar [Mon, 7 Apr 2014 11:40:51 +0000 (13:40 +0200)]
Merge insp20
Attila Molnar [Sun, 6 Apr 2014 14:28:11 +0000 (16:28 +0200)]
Release 2.0.16
Attila Molnar [Sun, 6 Apr 2014 14:25:50 +0000 (16:25 +0200)]
Attila Molnar [Sun, 6 Apr 2014 14:21:04 +0000 (16:21 +0200)]
Fix typo in helpop-full that prevented it from loading and other minor helpop issues
Attila Molnar [Fri, 4 Apr 2014 16:31:10 +0000 (18:31 +0200)]
Fix snotice about disabled command usage being sent to the wrong snomask
Attila Molnar [Fri, 4 Apr 2014 16:30:02 +0000 (18:30 +0200)]
Add REG_ALL checks to treat unregistered users as nonexistent in more cases
Attila Molnar [Fri, 4 Apr 2014 16:17:00 +0000 (18:17 +0200)]
Fix typos and update text in the configure script
Some of these were picked from #448
Attila Molnar [Wed, 19 Mar 2014 14:52:07 +0000 (15:52 +0100)]
Major example configuration and helpop update
Big thanks to @m4z (#621) and @Robby- (#630) who contributed a lot to this
Attila Molnar [Thu, 3 Apr 2014 08:41:39 +0000 (10:41 +0200)]
m_override Deduplicate code
Attila Molnar [Wed, 2 Apr 2014 10:52:20 +0000 (12:52 +0200)]
Remove unused User::WriteCommonExcept()
WriteCommonRaw(msg, false) has similiar functionality with a std::string parameter
Attila Molnar [Wed, 2 Apr 2014 10:50:04 +0000 (12:50 +0200)]
Move User::SendAll() into core_privmsg
This functionality is only used by the PRIVMSG and NOTICE handlers
Attila Molnar [Wed, 2 Apr 2014 10:44:12 +0000 (12:44 +0200)]
Remove User::WriteTo() functions; use User::WriteFrom() instead
The removed functions were rarely used and all they did was to call User::WriteFrom() with swapped arguments. On call sites, WriteTo() hardly offers any readability improvement over WriteFrom().
Attila Molnar [Mon, 31 Mar 2014 09:35:03 +0000 (11:35 +0200)]
Check if Membership::GetPrefixChar() returns 0 before appending it to a string
Spotted by @barosl
Attila Molnar [Sat, 29 Mar 2014 13:15:56 +0000 (14:15 +0100)]
Build coremods on Windows, add general support to the cmake script for building modules consisting of multiple compilation units
Instead of special casing m_spanningtree create one project for each subdir in src/modules/ and src/coremods/
Attila Molnar [Fri, 28 Mar 2014 11:20:39 +0000 (12:20 +0100)]
Convert the global list of dynamic reference pointers to an intrusively linked list
Attila Molnar [Thu, 27 Mar 2014 14:41:47 +0000 (15:41 +0100)]
m_watch Validate targ before use, noticed while rewriting m_watch for 2.2
Attila Molnar [Wed, 26 Mar 2014 16:24:51 +0000 (17:24 +0100)]
m_globalload Don't pass a callback to ModuleManager::Reload() if reloading m_globalload
Attila Molnar [Tue, 25 Mar 2014 13:40:37 +0000 (14:40 +0100)]
m_httpd Fix typo noticed by @SaberUK
Attila Molnar [Tue, 25 Mar 2014 10:03:29 +0000 (11:03 +0100)]
Change storage of UserManager::all_opers to be a vector
Attila Molnar [Tue, 25 Mar 2014 10:02:44 +0000 (11:02 +0100)]
Add typedef OperList to UserManager for use with all_opers
Attila Molnar [Mon, 24 Mar 2014 15:50:48 +0000 (16:50 +0100)]
Add stdalgo::delete_all() that deletes all elements in a container
Attila Molnar [Mon, 24 Mar 2014 15:44:04 +0000 (16:44 +0100)]
Cull ident sockets instead of immediate delete, add stdalgo::culldeleter
Attila Molnar [Mon, 24 Mar 2014 15:39:20 +0000 (16:39 +0100)]
Make it possible to customize how SimpleExtItem should delete items
Attila Molnar [Mon, 24 Mar 2014 15:33:09 +0000 (16:33 +0100)]
Create the stdalgo namespace for container-related algorithms, add stdalgo::vector::swaperase()
Attila Molnar [Sun, 23 Mar 2014 21:10:04 +0000 (22:10 +0100)]
m_operprefix Don't set +y on the oper if hideoper is being unset due to deopering
Fixes issue #801 reported by @UselessOper
Attila Molnar [Mon, 17 Mar 2014 10:05:09 +0000 (11:05 +0100)]
Rewrite clone counting to use one map instead of two
Attila Molnar [Mon, 17 Mar 2014 10:04:22 +0000 (11:04 +0100)]
m_connectban Don't depend on the definition of clonemap
Attila Molnar [Sat, 15 Mar 2014 14:42:30 +0000 (15:42 +0100)]
Fix invalid iterator use when removing modes in ModuleManager::DoSafeUnload()
Attila Molnar [Sat, 15 Mar 2014 14:38:09 +0000 (15:38 +0100)]
Change allocation of InspIRCd::Timers to be physically part of the object containing it
Attila Molnar [Sat, 15 Mar 2014 14:29:25 +0000 (15:29 +0100)]
Change allocation of UserManager::clientlist to be physically part of the object containing it
Attila Molnar [Sat, 15 Mar 2014 14:21:18 +0000 (15:21 +0100)]
Add UserManager::GetUsers()
Attila Molnar [Fri, 14 Mar 2014 12:04:10 +0000 (13:04 +0100)]
Change allocation of UserManager::uuidlist to be physically part of the object containing it
Attila Molnar [Fri, 14 Mar 2014 11:59:19 +0000 (12:59 +0100)]
Change allocation of InspIRCd::chanlist to be physically part of the object containing it
Attila Molnar [Fri, 14 Mar 2014 11:56:20 +0000 (12:56 +0100)]
Add InspIRCd::GetChans(), remove ChannelCount()
Attila Molnar [Fri, 14 Mar 2014 11:50:14 +0000 (12:50 +0100)]
m_permchannels Remove pointless cleanup ceremony in cull()
Attila Molnar [Thu, 13 Mar 2014 14:41:10 +0000 (15:41 +0100)]
Fix NAMES list getting truncated on servers having an excessively long server name
Attila Molnar [Thu, 13 Mar 2014 14:37:19 +0000 (15:37 +0100)]
Backport "Refactor Channel::UserList() to use std::string"
This gets rid of questionable snprintf() usage, reported by @hifi
Backported commit:
8a06d54076551387f83a29360478ee6605e241b6
Attila Molnar [Wed, 12 Mar 2014 12:50:41 +0000 (13:50 +0100)]
Deduplicate and move the *MatchesEveryone() functions to core_xline
Attila Molnar [Tue, 11 Mar 2014 12:20:21 +0000 (13:20 +0100)]
cmd_names Allow opers having the channels/auspex priv to view the NAMES list of +s channels from outside
A version of the check removed by this commit is in Channel::UserList() which takes the priv into account
Discovered by @Cronus89
Attila Molnar [Mon, 10 Mar 2014 11:17:41 +0000 (12:17 +0100)]
Improve detection for non-cidr masks to prevent unwanted matches
Fixes issue #762 reported by @neoinr
Attila Molnar [Sun, 9 Mar 2014 16:17:10 +0000 (17:17 +0100)]
cmd_quit Display quit messages of remote users
Attila Molnar [Sun, 9 Mar 2014 16:08:55 +0000 (17:08 +0100)]
Move the wallops mode from the core into core_wallops
Peter Powell [Thu, 6 Mar 2014 21:43:36 +0000 (21:43 +0000)]
Make the maximum hostname length configurable in the config.
Peter Powell [Fri, 7 Mar 2014 15:47:52 +0000 (15:47 +0000)]
Fix m_permchannels not prepending the path when reading the config.
Attila Molnar [Fri, 7 Mar 2014 17:09:21 +0000 (18:09 +0100)]
Move admin settings into core_info
Attila Molnar [Fri, 7 Mar 2014 17:03:01 +0000 (18:03 +0100)]
Move {prefix|suffix|fixed}{quit|part} into core_user
Attila Molnar [Fri, 7 Mar 2014 16:41:20 +0000 (17:41 +0100)]
Read the die and restart password and their hash type on demand
Attila Molnar [Thu, 6 Mar 2014 11:24:36 +0000 (12:24 +0100)]
Update detection in module loading commands that relied on old command module names