citadel.git
16 years agoBegan implementing the UIDPLUS extension.
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.

16 years agoFixed userlist command so it defaults to using unix domain socket
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.

16 years agoVersion number to 7.22
Art Cancro [Wed, 10 Oct 2007 17:23:54 +0000 (17:23 +0000)]
Version number to 7.22

16 years agoLDAP module no longer allows duplicate values for the same attribute,
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.

16 years agoFixed same extract_token bug for webcit.
Dave West [Wed, 10 Oct 2007 16:21:51 +0000 (16:21 +0000)]
Fixed same extract_token bug for webcit.

16 years agoFixed a bug in extract_token that allowed a buffer overflow and probable
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.

16 years agoMade some ldap functions a little more generic, pass the ldap key in as
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.

16 years agoLDAP module changes.
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

16 years ago* store some more informations with the calendar items
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...

16 years agodisplay webcit calendar day view with bubble tooltips (incomplete)
Thierry Pasqualier [Mon, 8 Oct 2007 21:52:21 +0000 (21:52 +0000)]
display webcit calendar day view with bubble tooltips (incomplete)

16 years agodisplay webcit calendar day view events with minutes
Thierry Pasqualier [Mon, 8 Oct 2007 21:02:25 +0000 (21:02 +0000)]
display webcit calendar day view events with minutes

16 years agoChanged text "Calendar hour format" to "Time format" as it applies to
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).

16 years agodisplay webcit calendar day view with daystart parameter
Thierry Pasqualier [Sun, 7 Oct 2007 07:50:40 +0000 (07:50 +0000)]
display webcit calendar day view with daystart parameter

16 years agodisplay webcit calendar day view with dayend parameter
Thierry Pasqualier [Sun, 7 Oct 2007 07:36:26 +0000 (07:36 +0000)]
display webcit calendar day view with dayend parameter

16 years agoimprovement of the daily view of calendar, imcomplete...
Thierry Pasqualier [Sun, 7 Oct 2007 06:22:10 +0000 (06:22 +0000)]
improvement of the daily view of calendar, imcomplete...

16 years agoSome CSS for a pretty log off screen
Thierry Pasqualier [Sun, 7 Oct 2007 06:11:27 +0000 (06:11 +0000)]
Some CSS for a pretty log off screen

16 years agowhen delete from GAB now delete from ldap.
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.

16 years agoNow make upgrade doesn't balk on already existing unstripped directory
Dave West [Sat, 6 Oct 2007 18:44:34 +0000 (18:44 +0000)]
Now make upgrade doesn't balk on already existing unstripped directory

16 years agoTest of commit log mailing
Art Cancro [Sat, 6 Oct 2007 18:40:30 +0000 (18:40 +0000)]
Test of commit log mailing

16 years agoTest of commit log mailing
Art Cancro [Sat, 6 Oct 2007 18:38:55 +0000 (18:38 +0000)]
Test of commit log mailing

16 years agoWe now try to reconnect to the ldap server if it got restarted
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.

16 years agoLots of LDAP changes.
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.

16 years ago* straighten the calendar service define / switch /configure
Wilfried Göesgens [Sat, 6 Oct 2007 15:44:44 +0000 (15:44 +0000)]
* straighten the calendar service define / switch /configure

16 years agoAdded LDAP: to begining of lprintfs in ldap module.
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.

16 years ago* install a copy of the unstripped binaries for debugging.
Wilfried Göesgens [Sat, 6 Oct 2007 11:56:40 +0000 (11:56 +0000)]
* install a copy of the unstripped binaries for debugging.

16 years ago* now ecrash gives us at least some usable values.
Wilfried Göesgens [Sat, 6 Oct 2007 11:01:03 +0000 (11:01 +0000)]
* now ecrash gives us at least some usable values.

16 years ago* as we now spend allmost all of our time on en/decoding base64 we should build the...
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.

16 years ago* strip blanks / whitespaces more effectively
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.

16 years agoAdded missing files to webcit build
Art Cancro [Sat, 6 Oct 2007 04:06:03 +0000 (04:06 +0000)]
Added missing files to webcit build

16 years ago* don't use CC in frequent loops. use it once outside.
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.

16 years ago* zero structs before handing them to getpeername() to silence valgrind.
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

16 years agoMoved config check for ldap into ldap init.
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.

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.