Document operator privilege settings.
[ircu2.10.12-pk.git] / ChangeLog
index 680ce49878b62bcdb623cba1ae08491b2fd6d5e4..6086aed9e9f825c215d8dda9e7d28057b0d7b739 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,404 @@
+2004-05-16  Michael Poole <mdpoole@troilus.org>
+
+       * doc/example.conf: Document operator privilege settings.
+
+2004-05-16  Michael Poole <mdpoole@troilus.org>
+
+       Get rid of CONF_LOCOP; use PRIV_PROPAGATE instead.
+
+       * ircd/ircd_parser.y (invert): New variable.
+       (operlocal): Remove production.
+       (operpriv): Use "invert" variable.
+       (privtype): Add LOCAL alternative production.
+
+       * ircd/m_oper.c (m_oper): Remove references to CONF_LOCOP; replace
+       with CONF_OPERATOR or PRIV_PROPAGATE checks, as appropriate.
+
+       * ircd/s_conf.c (AuthorizationCheckResult, find_conf_exact):
+       Likewise.
+
+       * ircd/s_stats.c (report_array, statsinfo): Likewise.
+
+       * ircd/s_user.c (set_user_mode): Likewise.
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * patches/diffs/astralnet.diff, patches/diffs/nocfv.diff: Remove
+       patches obsoleted by F: lines.
+
+       * patches/diffs/topicburst.diff: Remove patch that was integrated
+       into the main code.
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-05 -MDP]
+
+       * ircd/m_whois.c: On remote whois, show +s local channels with a *
+       prefix to opers.
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * include/gline.h, ircd/gline.c, ircd/s_err.c: Forward port a lot
+       of gline-related fixes from 2.10.11.  Things that work are due to
+       Kev, Isomer, Spike, hikari, and probably others; CVS makes it hard
+       to figure out who did what.  Any mistakes are mine.
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-05 -MDP]
+
+       * ircd/s_misc.c, ircd/s_user.c: added numnick to SNO_CONNEXIT
+       messages (so you can match EXIT's to CONN's)
+
+2004-05-15  Reed Loden <reed@reedloden.com>
+
+       [Original ChangeLog date: 2003-05-01 -MDP]
+
+       * ircd/s_err.c: Added network to text and edited 001 a bit.
+
+       * ircd/s_user.c: Send network with 001.
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_user.c (add_target): Move free target invite check...
+
+       * ircd/s_user.c (check_target_limit): to here, matching 2.10.11's
+       behavior.
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-23 -MDP]
+
+       * ircd/s_user.c: Don't credit users with an extra attempt if they
+       are klined/glined, throttle them!
+
+2004-05-15  Jeekay <jeekay@netgamers.org>
+
+       [Original ChangeLog date: 2003-04-24 -MDP]
+
+       * ircd/s_user.c: Altered (K-lined) to depend on find_kill type
+
+2004-05-15  splidge <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2003-09-03 -MDP]
+
+       * ircd/s_user.c: Made hide_hostmask() not show bogus joins for
+       channels where the user is a zombie.
+
+2004-05-15  beware <steendijk@xs4all.nl>
+
+       [Original ChangeLog date: 2003-10-25 -MDP]
+       
+        * ircd/m_whois.c: Fixed /whois comma separated list with wildcards
+       cpu hog bug
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_conf.c (rehash): Call clear_quarantines on rehash since
+       2.10.11 does.  Show ident and IP for clients being killed by new
+       G-lines and K-lines.
+
+2004-05-15  hikari <shadow@undernet.org>
+
+       [Original ChangeLog date: 2003-06-27 -MDP]
+       
+       * ircd/ircd.c: After thought, update the next check time based on
+       when an unregistered client should expire.
+
+2004-05-15   hikari <shadow@undernet.org>
+
+       [Original ChangeLog date: 2003-06-22 -MDP]
+
+       * ircd/ircd.c: Fixed check_pings() - shouldn't be any problem with
+       clients not being able to connect anymore.
+
+2004-05-15  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/channel.c (can_join): Revert to using IsInvited() rather
+       than walking the list directly.
+       (modebuf_flush_int): Fix errant HEAD_IN_SAND_SNOTICES check to
+       use feature_bool(FEAT_HIS_SNOTICES) instead.
+
+2004-05-15  Kevin L Mitchell  <klmitch@mit.edu>
+
+       [Original ChangeLog date: 2004-01-31 -MDP]
+
+       * ircd/channel.c (mode_parse_key): don't allow , in keys!
+
+2003-04-12  David Mansell (splidge) <splidge@sf.net>
+
+       [Original ChangeLog date: 2003-04-14 -MDP]
+
+       * ircd/channel.c: When keys and limits conflict on burst, the key
+       which is first alphabetically or the limit which is lower will be 
+       used by both servers. This matches pre-2.10.11 behaviour.  
+       Closes: (#713930)
+
+2004-05-15  David Mansell <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2002-12-28 -MDP]
+
+       * ircd/channel.c (mode_parse_limit): don't allow -l when no limit is
+       set, don't allow -l with negative parameter (or unsigned >2^31).
+2004-05-15  David Mansell <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2002-12-31 -MDP]
+
+       * ircd/m_burst.c (ms_burst): when kicking net riders, clear
+       invites too.
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-04 -MDP]
+
+       * ircd/s_serv.c: Burst glines/jupes early
+
+2004-05-15  volta <volta2@gmx.de>
+
+       [Original ChangeLog date: 2003-04-26 -MDP]
+
+         * ircd/m_userip.c, ircd/m_userhost.c: Small fix, that
+         allows users to see their own ip & hostname. (Should solve
+         all problems with dcc)
+
+2004-05-15  Kevin L Mitchell  <klmitch@mit.edu>
+
+       [Original ChangeLog date: 2003-06-13 -MDP]
+
+       * ircd/m_settime.c: it's supposed to be %ld, not %l
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2004-03-20 -MDP]
+
+       * ircd/m_invite.c: Disallow invites to non existant channels
+
+2004-05-15  David Mansell <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2003-04-26 -MDP]
+
+       * ircd/m_invite.c: let +k users invite into channels they aren't on.
+
+2004-05-15  hikari <shadow@undernet.org>
+
+       [Original ChangeLog date: 2003-07-13 -MDP]
+       
+       * ircd/IPcheck.c: Fixed (another) overflow problem in
+       ip_registry_check_local()
+
+       [Original ChangeLog date: 2003-06-29 -MDP]
+
+       * ircd/IPcheck.c: Fixed overflow problem in
+       ip_registry_connect_fail()
+
+2004-05-15 Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-05-02 -MDP]
+       
+       * ircd/IPcheck.c: Added assert()'s to check for underflow
+
+2004-05-15  Kevin L Mitchell  <klmitch@mit.edu>
+
+       [Original ChangeLog date: 2003-11-22 -MDP]
+
+       * tools/wrapper.c: commit uid on chroot fix from ubra
+
+       * ircd/version.c.SH: fix generation generation
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-23 -MDP]
+       
+       * ircd/os_*.c, ircd/ircd_features.c: Default changing window sizes
+       to off.  if an admin is smart enough to understand these features
+       they can enable them manually.
+
+2004-05-15  splidge  <splidge@quakenet.org>
+
+       [Original ChangeLog date: 2003-03-26 -MDP]
+
+       * ircd/include/ircd_features.h, include/ircd_osdep.h,
+         ircd/ircd_features.c, ircd/listener.c, ircd/os_bsd.c, 
+         ircd/os_generic.c, ircd/os_linux.c, ircd/os_openbsd.c
+         ircd/os_solaris.c, ircd/s_bsd.c: Patch to allow socket bufs to be 
+         altered via F: lines
+
+2004-05-15  Isomer <isomer@undernet.org>
+
+       [Original ChangeLog date: 2003-11-18 -MDP]
+
+       * ircd/s_auth.c, ircd/res_libresolv.c, ircd/res_adns.c: Clean up
+       the preregistration subsystem allowing customisation of timers,
+       make the dns resolver stats oper only, and make it much more clear
+       what all the numbers are.
+
+2004-05-15  Spike <spike@undernet.org>
+
+       [Original ChangeLog date: 2003-11-23 -MDP]
+
+       * ircd/IPcheck.c: Make IPcheck constants configurable
+
+2004-05-14  Kevin L Mitchell  <klmitch@mit.edu>
+
+       [Original ChangeLog date: 2003-11-22 -MDP]
+
+       * ircd/m_nick.c (m_nick): truncate the nickname to the minimum of
+       the maximum allowed length (NICKLEN) or the allowed nickname
+       length specified as the NICKLEN feature
+
+       * ircd/ircd_features.c: declare NICKLEN and set its default value
+       to 9
+
+       * include/supported.h: add MAXNICKLEN to ISUPPORT and do a little
+       rearranging...
+
+       * include/ircd_features.h: add NICKLEN feature
+
+       * include/ircd_defs.h (NICKLEN): raise max NICKLEN to 15
+
+       * doc/readme.features: document new NICKLEN feature
+
+       * doc/example.conf: list new NICKLEN F-line
+
+2004-05-14  Matthias Crauwels <ultimate_@wol.be>
+
+       [Original ChangeLog date: 2003-06-08 -MDP]
+       
+       * ircd/gline.c: fixed the counting bug in gline_memory_count
+       * ircd/jupe.c: fixed the counting bug in jupe_memory_count
+
+2004-05-14  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_mode.c (ms_mode): Do not always try to call
+       set_user_mode() when parv[1] is a channel name.
+
+2004-05-10  Michael Poole <mdpoole@troilus.org>
+
+       Implement a per-connection-class default usermode option.
+
+       * doc/example.conf: Illustrate how to use the option.
+
+       * include/class.h (struct ConnectionClass): New "default_umode"
+       field.
+       (ConfUmode): New macro.
+
+       * include/client.h (client_get_default_umode): New function.
+
+       * ircd/client.c (client_get_default_umode): Implement it.
+
+       * ircd/ircd_lexer.l (usermode): New token.
+
+       * ircd/ircd_parser.y (classblock, etc): New syntax.
+
+       * ircd/s_user.c (register_user): Set default user modes for user.
+       This sends the new mode to the user, so the explicit send later
+       is no longer necessary.
+
+2004-05-10  Michael Poole <mdpoole@troilus.org>
+
+       Forward port of asuka-topicburst.patch from Quakenet's "Asuka"
+       patch set.
+
+       * include/ircd_features.h (FEAT_TOPIC_BURST): Add new feature.
+
+       * ircd/channel.c (send_channel_modes): If F:TOPIC_BURST:TRUE,
+       also send a TOPIC to the peer.
+
+       * ircd/ircd_features.c (FEAT_TOPIC_BURST): Add new boolean
+       feature, defaulting to FALSE.
+
+       * ircd/m_topic.c (do_settopic): Add argument for topic timestamp,
+       and allow F:HIS_BANWHO to hide the originator of the topic.
+       (ms_topic): Parse optional timestamp arguments to TOPIC, and use
+       them to decide whether to ignore the topic.
+
+2004-05-10  Michael Poole <mdpoole@troilus.org>
+
+       Forward port of delayed-join.patch from Quakenet's "Asuka" patch
+       set (which was a port of code I wrote for the other ircu).
+
+       * include/channel.h (CHFL_DELAYED): New membership flag.
+       (MODE_DELJOINS, MODE_WASDELJOINS): New channel modes.
+       (infochanmodes): Add +D to list of supported channel modes.
+       (IsDelayedJoin, SetDelayedJoin, ClearDelayedJoin): New macros.
+       (member_can_send_to_channel, client_can_send_to_channel): Add
+       "reveal" parameter to indicate whether a request should cause
+       a join-delayed user to become visible.
+       (RevealDelayedJoin, CheckDelayedJoins): New functions.
+
+       * include/numeric.h (RPL_DELNAMREPLY): New numeric.
+       
+       * include/s_user.h (NAMES_DEL): New flag for do_names().
+
+       * include/supported.h (FEATURESVALUES2): Add +D to list of
+       supported channel modes.
+
+       * ircd/channel.c (remove_member_from_channel,
+       member_can_send_to_channel, client_can_send_to_channel,
+       joinbuf_join): Handle join-delayed users.
+       (channel_modes, modebuf_flush_int, modebuf_mode, modebuf_flush,
+       modebuf_extract, mode_process_clients, mode_parse_mode,
+       mode_parse): Handle delayed-join channels.
+       (RevealDelayedJoin, CheckDelayedJoins): New functions.
+
+       * ircd/ircd_relay.c (relay_channel_message, relay_channel_notice,
+       server_relay_channel_message, server_relay_channel_notice): Add
+       argument for "reveal" parameter to client_can_send_to_channel().
+
+       * ircd/m_burst.c (ms_burst): Support MODE_DELJOINS channels.
+
+       * ircd/m_clearmode.c (do_clearmode): Support clearing mode +D.
+
+       * ircd/m_join.c (join0): Pass the CHFL_DELAYED flag when parting a
+       channel with JOIN 0.
+
+       * ircd/m_kick.c (m_kick): For join-delayed members, only send the
+       KICK to the kicker and kickee.  Then check whether +d can be
+       removed.
+
+       * ircd/m_names.c (do_names): Show join-delayed users if and only
+       if the NAMES_DEL flag is given.  If NAMES_DEL is given, also use
+       RPL_DELNAMREPLY instead of RPL_NAMREPLY.
+       (m_names): If NAMES -D, pass NAMES_DEL to do_names().
+
+       * ircd/m_part.c (m_part, ms_part): Add "reveal" argument for
+       member_can_send_to_channel().  Set CHFL_DELAYED join in joinbuf if
+       the user is join-delayed.
+
+       * ircd/m_quit.c (m_quit): Handle join-delayed users and new
+       argument for member_can_send_to_channel().
+
+       * ircd/m_topic.c (do_settopic): If a join-delayed channel member
+       changes the topic, reveal the member.
+
+       * ircd/m_wallchops.c (m_wallchops, ms_wallchops): Add argument for
+       "reveal" parameter to client_can_send_to_channel().
+
+       * ircd/m_wallvoices.c (m_wallvoices, ms_wallvoices): Likewise.
+
+       * ircd/m_who.c (m_who): Skip join-delayed members where we skip
+       zombies.
+
+       * ircd/m_whois.c (do_whois): Use '<' as a prefix for join-delayed
+       users.  Use slightly more efficient macros rather than function
+       calls to test for ops and voice.
+
+       * ircd/s_err.c (RPL_DELNAMREPLY): New numeric response string.
+
+       * ircd/s_user.c (hide_hostmask): For users with no modes in a
+       join-delayed channel, do not send JOIN to other members after the
+       QUIT :Registered.
+
+       * ircd/send.c (sendcmdto_common_channels_butone): Skip
+       join-delayed users where we skip zombies.
+       
+2004-05-10  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd_events.c: Actually reference and try to use the epoll
+       event engine.  Omitted from yesterday's commit.
+
 2004-05-09  Michael Poole <mdpoole@troilus.org>
 
        Forward port of Paul "Zoot" Chang's pseudo-command.patch and