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).
Art Cancro [Wed, 10 Oct 2007 21:28:25 +0000 (21:28 +0000)]
Began implementing the UIDPLUS extension.
[APPENDUID xxx yyy] response is complete.
UID EXPUNGE is complete (uses 'fallback' methodology described in RFC2359)
Still need to do COPYUID and UID COPY before we can advertise this extension.
Dave West [Wed, 10 Oct 2007 13:12:41 +0000 (13:12 +0000)]
Made some ldap functions a little more generic, pass the ldap key in as
parameter.
Fixed a typo in an ldap log message.
Home telephone number is now written to correct ldap location.
Dave West [Tue, 9 Oct 2007 18:06:51 +0000 (18:06 +0000)]
LDAP module changes.
Now send messages to Aide room when errors occurr.
Don't monopolise the ldap server, disconnect after 5 minutes of not
being used.
Fixed a log message in serv_vcard.c
* store some more informations with the calendar items
* precalc some metrics in those additional storages
* use precalced value to evaluate whether to display or not...
Dave West [Sat, 6 Oct 2007 18:22:43 +0000 (18:22 +0000)]
Lots of LDAP changes.
The schema has changed every one will need to update to the new schema.
The dn has changed, you will need to delete all citadel entries from your
ldap and then do sendcommand IGAB.
A user with write permission to the GAB room can now add and edit entries
that do not refer to them or any other user.
Aides can now alter other users entries without it then becoming theirs.
Users can now update their personal vcard and have it reflected in the GAB
and ldap.
Remaining to do:
Delete and entry from GAB should delete it from ldap.
Editing a users GAB entry does not propogate back to the users vcard.
auth via ldap is coming so you might want to stay away from this for the moment.
Dave West [Sat, 6 Oct 2007 13:45:39 +0000 (13:45 +0000)]
Added LDAP: to begining of lprintfs in ldap module.
Now editing a Vcard in the GAB room updates the ldap entry but only
if it is the users own ldap entry.
Dave West [Fri, 5 Oct 2007 20:28:09 +0000 (20:28 +0000)]
Moved config check for ldap into ldap init.
We need a global config changed hook of some description so that
the server does not need to be restarted when ldap is enabled/disabled.
Dave West [Fri, 5 Oct 2007 02:19:17 +0000 (02:19 +0000)]
Big change to the ldap code to break its dependancy on serv_vcard.c and
vice-versa.
This is also the beginings of a universal directory services interface.
Also added the missing pager module source code.
Dave West [Fri, 5 Oct 2007 00:34:49 +0000 (00:34 +0000)]
Changed serv_network.c receive_spool to remove the use of mv.
This fixed the boom I was getting.
It seems that syscall system may not be thread safe on some systems
(probably old ones).
Art Cancro [Tue, 2 Oct 2007 21:58:51 +0000 (21:58 +0000)]
Saving vCards now requires the API caller to specify the room
name. This name is passed along through the form as a hidden
field, and prevents the vCard from being saved in the wrong room.