Art Cancro [Thu, 20 Oct 2005 21:56:42 +0000 (21:56 +0000)]
* ft_wordbreaker.c: added a list of 'noise words' to ignore. This is
admittedly EN/US specific, so if anyone wants to contribute noise words
for other languages...
Art Cancro [Wed, 19 Oct 2005 17:32:55 +0000 (17:32 +0000)]
* New type of server hook: CtdlRegisterFixedOutputHook(). This is for
extending the fixed_output() function for arbitrary new MIME types. The
usefulness of this for end users is limited, since no clients use MSG0
anymore. The real purpose of converting various MIME types to text is to
make them visible to the full text indexer.
* serv_vcard.c: registered a fixed output hook for text/x-vcard.
:
Art Cancro [Wed, 19 Oct 2005 02:56:55 +0000 (02:56 +0000)]
* msgbase.c, messages.c, html.c: conversion of HTML to plain text now accepts
a maximum source length. MSG0 output of multipart messages was running
right past the end of the HTML and into, for example, a subsequent base64
encoded attachment, which was then output -- or worse, indexed.
* Since everyone's fulltext indices probably contain a lot of base64 junk, the
FT_WORDBREAKER_ID has been bumped. This will force an index rebuild on any
sites that are upgraded.
Art Cancro [Tue, 18 Oct 2005 17:12:49 +0000 (17:12 +0000)]
* serv_fulltext.c: index records are now cached in memory. This
significantly speeds up indexing of an existing message base. We
flush the cache to disk when finished.
Art Cancro [Sun, 16 Oct 2005 04:25:06 +0000 (04:25 +0000)]
* msgbase.c: alias() now handles addresses such as
Display Name <user@host.org>
...when user@host.org resolves to a user on the local Citadel server
or network, without trying to loop out and back in again via SMTP.
Art Cancro [Thu, 13 Oct 2005 19:31:41 +0000 (19:31 +0000)]
* <tr> and </tr> tags for each row in a mailbox summary view, are now
output by display_summarized() instead of by readloop(). This makes the
code easier to read and refactors it slightly in preparation for some evil
plans...
Art Cancro [Thu, 13 Oct 2005 04:03:38 +0000 (04:03 +0000)]
* citadel.c: don't crash when <.R>ead <U>serlist results in an empty
list. The ClientIPC API returns NULL if the search returned no results,
which we have to handle. This resolves Bugzilla issue #154.
Art Cancro [Thu, 13 Oct 2005 03:31:16 +0000 (03:31 +0000)]
* newinstall.sh: once again, prefer wget over curl. At least one user
reported a problem where the -O option to curl was not available. Also
changed -O to --remote-name in the hope that this works better
Art Cancro [Wed, 12 Oct 2005 21:34:17 +0000 (21:34 +0000)]
* imap_search.c: when fulltext index is enabled, avoid doing a slow search
on each message when BODY is requested. Messages are already qualified
by the indexer.
Art Cancro [Wed, 12 Oct 2005 03:15:27 +0000 (03:15 +0000)]
* Default for autologin is now DISABLED! If you are upgrading an existing
site and are using this function, you must --enable-autologin
* newinstall.sh: --enable-autologin if upgrading an existing installation
that we think is set to autologin. It checks for chkpwd to find out.
Art Cancro [Tue, 11 Oct 2005 04:46:39 +0000 (04:46 +0000)]
* Replication checks and EUID indexing are now only enabled for rooms whose
default view is set to a groupware type of room. This speeds up the saving
and moving of messages for message and mail rooms.
Art Cancro [Tue, 4 Oct 2005 16:38:17 +0000 (16:38 +0000)]
* CtdlOutputPreLoadedMsg() calling syntax has changed. It no longer needs
the message number, because it is being supplied a preloaded message.
* msgbase.c: fixed a problem where HEADERS_NONE mode was broken when
outputting a message in RFC822 format. This was breaking IMAP commands
such as xx FETCH nn BODY[TEXT]
Art Cancro [Sun, 2 Oct 2005 04:40:58 +0000 (04:40 +0000)]
* The EUID index is now built, and replication checks are being performed
using it. It is much faster now because we don't have to scan the entire
room anymore. We still need to do two things:
1. Write a server command to fetch messages by EUID instead of msgnum
2. Find a way to purge stale EUID index records.
Art Cancro [Wed, 28 Sep 2005 03:19:14 +0000 (03:19 +0000)]
* "Reply" and "ReplyAll" now quote the original message, but only when
it's private mail.
* For non-mail, a "ReplyQuoted" button is now present.
* "Move" and "Delete" are now present for a user's mailbox rooms.
* Improved the <blockquote> style.
Art Cancro [Tue, 27 Sep 2005 04:18:46 +0000 (04:18 +0000)]
* Auto-add *recipient* addresses to Contacts. This is done asynchronously
because we do have to scan the address book to make sure we don't
already have the address recorded.
Art Cancro [Wed, 21 Sep 2005 13:21:31 +0000 (13:21 +0000)]
* Don't harvest incoming addresses. A few hours of operation of this in a
production environment proved that it's stupid. This feature has been
disabled; we will harvest outgoing addresses instead.
Art Cancro [Wed, 21 Sep 2005 04:00:54 +0000 (04:00 +0000)]
* Downloading attachments now gives the browser a better hint as to what
it should name the file.
* Downloading attachments is now supported even when the MIME part is
stupidly listed as "inline" rather than "attachment."
Art Cancro [Tue, 20 Sep 2005 21:59:22 +0000 (21:59 +0000)]
* webcit.c: moved request_method[] out of the global scope (yikes!!!)
* rss.c: removed "const" from function declarations to silence
a compiler warning
Art Cancro [Mon, 19 Sep 2005 02:56:21 +0000 (02:56 +0000)]
* Two-pane mail reading now uses Ajax instead of a hidden iframe, and it's
very crisp and responsive.
* "Print message" function now opens up a new window for the print
preview. I just couldn't figure out a way to keep the b0rken IE from
printing the screen instead of the message.
Art Cancro [Sun, 18 Sep 2005 20:33:13 +0000 (20:33 +0000)]
* Now harvesting addresses, converting them to vCards, and storing them in
the Aide> room. All that's left to do now is file the messages in the
appropriate users' address books.
Art Cancro [Sun, 18 Sep 2005 19:34:26 +0000 (19:34 +0000)]
* When submitting a message, harvest non-local addresses for potential
inclusion in a user's Collected Addresses book. Note: we don't actually
do anything with these addresses yet. That comes next.
Art Cancro [Sun, 18 Sep 2005 17:50:05 +0000 (17:50 +0000)]
* serv_network.c: use a stat() call to determine the mtime of spoolin, and
skip the scan if it hasn't been touched since the last time we looked.
* serv_network.c: don't create network/systems/ directory. We haven't used
that in ages.
* serv_network.c: only attempt to create directories at startup, not at
every queue run. Also, chown() them to the citadel user.
Art Cancro [Sun, 18 Sep 2005 16:00:15 +0000 (16:00 +0000)]
* Discovered that Prototype makes it easy to auto-refresh, so I switched
the wholist and summary refresh code to use that API instead of doing it
myself.
* Switched all HTTP/1.0 HTTP/1.1. I don't know if this is going to break
anything (it shouldn't -- I'm not knowingly depending upon any features
of HTTP/1.0), but it *fixes* the problem of Internet Exploder caching
pages even when it's told not to.
Art Cancro [Sun, 18 Sep 2005 15:02:30 +0000 (15:02 +0000)]
* summary.c: summary screen is now updated using ajax instead of refreshing
the whole page. Not only does this look cleaner, but it also has the
happy side effect of not reloading all of the images.
* webcit.c: new API calls begin_ajax_response() and end_ajax_response() for
wrapping inner div's
* webcit.c: removed the "refresh30" parameter from output_headers() and
from all code that calls it. We don't need it anymore; refreshing the
entire page is, like, sooooo 2004. :)