the user is in his Trash folder.
* Updated internal version number to 6.63 so WebCit knows this is available.
$Id$
+Fri Dec 9 14:14:37 EST 2005 ajc
+* Updated the output of server GOTO command; new parameter indicates whether
+ the user is in his Trash folder.
+* Updated internal version number to 6.63 so WebCit knows this is available.
+
Mon Nov 28 10:45:21 EST 2005 ajc
* control.c: fixed a potential concurrency/race condition in
the get_new_[message|room|user]_number() functions.
/*
* Text description of this software
*/
-#define CITADEL "Citadel 6.62"
+#define CITADEL "Citadel 6.63"
/*
* REV_LEVEL is the current version number (multiplied by 100 to avoid having
* usually more strict because you're not really supposed to dump/load and
* upgrade at the same time.
*/
-#define REV_LEVEL 662 /* This version */
+#define REV_LEVEL 663 /* This version */
#define REV_MIN 591 /* Oldest compatible database */
#define EXPORT_REV_MIN 655 /* Oldest compatible export files */
!include "${NSISDIR}\Contrib\Modern UI\System.nsh"
!define MUI_PRODUCT "Citadel"
-!define MUI_VERSION "6.62"
+!define MUI_VERSION "6.63"
!define MUI_WELCOMEPAGE
!define MUI_LICENSEPAGE
!define MUI_COMPONENTSPAGE
;!define MUI_ICON "${NSISDIR}\Contrib\Icons\modern-install.ico"
;!define MUI_UNICON "${NSISDIR}\Contrib\Icons\modern-uninstall.ico"
-OutFile "citadel-6.62.exe"
+OutFile "citadel-6.63.exe"
BGGradient off
LangString DESC_Citadel ${LANG_ENGLISH} "Citadel client and core libraries (required)"
# $Id$
Summary: Citadel, the flexible, powerful way to build online communities
Name: citadel
-Version: 6.62
+Version: 6.63
Release: 1
Copyright: GPL
Group: Applications/Communications
int s;
char setstr[128], lostr[64], histr[64];
long lo, hi;
+ int is_trash = 0;
/* If the supplied room name is NULL, the caller wants us to know that
* it has already copied the room record into CC->room, so
safestrncpy(truncated_roomname, &truncated_roomname[11], sizeof truncated_roomname);
}
+ if (!strcasecmp(truncated_roomname, USERTRASHROOM)) {
+ is_trash = 1;
+ }
+
if (retmsgs != NULL) *retmsgs = total_messages;
if (retnew != NULL) *retnew = new_messages;
lprintf(CTDL_DEBUG, "<%s> %d new of %d total messages\n",
CC->curr_view = (int)vbuf.v_view;
if (display_result) {
- cprintf("%d%c%s|%d|%d|%d|%d|%ld|%ld|%d|%d|%d|%d|%d|%d|\n",
+ cprintf("%d%c%s|%d|%d|%d|%d|%ld|%ld|%d|%d|%d|%d|%d|%d|%d|\n",
CIT_OK, CtdlCheckExpress(),
truncated_roomname,
(int)new_messages,
(int)newmailcount,
(int)CC->room.QRfloor,
(int)vbuf.v_view,
- (int)CC->room.QRdefaultview
+ (int)CC->room.QRdefaultview,
+ (int)is_trash
);
}
}
10. The floor number this room resides on
11. The *current* "view" for this room (see views.txt for more info)
12. The *default* "view" for this room
+ 13. Boolian flag: 1 if this is the user's Trash folder, 0 otherwise.
The default view gives the client a hint as to what views the user should
be allowed to select. For example, it would be confusing to allow messages