Delete obsolete and non-propagated user modes.
[srvx.git] / ChangeLog
index 922686c953d550f14e5cf367e6146b7f3232fe78..bd3963b5908bbba902fd6218e3e4edaa1917f202 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,336 @@
 # arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
 #
 
+2006-09-22 01:56:07 GMT        Michael Poole <mdpoole@troilus.org>     patch-36
+
+    Summary:
+      Delete obsolete and non-propagated user modes.
+    Revision:
+      srvx--devo--1.3--patch-36
+
+    src/hash.h (FLAGS_LOCOP): Delete.
+      (FLAGS_SERVNOTICE): Delete.
+      (FLAGS_HELPER): Delete.
+      (IsServNotice): Delete.
+      (IsHelperIrcu): Delete.
+    
+    src/opserv.c (cmd_whois): Remove IsServNotice() or IsHelperIrcu().
+    
+    src/proto-bahamut.c (mod_usermode): Do not handle +O/+s/+h, we never see them.
+    
+    src/proto-p10.c (irc_user): Do not emit +s or +h, we never set them..
+      (mod_usermode): Do not handle +O/+s/+h, we never see them.
+
+    modified files:
+     ChangeLog src/hash.h src/opserv.c src/proto-bahamut.c
+     src/proto-p10.c
+
+
+2006-09-22 01:48:00 GMT        Michael Poole <mdpoole@troilus.org>     patch-35
+
+    Summary:
+      Merge AddService(), AddClone() into AddLocalUser()
+    Revision:
+      srvx--devo--1.3--patch-35
+
+    src/chanserv.c (init_chanserv): Convert AddService() call to AddLocalUser().
+    
+    src/global.c (init_global): Likewise.
+    
+    src/mod-helpserv.c (register_helpserv): Likewise.
+    
+    src/modcmd.c (cmd_service_add): Likewise.
+      (modcmd_load_bots): Likewise.
+    
+    src/nickserv.c (regex.h): Fall back to rxposix.h from local rx package.
+      (init_nickserv): Convert AddService() call to AddLocalUser().
+    
+    src/opserv.c (opserv_add_reserve): Convert AddClone() call to AddLocalUser().
+      (cmd_clone): Likewise.
+      (add_reserved): Likewise.
+      (init_opserv): Convert AddService() call to AddLocalUser().
+    
+    src/proto-bahamut.c (AddService): Convert into AddLocalUser().
+      (AddClone): Delete.
+    
+    src/proto-p10.c (AddService): Convert into AddLocalUser().
+      (AddClone): Delete.
+    
+    src/proto.h (AddService): Convert into AddLocalUser().
+      (AddClone): Delete.
+
+    modified files:
+     ChangeLog src/chanserv.c src/global.c src/mod-helpserv.c
+     src/modcmd.c src/nickserv.c src/opserv.c src/proto-bahamut.c
+     src/proto-p10.c src/proto.h
+
+
+2006-09-22 01:35:03 GMT        Michael Poole <mdpoole@troilus.org>     patch-34
+
+    Summary:
+      Make IRC message handler 'text' const.
+    Revision:
+      srvx--devo--1.3--patch-34
+
+    src/chanserv.c (chanserv_ctcp_check): Make 'text' parameter const.
+    
+    src/mod-helpserv.c (helpserv_usermsg): Likewise.
+      (helpserv_botmsg): Likewise.
+    
+    src/modcmd.c (svccmd_invoke): Likewise.
+      (modcmd_privmsg): Likewise.
+      (modcmd_chanmsg): Likewise.
+    
+    src/modcmd.h (SVCMSG_HOOK): Likewise.
+    
+    src/proto.h (chanmsg_func_t): Likewise.
+      (privmsg_func_t): Likewise.
+
+    modified files:
+     ChangeLog src/chanserv.c src/mod-helpserv.c src/modcmd.c
+     src/modcmd.h src/proto.h
+
+
+2006-09-22 01:23:43 GMT        Michael Poole <mdpoole@troilus.org>     patch-33
+
+    Summary:
+      Add autogen.sh to distribution tarball.
+    Revision:
+      srvx--devo--1.3--patch-33
+
+    Makefile.am: Add autogen.sh to the "extra" distributed files.
+
+    modified files:
+     ChangeLog Makefile.am
+
+
+2006-09-11 01:03:14 GMT        Michael Poole <mdpoole@troilus.org>     patch-32
+
+    Summary:
+      Support and use G-line lastmod timestamp.
+    Revision:
+      srvx--devo--1.3--patch-32
+
+    src/gline.c (KEY_LASTMOD): New key string.
+      (gline_add): Use new parameter to set lastmod.
+      (gline_add_record): Look for KEY_LASTMOD values.
+      (gline_write_entry): Set KEY_LASTMOD if lastmod is set.
+      (gline_discrim_create): Allow specification of lastmod criteria.
+      (gline_discrim_match): Check lastmod if appropriate.
+    
+    src/gline.h (struct gline): Add lastmod field.
+      (struct gline_discrim): Add lastmod fields.
+      (gline_add): New parameter.
+    
+    src/mod-sockcheck.c (sockcheck_issue_gline): Set lastmod.
+    
+    src/opserv.c (OSMSG_NO_GLINE): New format string.
+      (opserv_block): Set lastmod.
+      (cmd_gline): Set lastmod.
+      (cmd_stats_glines): Allow searching for a particular G-line (just like
+        gtrace).
+      (opserv_new_user_check): Set lastmod.
+      (gtrace_print_func): Use intervals rather than fixed dates and show
+        lastmod.
+    
+    src/opserv.help (GTRACE CRITERIA): Mention lastmod criteria.
+    
+    src/proto-p10.c (irc_gline): Send lastmod if it is set.
+      (cmd_num_gline): Parse out lastmod if it is set.
+      (cmd_gline): Parse out lastmod if it is set.
+
+    modified files:
+     ChangeLog src/gline.c src/gline.h src/mod-sockcheck.c
+     src/opserv.c src/opserv.help src/proto-p10.c
+
+
+2006-09-09 21:37:28 GMT        Michael Poole <mdpoole@troilus.org>     patch-31
+
+    Summary:
+      Network event handler fixup when ChanServ is disabled.
+    Revision:
+      srvx--devo--1.3--patch-31
+
+    src/chanserv.c (init_chanserv): Do not register network event handlers if
+        ChanServ is disabled.
+
+    modified files:
+     ChangeLog src/chanserv.c
+
+
+2006-09-03 15:24:48 GMT        Michael Poole <mdpoole@troilus.org>     patch-30
+
+    Summary:
+      Make srvx compile on cygwin again.
+    Revision:
+      srvx--devo--1.3--patch-30
+
+    configure.in (AC_CHECK_HEADERS): Look for <arpa/inet.h>.
+      (AC_CHECK_FUNCS): Look for inet_aton().
+    
+    src/compat.c: Try to include <arpa/inet.h> so we get inet_addr().
+      (getaddrinfo): If inet_aton() is not provided, use inet_addr() instead.
+    
+    src/compat.h (AI_NUMERICHOST): Define this too.
+    
+    src/tools.c (irc_pton): Use the pedantically correct type for ip4.
+
+    modified files:
+     ChangeLog configure.in src/compat.c src/compat.h src/tools.c
+
+
+2006-09-03 15:21:10 GMT        Michael Poole <mdpoole@troilus.org>     patch-29
+
+    Summary:
+      DelChannelUser call and semantic fixups
+    Revision:
+      srvx--devo--1.3--patch-29
+
+    src/hash.c (DelChannel): Fix type of 'reason' arg to DelChannelUser().
+      (DelChannelUser): Only send part message if user is local.
+    
+    src/proto-bahamut.c (DelUser): Unswap arguments to DelChannelUser().
+      (cmd_part): Move to proto-common.c.
+    
+    src/proto-common.c (part_desc): New structure type.
+      (part_helper): Use it to capture user and reason.
+      (cmd_part): New common function.
+    
+    src/proto-p10.c (cmd_part): Move to proto-common.c.
+      (DelUser): Unswap arguments to DelChannelUser().
+
+    modified files:
+     ChangeLog src/hash.c src/proto-bahamut.c src/proto-common.c
+     src/proto-p10.c
+
+
+2006-09-03 15:17:05 GMT        Michael Poole <mdpoole@troilus.org>     patch-28
+
+    Summary:
+      Do not try to moderate join-flood channels with no OpServ.
+    Revision:
+      srvx--devo--1.3--patch-28
+
+    src/opserv.c (opserv_join_check): As feigling points out, it is bad for a
+        service that does not exist to join a channel and hack modes.
+
+    modified files:
+     ChangeLog src/opserv.c
+
+
+2006-09-03 15:13:31 GMT        Michael Poole <mdpoole@troilus.org>     patch-27
+
+    Summary:
+      Fix ounregnick access check.
+    Revision:
+      srvx--devo--1.3--patch-27
+
+    src/nickserv.c (cmd_ounregnick): Use the standard rank-checking function.
+
+    modified files:
+     ChangeLog src/nickserv.c
+
+
+2006-09-03 15:11:29 GMT        Michael Poole <mdpoole@troilus.org>     patch-26
+
+    Summary:
+      Fix giveownership to how it should be
+    Revision:
+      srvx--devo--1.3--patch-26
+
+    src/chanserv.c (cmd_giveownership): Only require confirmation code if the
+      user has real (normal) access and is not forcing the giveownership.
+
+    modified files:
+     ChangeLog
+
+
+2006-09-03 15:10:58 GMT        Michael Poole <mdpoole@troilus.org>     patch-25
+
+    Summary:
+      Fix giveownership to how it should be
+    Revision:
+      srvx--devo--1.3--patch-25
+
+    src/chanserv.c (cmd_giveownership): Only require confirmation code if the
+      user has real (normal) access and is not forcing the giveownership.
+
+    modified files:
+     ChangeLog src/chanserv.c
+
+
+2006-08-19 13:31:08 GMT        Michael Poole <mdpoole@troilus.org>     patch-24
+
+    Summary:
+      Mark channels as visited when high-level users leave.
+    Revision:
+      srvx--devo--1.3--patch-24
+
+    src/chanserv.c (handle_part): At ThiefMaster's suggestion, update a
+      channel's visited time when a high-level user leaves (parts, gets
+      kicked, or quits).
+
+    modified files:
+     ChangeLog src/chanserv.c
+
+
+2006-08-07 03:11:10 GMT        Michael Poole <mdpoole@troilus.org>     patch-23
+
+    Summary:
+      Require confirmation cookie for giveownership.
+    Revision:
+      srvx--devo--1.3--patch-23
+
+    src/chanserv.c (CSMSG_CONFIRM_GIVEOWNERSHIP): New translation string.
+      (cmd_giveownership): Fail for non-force unconfirmed giveownerships.
+
+    modified files:
+     ChangeLog src/chanserv.c
+
+
+2006-07-29 01:36:39 GMT        Michael Poole <mdpoole@troilus.org>     patch-22
+
+    Summary:
+      Add CSMSG_INVALID_CFLAG string.
+    Revision:
+      srvx--devo--1.3--patch-22
+
+    src/chanserv.c (msgtab): Add entry for "CSMSG_INVALID_CFLAG".
+
+    modified files:
+     ChangeLog src/chanserv.c
+
+
+2006-07-29 01:34:17 GMT        Michael Poole <mdpoole@troilus.org>     patch-21
+
+    Summary:
+      Fix ?csearch max timestamp default value.
+    Revision:
+      srvx--devo--1.3--patch-21
+
+    src/opserv.c (opserv_cdiscrim_create): Fix default value for max_ts.
+        (With an expression only a coder could love.  Improvements wanted.)
+
+    modified files:
+     ChangeLog src/opserv.c
+
+
+2006-07-18 03:13:31 GMT        Michael Poole <mdpoole@troilus.org>     patch-20
+
+    Summary:
+      Update arch-inventory files for in-tree builds.
+    Revision:
+      srvx--devo--1.3--patch-20
+
+    .arch-inventory: Add "libtool" as a preserved file.
+    
+    src/.arch-inventory: Add ".libs" as a preserved directory.  Put a \
+        before the . in .cvsignore to avoid capturing too much.
+
+    modified files:
+     .arch-inventory ChangeLog src/.arch-inventory
+
+
 2006-07-18 02:48:32 GMT        Michael Poole <mdpoole@troilus.org>     patch-19
 
     Summary: