Wilfried Göesgens [Tue, 16 Oct 2007 21:27:50 +0000 (21:27 +0000)]
* stat the socket before we try to open it, looks better like that in the log.
Wilfried Göesgens [Tue, 16 Oct 2007 21:23:37 +0000 (21:23 +0000)]
* 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.
Thierry Pasqualier [Tue, 16 Oct 2007 20:54:11 +0000 (20:54 +0000)]
fix banner spacing (search field and view select) for IE
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.
Dave West [Tue, 16 Oct 2007 07:29:03 +0000 (07:29 +0000)]
Added a comment to serv_ldap.c
Fixed an obvious bug (according to the comments) with the \Answered flag
in IMAP.
Thierry Pasqualier [Mon, 15 Oct 2007 20:15:51 +0000 (20:15 +0000)]
Day view : events with minutes
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.
Thierry Pasqualier [Mon, 15 Oct 2007 12:01:26 +0000 (12:01 +0000)]
Cal day view : introduce a gap for event which begin at same hour, display events with round corners (CSS3 - only Firefox)
Thierry Pasqualier [Mon, 15 Oct 2007 11:25:38 +0000 (11:25 +0000)]
Cal day view : fix a display bug with timezone
Art Cancro [Mon, 15 Oct 2007 04:22:06 +0000 (04:22 +0000)]
Added a mini month calendar to the day view.
Day links are hot, but the previous/next month links are
not yet working.
Thierry Pasqualier [Sun, 14 Oct 2007 20:05:21 +0000 (20:05 +0000)]
Calendar day view :
* first implementation of ongoing events
* without minutes
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.
Dave West [Sun, 14 Oct 2007 15:45:34 +0000 (15:45 +0000)]
Now we build the Makefile includes for user modules as well.
Thierry Pasqualier [Sun, 14 Oct 2007 14:13:27 +0000 (14:13 +0000)]
Day view : in progress. Without minutes
Dave West [Sun, 14 Oct 2007 12:51:28 +0000 (12:51 +0000)]
Added a simple comment to include/ctdl_module.h
Added code to automatically include modules into the Makefile
Thierry Pasqualier [Sun, 14 Oct 2007 09:41:00 +0000 (09:41 +0000)]
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.
Wilfried Göesgens [Sat, 13 Oct 2007 17:08:46 +0000 (17:08 +0000)]
* speed up imap_pick_range by getting the Imap-Context once.
* call strlen only once in imap_macro_replace.
Wilfried Göesgens [Sat, 13 Oct 2007 17:03:21 +0000 (17:03 +0000)]
* speed up client_write by fetching the context once.
Wilfried Göesgens [Sat, 13 Oct 2007 16:00:59 +0000 (16:00 +0000)]
* imap profiling: mimeparser: use MemReadlineLen, keep its value; avoid strlen in frequent used places.
Wilfried Göesgens [Sat, 13 Oct 2007 15:56:27 +0000 (15:56 +0000)]
* don't call the context getter to frequent.
Wilfried Göesgens [Sat, 13 Oct 2007 15:55:23 +0000 (15:55 +0000)]
* Imap profiling: memreadline function that returns the copied stringlength so we can use it after.
Wilfried Göesgens [Sat, 13 Oct 2007 14:34:39 +0000 (14:34 +0000)]
* we need to compare sizeof int to sizeof sizet to switch this between 32 and 64 bits.
Art Cancro [Sat, 13 Oct 2007 05:32:49 +0000 (05:32 +0000)]
Quick fix to day view; still needs a bit of tweaking
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 [Sat, 13 Oct 2007 05:00:06 +0000 (05:00 +0000)]
Rewrote the multi day event code using only the
libical API and no time_t/localtime stuff.
Thierry Pasqualier [Fri, 12 Oct 2007 21:39:47 +0000 (21:39 +0000)]
Fix display of events hour per hour
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'
Thierry Pasqualier [Fri, 12 Oct 2007 20:24:35 +0000 (20:24 +0000)]
New calendar day view (incomplete)
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.
Dave West [Fri, 12 Oct 2007 18:20:36 +0000 (18:20 +0000)]
Fix function names to be in line with coding style.
Dave West [Fri, 12 Oct 2007 17:55:44 +0000 (17:55 +0000)]
Begin fix ups of coding style to get a bit closer to what is published
style.
Ran indent -kr -i8 serv_ldap.c as per Wiki instructions.
Wilfried Göesgens [Fri, 12 Oct 2007 13:15:39 +0000 (13:15 +0000)]
* DST-Hack for all day events too.
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).
Wilfried Göesgens [Thu, 11 Oct 2007 22:23:53 +0000 (22:23 +0000)]
* fix calculation of all day events
* workaround troubles with daylight saving time.
Wilfried Göesgens [Thu, 11 Oct 2007 19:33:30 +0000 (19:33 +0000)]
* mktime() modifies us, we mustn't call it twice on the same data, it doesn't work.
Wilfried Göesgens [Thu, 11 Oct 2007 17:37:14 +0000 (17:37 +0000)]
* for some reason copying an event from our calendar seems to be the better way to init the struct tm we want to compare with later.
Art Cancro [Thu, 11 Oct 2007 02:21:35 +0000 (02:21 +0000)]
Completed the implementation of RFC2359
(the UIDPLUS extension to IMAP).
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 19:19:14 +0000 (19:19 +0000)]
Fixed userlist command so it defaults to using unix domain socket
instead of SEGFLTing.
Art Cancro [Wed, 10 Oct 2007 17:23:54 +0000 (17:23 +0000)]
Version number to 7.22
Dave West [Wed, 10 Oct 2007 17:01:23 +0000 (17:01 +0000)]
LDAP module no longer allows duplicate values for the same attribute,
stops the ldap server complaining.
Dave West [Wed, 10 Oct 2007 16:21:51 +0000 (16:21 +0000)]
Fixed same extract_token bug for webcit.
Dave West [Wed, 10 Oct 2007 16:13:47 +0000 (16:13 +0000)]
Fixed a bug in extract_token that allowed a buffer overflow and probable
crash.
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
Wilfried Göesgens [Mon, 8 Oct 2007 22:00:06 +0000 (22:00 +0000)]
* 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...
Thierry Pasqualier [Mon, 8 Oct 2007 21:52:21 +0000 (21:52 +0000)]
display webcit calendar day view with bubble tooltips (incomplete)
Thierry Pasqualier [Mon, 8 Oct 2007 21:02:25 +0000 (21:02 +0000)]
display webcit calendar day view events with minutes
Dave West [Sun, 7 Oct 2007 14:42:12 +0000 (14:42 +0000)]
Changed text "Calendar hour format" to "Time format" as it applies to
all times (nearly).
Updated the associated translations (please check them).
Thierry Pasqualier [Sun, 7 Oct 2007 07:50:40 +0000 (07:50 +0000)]
display webcit calendar day view with daystart parameter
Thierry Pasqualier [Sun, 7 Oct 2007 07:36:26 +0000 (07:36 +0000)]
display webcit calendar day view with dayend parameter
Thierry Pasqualier [Sun, 7 Oct 2007 06:22:10 +0000 (06:22 +0000)]
improvement of the daily view of calendar, imcomplete...
Thierry Pasqualier [Sun, 7 Oct 2007 06:11:27 +0000 (06:11 +0000)]
Some CSS for a pretty log off screen
Dave West [Sat, 6 Oct 2007 19:31:14 +0000 (19:31 +0000)]
when delete from GAB now delete from ldap.
Default the fields that ldap requires if not already set.
Dave West [Sat, 6 Oct 2007 18:44:34 +0000 (18:44 +0000)]
Now make upgrade doesn't balk on already existing unstripped directory
Art Cancro [Sat, 6 Oct 2007 18:40:30 +0000 (18:40 +0000)]
Test of commit log mailing
Art Cancro [Sat, 6 Oct 2007 18:38:55 +0000 (18:38 +0000)]
Test of commit log mailing
Dave West [Sat, 6 Oct 2007 18:28:43 +0000 (18:28 +0000)]
We now try to reconnect to the ldap server if it got restarted
since the last time we accessed it.
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.
Wilfried Göesgens [Sat, 6 Oct 2007 15:44:44 +0000 (15:44 +0000)]
* straighten the calendar service define / switch /configure
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.
Wilfried Göesgens [Sat, 6 Oct 2007 11:56:40 +0000 (11:56 +0000)]
* install a copy of the unstripped binaries for debugging.
Wilfried Göesgens [Sat, 6 Oct 2007 11:01:03 +0000 (11:01 +0000)]
* now ecrash gives us at least some usable values.
Wilfried Göesgens [Sat, 6 Oct 2007 09:31:31 +0000 (09:31 +0000)]
* as we now spend allmost all of our time on en/decoding base64 we should build the table once on startup.
Wilfried Göesgens [Sat, 6 Oct 2007 09:11:44 +0000 (09:11 +0000)]
* strip blanks / whitespaces more effectively
* zero string before using it to make valgrind shut up.
Art Cancro [Sat, 6 Oct 2007 04:06:03 +0000 (04:06 +0000)]
Added missing files to webcit build
Wilfried Göesgens [Fri, 5 Oct 2007 22:26:22 +0000 (22:26 +0000)]
* don't use CC in frequent loops. use it once outside.
* holy war on strlen(): client_getln() and sock_getln() are faster now.
Wilfried Göesgens [Fri, 5 Oct 2007 21:00:19 +0000 (21:00 +0000)]
* zero structs before handing them to getpeername() to silence valgrind.
* after looping over the user, we need to append a terminating \0
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 19:52:27 +0000 (19:52 +0000)]
Added code to rebuild citadel.control if it gets deleted some how.
Wilfried Göesgens [Fri, 5 Oct 2007 17:45:49 +0000 (17:45 +0000)]
* just use ldap if it's enabled by config.
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).
Dave West [Thu, 4 Oct 2007 18:29:50 +0000 (18:29 +0000)]
The pid file now contains a valid pid (it used to be 0).
This is the pid of the server process and NOT the watcher process.
Art Cancro [Thu, 4 Oct 2007 18:20:16 +0000 (18:20 +0000)]
Added serv_pager.h (sorry)
Art Cancro [Thu, 4 Oct 2007 02:33:33 +0000 (02:33 +0000)]
Reversed Matt's changes to iconbar.c because it made borders appear on the icons
Art Cancro [Thu, 4 Oct 2007 02:27:01 +0000 (02:27 +0000)]
Added pager config to tuiconfig.c
Art Cancro [Thu, 4 Oct 2007 02:25:19 +0000 (02:25 +0000)]
Added pager config to tuiconfig.c
Art Cancro [Thu, 4 Oct 2007 02:23:47 +0000 (02:23 +0000)]
Added pager config to tuiconfig.c
Art Cancro [Thu, 4 Oct 2007 02:14:21 +0000 (02:14 +0000)]
Applied Matt's patch for pager config -- NOT TESTED
Wilfried Göesgens [Wed, 3 Oct 2007 22:11:14 +0000 (22:11 +0000)]
* compare converted time_t's instead of the tm parts, so we don't have trouble with month / year wraps.
Wilfried Göesgens [Wed, 3 Oct 2007 19:06:42 +0000 (19:06 +0000)]
* don't steal memory from bdb structures.
Thierry Pasqualier [Wed, 3 Oct 2007 18:41:33 +0000 (18:41 +0000)]
fix the who is online display
Wilfried Göesgens [Wed, 3 Oct 2007 13:24:47 +0000 (13:24 +0000)]
* check the username for length so we don't smash our stack.
Wilfried Göesgens [Tue, 2 Oct 2007 23:13:23 +0000 (23:13 +0000)]
* calculate dirs right
* use the static.local / static aproach in our templates section too.
Wilfried Göesgens [Tue, 2 Oct 2007 22:20:24 +0000 (22:20 +0000)]
* use more unixtime to calc multi day events over month borders.
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.
Thierry Pasqualier [Tue, 2 Oct 2007 21:49:25 +0000 (21:49 +0000)]
I began to use CSS for the calendar display
Thierry Pasqualier [Tue, 2 Oct 2007 21:07:43 +0000 (21:07 +0000)]
The calendar showed only five lines, therefore certain days being
forgotten, as September 31st, 2007 or March 30th and 31st, 2008.
Art Cancro [Tue, 2 Oct 2007 14:34:34 +0000 (14:34 +0000)]
Added a developer ID for Robert Barta (Perl module)
Thierry Pasqualier [Tue, 2 Oct 2007 07:31:53 +0000 (07:31 +0000)]
oops, remove a ugly background
Thierry Pasqualier [Tue, 2 Oct 2007 07:01:40 +0000 (07:01 +0000)]
Optimize the CSS stylesheet, in progress, test it
Thierry Pasqualier [Mon, 1 Oct 2007 22:33:26 +0000 (22:33 +0000)]
I continue the rewriting of the CSS stylesheet
Wilfried Göesgens [Mon, 1 Oct 2007 21:26:03 +0000 (21:26 +0000)]
* move to config-header similar to citserver.
* configure the location of the key-files
* some inacuarcies at fmt_date and sieve.c
Wilfried Göesgens [Sun, 30 Sep 2007 21:20:23 +0000 (21:20 +0000)]
* check the buffersize while base64 encoding; and adjust it if needed.
* double-pointer the output param, so we can realoc it.
Art Cancro [Sun, 30 Sep 2007 03:34:11 +0000 (03:34 +0000)]
Added 'subject' to aidepost utility
Art Cancro [Sun, 30 Sep 2007 03:26:26 +0000 (03:26 +0000)]
citmail now produces more verbose errors
Thierry Pasqualier [Thu, 27 Sep 2007 19:21:34 +0000 (19:21 +0000)]
CSS: Adjust font size and banner height
Art Cancro [Thu, 27 Sep 2007 19:19:03 +0000 (19:19 +0000)]
The 'edit or delete this room' menu is now
accessible by ordinary users for mailbox rooms which belong
to them. They are presented with an abbreviated set of tabs
which reflect only the functions available to them.