Michael Hampton [Tue, 16 Mar 2004 19:05:50 +0000 (19:05 +0000)]
* Further changes to stress.c, Makefile.in to build it, .cvsignore
(but it's still broken)
Art Cancro [Mon, 15 Mar 2004 22:47:09 +0000 (22:47 +0000)]
* Prettied up the chat window a little more.
Michael Hampton [Mon, 15 Mar 2004 18:11:34 +0000 (18:11 +0000)]
* stress.c: various fixed/improvements (but it still isn't working)
Michael Hampton [Mon, 15 Mar 2004 17:22:14 +0000 (17:22 +0000)]
* First draft of the stress tester. Isn't quite ready (it needs to be
tested itself!).
Michael Hampton [Mon, 15 Mar 2004 16:48:22 +0000 (16:48 +0000)]
* Documentation update: update citadel.html for new syslog logging
Michael Hampton [Mon, 15 Mar 2004 16:47:04 +0000 (16:47 +0000)]
* msgbase.c: cmd_move(): Fix the security logic for non-aides trying to
move or copy messages. The logic should do the following:
* Allow move/copy for Aides
* Allow regular users to:
* Move a message between two personal rooms
* Copy a message from a Personal room to a room the user is subscribed to
* Copy a message from a room the user is subscribed to, to a personal room
* Prohibit other moves/copies
Michael Hampton [Mon, 15 Mar 2004 16:39:27 +0000 (16:39 +0000)]
* Multiple files: Set permissions on existing Citadel directories to prevent
access to the database by local unix users to prevent direct database reads.
Michael Hampton [Mon, 15 Mar 2004 16:36:51 +0000 (16:36 +0000)]
* Multiple files: Convert most remaining client code to use new Citadel IPC
functions. A few bits remain and will be converted when the chat system
is rewritten.
Art Cancro [Mon, 15 Mar 2004 04:27:47 +0000 (04:27 +0000)]
*** empty log message ***
Art Cancro [Mon, 15 Mar 2004 04:27:44 +0000 (04:27 +0000)]
* Chat now appears in a separate window
* Use regular frames instead of IFRAMEs for chat
* Display user's own chat text in bold+italic
* Added a "List Users" button
Art Cancro [Mon, 15 Mar 2004 03:45:01 +0000 (03:45 +0000)]
* Open chat in a separate window.
* Use regular frames instead of IFRAMEs.
Art Cancro [Sun, 14 Mar 2004 06:35:47 +0000 (06:35 +0000)]
* Cache IMAP "BODY" fetches in an already-converted format. This speeds
up clients like Mozilla and Thunderbird that request big messages in
chunks -- we don't have to load and convert the message every time
another chunk is requested.
* Fixed a potential memory leak in fetch
Art Cancro [Sat, 13 Mar 2004 23:26:10 +0000 (23:26 +0000)]
* imap_fetch.c: don't fetch the message from disk at all for UID and FLAGS
fetch items. (It's rare, but sometimes IMAP optimizations are actually
possible, despite Mark DIE DIE DIE Crispin's brain-dead design!)
Art Cancro [Sat, 13 Mar 2004 22:52:05 +0000 (22:52 +0000)]
* Documented the GNET and SNET commands :)
Michael Hampton [Fri, 12 Mar 2004 19:35:13 +0000 (19:35 +0000)]
* routines2.c: Fix two typos
Michael Hampton [Fri, 12 Mar 2004 19:32:09 +0000 (19:32 +0000)]
* routines2.c: Convert multiple functions to use new IPC code (almost done!)
Michael Hampton [Fri, 12 Mar 2004 19:30:06 +0000 (19:30 +0000)]
* citadel.c: main(): Fix error response for RCHG, HCHG and UCHG commands.
Michael Hampton [Fri, 12 Mar 2004 19:28:04 +0000 (19:28 +0000)]
* Implement GNET/SNET commands in IPC code; provide a CtdlIPC_delete();
emit warnings when client code uses CtdlIPC_getline() or CtdlIPC_putline()
(These are reserved and should not be used by client code.)
Art Cancro [Wed, 10 Mar 2004 04:50:04 +0000 (04:50 +0000)]
* serv_expire.c: auto-purge any Citadel account that is associated with
a Unix account that no longer exists.
Art Cancro [Wed, 10 Mar 2004 04:18:22 +0000 (04:18 +0000)]
* Improved NSS integration: if a user attempts to log in with a system
account name, create the associated Citadel account if it doesn't exist.
Michael Hampton [Tue, 9 Mar 2004 20:46:33 +0000 (20:46 +0000)]
* Add a Linux Software Map file
Art Cancro [Tue, 9 Mar 2004 15:28:29 +0000 (15:28 +0000)]
* IMAP RFC822 FETCH caching
Art Cancro [Mon, 8 Mar 2004 05:26:49 +0000 (05:26 +0000)]
* When the last argument of an IMAP APPEND command is a binary literal
(i.e. all the time), the client will still be sending a CRLF after the
literal. Added an extra client_read() after the message input to absorb
that extra CRLF, to keep client and server from getting out of sync.
Art Cancro [Sun, 7 Mar 2004 22:04:32 +0000 (22:04 +0000)]
* Fix the current view not being set to the default view for the creator
of a room.
Art Cancro [Sun, 7 Mar 2004 21:31:17 +0000 (21:31 +0000)]
* serv_read() now zeroes out the supplied buffer (with the supplied
length) if a server read fails. This causes serv_gets() to return
instead of looping endlessly. Fixes chat problem found on linux-ppc.
Art Cancro [Sat, 6 Mar 2004 05:09:04 +0000 (05:09 +0000)]
* serv_smtp.c: don't offer the STARTTLS extension if TLS is already
active. Done for to-the-letter compliance with RFC2487.
Art Cancro [Sat, 6 Mar 2004 03:25:59 +0000 (03:25 +0000)]
* removed some debug messages
Art Cancro [Sat, 6 Mar 2004 02:03:39 +0000 (02:03 +0000)]
* serv_smtp.c: do not offer the PIPELINING extension when TLS is
running. Doing so causes sessions to hang unexpectedly.
Art Cancro [Fri, 5 Mar 2004 23:21:25 +0000 (23:21 +0000)]
* Added some more debugging to serv_smtp.c to try to figure out the
problem with Postfix TLS hanging during send
Art Cancro [Fri, 5 Mar 2004 03:36:03 +0000 (03:36 +0000)]
* Remove the automatic population of A and N fields we recently added
when found to be NULL. It was confusing the output functions into
thinking that Internet messages were local.
Art Cancro [Wed, 3 Mar 2004 05:43:29 +0000 (05:43 +0000)]
* Generate better output when a user is kicked out of chat
Art Cancro [Wed, 3 Mar 2004 05:36:41 +0000 (05:36 +0000)]
* Close chat socket if already open
Art Cancro [Wed, 3 Mar 2004 05:21:36 +0000 (05:21 +0000)]
* Made the chat screen totally kick-ass sweet. The flickering reload
i-frame is now tiny and hidden, and it *appends* new chat data to
the viewable window using JavaScript. No flickering + scrollback!
* Added a help button to the chat screen.
Art Cancro [Mon, 1 Mar 2004 22:36:14 +0000 (22:36 +0000)]
* Implement the NAMESPACE extension of IMAP (RFC 2342)
Michael Hampton [Mon, 1 Mar 2004 17:47:28 +0000 (17:47 +0000)]
* Fix missing arg in m<Y> next rewrite.
Michael Hampton [Mon, 1 Mar 2004 17:33:30 +0000 (17:33 +0000)]
* Rewrite m<Y> next function; now uses CtdlIPC code.
Art Cancro [Mon, 1 Mar 2004 04:08:34 +0000 (04:08 +0000)]
* Revoke access to room when /kicked
Art Cancro [Sun, 29 Feb 2004 23:26:48 +0000 (23:26 +0000)]
* Added /kick command to chat. /ban coming soon.
Art Cancro [Sun, 29 Feb 2004 22:52:15 +0000 (22:52 +0000)]
* Close and clear (set to -1) server socket handle when socket errors are
detected. Fixes a chat problem reported by Winzlo.
Art Cancro [Sun, 29 Feb 2004 06:12:52 +0000 (06:12 +0000)]
* can add chat to iconbar
Art Cancro [Sun, 29 Feb 2004 05:34:25 +0000 (05:34 +0000)]
* Display the Chat menu option as "Chat with other users in <roomname>"
Art Cancro [Sat, 28 Feb 2004 16:37:41 +0000 (16:37 +0000)]
* setup.c: removed an unused temp file name variable
Art Cancro [Sat, 28 Feb 2004 16:33:09 +0000 (16:33 +0000)]
*** empty log message ***
Michael Hampton [Fri, 27 Feb 2004 17:23:22 +0000 (17:23 +0000)]
* Use syslog-compatible logging levels in lprintf(); the loglevel chosen
is passed directly to syslog(). The available levels are docuemnted in
sysdep_decls.h.
Art Cancro [Fri, 27 Feb 2004 05:04:38 +0000 (05:04 +0000)]
* fix frameset bug in page popups
Art Cancro [Fri, 27 Feb 2004 04:29:01 +0000 (04:29 +0000)]
* Fixed a bug in PLAIN authentication
Michael Hampton [Thu, 26 Feb 2004 22:03:24 +0000 (22:03 +0000)]
* ;Goto floor now goes to first KNOWN room, or first room only if no known
rooms on the floor
Michael Hampton [Thu, 26 Feb 2004 20:30:36 +0000 (20:30 +0000)]
* Populate IPC into a few more places to avoid a nasty crash at MORE prompt
Michael Hampton [Thu, 26 Feb 2004 20:17:30 +0000 (20:17 +0000)]
* Client stability and enhancements:
* CtdlServInfo structure moved inside CtdlIPC; eliminates unnecessary
global and makes IPC more self-contained
* Removed redundant serv_ from variable names in CtdlServInfo struct
* Send SIGHUP to process group when connection_died(). Kills self and
children (e.g. external editor).
Art Cancro [Thu, 26 Feb 2004 04:08:58 +0000 (04:08 +0000)]
* Fixed a problem that made WebCit go to the "no cookies" screen instead
of the logout banner.
* Ford's latest stupid room has a name with more than 64 characters, and
we still had a 64-byte room name in the march_list struct. ooooops...
Art Cancro [Thu, 26 Feb 2004 03:07:26 +0000 (03:07 +0000)]
* Put the /favicon.ico --> /static/favicon.ico hack back in. Why not?
Art Cancro [Wed, 25 Feb 2004 23:11:49 +0000 (23:11 +0000)]
* do_logout
Art Cancro [Wed, 25 Feb 2004 23:10:28 +0000 (23:10 +0000)]
* Allow "/do_logout" as a no-frames page
Art Cancro [Wed, 25 Feb 2004 23:00:21 +0000 (23:00 +0000)]
* Changed the favicon support to LINK tags in the HEAD of static stuff,
to make life easier. (Thanks to prosthetik for this)
Art Cancro [Wed, 25 Feb 2004 15:20:11 +0000 (15:20 +0000)]
* Support for favicon.ico in the static/ directory
Michael Hampton [Wed, 25 Feb 2004 01:35:34 +0000 (01:35 +0000)]
Missing parameter to a printf() function. No idea where it went, but I
put it back.
Art Cancro [Tue, 24 Feb 2004 05:09:07 +0000 (05:09 +0000)]
* Better validation of incoming network messages.
Art Cancro [Tue, 24 Feb 2004 04:06:42 +0000 (04:06 +0000)]
* Changed the colors slightly in chat screen
Art Cancro [Tue, 24 Feb 2004 01:54:31 +0000 (01:54 +0000)]
* Removed stray \n
Nathan Bryant [Mon, 23 Feb 2004 16:12:47 +0000 (16:12 +0000)]
fix --help text and bump version to 6.15
Nathan Bryant [Mon, 23 Feb 2004 16:10:48 +0000 (16:10 +0000)]
--disable-pie by default.
Art Cancro [Sun, 22 Feb 2004 05:31:00 +0000 (05:31 +0000)]
* Generate self-signed certificate if keys/citadel.cer is not present.
* Cleaned up some log messages.
Art Cancro [Sun, 22 Feb 2004 04:55:15 +0000 (04:55 +0000)]
* CSR code more or less in its final form for now.
Art Cancro [Sun, 22 Feb 2004 04:42:05 +0000 (04:42 +0000)]
* Initial version of function to automatically generate a Certificate
Signing Request if one is not present
Art Cancro [Sat, 21 Feb 2004 22:27:34 +0000 (22:27 +0000)]
* Set up a style sheet (sitestyle.css) for the whole system. Thanks to
our clever header/footer PHP code, it was very easy. :)
Art Cancro [Fri, 20 Feb 2004 19:33:43 +0000 (19:33 +0000)]
* Removed our customized tmpnam() and tmpfile() because I stupidly
hardcoded /tmp into them.
Michael Hampton [Fri, 20 Feb 2004 19:29:05 +0000 (19:29 +0000)]
* Fix bug 112: .Goto allowed partial room match on forgotten rooms
Art Cancro [Fri, 20 Feb 2004 06:07:06 +0000 (06:07 +0000)]
* Replaced the Java chat with a new system based on IFRAME's and JavaScript
Art Cancro [Fri, 20 Feb 2004 02:55:18 +0000 (02:55 +0000)]
* Fixed one of the prompts (bugzilla #118)
Art Cancro [Thu, 19 Feb 2004 04:12:56 +0000 (04:12 +0000)]
* Instead of doing the silly "Kolab reserved folder names" thing, instead
implemented the Cyrus-compatible style of forcing all personal mailbox
folders to be subfolders of INBOX. But only for IMAP.
Art Cancro [Thu, 19 Feb 2004 03:32:53 +0000 (03:32 +0000)]
* THIS IS 5.05
Art Cancro [Thu, 19 Feb 2004 03:32:38 +0000 (03:32 +0000)]
* Changed the internal version number to 5.05
* Completed the frames fix
Art Cancro [Wed, 18 Feb 2004 20:11:07 +0000 (20:11 +0000)]
* page_user
Art Cancro [Wed, 18 Feb 2004 20:08:29 +0000 (20:08 +0000)]
* Fixed the frameset force reload logic. Now it does the whole frameset
without displaying an error in the main frame.
Art Cancro [Wed, 18 Feb 2004 19:17:51 +0000 (19:17 +0000)]
* Force reload of frameset if someone tries to escape it. Not perfect
but it mostly works at this poing.
Art Cancro [Wed, 18 Feb 2004 14:46:05 +0000 (14:46 +0000)]
* smtp: EHLO response now includes both "AUTH " and "AUTH=" output, due to
the requirement to interoperate with brain-dead Microsoft shitware that
doesn't follow the RFC.
Art Cancro [Tue, 17 Feb 2004 16:56:51 +0000 (16:56 +0000)]
* During SSL initialization, create the "keys" directory if it does not
exist ... generate a private key if that does not exist ... more code
coming soon to generate CSR and self-signed cert. Hard-coded pathnames
have been moved to sysconfig.h.
Art Cancro [Tue, 17 Feb 2004 04:47:22 +0000 (04:47 +0000)]
* Support PLAIN auth method in SMTP
Art Cancro [Tue, 17 Feb 2004 03:53:11 +0000 (03:53 +0000)]
* New ICAL subcommand "sgi" to enable or disable automatic server
generated invitations. (WebCit wants sgi's but Kontaqt doesn't.)
Art Cancro [Tue, 17 Feb 2004 03:37:11 +0000 (03:37 +0000)]
* Indicate to Citadel that we want Server Generated Invitations when
calendar events are saved. (No longer the default in Citadel server.)
Art Cancro [Mon, 16 Feb 2004 21:54:22 +0000 (21:54 +0000)]
* Support POP3 over TLS
Art Cancro [Mon, 16 Feb 2004 21:45:44 +0000 (21:45 +0000)]
* Implement RFC 2487 - SMTP Service Extension for Secure SMTP over TLS
Art Cancro [Mon, 16 Feb 2004 21:02:28 +0000 (21:02 +0000)]
* IMAP and Citadel protocols now use the same code path for TLS negotiation
Art Cancro [Mon, 16 Feb 2004 20:55:47 +0000 (20:55 +0000)]
* Genericized the Citadel API for TLS-enabling protocols
Michael Hampton [Mon, 16 Feb 2004 18:16:39 +0000 (18:16 +0000)]
* Remove some unnecessary and possibly hazardous debugging code leftover
from debugging IMAP STARTTLS
Michael Hampton [Mon, 16 Feb 2004 18:14:01 +0000 (18:14 +0000)]
* Fixed IMAP STARTTLS; trouble was in client_read_ssl the whole time.
It should now be possible to implement SSL/TLS for any protocol.
Michael Hampton [Mon, 16 Feb 2004 18:13:10 +0000 (18:13 +0000)]
* Log session IDs in syslog as well as stderr
Michael Hampton [Mon, 16 Feb 2004 15:06:45 +0000 (15:06 +0000)]
* Add specific error codes for every command on the wire protocol, so that
clients can more easily determine what went wrong. Partially updated
session.txt (will finish it later). This lets clients more easily
determine what, if anything, went wrong with a particular command.
Art Cancro [Sun, 15 Feb 2004 06:06:50 +0000 (06:06 +0000)]
* More work on IMAP TLS. Still not working correctly. :( Added in
support for server-side certificates. Now instead of failing it hangs.
VS: ----------------------------------------------------------------------
Art Cancro [Sat, 14 Feb 2004 04:41:55 +0000 (04:41 +0000)]
* STARTTLS attempt #2. Still disabled because it's broken.
Michael Hampton [Fri, 13 Feb 2004 20:51:13 +0000 (20:51 +0000)]
* Reset screen attributes before fork() so that external programs do the
right thing
Art Cancro [Thu, 12 Feb 2004 14:17:19 +0000 (14:17 +0000)]
* Removed PLAIN because there are two different ways to execute the
command and it's just too stupid. F**king Crispin strikes again.
Art Cancro [Thu, 12 Feb 2004 04:16:39 +0000 (04:16 +0000)]
* Support for PLAIN logins in IMAP (need to test!)
Art Cancro [Thu, 12 Feb 2004 03:51:38 +0000 (03:51 +0000)]
* updated some notes in roadmap.txt
Art Cancro [Wed, 11 Feb 2004 03:50:49 +0000 (03:50 +0000)]
* The groupware folders "Calendar", "Contacts", "Notes", and "Tasks" are
now presented as subfolders of INBOX when using IMAP. This is for the
purpose of Kolab compatibility.
Michael Hampton [Mon, 9 Feb 2004 22:40:57 +0000 (22:40 +0000)]
* oops...also close the client on EOF/error on tty OUTPUT
Michael Hampton [Mon, 9 Feb 2004 22:26:17 +0000 (22:26 +0000)]
* Exit the citadel client when EOF reached on input - should prevent
a process from hanging around when a telnet connection dies unexpectedly
Art Cancro [Mon, 9 Feb 2004 04:49:32 +0000 (04:49 +0000)]
* Prepare for a way to avoid falling out of the main frameset
Art Cancro [Mon, 9 Feb 2004 03:38:14 +0000 (03:38 +0000)]
* cvsignore
Art Cancro [Mon, 9 Feb 2004 03:37:57 +0000 (03:37 +0000)]
* Changed the thread pool management algorithm. Detecting idle time between
socket accepts was not working reliably on all systems, so we now follow
the same algorithm as the Citadel server (spawn more threads when number
of sessions < number of threads, but keep constrained to pre-defined
minimum and maximum thread count)