citadel.git
16 years agoAdded code to rebuild citadel.control if it gets deleted some how.
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.

16 years ago* just use ldap if it's enabled by config.
Wilfried Göesgens [Fri, 5 Oct 2007 17:45:49 +0000 (17:45 +0000)]
* just use ldap if it's enabled by config.

16 years agoBig change to the ldap code to break its dependancy on serv_vcard.c and
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.

16 years agoChanged serv_network.c receive_spool to remove the use of mv.
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).

16 years agoThe pid file now contains a valid pid (it used to be 0).
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.

16 years agoAdded serv_pager.h (sorry)
Art Cancro [Thu, 4 Oct 2007 18:20:16 +0000 (18:20 +0000)]
Added serv_pager.h (sorry)

16 years agoReversed Matt's changes to iconbar.c because it made borders appear on the icons
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

16 years agoAdded pager config to tuiconfig.c
Art Cancro [Thu, 4 Oct 2007 02:27:01 +0000 (02:27 +0000)]
Added pager config to tuiconfig.c

16 years agoAdded pager config to tuiconfig.c
Art Cancro [Thu, 4 Oct 2007 02:25:19 +0000 (02:25 +0000)]
Added pager config to tuiconfig.c

16 years agoAdded pager config to tuiconfig.c
Art Cancro [Thu, 4 Oct 2007 02:23:47 +0000 (02:23 +0000)]
Added pager config to tuiconfig.c

16 years agoApplied Matt's patch for pager config -- NOT TESTED
Art Cancro [Thu, 4 Oct 2007 02:14:21 +0000 (02:14 +0000)]
Applied Matt's patch for pager config -- NOT TESTED

16 years ago* compare converted time_t's instead of the tm parts, so we don't have trouble with...
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.

16 years ago* don't steal memory from bdb structures.
Wilfried Göesgens [Wed, 3 Oct 2007 19:06:42 +0000 (19:06 +0000)]
* don't steal memory from bdb structures.

16 years agofix the who is online display
Thierry Pasqualier [Wed, 3 Oct 2007 18:41:33 +0000 (18:41 +0000)]
fix the who is online display

16 years ago* check the username for length so we don't smash our stack.
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.

16 years ago* calculate dirs right
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.

16 years ago* use more unixtime to calc multi day events over month borders.
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.

16 years agoSaving vCards now requires the API caller to specify the room
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.

16 years agoI began to use CSS for the calendar display
Thierry Pasqualier [Tue, 2 Oct 2007 21:49:25 +0000 (21:49 +0000)]
I began to use CSS for the calendar display

16 years agoThe calendar showed only five lines, therefore certain days being
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.

16 years agoAdded a developer ID for Robert Barta (Perl module)
Art Cancro [Tue, 2 Oct 2007 14:34:34 +0000 (14:34 +0000)]
Added a developer ID for Robert Barta (Perl module)

16 years agooops, remove a ugly background
Thierry Pasqualier [Tue, 2 Oct 2007 07:31:53 +0000 (07:31 +0000)]
oops, remove a ugly background

16 years agoOptimize the CSS stylesheet, in progress, test it
Thierry Pasqualier [Tue, 2 Oct 2007 07:01:40 +0000 (07:01 +0000)]
Optimize the CSS stylesheet, in progress, test it

16 years agoI continue the rewriting of the CSS stylesheet
Thierry Pasqualier [Mon, 1 Oct 2007 22:33:26 +0000 (22:33 +0000)]
I continue the rewriting of the CSS stylesheet

16 years ago* move to config-header similar to citserver.
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

16 years ago* check the buffersize while base64 encoding; and adjust it if needed.
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.

16 years agoAdded 'subject' to aidepost utility
Art Cancro [Sun, 30 Sep 2007 03:34:11 +0000 (03:34 +0000)]
Added 'subject' to aidepost utility

16 years agocitmail now produces more verbose errors
Art Cancro [Sun, 30 Sep 2007 03:26:26 +0000 (03:26 +0000)]
citmail now produces more verbose errors

16 years agoCSS: Adjust font size and banner height
Thierry Pasqualier [Thu, 27 Sep 2007 19:21:34 +0000 (19:21 +0000)]
CSS: Adjust font size and banner height

16 years agoThe 'edit or delete this room' menu is now
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.

16 years agoAdded a tab to configure POP3 aggregation.
Art Cancro [Thu, 27 Sep 2007 17:15:24 +0000 (17:15 +0000)]
Added a tab to configure POP3 aggregation.
Still need to provide limited-use entry into the config screen
for non-Aides...

16 years agoKeep some space between boxes in advanced and summary screens
Thierry Pasqualier [Thu, 27 Sep 2007 06:26:11 +0000 (06:26 +0000)]
Keep some space between boxes in advanced and summary screens

16 years agoDon't try to do a DB_STAT_ALL statistics dump
Art Cancro [Wed, 26 Sep 2007 19:47:07 +0000 (19:47 +0000)]
Don't try to do a DB_STAT_ALL statistics dump
if DB_STAT_ALL is not defined.  (I don't know where this is or isn't
defined, but the copy of Berkeley DB on the LCDS mainframe seens to
need it)

16 years agoMajor rewriting of the stylesheet and change of theme. Test it
Thierry Pasqualier [Wed, 26 Sep 2007 19:41:31 +0000 (19:41 +0000)]
Major rewriting of the stylesheet and change of theme. Test it

16 years agoPatch to handle Matt's issue with parentheses
Art Cancro [Wed, 26 Sep 2007 14:19:38 +0000 (14:19 +0000)]
Patch to handle Matt's issue with parentheses

16 years ago* honor 24 / am/pm setting in the bubbles and some other places too.
Wilfried Göesgens [Tue, 25 Sep 2007 21:12:27 +0000 (21:12 +0000)]
* honor 24 / am/pm setting in the bubbles and some other places too.

16 years agourlesc() filenames for attachment download urls
Art Cancro [Tue, 25 Sep 2007 04:08:23 +0000 (04:08 +0000)]
urlesc() filenames for attachment download urls

16 years ago* Citadel configuration screens in the text mode client
Art Cancro [Mon, 24 Sep 2007 20:16:15 +0000 (20:16 +0000)]
* Citadel configuration screens in the text mode client
  have been moved to their own file (tuiconfig.c)
* Added configuration screen for POP3 client module

16 years ago* When saving a netconfigs file, citserver now copies
Art Cancro [Mon, 24 Sep 2007 14:28:57 +0000 (14:28 +0000)]
* When saving a netconfigs file, citserver now copies
  the tempfile to the permanent file using native code instead
  of calling /bin/mv.  Hopefully this will permanently solve the
  (now rare) issue where netconfigs files disappear.
* Allow users to retrieve and store netconfigs files for their
  own mailbox rooms.  This will be required for configuration of
  POP3 aggregation, and in the future it will be required for
  RSS aggregation.

16 years agoParse the • entity
Art Cancro [Fri, 21 Sep 2007 22:07:38 +0000 (22:07 +0000)]
Parse the • entity

16 years agoThe 'master user' account and password may now
Art Cancro [Fri, 21 Sep 2007 16:25:34 +0000 (16:25 +0000)]
The 'master user' account and password may now
be configured using either the text mode client or WebCit.
The 'check RBLs upon connect' option wasn't configured
in WebCit, this has been fixed.

16 years agoFixed compiler warning about ssl_lock
Art Cancro [Thu, 20 Sep 2007 21:41:39 +0000 (21:41 +0000)]
Fixed compiler warning about ssl_lock

16 years ago* honor the openssl configure define, so we don't die if we don't have it.
Wilfried Göesgens [Thu, 20 Sep 2007 20:57:36 +0000 (20:57 +0000)]
* honor the openssl configure define, so we don't die if we don't have it.

16 years agoRemoved the ifdef for the pop3client module
Art Cancro [Thu, 20 Sep 2007 20:03:31 +0000 (20:03 +0000)]
Removed the ifdef for the pop3client module

16 years ago* these includes are needed on freebsd to use pid_t
Wilfried Göesgens [Thu, 20 Sep 2007 06:35:20 +0000 (06:35 +0000)]
* these includes are needed on freebsd to use pid_t

16 years ago* Add CONF options for master user/pass
Art Cancro [Thu, 20 Sep 2007 04:29:40 +0000 (04:29 +0000)]
* Add CONF options for master user/pass
* tools.c: fix some compiler warnings

16 years agoMaster User hack is now defined in site config instead of
Art Cancro [Thu, 20 Sep 2007 04:11:52 +0000 (04:11 +0000)]
Master User hack is now defined in site config instead of
as an ifdef.  Also added the SVN Id: tag to the contents of the x-macros directory.

16 years ago(no commit message)
Art Cancro [Thu, 20 Sep 2007 03:09:28 +0000 (03:09 +0000)]

16 years agoMinor tagging and comments
Art Cancro [Thu, 20 Sep 2007 03:08:19 +0000 (03:08 +0000)]
Minor tagging and comments

16 years agoAggregation of remote POP3 accounts is now working.
Art Cancro [Tue, 18 Sep 2007 21:38:15 +0000 (21:38 +0000)]
Aggregation of remote POP3 accounts is now working.
You can use it by declaring -DPOP3_AGGREGATION in your CFLAGS, and
then manually editing the netconfigs file for a room (typically
an inbox) with a line like:
pop3client|popserver.host.com|username|password
Client configuration screens will follow.

16 years ago* be some more userfriendly while restarting, i18-enable strings.
Wilfried Göesgens [Mon, 17 Sep 2007 22:44:47 +0000 (22:44 +0000)]
* be some more userfriendly while restarting, i18-enable strings.

16 years ago* sleep after nuking the server
Wilfried Göesgens [Mon, 17 Sep 2007 21:57:36 +0000 (21:57 +0000)]
* sleep after nuking the server
* print backtrace if the server connection goes dead.

16 years agofix bug in previous commit
Art Cancro [Mon, 17 Sep 2007 18:53:15 +0000 (18:53 +0000)]
fix bug in previous commit

16 years agoLogin to POP3 server
Art Cancro [Mon, 17 Sep 2007 18:20:00 +0000 (18:20 +0000)]
Login to POP3 server

16 years agoScan each room's netconfig for remote POP3 account definitions
Art Cancro [Mon, 17 Sep 2007 17:46:53 +0000 (17:46 +0000)]
Scan each room's netconfig for remote POP3 account definitions

16 years agoPOP3 client is now in development, add -DPOP3_AGGREGATION to enable
Art Cancro [Mon, 17 Sep 2007 16:18:50 +0000 (16:18 +0000)]
POP3 client is now in development, add -DPOP3_AGGREGATION to enable

16 years agoSkeleton module for POP3 client
Art Cancro [Mon, 17 Sep 2007 16:04:13 +0000 (16:04 +0000)]
Skeleton module for POP3 client

16 years agoSkeleton module for POP3 client
Art Cancro [Mon, 17 Sep 2007 16:02:58 +0000 (16:02 +0000)]
Skeleton module for POP3 client

16 years agoCitadel 7.20 meta-release to be deployed to Easy Install
Art Cancro [Fri, 14 Sep 2007 23:14:22 +0000 (23:14 +0000)]
Citadel 7.20 meta-release to be deployed to Easy Install

16 years ago* compare SIZEOF_SIZE_T with SIZEOF_LONG rather than a digit. Thanks IG
Wilfried Göesgens [Wed, 12 Sep 2007 18:52:20 +0000 (18:52 +0000)]
* compare SIZEOF_SIZE_T with SIZEOF_LONG rather than a digit. Thanks IG

16 years ago* 64 bit cleanness: format size_t properly in printf()
Wilfried Göesgens [Tue, 11 Sep 2007 20:00:18 +0000 (20:00 +0000)]
* 64 bit cleanness: format size_t properly in printf()

16 years agoFor the SSL-only ports, if crypto negotiation fails,
Art Cancro [Mon, 10 Sep 2007 22:14:26 +0000 (22:14 +0000)]
For the SSL-only ports, if crypto negotiation fails,
drop the session instead of falling back to unencrypted mode.

16 years ago* hm, why do we need these? doesn't work with on solaris, but simply without...
Wilfried Göesgens [Mon, 10 Sep 2007 21:14:40 +0000 (21:14 +0000)]
* hm, why do we need these? doesn't work with on solaris, but simply without...

16 years ago* sun cc doesn't like us to do empty lines with ';' in them in structs, so we make...
Wilfried Göesgens [Sat, 8 Sep 2007 23:15:42 +0000 (23:15 +0000)]
* sun cc doesn't like us to do empty lines with ';' in them in structs, so we make the xmacros a bit different -> silence.

16 years ago* send page to all users on shutdown.
Wilfried Göesgens [Sat, 8 Sep 2007 22:43:19 +0000 (22:43 +0000)]
* send page to all users on shutdown.

16 years ago* the blastwave emacs doesn't like me.
Wilfried Göesgens [Sat, 8 Sep 2007 22:20:46 +0000 (22:20 +0000)]
* the blastwave emacs doesn't like me.

16 years ago* use AC_CHECK_FUNCS to check for flock()
Wilfried Göesgens [Sat, 8 Sep 2007 22:17:13 +0000 (22:17 +0000)]
* use AC_CHECK_FUNCS to check for flock()
* if we find a Sun CC rather check dependencies with -xM instead of -M

16 years ago* didn't see some \'s theres so much of them.
Wilfried Göesgens [Sat, 8 Sep 2007 20:57:53 +0000 (20:57 +0000)]
* didn't see some \'s theres so much of them.

16 years ago* use here-documents instead of printf. this should (could?) be more portable.
Wilfried Göesgens [Sat, 8 Sep 2007 20:55:44 +0000 (20:55 +0000)]
* use here-documents instead of printf. this should (could?) be more portable.

16 years ago* restart logic for the "Shutdown Citadel" menu. The ui is sort of 3rd class so far...
Wilfried Göesgens [Sat, 8 Sep 2007 18:16:19 +0000 (18:16 +0000)]
* restart logic for the "Shutdown Citadel" menu. The ui is sort of 3rd class so far, but does its job.

16 years ago* allow the debian build to enable profiling and backtrace independantly.
Wilfried Göesgens [Sat, 8 Sep 2007 09:23:40 +0000 (09:23 +0000)]
* allow the debian build to enable profiling and backtrace independantly.

16 years ago* lets start knit-picking on buffersizes.
Wilfried Göesgens [Thu, 6 Sep 2007 23:40:33 +0000 (23:40 +0000)]
* lets start knit-picking on buffersizes.

16 years ago* stresc() is used frequent, it needs to be fast.
Wilfried Göesgens [Thu, 6 Sep 2007 22:12:52 +0000 (22:12 +0000)]
* stresc() is used frequent, it needs to be fast.

16 years ago* fetching the 12/24 Hours switch from config over and over is expansive. (gprof...
Wilfried Göesgens [Thu, 6 Sep 2007 21:31:49 +0000 (21:31 +0000)]
* fetching the 12/24 Hours switch from config over and over is expansive. (gprof tells so) let's cache it in the session.

16 years ago* don't underrun buffers. tnx valgrind.
Wilfried Göesgens [Thu, 6 Sep 2007 21:29:26 +0000 (21:29 +0000)]
* don't underrun buffers. tnx valgrind.

16 years ago* initialize this buffer empty. thanks valgrind.
Wilfried Göesgens [Thu, 6 Sep 2007 21:05:14 +0000 (21:05 +0000)]
* initialize this buffer empty. thanks valgrind.

16 years ago* profiling and debug switches here too.
Wilfried Göesgens [Thu, 6 Sep 2007 19:39:05 +0000 (19:39 +0000)]
* profiling and debug switches here too.

16 years agoFix to speed up Sieve processing, taking relatively a lot of time that
Dave West [Wed, 5 Sep 2007 18:26:59 +0000 (18:26 +0000)]
Fix to speed up Sieve processing, taking relatively a lot of time that
would cause heavy load if there are lots of users with lots of scripts.
rewrite_ctdl_sieve_config() was rewriting the sieve config every time
regardless of the yes_write_to_disk flag thus calling quickie_message()
which takes a bit of time (an extra 0.3mS).

16 years agodisplay banner always similarly
Thierry Pasqualier [Wed, 5 Sep 2007 16:08:26 +0000 (16:08 +0000)]
display banner always similarly

16 years agoA fix for Sieve/Vacation bug. *** This may break networking. Test thoroughly please ***
Dave West [Wed, 5 Sep 2007 09:18:37 +0000 (09:18 +0000)]
A fix for Sieve/Vacation bug. *** This may break networking. Test thoroughly please ***

16 years ago* sending the startup-problem-message now does work.
Wilfried Göesgens [Tue, 4 Sep 2007 20:25:20 +0000 (20:25 +0000)]
* sending the startup-problem-message now does work.

16 years ago* if an event spans this day, print it like an all day event.
Wilfried Göesgens [Tue, 4 Sep 2007 19:19:04 +0000 (19:19 +0000)]
* if an event spans this day, print it like an all day event.

16 years ago* look at the span of an item rather than its start-time.
Wilfried Göesgens [Mon, 3 Sep 2007 21:15:45 +0000 (21:15 +0000)]
* look at the span of an item rather than its start-time.

16 years agoAdded davew to the credits file
Art Cancro [Mon, 3 Sep 2007 04:24:51 +0000 (04:24 +0000)]
Added davew to the credits file

16 years agoRepaired the problem of a blank network node being
Art Cancro [Mon, 3 Sep 2007 04:20:16 +0000 (04:20 +0000)]
Repaired the problem of a blank network node being
added the first time one attempts to configure networking.  Also
set the default port number to 504.

16 years ago* matts patch fixing the ecrash <-> autoconf interferance.
Wilfried Göesgens [Sat, 1 Sep 2007 08:51:52 +0000 (08:51 +0000)]
* matts patch fixing the ecrash <-> autoconf interferance.

16 years ago* modify the ld + cflags for gprof and backtrace if enabled.
Wilfried Göesgens [Thu, 30 Aug 2007 19:16:49 +0000 (19:16 +0000)]
* modify the ld + cflags for gprof and backtrace if enabled.

16 years ago* make backtrace optional.
Wilfried Göesgens [Wed, 29 Aug 2007 17:52:08 +0000 (17:52 +0000)]
* make backtrace optional.

16 years agoAdvanced menu items
Thierry Pasqualier [Tue, 28 Aug 2007 22:00:04 +0000 (22:00 +0000)]
Advanced menu items
- clean HTML/CSS code
- display in the current room screen

16 years agoEdit or delete this room screen : CSS for horizontal tabbed options
Thierry Pasqualier [Tue, 28 Aug 2007 11:43:20 +0000 (11:43 +0000)]
Edit or delete this room screen : CSS for horizontal tabbed options

16 years ago* cleaned HTML/CSS room advanced menu (incomplete)
Thierry Pasqualier [Tue, 28 Aug 2007 07:18:25 +0000 (07:18 +0000)]
* cleaned HTML/CSS room advanced menu (incomplete)
* keep configurations screen in the current room in a round box
* drive tabbed options with CSS (incomplete)

16 years agoHeaders to avoid pages being cached are now done
Art Cancro [Mon, 27 Aug 2007 21:08:34 +0000 (21:08 +0000)]
Headers to avoid pages being cached are now done
in BOTH the standard way and the broken Microsoft way.
See http://support.microsoft.com/kb/234067 for more info.

16 years agoGet the aide room message working again if a port open fails.
Dave West [Mon, 27 Aug 2007 11:39:16 +0000 (11:39 +0000)]
Get the aide room message working again if a port open fails.

16 years agoGet ecrash.o to build automatically.
Dave West [Mon, 27 Aug 2007 01:42:47 +0000 (01:42 +0000)]
Get ecrash.o to build automatically.

16 years ago* modules registering serverports now need to specify a plaintext name.
Wilfried Göesgens [Sun, 26 Aug 2007 21:31:51 +0000 (21:31 +0000)]
* modules registering serverports now need to specify a plaintext name.
* added David Frascones ecrash lib
* hooked ecrash into citserver and citadel (not yet all done)

16 years ago* message edit : add CSS classes for attachment form
Thierry Pasqualier [Sun, 26 Aug 2007 21:01:30 +0000 (21:01 +0000)]
* message edit : add CSS classes for attachment form
* change some french translations

16 years agoAdd a default summary to Tasks that don't have a summary.
Dave West [Sun, 26 Aug 2007 10:52:19 +0000 (10:52 +0000)]
Add a default summary to Tasks that don't have a summary.

16 years agoAdvanced screen : removed a HTML table
Thierry Pasqualier [Sat, 25 Aug 2007 19:02:28 +0000 (19:02 +0000)]
Advanced screen : removed a HTML table

16 years agoFix to allow display of tasks created using Bynari connector from
Dave West [Sat, 25 Aug 2007 16:48:28 +0000 (16:48 +0000)]
Fix to allow display of tasks created using Bynari connector from
Outlook.

16 years ago* Three box with Advanced (on click Advanced icon) are display in the
Thierry Pasqualier [Sat, 25 Aug 2007 16:36:17 +0000 (16:36 +0000)]
* Three box with Advanced (on click Advanced icon) are display in the
current room.
it's logical, the same case for some items (for example, it was OK for bio
but not for preferences). I will correct the others.
* HTML/CSS minor change on roomops
* minor change on french translation