1. 28 Sep, 2006 1 commit
    • Per Cederqvist's avatar
      Renamed the error code illegal-aux-item to illegal-aux-item-tag. · 147c0add
      Per Cederqvist authored
      Added error code 62=aux-exists, 63=aux-bad-object,
      64=illegal-aux-data, 65=aux-create-only, 66=aux-modify-only,
      67=aux-server-only, 68=aux-data-exists and 69=aux-no-such-text.
      Return proper error codes.  (Bug 192).
      * doc/Protocol-A.texi (Predefined Aux-Item Types): Renamed the
      error code illegal-aux-item to illegal-aux-item-tag.
      (create-text): Updated the error code section to mention the
      aux-related error codes illegal-aux-item-tag, aux-item-permission,
      aux-exists, aux-bad-object, illegal-aux-data, aux-modify-only,
      aux-server-only, aux-data-exists and aux-no-such-text instead of
      only illegal-aux-item and aux-item-permission.  Refer to the
      "Error Codes" node instead of duplicating the reasons here.
      (create-anonymous-text): Ditto.
      (create-conf): Ditto.
      (create-person): Ditto.
      (modify-text-info): Ditto, but with aux-create-only instead of
      aux-modify-only.
      (modify-conf-info): Ditto.
      (modify-system-info): Ditto.
      (Error Codes): Renamed error code 48 from illegal-aux-item to
      illegal-aux-item-tag, and redefine it to not include errors in the
      data.  Added error code 62=aux-exists, 63=aux-bad-object,
      64=illegal-aux-data, 65=aux-create-only, 66=aux-modify-only,
      67=aux-server-only, 68=aux-data-exists and 69=aux-no-such-text.
      * doc/Makefile.am (check-doc): Replaced the error code
      illegal-aux-item with illegal-aux-item-tag and
      illegal-aux-item-data.
      * src/include/kom-errno.h (enum kom_err): Renamed KOM_ILL_AUX to
      KOM_ILL_AUX_TAG.  Added KOM_AUX_EXISTS, KOM_AUX_BAD_OBJECT,
      KOM_ILL_AUX_DATA, KOM_AUX_CREATE_ONLY, KOM_AUX_MODIFY_ONLY,
      KOM_AUX_SERVER_ONLY, KOM_AUX_DATA_EXISTS and KOM_AUX_NO_SUCH_TEXT.
      * src/server/aux-items.c (aux_item_validate): Doc added.  Added
      missing punctuation in comments.  Set kom_errno to
      KOM_ILL_AUX_DATA instead of KOM_ILL_AUX when a regexp cannot be
      compiled or doesn't match an entry, or when a validator fails.
      (aux_item_add_perm): Document that kom_errno is set on failure.
      Do not modify kom_errno on success.  Track name change of
      KOM_ILL_AUX_TAG.  Set KOM_AUX_MODIFY_ONLY, KOM_AUX_CREATE_ONLY,
      KOM_AUX_SERVER_ONLY when appropriate (used to be KOM_AUX_PERM).
      Don't override the error code set by aux_item_check_unique() or
      aux_item_validate() when any of those check fails.
      (aux_item_check_unique): Set kom_errno to KOM_AUX_EXISTS or
      KOM_AUX_DATA_EXISTS on failure (used to sometimes be
      KOM_ILL_AUX).
      (text_stat_check_add_aux_item_list): Track name change of
      KOM_ILL_AUX_TAG.  Set kom_errno to KOM_AUX_BAD_OBJECT if the
      aux-item is not allowed on the active object (used to be
      KOM_AUX_PERM).
      (conf_stat_check_add_aux_item_list): Ditto.
      (system_check_add_aux_item_list): Ditto.
      (aux_item_validate_existing_text): Set kom_errno to
      KOM_AUX_NO_SUCH_TEXT instead of NO_SUCH_TEXT.  Set it to
      KOM_ILL_AUX_DATA if the text number is non-numeric.
      * src/server/testsuite/lyskomd.0/00.exp: Updated the expected
      error codes for aux-item-related errors.
      * src/server/testsuite/lyskomd.0/03.exp: Ditto.
      * src/server/testsuite/lyskomd.0/04.exp: Ditto.
      * src/server/testsuite/lyskomd.0/14.exp: Ditto.
      * src/server/testsuite/lyskomd.0/17.exp: Ditto.
      * src/server/testsuite/lyskomd.0/55.exp: Ditto.
      * src/server/testsuite/lyskomd.0/aux-items-cov.exp: Ditto.
      * src/server/testsuite/lyskomd.0/bug-572.exp: Ditto.
      * src/server/testsuite/lyskomd.0/20.exp: Ditto.  Remove the
      want_illegal_aux_item proc and simplify the code that checks the
      error codes.
      * src/server/testsuite/lyskomd.0/23.exp: Ditto.
      * src/server/testsuite/lyskomd.0/26.exp: Ditto.
      * src/server/testsuite/lyskomd.0/28.exp: Ditto.
      
      Added test cases for handling duplicate faq-text aux-items.
      * src/server/testsuite/lyskomd.0/21.exp: Added new tests that
      attempt to set duplicate faq-text aux-items on a conference in
      various ways, and removing it and re-adding it.  Also test adding
      two different faq-text aux-items at the same time.
      147c0add
  2. 18 Dec, 2005 1 commit
  3. 12 Dec, 2005 1 commit
  4. 11 Dec, 2005 2 commits
    • Per Cederqvist's avatar
      (Protocol Requests): get-members-old is now · aab49db2
      Per Cederqvist authored
      	being promoted from "Obsolete" to "Recommended".
      (get-members-old): Ditto.  Discuss get-members versus get-members-old.
      (get-members): Ask client writers to consider using get-members-old.
      (create-conf-old): Document when the ability to send an
      	Extended-Conf-Type was introduced, and what it means to send a
      	four-bit Conf-Type.
      (create-text): Typo fixed.
      (Mapping Local to Global Text Numbers): Typo fixed.
      aab49db2
    • Per Cederqvist's avatar
      (set-membership-type): Typo fixed. · d8309e73
      Per Cederqvist authored
      d8309e73
  5. 06 May, 2005 1 commit
  6. 04 Apr, 2005 1 commit
  7. 02 Dec, 2004 1 commit
  8. 30 Nov, 2004 1 commit
  9. 02 Aug, 2004 2 commits
    • Per Cederqvist's avatar
      (Aux-Item Types): Remove inferior documentation of multipart handling · 229d491b
      Per Cederqvist authored
      	by allowed-content-type; that is now obsoleted by the better
      	documentation that Rasmus Sten provided.  Fix markup and
      	language errors in the documentation by Rasmus.
      (Multipart (multipart/mixed)): Fixed markup errors.  Clarify that
      	text/x-kom-basic is preferred.
      (MHTML (message/rfc822;x-lyskom-variant=rfc2557)): Fixed markup
      	errors.  Clarify that it is automatic access to external
      	resources that should be stopped.
      229d491b
    • Per Cederqvist's avatar
      (Aux-Item Types): State that allowed-content-type should be applied · b6160294
      Per Cederqvist authored
      	recursively to all content types, in much more detail than in
      	the change of 2004-07-18.
      (Multipart (multipart/mixed)): New section.
      (MHTML (message/rfc822;x-lyskom-variant=rfc2557)): New section.
      b6160294
  10. 18 Jul, 2004 1 commit
    • Per Cederqvist's avatar
      (Person Status Types): Added missing closing parenthesis. · 1c1f5fd0
      Per Cederqvist authored
      (Who Information): Ditto.
      (Membership Information): Added the Text-Id type.
      (modify-system-info): Fixed references to argument names in the
      	error code descriptions.
      (async-text-read): New async message.
      (async-invalidate-text-read): New async message.
      (Aux-Item Types): Don't use @field for anything but Protocol A
      	structure fields.  State that allowed-content-type should be
      	applied recursively to all content types.
      1c1f5fd0
  11. 19 Jun, 2004 1 commit
    • David Byers's avatar
      (Aux-Item Types): Document letterbox, text · ad839790
      David Byers authored
      	and other type parameters of aux-item definitions (bug 9).
      (Person Status Types, Who Information, Session Information):
      	Improved documentation of the username field (bug 196).
      (add-member): Fixed documentation of error codes (bug 199).
      (async-i-am-on): Fixed error in the message description (bug 200).
      (Importing and Exporting E-Mail): Improved documentation on what
      	aux-items affect importers (bug 201)
      ad839790
  12. 26 Apr, 2004 1 commit
  13. 28 Dec, 2003 1 commit
  14. 27 Nov, 2003 1 commit
    • Per Cederqvist's avatar
      (Simple Data Types): The %g format specifier is locale-dependent in · 14290d8b
      Per Cederqvist authored
      	the C specification, so say that FLOAT is formatted as %g is
      	formatted in the "C" locale.
      (Conference Status Types): Fixed the description of the no-of-texts
      	field.  It is actually the difference between the first unused
      	local text number and first-local-no, and that will differ
      	from the number of texts in the conference if a text other
      	than the oldest one is removed.
      (Membership Information): Document that read-ranges is kept in
      	ascending order.
      (What do I have unread): Update the description with the version
      	11 requests.
      14290d8b
  15. 29 Aug, 2003 4 commits
  16. 28 Aug, 2003 3 commits
    • Per Cederqvist's avatar
    • Kent Engström's avatar
    • Per Cederqvist's avatar
      (Protocol Requests): The status codes for who-is-on-ident and · fded4489
      Per Cederqvist authored
      	get-session-info-ident were "r" but should have been "O".
      (login-old): Added info about when this request became obsolete in
      	the section.
      (get-person-stat-old): Ditto.
      (lookup-name): Ditto.
      (get-conf-stat-older): Ditto.
      (mark-text-old): Ditto.
      (who-is-on-old): Ditto.
      (broadcast): Ditto.
      (get-session-info): Ditto.
      (re-lookup-person): Ditto.
      (re-lookup-conf): Ditto.
      (lookup-person): Ditto.
      (lookup-conf): Ditto.
      (query-read-texts-10): Ditto.
      (get-membership-10): Ditto.
      (set-connection-time-format): Fixed typo in the @section heading.
      (Asynchronous Messages): The status codes for async-new-text-old
      	was "r" but should have been "O".
      (async-new-text-old): Added async number to the @section heading.
      (async-i-am-off): Ditto.
      (async-i-am-on-obsolete): Ditto.
      (async-new-name): Ditto.
      (async-i-am-on): Ditto.
      (async-sync-db): Ditto.
      (async-leave-conf): Ditto.
      (async-login): Ditto.
      (async-broadcast): Ditto.
      (async-rejected-connection): Ditto.
      (async-send-message): Ditto.
      (async-logout): Ditto.
      (async-deleted-text): Ditto.
      (async-new-text): Ditto.
      (async-new-recipient): Ditto.
      (async-sub-recipient): Ditto.
      (async-new-membership): Ditto.
      (async-new-user-area): Ditto.
      (async-new-presentation): Ditto.
      (async-new-motd): Ditto.
      (async-text-aux-changed): Ditto.
      fded4489
  17. 23 Aug, 2003 5 commits
  18. 22 Aug, 2003 1 commit
    • Per Cederqvist's avatar
      (Mapping Local to Global Text Numbers): Renamed the field · 9735659f
      Per Cederqvist authored
      	"later-texts-exists" in "Text-Mapping" to "more-texts-exists",
      	so that it is useful for the new requests defined below.
      	Updated the descriptions of some fields for the same purpose.
      (local-to-global): Added a link to local-to-global-reverse.
      (map-created-texts): Added a link to map-created-texts-reverse.
      (set-connection-time-format): Added a missing protocol number.
      (local-to-global-reverse): New request.
      (map-created-texts-reverse): New request.
      9735659f
  19. 20 Aug, 2003 2 commits
    • Per Cederqvist's avatar
      (get-text): Use "@bullet{}" to represent linefeed characters inside · 4cad2c3a
      Per Cederqvist authored
      	hollerith strings.
      (create-text-old): Ditto.
      (create-anonymous-text-old): Ditto.
      (Connecting to the Server): Say "linefeed", not "newline" or "line feed".
      (create-text): Ditto.
      (Reformattable Text (text/x-kom-basic)): Ditto.
      (The User Area): Ditto.
      (Text formatting): Ditto.
      (Protocol Version History): Ditto.
      4cad2c3a
    • Per Cederqvist's avatar
      (Aux-Item Inheritance): Added a missing parenthesis. · 74312690
      Per Cederqvist authored
      (async-new-text-old): Document that recipients of linked texts
      	also gets this message.
      (async-deleted-text): Ditto.
      (async-new-text): Ditto.
      (async-new-recipient): Ditto.
      (async-sub-recipient): Ditto.
      74312690
  20. 19 Aug, 2003 2 commits
  21. 17 Aug, 2003 1 commit
  22. 16 Aug, 2003 4 commits
  23. 14 Aug, 2003 1 commit
    • Per Cederqvist's avatar
      (Session Information): Added Scheduling-Info. · 3047a07f
      Per Cederqvist authored
      (Protocol Requests): Changed the status of set-keep-commented from
      	experimental to recommended.
      (get-stats-description): State that this always returns the same
      	during a session, so clients can cache this value aggressively.
      (get-stats): Elaborate on the access-denied error code.
      (get-scheduling): New request.
      (set-scheduling): New request.
      (Error Codes): Added priority-denied, weight-denied and weight-zero.
      3047a07f
  24. 13 Aug, 2003 1 commit