Nathan Bryant [Tue, 9 Dec 2003 06:39:20 +0000 (06:39 +0000)]
did a minimal amount of ANSIfication without changing anything that would
affect the compiler output in any way. I was just trying to get enough warnings
enabled to be able to tell if there are any nested functions lurking about...
If we get rid of nested functions we can get some big security gains under
Fedora.
Art Cancro [Tue, 9 Dec 2003 04:50:16 +0000 (04:50 +0000)]
* Painstakingly combed through IMAP headers and responses for two hours in
an attempt to figure out why the horrendous pile of crap called Microsoft
Outlook counts the correct number of messages but wasn't displaying any
of them. Eventually determined that it was ONE EXTRA SPACE after the
closing paren of the ENVELOPE output that caused Outlook to totally ignore
all the messages. This only reinforces my belief that anything designed
in the state of Washington is utter and complete CRAP.
* Corrected the above glitch. Outbreak works properly now.
Art Cancro [Sun, 23 Nov 2003 04:39:30 +0000 (04:39 +0000)]
* Implemented SEND_LISTING mode in the session proxy
* Put together a simple 'enter message' loop (doesn't work properly yet)
* Threw in a temporary menu
Art Cancro [Sat, 22 Nov 2003 03:30:14 +0000 (03:30 +0000)]
* Commented out the call to the 'high speed download' function and
uncommented the call to the original 'chatty' download function. Some
users were reporting lockups.
Art Cancro [Fri, 21 Nov 2003 18:22:19 +0000 (18:22 +0000)]
* Replaced the two-second sleep (and associated race condition) for the
session proxy to start, with a loop that attempts connection ten times
a second for ten seconds, resulting in faster, more reliable startup.
Art Cancro [Tue, 18 Nov 2003 04:58:34 +0000 (04:58 +0000)]
* Added ctdlelements.php ... this is to be used for functions which fetch
Citadel protocol data and convert it to insertable HTML.
* Implemented a first cut of a "read message" function.
Art Cancro [Thu, 13 Nov 2003 04:25:38 +0000 (04:25 +0000)]
* mime_parser.c: handle multipart *much* more efficiently now. Instead
of scanning line by line, we snag the boundaries using the Boyer-Moore
algorithm.
Art Cancro [Sun, 9 Nov 2003 17:53:47 +0000 (17:53 +0000)]
* Moved all of the session-management code from ctdlheader.php to
ctdlsession.php, leaving only a single function call. This will
hopefully make ctdlheader.php more palatable to non-programmers.
Art Cancro [Thu, 6 Nov 2003 04:25:30 +0000 (04:25 +0000)]
* For certain IMAP outputs (such as BODYSTRUCTURE), buffer all output until
we've got the whole thing, then spew it all at once to avoid lots of
tiny TCP packets.
* New API calls buffer_output() (to start buffering) and unbuffer_output()
(to dump the buffer and stop buffering) are available to do this.
Art Cancro [Sun, 2 Nov 2003 04:12:27 +0000 (04:12 +0000)]
* welcome.php: added.
* do_login.php: reworked to provide a squeaky-clean transition to
the welcome.php page. welcome.php can now contain whatever the site's
webmaster wants it to, without being clogged up with login code.
Art Cancro [Sun, 2 Nov 2003 04:02:36 +0000 (04:02 +0000)]
* Firmed up the login/logout process
* Don't allow load of pages other than login.php logout.php do_login.php
if the session is not logged in.
* Removed sessionproxy.c
Art Cancro [Sun, 2 Nov 2003 02:39:30 +0000 (02:39 +0000)]
* Added a proper CVS ID and Copyright disclaimer to every file. Other
developers and webmasters working on the project, please add your own
identities to the copyright notice of any module you work on.
Art Cancro [Sat, 1 Nov 2003 23:29:04 +0000 (23:29 +0000)]
* Allow the session proxy to time out after 15 minutes.
* This program now requires PHP v4.3.0 or newer due to bugs in the socket
functions of PHP 4.1. ctdlheader.php now enforces this.
Art Cancro [Sat, 1 Nov 2003 05:10:49 +0000 (05:10 +0000)]
* When sending the QUIT command to the server, output a bunch more newlines
so the session proxy has a chance to see that the Citadel server closed
the connection. This will make the proxy shut down as well.
Art Cancro [Thu, 23 Oct 2003 03:07:54 +0000 (03:07 +0000)]
* event.c: Found and removed another unquoted multi-line string literal
* webcit.h: changed an #ifdef HAVE_ICAL_H
to #ifdef WEBCIT_WITH_CALENDAR_SERVICE to avoid false positives
Art Cancro [Fri, 17 Oct 2003 02:31:45 +0000 (02:31 +0000)]
* Multi-line string literals are deprecated in GCC 3.1 unless each line
is wrapped in quotes. Performed this fix so it'll compile.
* setup.c: removed references to unused variable tempfile[]
Art Cancro [Sun, 21 Sep 2003 04:10:58 +0000 (04:10 +0000)]
* messages.c: don't crash when a message contains more than MAXURLS of
embedded URL's. Omit them instead.
* citadel.rc: updated the sample browser remoting command for Macintosh
based on a Mr.T suggestion
* techdoc/session.txt: redid the writeup for the MOVE command (fixed a
mistake and made the writeup clearer)
Art Cancro [Wed, 17 Sep 2003 21:40:14 +0000 (21:40 +0000)]
* html.c: don't truncate messages when wacky characters are
encountered. Substitute '?' characters instead. Now the Citadel
community can complain about b0rken MS ASCII.
Art Cancro [Mon, 8 Sep 2003 18:48:14 +0000 (18:48 +0000)]
* The unix domain socket used for citmail to talk to citserver now
implements LMTP (RFC2033). Other LMTP client implementations (such as
Postfix) can also use the socket, eliminating the need for citmail.