Art Cancro [Fri, 2 May 2003 04:02:47 +0000 (04:02 +0000)]
* setup.c: allow specification of the Citadel system account by either
username or uid
* setup.c: tell init to re-read /etc/inittab by sending a SIGHUP to pid 1
instead of hunting around for the correct init or telinit command
* docs/citadel.html: documented the above change, and also rewrote some
other stuff to be less BBS-specific
Art Cancro [Mon, 28 Apr 2003 16:56:51 +0000 (16:56 +0000)]
* Added a site-configurable setting to suppress the automatic correction of
forged From: lines from authenticated SMTP users, for those who prefer
strict RFC compliance instead of common sense.
Art Cancro [Sun, 27 Apr 2003 04:46:02 +0000 (04:46 +0000)]
* Replace LKRN/LKRO in "folders view" room list with a single LKRA that
observes the flag designating the presence of new messages. (The "rooms
view" uses an LKRN/LKRO pair *per floor* and has the same inefficiency,
but that view may get axed soon.)
Art Cancro [Sat, 26 Apr 2003 04:22:51 +0000 (04:22 +0000)]
* Removal of individual "remote" lines from message delivery instruction sets
was corrupting the end of the set, rendering the "bounceto" line unusable
and preventing bounces from being delivered. Fixed this by explicitly
adding a trailing newline when remove_token() strips it.
Art Cancro [Tue, 15 Apr 2003 02:44:03 +0000 (02:44 +0000)]
* Do not allow incoming network polls while an outbound network processing
session is in progress.
* tools.c: removed collapsed_strcmp() as it is no longer used anywhere
Art Cancro [Wed, 9 Apr 2003 04:02:32 +0000 (04:02 +0000)]
* Remove the defaulthost/defaultport vs. c_host/c_port stuff -- we haven't
supported the idea of one WebCit connecting to multiple Citadels for a
long time. Now it's just one set of variables, called ctdlhost/ctdlport.
* When connecting to Citadel through a Unix domain socket, don't try to make
the Java chat applet available.
Art Cancro [Tue, 8 Apr 2003 04:03:37 +0000 (04:03 +0000)]
* Implemented the ".SILENT" protocol option in IMAP STORE. Certain apps seem
to want to use it.
* Optimized the IMAP operations which scan for expunged and added messages.
These loops no longer make multiple traversals through the message list.
Art Cancro [Mon, 7 Apr 2003 05:02:24 +0000 (05:02 +0000)]
* Reworked all the "list rooms" operations so that they only require one
pass through the database.
* Repaired the "create floor" operation which was broken by the switch
to the new IPC libray
Art Cancro [Tue, 1 Apr 2003 05:01:08 +0000 (05:01 +0000)]
* sysdep.c: optimized MyContext() a bit, and inlined it. A little profiling
revealed that this function was getting used super heavily.
* tools.c: removed the older, slower string tokenizer functions that
weren't getting used anymore.
Art Cancro [Sun, 30 Mar 2003 06:16:52 +0000 (06:16 +0000)]
* Optimized CtdlReadMessageBody() and also gave it an option to store
messages with CRLF newlines instead of LF. This option is used when
reading SMTP in order to keep Pine from barfing on LF-terminated newlines
while decoding quoted-printable. Once again, Mark Crispin is an idiot.
Art Cancro [Sun, 30 Mar 2003 06:13:19 +0000 (06:13 +0000)]
* When reading from the server, do not treat CR as end-of-line because
there's probably an LF coming after it. Instead, keep reading to the LF
and then strip both.
* No not underline links in the icon bars
Art Cancro [Wed, 26 Mar 2003 05:17:12 +0000 (05:17 +0000)]
* Downloading of attachments was completely broken by the change to the new
protocol library. Located and fixed bugs.
* html.c: increased the conversion buffer size
Art Cancro [Tue, 18 Mar 2003 05:15:05 +0000 (05:15 +0000)]
* Applied a patch sent in by Clint Adams <schizo@debian.org> to handle
building on Debian's unstable with Berkeley DB 4.1, compiled with
the --with-db-uniquename when errno is a macro (as in glibc 2.3.1).
Art Cancro [Mon, 17 Mar 2003 04:17:41 +0000 (04:17 +0000)]
* Call to accept() was being made with an uninitialized variable for the
third argument. Changed the second and third argument to NULL and 0 because
we don't really need accept() to fill up a buffer full of information that
we'll never use. (Thanks to SteveV for reporting the bug and helping to
troubleshoot it.)
* Removed the mutex wrapper around select() because we don't need it. All
idle worker threads now block on select() and one of them will wake up when
a connection arrives.
Art Cancro [Sat, 15 Mar 2003 23:05:08 +0000 (23:05 +0000)]
* Rewrite of calendar-to-freebusy conversion functions. This one creates
freebusy in the correct format, instead of what I mistakenly assumed it
was supposed to look like. :(
Art Cancro [Sat, 15 Mar 2003 22:31:06 +0000 (22:31 +0000)]
* When scanning a user's Calendar> room for calendar events, search for
MIME parts of type text/calendar instead of assuming that the event will
always appear as part "1"
Art Cancro [Thu, 13 Mar 2003 05:20:23 +0000 (05:20 +0000)]
* Various changes to the calendar service to handle messages containing
fully encapsulated VCALENDAR components instead of only unencapsulated
VEVENT subcomponents. We have to move in this direction for compatibility
with other products.
Art Cancro [Mon, 10 Mar 2003 05:38:21 +0000 (05:38 +0000)]
* Tweaks to msgbase.c and imap_fetch.c to fix slightly incorrect byte counts
reported in the numerous variations of IMAP FETCH. This silences a number of
error messages reported by Pine.
Art Cancro [Thu, 6 Mar 2003 04:58:11 +0000 (04:58 +0000)]
* When entering a message into Citadel with authenticated SMTP, stamp the
room name as MAILROOM (Mail>) so it doesn't end up with an ugly moniker
like "0000058008.Sent Items"
Art Cancro [Wed, 5 Mar 2003 04:55:32 +0000 (04:55 +0000)]
* serv_smtp.c: when authenticated, do not log out when a RSET command is
issued. This breaks clients which carelessly issue RSET before each
message, such as Pine.
* serv_smtp.c: when authenticated, ignore envelope FROM:<xxx> sender name
and replace with address of user who authenticated. Also fixes Pine.
* serv_smtp.c: when authenticated, not only do we continue our glorious
RFC-violating condition of replacing the From: header with the user who
is logged in, but we also stamp it with their preferred Internet address
for outbound mail (which is kept in CC->cs_inet_email).
Art Cancro [Sat, 1 Mar 2003 22:07:19 +0000 (22:07 +0000)]
* New user registration, as well as existing user re-registration, now
uses the vCard editing screen.
* Administratively editing users' address book entries now works again,
mainly due to a fix in the Citadel server. Now requiring Citadel 6.06
in order to enforce this.
Art Cancro [Mon, 17 Feb 2003 05:23:20 +0000 (05:23 +0000)]
* Fixed a small bug in the GDBM backend (deprecated, but the bug was very
obvious and a kind user pointed it out)
* Removed vestiges of setjmp/longjmp from the client
* When doing .TS, don't get caught in a constant-logout loop