Art Cancro [Mon, 29 Oct 2007 20:24:30 +0000 (20:24 +0000)]
Sieve GETENVELOPE - fill in a bogus envelope from
or to address if the supplied one is null, missing, or bogus.
Doesn't deliver a vacation message but it's better than
crashing.
Art Cancro [Mon, 29 Oct 2007 20:14:48 +0000 (20:14 +0000)]
Sieve GETENVELOPE - fill in a bogus envelope from
or to address if the supplied one is null, missing, or bogus.
Doesn't deliver a vacation message but it's better than
crashing.
Art Cancro [Mon, 29 Oct 2007 16:02:58 +0000 (16:02 +0000)]
Found a MUCH better way to store the UIDL's of
previously seen remote POP3 messages. The first attempt
involved another directory full of crap, lots of reading,
writing, and parsing of yet another file format, and a bunch
of extra code involving linked lists and string comparisons
and after several days it still didn't work. This new version
leverages the S_USETABLE database, uses about 50 lines of new
code, and I got it working in about 20 minutes. Sometimes
you've just got to take a couple of steps back and rethink
things.
Art Cancro [Mon, 29 Oct 2007 15:23:19 +0000 (15:23 +0000)]
* Reverted the code I checked in last week that created a
new directory full of files for POP3 UIDL maps. It was
getting ugly and I realized that we could instead extend
the S_NETCONFIGS database to perform the same function.
* Performed a few minor cleanups to code that was generating
compiler warnings
Dave West [Sun, 28 Oct 2007 21:31:48 +0000 (21:31 +0000)]
Added an address book popup to the access controls of rooms.
Now you can select a user to invite into the room.
This needs further attention since in this case we should only allow
selecting from actual users and prevent the option of selecting from
other address book rooms.
Unfortunately that is beyond me, I can not for the life of me see how
this Ajax stuff works.
Dave West [Sun, 28 Oct 2007 11:48:04 +0000 (11:48 +0000)]
Solution to bug no. 258 (forging of from headers with IMAP move)
I have implimented a configuration option in the site wide
configuration.
It is now possible to have Citadel keep the original from headers for
the message.
Art Cancro [Sun, 28 Oct 2007 04:38:08 +0000 (04:38 +0000)]
ical_putics() now calls ical_write_to_cal() with
a NULL user. ical_write_to_cal() has been modified so that
if it is called with a NULL user, it saves the supplied
calendar item to the currently selected room instead of
the user's default calendar. RESOLVES BUG #255
Dave West [Sat, 27 Oct 2007 22:53:32 +0000 (22:53 +0000)]
Fixed bug No. 252. Changing the room settings of a personal mail box no
longer makes the room public.
Also it is now possible to change a room to have it become a personal
mailbox.
Also copied the code from the create room stuff to disable the floor
combo box.
Art Cancro [Fri, 26 Oct 2007 20:22:32 +0000 (20:22 +0000)]
Updated extract_key() in mime_parser.c
We now handle the rare situation in which the 'boundary'
key is not the last key in the content type declaration. This
fixes the occasional 'Unexpected end of message (2)' error in
WebCit.
Art Cancro [Thu, 25 Oct 2007 19:53:48 +0000 (19:53 +0000)]
HTML form variable 'summary' was used in two
different places: for the summary description of a calendar
event, and for a flag to tell the message reading loop to
display a mailbox summary view. As a result, if an event
summary began with a number, and the number was not zero,
the flag would be set, causing a mailbox summary to appear
instead of the calendar after save/cancel. Renamed the
latter variable to 'is_summary' to remove the conflict.
I noticed the bug found by Devew on October 16th:
If one creates an event but does not change the times of the
event from the default values it doesn't show up in the day view at all.
But I have no solution. I suggest fixing the default value to 0 on the place of
9 hour. By waiting to fix it.
Art Cancro [Fri, 19 Oct 2007 03:58:20 +0000 (03:58 +0000)]
Retrieve POP3 UIDL for each message. (Not yet doing
anything with it but we need to build a UIDL map in order to
offer a 'leave messages on server' option).
Art Cancro [Thu, 18 Oct 2007 02:47:54 +0000 (02:47 +0000)]
POP3 aggregation client: transmit CRLF newlines instead
of LF newlines. No bonus points will be awarded for guessing whose
POP3 server is b0rken and doesn't auto-detect the type of newlines
being used: this fix gets the client to work properly with the
brain-dead Microsoft Exchange server.
* implemented messagemode 2
* customize logging, if we want to pipe our protocol-data to a logfile, we don't need html comments.
* don't return false if we're already logged in, as pdas tend to try to authenticate all the time.
Dave West [Tue, 16 Oct 2007 13:10:20 +0000 (13:10 +0000)]
Fixed a bug that could cause us to keep a temporary file open.
When moving the network temporary spool file to the permanent spool
file, if the fopen of the permanent spool file fails then the temporary
spool file was not closed.
Art Cancro [Mon, 15 Oct 2007 17:42:49 +0000 (17:42 +0000)]
Mini month calendar is complete. The 'previous month'
and 'next month' buttons are using AJAX updater in order to
eliminate the need to re-render the entire screen.
Dave West [Sun, 14 Oct 2007 16:50:27 +0000 (16:50 +0000)]
Added new function calls for aide_message and lprintf.
Original names remain for compatability but they can now be called as
CtdlAideMessage and CtdlLogPrintf respectively to comply with the Coding
Style document.
You will need to include ctdl_module.h to use these new names.
Please use the new names from now on.
Daily vue of Calendar.
I began to rewrite my code.
IG and Dothebart: you can verify the coherence with your codes
I continue later to fix the calculations of position and height of each events.
I fix later the events wich span several days
Art Cancro [Sun, 14 Oct 2007 04:30:27 +0000 (04:30 +0000)]
Remove 'can_do_msg4' variable from client. If
anyone is pointing a 2007 client at a pre-2002 server, they've
already got other problems. This simplifies things a bit.
Art Cancro [Sat, 13 Oct 2007 05:18:17 +0000 (05:18 +0000)]
Brought back a *small* amount of time_t in order to cope with
events that occur during those times of day when the date is different
in the local timezone than it is in UTC.
Art Cancro [Fri, 12 Oct 2007 20:24:44 +0000 (20:24 +0000)]
Slight change to previous commit.
davew found that we should be using 'filename' not 'buf'
But we also need to set the buffer length to 'sizeof filename'
instead of 'sizeof buf'
Dave West [Fri, 12 Oct 2007 20:18:40 +0000 (20:18 +0000)]
Fixed a bug in serv_network.c that was causing strange files to appear
in citadel home directory.
This may also have caused spooled messages to go missing, depends on who
polled who.
Art Cancro [Fri, 12 Oct 2007 04:54:59 +0000 (04:54 +0000)]
Added a preference setting to allow each user to choose
to start the calendar view on either Sunday or Monday (or whatever
those days are called in the local language).