updates.
authorPekka Riikonen <priikone@silcnet.org>
Sun, 28 Apr 2002 18:14:52 +0000 (18:14 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sun, 28 Apr 2002 18:14:52 +0000 (18:14 +0000)
CHANGES
TODO
doc/draft-riikonen-silc-commands-03.nroff
doc/draft-riikonen-silc-pp-05.nroff
lib/silccore/silcmode.h

diff --git a/CHANGES b/CHANGES
index ea45ac93bcb90bf06f0a29a80e7fbf0d0f37d944..be5fbcd18b71e5d56252ccebf2b5b8f580c52965 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,10 @@
+Sat Apr 27 19:52:32 EEST 2002  Pekka Riikonen <priikone@silcnet.org>
+
+       * Added new QUIET channel user mode that can be used to
+         quiet a user in a channel.  Updated the protocol specs but
+         it wasn't implemented yet.  Protocol TODO #27.  Affected
+         file is lib/silccore/silcmode.h.
+
 Mon Apr 22 09:09:44 CEST 2002  Pekka Riikonen <priikone@silcnet.org>
 
        * Added BLOCK_INVITE user mode to be able to block incoming
diff --git a/TODO b/TODO
index 0e6b17030de4f25568aa90bcd66da6ec5aa19e96..2d2286588502a7b537b2e415e01f656afe70dce1 100644 (file)
--- a/TODO
+++ b/TODO
@@ -43,6 +43,12 @@ TODO/bugs In SILC Server
        o JOIN (check that joining is allowed)
        o SIGNOFF (maybe should check that notifier owns the client)
 
+ o Implement the SILC_CUMODE_QUIET user mode (Do this to 0.9.x).
+
+ o Implement the <Requested Attributes> and the Attribute Payload to
+   the core library, client and server.  Maybe implementations of
+   RFC 2425 and RFC 2426 to make it complete.
+
  o Backup router related issues (Fix this to 1.0):
 
        o Channel user mode changes are notified unnecessarely when
@@ -111,9 +117,3 @@ TODO in SILC Protocol
 
  17. Cell wide channel founder support, and permanent channels when
      founder mode set.
-
- 24. Implement the <Requested Attributes> and the Attribute Payload to
-     the core library, client and server.
-
- 27. Quiet user mode to quiet a user on channel, settable by chan 
-     op/founder?
index a03a07e825b0e4ed19fd622d436f0e2bb872f187..bde979a3309ed5901376663cd342c18187ec3a87 100644 (file)
@@ -1487,7 +1487,7 @@ List of all defined commands in SILC follows.
            0x00000010    SILC_CUMODE_BLOCK_MESSAGES_ROBOTS
 
               Marks that the client wishes not to receive any channel
-              messages sent from robots.  Messages sent by Users with
+              messages sent from robots.  Messages sent by users with
               the SILC_UMODE_ROBOT user mode set are not delivered.
               Client MAY set and unset this mode to itself.  Client MUST
               NOT set it to anyone else.  When this mode is set server
@@ -1495,6 +1495,16 @@ List of all defined commands in SILC follows.
               to this client.
 
 
+           0x00000020    SILC_CUMODE_QUIET
+
+              Marks that the client cannot talk on the channel.  This
+              mode can be set by channel operator or channel founder to
+              some other user that is not operator or founder.  The
+              target client MUST NOT unset this mode.  When this mode
+              is set the server MUST drop messages sent by this client
+              to the channel.
+
+
         Reply messages to the command:
 
         Max Arguments:  4
index 5a888a2463fc4d8643c1b481af36f0021268d6da..60a8469e5f0de3bb15ca76731335707f334edbaf 100644 (file)
@@ -1515,12 +1515,13 @@ UTF-8 [RFC2279] encoded.
 
       The <Client ID> is the user's Client ID which is being watched,
       and the <nickname> is its nickname.  If the client just
-      changed the nickname, then <nickname> is the new nickname.
-      The <user mode> is the user's current user mode.  The <Notify
-      Type> can be same as the Notify Payload's Notify Type, and is
-      16 bit MSB first order value.  If provided it may indicate the
-      notify that occurred for the client.  If client logged in to the
-      network the <Notify Type> MUST NOT be present.
+      changed the nickname, then <nickname> is the new nickname, but
+      the <Client ID> is the old client ID.  The <user mode> is the
+      user's current user mode.  The <Notify Type> can be same as the
+      Notify Payload's Notify Type, and is 16 bit MSB first order value.
+      If provided it may indicate the notify that occurred for the
+      client.  If client logged in to the network the <Notify Type>
+      MUST NOT be present.
 .in 3
 
 Notify types starting from 16384 are reserved for private notify
index ba246c129331d94f74a57b3846a2e938e57f3c27..d081fffea4bcf3e77b8d777c99c0d448006aad66 100644 (file)
@@ -73,6 +73,7 @@
                                                               users */
 #define SILC_CHANNEL_UMODE_BLOCK_MESSAGES_ROBOTS 0x00000010 /* Block messages
                                                               from robots */
+#define SILC_CHANNEL_UMODE_QUIET           0x00000002 /* user is quiet */
 /***/
 
 /****d* silccore/Modes/SilcUserMode