$Log$
+Revision 400.82 2003/01/13 03:34:33 ajc
+* Get ready for the 6.10 release
+
Revision 400.81 2003/01/12 23:22:53 ajc
* configure.in: check for libical v0.24 or newer
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
WEBCIT for the Citadel/UX System
- version 4.00
+ version 4.10
Copyright (C) 1996-2002 by the authors. Portions written by:
Art Cancro
INTRODUCTION
------------
- Citadel/UX is a sophisticated BBS package which allows multiple users to
-simultaneously access the system using a variety of user interfaces. This
-package (WebCit) is a "middleware" package which presents an HTML/HTTP user
-interface to the Citadel system.
+ Citadel/UX is a sophisticated BBS and groupware package which allows multiple
+users to simultaneously access the system using a variety of user interfaces.
+This package (WebCit) is a "middleware" package which presents an HTML/HTTP
+user interface to the Citadel system.
What this means in practice is that after you've installed WebCit, users can
-access all functions of your BBS using any web browser. Since this may be the
-first Citadel experience for many new users, the screens have been designed to
-be attractive and easy to navigate.
+access all functions of your system using any web browser. Since this may be
+the first Citadel experience for many new users, the screens have been designed
+to be attractive and easy to navigate.
INSTALLATION
banner, and on the top left corner of each page.
+ CALENDAR SERVICE
+ ----------------
+
+ WebCit contains support for calendaring and scheduling. In order to use it
+you must have libical v0.24 (or newer) on your system. You must also be
+running a Citadel server with calendaring support. The calendar service will
+be automatically configured and installed if your host system supports it.
+
+
CONCLUSION
----------
#include "webcit.h"
#include "webserver.h"
-#ifndef HAVE_ICAL_H
+#ifndef WEBCIT_WITH_CALENDAR_SERVICE
/*
* Handler stubs for builds with no calendar library available
"</i><br>\n");
}
-#else /* HAVE_ICAL_H */
+#else /* WEBCIT_WITH_CALENDAR_SERVICE */
/****** End of handler stubs. Everything below this line is real. ******/
}
}
-#endif /* HAVE_ICAL_H */
+#endif /* WEBCIT_WITH_CALENDAR_SERVICE */
"7pm", "8pm", "9pm", "10pm", "11pm"
};
-#ifdef HAVE_ICAL_H
+#ifdef WEBCIT_WITH_CALENDAR_SERVICE
/*
* The display_icaltimetype_as_webform() and icaltime_from_webform() functions
#include "webcit.h"
#include "webserver.h"
-#ifndef HAVE_ICAL_H
+#ifndef WEBCIT_WITH_CALENDAR_SERVICE
void do_calendar_view(void) { /* stub for non-libical builds */
wprintf("<CENTER><I>Calendar view not available</I></CENTER><BR>\n");
}
-#else /* HAVE_ICAL_H */
+#else /* WEBCIT_WITH_CALENDAR_SERVICE */
/****************************************************************************/
-#include "ical.h"
void calendar_month_view_display_events(time_t thetime) {
int i;
}
-#endif /* HAVE_ICAL_H */
+#endif /* WEBCIT_WITH_CALENDAR_SERVICE */
#include "webserver.h"
-#ifdef HAVE_ICAL_H
+#ifdef WEBCIT_WITH_CALENDAR_SERVICE
/*
* Display an event by itself (for editing)
}
-#endif /* HAVE_ICAL_H */
+#endif /* WEBCIT_WITH_CALENDAR_SERVICE */
#include <strings.h>
#include "webcit.h"
-#ifdef HAVE_ICAL_H
-#include <ical.h>
+#ifdef WEBCIT_WITH_CALENDAR_SERVICE
/*
}
-#endif /* HAVE_ICAL_H */
+#endif /* WEBCIT_WITH_CALENDAR_SERVICE */
int i;
section_title("Today on your calendar");
-#ifdef HAVE_ICAL_H
+#ifdef WEBCIT_WITH_CALENDAR_SERVICE
gotoroom("Calendar", 0);
if (strcasecmp(WC->wc_roomname, "Calendar")) {
wprintf("<i>(You do not have a calendar)</i><BR>\n");
}
calendar_summary_view();
-#endif /* HAVE_ICAL_H */
+#endif /* WEBCIT_WITH_CALENDAR_SERVICE */
}
display_floorconfig(NULL);
} else if (!strcasecmp(action, "toggle_self_service")) {
toggle_self_service();
-#ifdef HAVE_ICAL_H
+#ifdef WEBCIT_WITH_CALENDAR_SERVICE
} else if (!strcasecmp(action, "display_edit_task")) {
display_edit_task();
} else if (!strcasecmp(action, "save_task")) {
#include <zlib.h>
#endif
+
#ifdef HAVE_ICAL_H
+#ifdef HAVE_LIBICAL
+#define WEBCIT_WITH_CALENDAR_SERVICE 1
+#endif
+#endif
+
+#ifdef WEBCIT_WITH_CALENDAR_SERVICE
#include <ical.h>
#endif
#define SLEEPING 180 /* TCP connection timeout */
#define WEBCIT_TIMEOUT 900 /* WebCit session timeout */
#define PORT_NUM 2000 /* port number to listen on */
-#define SERVER "WebCit v4.00" /* who's in da house */
+#define SERVER "WebCit v4.10" /* who's in da house */
#define DEVELOPER_ID 0
#define CLIENT_ID 4
-#define CLIENT_VERSION 400
+#define CLIENT_VERSION 410
#define DEFAULT_HOST "localhost" /* Default Citadel server */
#define DEFAULT_PORT "504"
#define LB (1) /* Internal escape chars */