Allow clients and iauth to request usermodes during registration.
[ircu2.10.12-pk.git] / ChangeLog
index dfe1fe57102e94c2056d6d64fae17578c5a20cb0..6301e785d8b4598a824ddd3be457dc4af97ae7cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,72 @@
+2007-03-31  Michael Poole <mdpoole@troilus.org>
+
+       * doc/readme.iauth (IAuth M): Document new command.
+
+       * ircd/m_user.c (m_user): Recognize RFC 2812 mode request and a
+       saner usermode request.
+
+       * ircd/s_auth.c (iauth_cmd_usermode): New command.
+       (iauth_parse): Dispatch to it.
+
+       * ircd/s_user.c (set_user_mode): Only broadcast usermode changes
+       for registered clients.
+
+       * tools/iauth-test (127.0.1.3): Test the new M command.
+
+2007-03-31  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_mode.c (m_mode): Check and report target/source
+       violations before calling set_user_mode().
+       (ms_mode): Likewise.
+
+       * ircd/s_user.c (set_user_mode): Remove those checks from here.
+
+2007-03-31  Michael Poole <mdpoole@troilus.org>
+
+       * include/ircd_events.h (struct Generators): Convert elements to
+       be struct GenHeader*.
+       (timer_next): Update to match.
+
+       * ircd/ircd_events.c (timer_enqueue): Update to match.
+       (signal_callback): Likewise.
+       (timer_init): Remove a typecast with something slightly safer.
+       (timer_run): Update to deal with new type of Generator.g_timer.
+       (signal_add): Likewise.
+       (socket_add): Likewise.
+       
+2007-03-28  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_asll.c (ms_asll): Count hits and report at the end, so
+       that a client is told whether any match (and has a hint that only
+       directly linked servers are checked).
+       (mo_asll): Likewise.
+
+2007-03-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_stats.c (m_stats): Move check for STAT_FLAG_LOCONLY (and
+       the assignment to "param") to the hunted server.
+
+2007-03-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/s_auth.c (iauth_parse): Check for missing arguments when
+       parsing the iauth message.
+
+       * tests/bug-1685648.cmd: New file to test this.
+
+       * tests/iauth-test: New file to exercise the code path.
+
+       * tests/ircd.conf: Use the iauth-test helper program.
+
+2007-03-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/m_silence.c (forward_silences): Do not try twice to process
+       silences that were both added and deleted.
+
+2007-03-26  Michael Poole <mdpoole@troilus.org>
+
+       * ircd/ircd_parser.y (portblock): Restore old behavior for Port
+       blocks with no host listed.
+
 2007-03-26  Michael Poole <mdpoole@troilus.org>
 
        * doc/readme.iauth (iauth I): Fix example and syntax.