X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ChangeLog;h=f119950d43091a8e3db9e0d0039124a0dd66db90;hp=195ee5e34d729fe6d99db4ba3379fa456e5dcb2a;hb=79f4396535284e060d4a4ada4a4cc897cd5f69d3;hpb=552ad7737818bd485349ea8cb42d7e547f496417 diff --git a/ChangeLog b/ChangeLog index 195ee5e..f119950 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,321 @@ +2009-07-05 Michael Poole + + * ircd/m_gline.c (ms_gline): Fix the sense of the test for + strtoul() when parsing G-line lifetimes -- zero indicates failure. + +2009-07-05 Michael Poole + + * ircd/channel.c (mode_parse_client): Ignore anything after a + colon when the mode is CHFL_VOICE or the mode is being removed. + +2009-07-04 Michael Poole + + * ircd/s_auth.c (find_conf_client): New function. + (preregister_user): Use it to avoid assigning a second conf class + on client connection. + (auth_ping_timeout): Send the "T" message only if we do not kill + the client (and thus send a "D" message). + (auth_find_classs_conf): Do not allow IAuth to select a disabled + class. Unlink new conf items from GlobalConfList. + (iauth_cmd_done_client): Handle failures from attach_conf(). + (iauth_parse): Behave decently when a client is killed by the + message handler. + + * tools/iauth-test (%handlers): Add entries to help test this. + +2009-07-04 Michael Poole + + * include/channel.h (RevealDelayedJoinIfNeeded): Declare. + + * ircd/channel.c (RevealDelayedJoinIfNeeded): Implement. + + * ircd/ircd_relay.c (relay_channel_message): Only reveal the user + if he passes the check_target_limit() test. + (relay_channel_notice): Likewise. + + * ircd/m_wallchops.c (m_wallchops): Likewise. + + * ircd/m_wallvoices.c (m_wallvoices): Likewise. + + * ircd/s_user.c (check_target_limit): Micro-optimize to only check + the user's channel list for invites if we are about to deny it. + +2009-03-25 Michael Poole + + * ircd/ircd.c (main): Unconditionally set +6 flag on self. + +2009-03-25 Michael Poole + + * ircd/s_auth.c (iauth_cmd_hostname): Properly assign the spoofed + hostname (yea, even as the "real" host) in the hurry state. + + * tools/iauth-test: Add reminder about perl's RTMIN signal and a + new handler to exercise the N command in the hurry state. + +2009-03-25 Michael Poole + + * ircd/channel.c (mode_parse): Add Doxygen comment. When bouncing + a mode from a desynced U-lined server, do not set the modes or + send the change as a HACK(4) message. + +2009-03-17 Michael Poole + + * ircd/send.c (sendcmdto_match_butone): Move match_it() to the end + of the if() to minimize the number of expensive function calls. + +2009-03-17 Michael Poole + + * patches/diffs/antispambot.diff: Forward port a patch by Dianora + to add rudimentary spam bot detection to ircu. + +2009-02-08 Michael Poole + + * include/client.h (ClearHub): New macro. + + * ircd/ircd.c (main): Set IPv6 flag on &me if appropriate. + + * ircd/ircd_features.c (feature_notify_hub): New function. + (features[]): Register it for FEAT_HUB. + + * ircd/ircd_parser.y (connectblock): Do not default maxlinks to + 65535 unless "hub" is specified. + (clientblock): Reset maxlinks on cleanup. + +2009-02-08 Michael Poole + + * ircd/channel.c (clean_channelname): Delete this function; it is + no longer used, and had the same length-off-by-one bug. + + * ircd/m_join.c (m_join): Use > instead of >= with CHANNELLEN. + + * tests/ircd.conf: Set CHANNELLEN to make it easier to test this. + + * tests/bug-2328334.cmd: New file for regression testing. + +2009-02-08 Michael Poole + + * include/numeric.h (ERR_INVALIDKEY): Define new numeric. + + * ircd/s_err.c (ERR_INVALIDKEY): Give it a text string. + + * ircd/channel.c (is_clean_key): Rename from clean_key(), and make + this function responsible for sending error messages to the client + when necessary. + (mode_parse_key): Update to match the new is_clean_key() behavior. + (mode_parse_upass): Likewise. + (mode_parse_apass): Likewise. + + * tests/channel-keys.cmd: New file for regression testing. + +2009-02-08 Michael Poole + + * include/gline.h (gline_forward_deactivation): Undeclare. + + * ircd/m_gline.c (mo_gline): Remove the special case to call + gline_forward_deactivation(). + + * ircd/gline.c (gline_add): Mention if the new G-line is already + deactivated. + (gline_forward_deactivation): Delete implementation. + + * tests/glines.cmd: Update the expected output to match. + +2009-01-12 Michael Poole + + * ircd/m_topic.c (do_settopic): Just before sending the topic out, + check to see if the user is join-delayed and should be shown. + + * ircd/m_wallchops.c (m_wallchops): Allow this command to expose + join-delayed users. + (ms_wallchops): Likewise. + + * ircd/m_wallvoices.c (m_wallvoices): Allow this command to expose + join-delayed users. + (ms_wallvoices): Likewise. + +2009-01-12 Michael Poole + + * ircd/channel.c (modebuf_mode_uint): Fix bouncing of limit changes. + +2009-01-12 Michael Poole + + * ircd/gline.c (count_users): Accept "flags" mask to limit count + to local users. + (gline_add): Pass the flags to count_users(). + +2009-01-12 Michael Poole + + * include/gline.h (gline_forward_deactivation): Declare. + + * ircd/gline.c (count_users): Use ipmask-based checks too. + (gline_add): Require flags to have exactly one of the GLINE_GLOBAL + and GLINE_LOCAL bits set. + (gline_forward_deactivation): Implement new function. + (gline_find): Only require the GLINE_LOCAL flag to be set in the + gline structure; infer GLINE_GLOBAL when it is cleared. (This + matches the value and usage of GLINE_MASK.) + + * ircd/m_gline.c (ms_gline): Default lastmod to the known lastmod + time for GLINE_LOCAL_{DE,}ACTIVATE. + (mo_gline): Check that expiration times parse as expected. Reject + "*" as a target for GLINE_LOCAL_{DE,}ACTIVATE. Require reason and + expiration time for new G-lines. Allow deactivation of an unknown + G-line without creating it ("so-and-so ... creating new G-line" is + a confusing message for a deactivation). + + * tests/glines.cmd: New test script for G-line parsing tests. + + * tests/ircd.conf: Enable CONFIG_OPERCMDS for glines.cmd. + + * tests/ircd-2.conf: Likewise. + + * tests/readme.txt: Add section on command syntax. + + * tests/test-driver.pl: Report line numbers more clearly. + Fix (somewhat kludgily) the brokenness of consecutive "expect" + lines, as demonstrated by the numeric 219 and 281 expects in + glines.cmd. + +2008-11-17 Michael Poole + + * ircd/m_kick.c (ms_kick): Properly handle crossing net rider and + normal KICKs (in the case where we get the normal kick first). + +2008-11-17 Michael Poole + + * ircd/match.c (match): Fix an error in backtracking (apparently + exacerbated by escapes). + + * ircd/test/ircd_match_t.c: Update headers and make sure we have a + mmap() anonymous request flag. + (test_match): New function. + (do_match_test): Use it instead of calling match() directly. + +2008-09-07 Perry Lorier + + * ircd/m_kill.c: Remove the . from the end of the nickname in kill + messages to make cut and pasting easier. + +2008-03-20 Michael Poole + + * ircd/ircd_string.c (ircd_aton_ip4): Reject strings with more + than 3 dots in them. + + * ircd/test/ircd_in_addr_t.c (test_addrs): Update the expected + parsing for a bare IPv4 address to a IPv4-mapped address. + (test_masks): Add a test for the ircd_string.c change. + +2008-03-20 Kevin L. Mitchell + + * include/client.h: IsLocOp() now checks to see if its MyUser() as + well; IsAnOper() uses IsOper() and IsLocOp() instead of directly + testing the flags + +2008-03-15 Michael Poole + + * ircd/s_bsd.c (init_connection_limits): Remove errant apostrophe. + Print text error message when unable to set max FDs. + +2008-03-15 Michael Poole + + * ircd/s_user.c (set_user_mode): Check for end of argument list + when processing 'r' modes. + +2008-01-09 Kevin L. Mitchell + + * include/patchlevel.h (PATCHLEVEL): bump patchlevel + +2008-01-02 Kevin L. Mitchell + + * ircd/m_burst.c (ms_burst): surround protocol_violation() and + break in braces to do what Jan Krueger was trying to do... + +2008-01-03 Jan Krueger + + * ircd/m_burst.c: prevent leaking the next nick into the current one's + oplevel. Add protocol_violation when an invalid nick flag appears. + +2007-12-28 Kevin L. Mitchell + + * ircd/channel.c: add MODE_REGISTERED, mapped to +R; arrange to + only have it settable or clearable by remote users or /opmode + + * include/supported.h (FEATURESVALUES2): update to include 'R' + channel mode + + * include/channel.h: add MODE_REGISTERED, update infochanmodes to + include 'R' channel mode + +2007-12-13 Kevin L. Mitchell + + * ircd/m_gline.c (ms_gline): if we got an activate or deactivate + for a global G-line we never heard of, and we cannot create it + because no expire time was sent, manually propagate the G-line + instead of trying to call gline_add() + + * ircd/gline.c (make_gline): never allow a G-line to be created + with a 0 expire time + +2007-12-03 Michael Poole + + * include/patchlevel.h (PATCHLEVEL): Bump for u2.10.12.12 release. + +2007-12-03 Michael Poole + + * doc/Makefile.in (DATAROOTDIR): Define. + (DATADIR): Likewise. + +2007-11-30 Kevin L. Mitchell + + * ircd/version.c.SH: correct invalid syntax in shell case/esac + + * ircd/ircd_lexer.l: provide an implementation of yywrap() so we + no longer have to link against -lfl + + * configure.in: drop tests on LEXLIB and don't add it to the list + of libs + + * ircd/gline.c (gline_add): apply too-many-users test to realname + G-lines *only* when the origin is my user (or a user, for + remote-local G-lines) + +2007-11-28 Michael Poole + + * include/patchlevel.h (PATCHLEVEL): Bump for pre12 development. + +2007-11-28 Michael Poole + + * include/patchlevel.h (PATCHLEVEL): Bump for u2.10.12.11 release. + +2007-11-28 Michael Poole + + * tests/test-driver.pl (drv_default): Fix expect for numeric + responses that have non-trivial parameters. + (check_expect): Simplify (and fix) sender name check. + + * tests/bug-1640796.cmd: Update expect NNN for new POE behavior + and part to not try to part the channel named "leaving". + + * tests/bug-1674539.cmd: Update expect NNN for new POE behavior. + + * tests/bug-1840011.cmd: New test script. + +2007-11-28 Michael Poole + + * ircd/channel.c (mode_ban_invalidate): Clarify Doxygen comments. + (apply_ban): Only block narrower bans if the wider ban is active. + +2007-11-24 Michael Poole + + * ircd/m_names.c (do_names): Don't try to re-initialize the start + of buf[] for each line. It's done the first time around and that + can be reused safely. + +2007-11-17 Michael Poole + + * ircd/m_stats.c (m_stats): Properly assign param before it is + used in the hunt_server_cmd() call. + 2007-11-17 Michael Poole * ircd/s_auth.c (iauth_disconnect): Avoid destroying invalid