From: Pekka Riikonen Date: Mon, 14 Oct 2002 19:12:49 +0000 (+0000) Subject: Added ATTR command to handle requested attributes for WHOIS. X-Git-Tag: silc.client.0.9.6~14 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=2ae9657611bebeca17fa08bab9a57c31a0aaf0f1 Added ATTR command to handle requested attributes for WHOIS. --- diff --git a/CHANGES b/CHANGES index ba624bb6..e7f1157e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,21 @@ +Mon Oct 14 17:55:44 EEST 2002 Pekka Riikonen + + * Periodically remove the NOATTR status from client entry + so that the client may take the attributes in use even after + server has resolved them unsuccessfully earlier. Affected + file silcd/server_query.c and idlist.h. + + * Moved sha1hash and md5hash from client->internal to + SilcClient for application usage. Affected files are + lib/silcclient/client.h and client_internal.h. + + * Fixed attribute encoding and decoding bugs. Affected + files lib/silccore/silcattrs.[ch]. + + * Added ATTR command to Irssi SILC Client which is used to + manage user's Requested Attributes sending and values for + WHOIS command. Affected files around Irssi SILC client. + Mon Oct 14 14:33:54 EEST 2002 Pekka Riikonen * Added silc_buffer_strformat which can be used to format diff --git a/TODO b/TODO index 3bf55507..21087555 100644 --- a/TODO +++ b/TODO @@ -1,8 +1,7 @@ TODO/bugs in Irssi SILC client ============================== - o Add support for the Requested Attributes in WHOIS (setting information - and displaying information). Do /SET MY_* settings to set them. + o Add requested attributes public key/signature verifications. o Server password is not used at all. It is not possible to automize the password authentication currently. The silc_get_auth_method @@ -54,8 +53,6 @@ TODO/bugs In SILC Server TODO/bugs In SILC Libraries =========================== - o Add support for SILC_ATTRIBUTE_USER_INFo attribute (VCard). - o WIN32 silc_net_create_connection_async does not work the same way than on Unix. Do it with threads on WIN32. The function works but is not actually async currently (Fix this to 0.9.x). diff --git a/apps/irssi/docs/help/in/my.in b/apps/irssi/docs/help/in/attr.in similarity index 51% rename from apps/irssi/docs/help/in/my.in rename to apps/irssi/docs/help/in/attr.in index 0b346b3c..79ee23e0 100644 --- a/apps/irssi/docs/help/in/my.in +++ b/apps/irssi/docs/help/in/attr.in @@ -1,108 +1,121 @@ -My information for WHOIS command +@SYNTAX:attr@ In SILC it is possible to retrieve detailed information about a user with WHOIS command by giving -details option to the WHOIS. This information is retrieved directly from the client, if the client -supports it. If client does not support it or do not want to send +supports it. This process is called as handling a Requested Attributes +in WHOIS. If client does not support attributes or do not want to send anything then server may reply on behalf of the client. You may set your personal information that others may retrieve using -WHOIS command. These information is set with SET command, give command: +WHOIS command. These information is set with ATTR command. By default, +in SILC Client sending the information is allowed. If you do not want to +allow it give command: - SET my - -to see all possible settings for the information. By default, in SILC -Client sending the information is allowed. If you do not want to allow -it give command: - - SET my_allow_request OFF + ATTR allow OFF and your client will not reply to the requests. This usually means that server may not send you the request anymore at all, or may do so only occasionally. -The following settings are available: +Adding new information is done with ATTR command as follows: + + ATTR