Art Cancro [Mon, 19 Mar 2007 03:18:20 +0000 (03:18 +0000)]
SMTP bounces are now MIME format with a multipart/mixed
content type. Within the next few days I will be committing another patch
that attaches the original message.
Art Cancro [Sun, 18 Mar 2007 03:55:06 +0000 (03:55 +0000)]
Calendar service now handles icalendar objects that may
or may not be buried inside multipart MIME messages, in the following places:
* Calendar display in WebCit
* Free/busy output
* Conflict checking
* webcal output
Art Cancro [Sat, 17 Mar 2007 04:59:53 +0000 (04:59 +0000)]
Marked a couple of locations in the calendar code with comments
that include the tag "FIXME CONNECTOR DEV" making note of places
where we need to convert the code to handle icalendar components
that may or may not be embedded inside multipart messages.
Art Cancro [Sat, 17 Mar 2007 04:25:02 +0000 (04:25 +0000)]
* serv_vcard.c : hacked after-save hook to handle text/vcard in addition to text/x-vcard
* Numerous other hacks to accept both of the above mime type
* More importantly, text/vcard is now the mime type we *generate*
Art Cancro [Sat, 17 Mar 2007 03:41:09 +0000 (03:41 +0000)]
CtdlForEachMessage() now accepts regular expressions when
searching for messages with a specific MIME type. This was necessary
for the text/x-vcard to text/vcard transition.
Art Cancro [Fri, 16 Mar 2007 15:21:09 +0000 (15:21 +0000)]
Supplying a content type to CtdlDeleteMessages() in order
to delete all messages of a particular content type, now supports the
use of regular expressions.
serv_vcard.c now uses a regular expression to replace messages of
both types 'text/x-vcard' and 'text/vcard' in order to support the
transition.
Art Cancro [Thu, 15 Mar 2007 19:26:45 +0000 (19:26 +0000)]
beforesave and aftersave hooks for calendar rooms have been
updated to handle text/calendar items that may be buried inside
a multipart message. It still handles this data if it appears at the
top level too, of course. And the new algorithm is both cleaner and
more efficient because it just calls the mime parser instead of doing
all sorts of weird string scanning. Isn't progress wonderful?
Art Cancro [Thu, 15 Mar 2007 16:42:50 +0000 (16:42 +0000)]
citadel_ipc.c: when fetching an expire policy, the command buffer needs to be
more than 11 bytes, otherwise the string "GPEX mailboxes" smashes the stack.
Art Cancro [Tue, 13 Mar 2007 02:39:42 +0000 (02:39 +0000)]
mime_parser: remove code that reduces the size of the
extracted multipart component by one, because it's not correct.
The original detected size appears to be the correct one. This
probably means that there is an off-by-one error somewhere else.
Art Cancro [Tue, 13 Mar 2007 01:57:49 +0000 (01:57 +0000)]
beforesave hook for calendar rooms no longer rejects
messages not of type text/calendar. We cannot maintain this level of purity
anymore because the Bynari connector will attempt to store multipart/mixed as
well as metadata.
Art Cancro [Tue, 13 Mar 2007 01:45:00 +0000 (01:45 +0000)]
display_using_handler() now needs to request more than just
the message base headers. It needs the mime structure to find nested
parts of the requested type.
Art Cancro [Sat, 10 Mar 2007 21:03:36 +0000 (21:03 +0000)]
When re-creating an expired session, re-use the
session ID number that they had before. Although the client
browser is supposed to pick up the new session ID from the next
cookie and start using it, some badly configured clients do not
do this, causing many new sessions to be created.
Art Cancro [Thu, 8 Mar 2007 05:26:12 +0000 (05:26 +0000)]
For address autocompletion, results of the AUTO command
are now search-reduced using the fulltext index prior to scanning
if possible, in order to improve performance on very large address
books.
Art Cancro [Wed, 7 Mar 2007 20:05:50 +0000 (20:05 +0000)]
Added a comment next to the string
'Mailbox already exists, or create failed' in serv_imap.c indicating
that the Bynari connector is looking for that exact string, so don't
change it.
* added include files containing structural information from our database backend.
* added type definitions translating the structure information back into c-structs
* added type definitions for serializing / deserializing our structurse to artv.
* added code to serv_vanderley to auto dump our datastructurse
* incremented the EXPORT_REV_MIN because of the sequence of config is changed to be similar to our storage backend.
* added include flags to the makefiles.
Art Cancro [Sat, 24 Feb 2007 04:58:54 +0000 (04:58 +0000)]
Updated the html2html filter. When we encounter a charset
declaration within the meta tags, the charset 'unicode' is manually aliased
to 'UTF-8'. GNU iconv wants to treat it as an alias for 'UTF-16' but
messages generated by brain-damaged MS Exchange webmail are declaring
'unicode' when they really mean 'UTF-8'. This change only applies to
meta tags; it is not a program-wide alias.
Art Cancro [Thu, 22 Feb 2007 22:24:14 +0000 (22:24 +0000)]
Enter message / write mail dialog : present a drop-down box
allowing the user to enter a message using their account's screen name,
the friendly name on their vCard, or anonymous (if allowed in the current
room).
Art Cancro [Sun, 18 Feb 2007 23:24:25 +0000 (23:24 +0000)]
* Cache the Friendly Name (fn) from the user's vCard
at login and whenever the vCard changes, and store it in
the session data. We will add code to give the user an
option to select it as the display name for email messages.
* Remove techdoc/protocol.txt ... this will be maintained on
the web site now.
Art Cancro [Sat, 10 Feb 2007 22:20:22 +0000 (22:20 +0000)]
imap_acl: never output the 'a' flag, even if the user
has administrative access to the room in question. This should
theoretically prevent compliant clients from performing any of
SETACL/DELETEACL/GETACL/LISTRIGHTS commands on the room, which
is good because those commands are not fully implemented yet.