citadel.git
17 years agoCleaned up some commented-out stuff that was left in various files
Art Cancro [Thu, 14 Dec 2006 20:27:18 +0000 (20:27 +0000)]
Cleaned up some commented-out stuff that was left in various files

17 years agoUpdated some of the internal tech docs
Art Cancro [Thu, 14 Dec 2006 18:32:10 +0000 (18:32 +0000)]
Updated some of the internal tech docs

17 years agoCleaned up some commented-out stuff that was left in various files
Art Cancro [Thu, 14 Dec 2006 18:18:23 +0000 (18:18 +0000)]
Cleaned up some commented-out stuff that was left in various files

17 years ago* migrated debian install to system V init
Wilfried Göesgens [Wed, 13 Dec 2006 23:05:23 +0000 (23:05 +0000)]
* migrated debian install to system V init

17 years agoUpdated fr.po
Art Cancro [Tue, 12 Dec 2006 19:52:21 +0000 (19:52 +0000)]
Updated fr.po

17 years agoNuke citadel.spec as per Seg's request
Art Cancro [Tue, 12 Dec 2006 15:00:02 +0000 (15:00 +0000)]
Nuke citadel.spec as per Seg's request

17 years agoInternal version number is now 7.00
Art Cancro [Mon, 11 Dec 2006 23:02:32 +0000 (23:02 +0000)]
Internal version number is now 7.00

17 years agoInternal version number is now 7.00
Art Cancro [Mon, 11 Dec 2006 22:01:02 +0000 (22:01 +0000)]
Internal version number is now 7.00

17 years agoAdded nl.po (Dutch translation) submitted by Wim Kuilman
Art Cancro [Fri, 8 Dec 2006 22:41:53 +0000 (22:41 +0000)]
Added nl.po (Dutch translation) submitted by Wim Kuilman

17 years agoCtdlSetSeen() now silently returns without doing anything,
Art Cancro [Fri, 8 Dec 2006 21:30:50 +0000 (21:30 +0000)]
CtdlSetSeen() now silently returns without doing anything,
if it was given instructions to manipulate an array of zero messages.
Resolves bug #204 due to imap_copy() actually calling it that way
in some situations.

17 years ago* Converted fr.po from iso-8859-1 to utf-8
Art Cancro [Mon, 4 Dec 2006 22:48:26 +0000 (22:48 +0000)]
* Converted fr.po from iso-8859-1 to utf-8

17 years ago* Updated fr.po submitted by thierry
Art Cancro [Mon, 4 Dec 2006 22:39:02 +0000 (22:39 +0000)]
* Updated fr.po submitted by thierry

17 years agoAdd a link on nocookies.html pointing back to login screen
Art Cancro [Mon, 4 Dec 2006 21:55:58 +0000 (21:55 +0000)]
Add a link on nocookies.html pointing back to login screen

17 years ago* added german translations to the new strings
Wilfried Göesgens [Mon, 4 Dec 2006 20:30:16 +0000 (20:30 +0000)]
* added german translations to the new strings

17 years ago* libSieve download and build for Easy Install. (Not yet tested.)
Art Cancro [Mon, 4 Dec 2006 17:12:22 +0000 (17:12 +0000)]
* libSieve download and build for Easy Install.  (Not yet tested.)
* citadel.h no longer defines CITADEL manually, instead it pulls the package
name and version from the build tools.
* Updated the documentation slightly in prep for the 7.00 release.

17 years agoBubbleTooltips.js is now loaded as part of the HEAD of every
Art Cancro [Sun, 3 Dec 2006 05:10:39 +0000 (05:10 +0000)]
BubbleTooltips.js is now loaded as part of the HEAD of every
page, instead of in the middle of the calendar month view.  This is because
Internet Exploder displays an error when we try to enable tooltips, if the
page was loaded using HTTPS.  We don't know why, aside from the usual reason that
IE sucks.

17 years ago* added configuration methods for managesieve port.
Wilfried Göesgens [Sat, 2 Dec 2006 18:49:22 +0000 (18:49 +0000)]
* added configuration methods for managesieve port.

17 years agoRemoved 'position: fixed' from iconbar div. This eliminates
Art Cancro [Sat, 2 Dec 2006 17:24:25 +0000 (17:24 +0000)]
Removed 'position: fixed' from iconbar div.  This eliminates
the 'wobbling' of the iconbar that happens when you click on it in
Firefox v1.5 and up.  (Thanks to grelf for figuring this one out.)

17 years ago* Sanitize message headers by stripping high-ascii characters
Art Cancro [Fri, 1 Dec 2006 21:11:14 +0000 (21:11 +0000)]
* Sanitize message headers by stripping high-ascii characters
  before handing them off to libSieve.  Otherwise, certain
  badly-formed messages (usually spam) will cause libSieve to
  clobber the stack, which was crashing Citadel.

17 years ago* Fixed a bug in the 'Delete Rule' logic.
Art Cancro [Fri, 1 Dec 2006 05:00:56 +0000 (05:00 +0000)]
* Fixed a bug in the 'Delete Rule' logic.
* The 'move rule down' arrow was missing during initial render.  Fixed.

17 years ago* Added a 'restart' option to the init scripts
Art Cancro [Fri, 1 Dec 2006 04:23:06 +0000 (04:23 +0000)]
* Added a 'restart' option to the init scripts

17 years ago* Added a 'restart' option to the init scripts
Art Cancro [Fri, 1 Dec 2006 04:21:33 +0000 (04:21 +0000)]
* Added a 'restart' option to the init scripts
* Version number is now 6.90 (beta)

17 years ago* Ran create-pot.sh to update webcit.pot with new strings
Art Cancro [Wed, 29 Nov 2006 23:00:02 +0000 (23:00 +0000)]
* Ran create-pot.sh to update webcit.pot with new strings

17 years ago* add x-mailer header for webcit.
Wilfried Göesgens [Wed, 29 Nov 2006 22:35:20 +0000 (22:35 +0000)]
* add x-mailer header for webcit.

17 years agoctdlsvc now closes fd 0 in addition to fd 1 and 2
Art Cancro [Wed, 29 Nov 2006 04:15:47 +0000 (04:15 +0000)]
ctdlsvc now closes fd 0 in addition to fd 1 and 2

17 years agoctdlsvc now closes fd 0 in addition to fd 1 and 2
Art Cancro [Wed, 29 Nov 2006 04:14:50 +0000 (04:14 +0000)]
ctdlsvc now closes fd 0 in addition to fd 1 and 2

17 years ago* Citadel setup: if the environment
Art Cancro [Tue, 28 Nov 2006 23:01:36 +0000 (23:01 +0000)]
* Citadel setup: if the environment
variable NO_INIT_SCRIPTS is set, setup will not offer to install
init scripts.  This option is to be used by packagers who wish to
build platform-specific init scripts.

17 years agoBrought over changes to ctdlsvc.c from citadel
Art Cancro [Tue, 28 Nov 2006 16:43:30 +0000 (16:43 +0000)]
Brought over changes to ctdlsvc.c from citadel

17 years agoFinished converting Citadel setup to ctdlsvc + initscripts.
Art Cancro [Tue, 28 Nov 2006 16:42:09 +0000 (16:42 +0000)]
Finished converting Citadel setup to ctdlsvc + initscripts.

17 years ago* Brought over ctdlsvc.c from webcit
Art Cancro [Tue, 28 Nov 2006 15:34:43 +0000 (15:34 +0000)]
* Brought over ctdlsvc.c from webcit
* Removed all the old LDAP stuff from setup.
* Removed all /etc/inittab hacking from setup, except for
  one remaining function to clean out the old entry.

17 years agosetup now writes the /etc/rc*.d/ links to start and
Art Cancro [Mon, 27 Nov 2006 17:34:43 +0000 (17:34 +0000)]
setup now writes the /etc/rc*.d/ links to start and
stop webcit during run level changes, if running on a system that
has a SysV init style directory layout.  This *should* work on most
Linuxes, including those running upstart, but we don't know yet.  It
should also work on Solaris.
WebCit is also started or restarted at the end of setup in this case.

17 years agoRearranged some variables in the init script
Art Cancro [Mon, 27 Nov 2006 15:59:22 +0000 (15:59 +0000)]
Rearranged some variables in the init script

17 years agoMore tweaks to the previous commit
Art Cancro [Mon, 27 Nov 2006 05:47:28 +0000 (05:47 +0000)]
More tweaks to the previous commit

17 years ago* setup now deletes old inittab entries if they were present
Art Cancro [Mon, 27 Nov 2006 04:57:20 +0000 (04:57 +0000)]
* setup now deletes old inittab entries if they were present
* setup now writes /etc/init.d/webcit if running on an appropriate system

17 years agoctdlsvc.c: added. This will be used to build init scripts.
Art Cancro [Mon, 27 Nov 2006 02:58:36 +0000 (02:58 +0000)]
ctdlsvc.c: added.  This will be used to build init scripts.

17 years ago* fixed a bug with the public_clients feature.
Wilfried Göesgens [Thu, 23 Nov 2006 21:27:13 +0000 (21:27 +0000)]
* fixed a bug with the public_clients feature.

17 years ago* added deamonize code.
Wilfried Göesgens [Tue, 21 Nov 2006 21:56:46 +0000 (21:56 +0000)]
* added deamonize code.

17 years agoCompleted the rules based script generator.
Art Cancro [Tue, 21 Nov 2006 20:52:25 +0000 (20:52 +0000)]
Completed the rules based script generator.
Still needs lots of testing.

17 years agoMinor change to test commit script hook
Art Cancro [Tue, 21 Nov 2006 19:55:08 +0000 (19:55 +0000)]
Minor change to test commit script hook

17 years agoBegan fleshing out the Sieve script generator. Actions,
Art Cancro [Mon, 20 Nov 2006 22:35:12 +0000 (22:35 +0000)]
Began fleshing out the Sieve script generator.  Actions,
final actions, and the generation of conditional braces are done.  Still need to
write the code that generates the conditional statements themeselves.  Warning: don't
try to run this code on a production system.  In the current state it will generate
scripts with syntax errors.

17 years agoadd static/gradientanim.gif
Art Cancro [Fri, 17 Nov 2006 20:50:57 +0000 (20:50 +0000)]
add static/gradientanim.gif

17 years ago* Applied matt's patch to have it show a loading graphic for ajax operations
Art Cancro [Fri, 17 Nov 2006 15:03:06 +0000 (15:03 +0000)]
* Applied matt's patch to have it show a loading graphic for ajax operations
* Applied matt's patch to add javascript for  other features such as the new header view
* Cleaned up the gratuitous overuse of realloc() when outputting HTML messages.
  Although the code wasn't buggy, gnu malloc was choking on it.

17 years agoCompleted the remaining fields in the save/load/populate
Art Cancro [Thu, 16 Nov 2006 22:48:02 +0000 (22:48 +0000)]
Completed the remaining fields in the save/load/populate
loops for WebCit-generated Sieve rules.

17 years agomore fields
Art Cancro [Thu, 16 Nov 2006 18:15:08 +0000 (18:15 +0000)]
more fields

17 years agoPopulate 'active' and 'hfield'. Nine more to go...
Art Cancro [Thu, 16 Nov 2006 17:59:33 +0000 (17:59 +0000)]
Populate 'active' and 'hfield'.  Nine more to go...

17 years agoBegin reloading the form from saved rules
Art Cancro [Thu, 16 Nov 2006 17:45:05 +0000 (17:45 +0000)]
Begin reloading the form from saved rules

17 years agoRules editor now encodes the form fields and saves them
Art Cancro [Thu, 16 Nov 2006 04:32:22 +0000 (04:32 +0000)]
Rules editor now encodes the form fields and saves them
into a hidden script.  Still need to write the decoding side, and the script generator.

17 years agoFixed the MSIV GETSCRIPT command ... it was failing
Art Cancro [Thu, 16 Nov 2006 04:24:27 +0000 (04:24 +0000)]
Fixed the MSIV GETSCRIPT command ... it was failing
to output the entirety of scripts larger than 1024 bytes

17 years agoBegan writing the rule encoder
Art Cancro [Wed, 15 Nov 2006 03:59:37 +0000 (03:59 +0000)]
Began writing the rule encoder

17 years agoAdjusted the grammar of the previous message
Art Cancro [Wed, 15 Nov 2006 03:23:49 +0000 (03:23 +0000)]
Adjusted the grammar of the previous message

17 years agonote aide that we have a new user.
Wilfried Göesgens [Tue, 14 Nov 2006 00:02:23 +0000 (00:02 +0000)]
note aide that we have a new user.

17 years agoMore work on the rules editor
Art Cancro [Mon, 13 Nov 2006 17:21:15 +0000 (17:21 +0000)]
More work on the rules editor

17 years agoMore work on the rules editor
Art Cancro [Mon, 13 Nov 2006 04:21:50 +0000 (04:21 +0000)]
More work on the rules editor

17 years agoFleshed out the rules editor some more
Art Cancro [Sun, 12 Nov 2006 05:34:11 +0000 (05:34 +0000)]
Fleshed out the rules editor some more

17 years agoWarn the site administrator when they attempt to
Art Cancro [Sun, 12 Nov 2006 04:33:07 +0000 (04:33 +0000)]
Warn the site administrator when they attempt to
configure Directory services on a Citadel site
that was built without LDAP support.

17 years agoAdded a 'Delete Rule' button
Art Cancro [Sat, 11 Nov 2006 18:50:14 +0000 (18:50 +0000)]
Added a 'Delete Rule' button

17 years agojavascript code to move rules up and down
Art Cancro [Sat, 11 Nov 2006 06:15:53 +0000 (06:15 +0000)]
javascript code to move rules up and down

17 years agoLoad room list for the sieve rules once, and reuse the
Art Cancro [Sat, 11 Nov 2006 05:24:05 +0000 (05:24 +0000)]
Load room list for the sieve rules once, and reuse the
list in memory for each rule's select box

17 years agonifty 'Add Rule' button
Art Cancro [Fri, 10 Nov 2006 04:59:18 +0000 (04:59 +0000)]
nifty 'Add Rule' button

17 years agoupdate sieve rules using rooms
Art Cancro [Fri, 10 Nov 2006 03:53:11 +0000 (03:53 +0000)]
update sieve rules using rooms

17 years agoAdded some dynamic form stuff to the rules editor
Art Cancro [Thu, 9 Nov 2006 05:09:30 +0000 (05:09 +0000)]
Added some dynamic form stuff to the rules editor

17 years agoStarted building the easy rules editor
Art Cancro [Wed, 8 Nov 2006 03:57:41 +0000 (03:57 +0000)]
Started building the easy rules editor

17 years agoLet's call this 6.90 beta
Art Cancro [Mon, 6 Nov 2006 19:20:15 +0000 (19:20 +0000)]
Let's call this 6.90 beta

17 years agoMade some of the new messages consistent with
Art Cancro [Mon, 6 Nov 2006 17:17:47 +0000 (17:17 +0000)]
Made some of the new messages consistent with
each other, so the translators have less work to do.  Also corrected
the icon in use for the new screens.

17 years agoAdd/remove sieve scripts in WebCit is now complete.
Art Cancro [Mon, 6 Nov 2006 16:09:00 +0000 (16:09 +0000)]
Add/remove sieve scripts in WebCit is now complete.
It is now completely usable, but still requires a user who knows how to
write Sieve scripts.  Now we have to implement the 'easy' rules editor.

17 years agostarted add/remove scripts
Art Cancro [Fri, 3 Nov 2006 04:55:13 +0000 (04:55 +0000)]
started add/remove scripts

17 years ago* added message subject to all those tiny messages
Wilfried Göesgens [Wed, 1 Nov 2006 17:38:20 +0000 (17:38 +0000)]
* added message subject to all those tiny messages
* paste descriptive message into aide room, if we fail to open ports or sockets
* completed managesieve server, enable it by setup with port 2020

17 years agoSieve screens now allow the user to choose 'no filters'
Art Cancro [Wed, 1 Nov 2006 05:09:08 +0000 (05:09 +0000)]
Sieve screens now allow the user to choose 'no filters'
or 'manually edited scripts', to edit the existing scripts, and to select
a script.  Still need to implement 'add new script', 'delete script', and
the WebCit-managed-rules screen.

17 years agoworked on sieve panel
Art Cancro [Wed, 1 Nov 2006 04:22:02 +0000 (04:22 +0000)]
worked on sieve panel

17 years agoChanged the Sieve API -- msiv_store() etc.
Art Cancro [Tue, 31 Oct 2006 21:00:07 +0000 (21:00 +0000)]
Changed the Sieve API -- msiv_store() etc.
There is now a 'changes_made' parameter.  If set to nonzero, changes are saved
to disk; if set to zero, it just frees the data structure without writing
anything to disk.

17 years agoStartup notice still had a 2005 copyright on it. Oops.
Art Cancro [Mon, 30 Oct 2006 22:29:34 +0000 (22:29 +0000)]
Startup notice still had a 2005 copyright on it.  Oops.

17 years agoJavascript multi-pane select for Sieve edit screen
Art Cancro [Mon, 30 Oct 2006 16:34:16 +0000 (16:34 +0000)]
Javascript multi-pane select for Sieve edit screen
based on the drop-down box

17 years agoMinor edit to sieve screen
Art Cancro [Sun, 29 Oct 2006 18:47:13 +0000 (18:47 +0000)]
Minor edit to sieve screen

17 years agoAdded sieve.c - sieve config screen will go here.
Art Cancro [Sun, 29 Oct 2006 16:42:23 +0000 (16:42 +0000)]
Added sieve.c - sieve config screen will go here.

17 years agoObtain MIME objects using DLAT cmd instead of OPNA where appropriate
Art Cancro [Sat, 28 Oct 2006 18:17:24 +0000 (18:17 +0000)]
Obtain MIME objects using DLAT cmd instead of OPNA where appropriate

17 years agoNew server command DLAT (DownLoad ATtachment) which
Art Cancro [Sat, 28 Oct 2006 16:05:12 +0000 (16:05 +0000)]
New server command DLAT (DownLoad ATtachment) which
is similar to OPNA (OPeN Attachment), except it outputs the
entire MIME part in a single server operation instead of
opening a download file for block transfer.  This will be useful
for grabbing small components such as calendar appointments and
address book entries with substantialy less overhead.

17 years agoSmall cosmetic change to the SMTP queue view
Art Cancro [Sat, 28 Oct 2006 15:45:11 +0000 (15:45 +0000)]
Small cosmetic change to the SMTP queue view

17 years agoChecked in thierry's latest fr.po
Art Cancro [Sat, 28 Oct 2006 15:27:22 +0000 (15:27 +0000)]
Checked in thierry's latest fr.po

17 years agoSMTP queue display:
Art Cancro [Sat, 28 Oct 2006 04:49:40 +0000 (04:49 +0000)]
SMTP queue display:
* Chop off local node name from sender if it's from our node
* Add a delete button for each message in the queue
* Add a Refresh button for the screen (wholesome AJAX goodness)

17 years agoRan create-pot.sh to add strings
Art Cancro [Fri, 27 Oct 2006 18:21:54 +0000 (18:21 +0000)]
Ran create-pot.sh to add strings

17 years agoAdded a new screen to view the outbound SMTP queue.
Art Cancro [Fri, 27 Oct 2006 18:19:47 +0000 (18:19 +0000)]
Added a new screen to view the outbound SMTP queue.

17 years agoWhen SMTP client can't connect and errno = 0, set
Art Cancro [Fri, 27 Oct 2006 18:04:22 +0000 (18:04 +0000)]
When SMTP client can't connect and errno = 0, set
the DSN to 'Unable to connect to...' instead of 'Success'

17 years agoBegan work on a 'View outbound SMTP queue' screen
Art Cancro [Fri, 27 Oct 2006 14:18:44 +0000 (14:18 +0000)]
Began work on a 'View outbound SMTP queue' screen

17 years agoVACATION and REJECT messages now appear to come from
Art Cancro [Thu, 26 Oct 2006 03:33:11 +0000 (03:33 +0000)]
VACATION and REJECT messages now appear to come from
the owner of the mailbox rather than from Citadel.
Our back end Sieve implementation is now complete.

17 years agoRemove the SieveRules room. Keep sieve config in My Citadel Config
Art Cancro [Wed, 25 Oct 2006 19:17:20 +0000 (19:17 +0000)]
Remove the SieveRules room.  Keep sieve config in My Citadel Config

17 years agoCorrectly set Subject in vacation replies
Art Cancro [Wed, 25 Oct 2006 03:11:40 +0000 (03:11 +0000)]
Correctly set Subject in vacation replies

17 years agoFixed the problem with disappearing vacation database records.
Art Cancro [Tue, 24 Oct 2006 19:38:09 +0000 (19:38 +0000)]
Fixed the problem with disappearing vacation database records.

17 years agoChanged the on-disk config format for the vacation
Art Cancro [Tue, 24 Oct 2006 18:33:50 +0000 (18:33 +0000)]
Changed the on-disk config format for the vacation
database.  There's still something wrong with this code; it is
only retaining at most one record.

17 years agoCompleted Sieve VACATION handler. Still needs testing.
Art Cancro [Tue, 24 Oct 2006 03:55:38 +0000 (03:55 +0000)]
Completed Sieve VACATION handler.  Still needs testing.

17 years agoAdded a system of weighted preferences to the
Art Cancro [Tue, 24 Oct 2006 03:05:21 +0000 (03:05 +0000)]
Added a system of weighted preferences to the
choose_preferred() callback.  This will ensure that when we parse a
multipart/alternative message, the MIME types we've declared earlier in
our preference list will always be chosen ahead of the ones we've
declared later.  This will eliminate the need for the text client to
parse HTML messages when there's a perfectly good text/plain available.

17 years ago* php lib works, libmanagesieve and sieveshell is to picky.
Wilfried Göesgens [Mon, 23 Oct 2006 22:12:50 +0000 (22:12 +0000)]
* php lib works, libmanagesieve and sieveshell is to picky.

17 years agoKeep track of envelope from and to headers
Art Cancro [Mon, 23 Oct 2006 19:06:06 +0000 (19:06 +0000)]
Keep track of envelope from and to headers
so we can use them in Sieve scripts.

17 years agoAdded some code to test storage of vacation hashes.
Art Cancro [Mon, 23 Oct 2006 04:12:12 +0000 (04:12 +0000)]
Added some code to test storage of vacation hashes.
It isn't functional yet.

17 years ago* load and store vacation hashes
Art Cancro [Mon, 23 Oct 2006 03:56:15 +0000 (03:56 +0000)]
* load and store vacation hashes

17 years ago* start to use the serv_sieve api functions.
Wilfried Göesgens [Sun, 22 Oct 2006 20:48:09 +0000 (20:48 +0000)]
* start to use the serv_sieve api functions.

17 years agoPatches submitted by matt:
Art Cancro [Sun, 22 Oct 2006 05:15:36 +0000 (05:15 +0000)]
Patches submitted by matt:

 Added:
 ** .RC .RS       Read configuration, Read system info (citadel.c)
 ** .> .< .+ .-   Same as <>+- But skips instead. (citadel.c)

 Fixed:
 ** .Z not displaying zapped rooms. (rooms.c)
 ** U .U Ungoto wasn't restoring the # of last read in rooms in which the last
 message read was zero (rooms visited for the first time). The work-around I
 chose was to set it to 1 instead of 0 in these cases.    (rooms.c)
 ** .aide edituser() spaces in front of 'Permission to send internet mail'
 (routines.c)
 ** .rb? list_bio() segfaults if no users have a bio (routines2.c)

17 years agofixed a syntax error
Art Cancro [Fri, 20 Oct 2006 15:13:34 +0000 (15:13 +0000)]
fixed a syntax error

17 years agoinitial prep for VACATION extension
Art Cancro [Fri, 20 Oct 2006 04:23:04 +0000 (04:23 +0000)]
initial prep for VACATION extension

17 years agoMinor cleanup to remove extensions we aren't going
Art Cancro [Wed, 18 Oct 2006 19:27:36 +0000 (19:27 +0000)]
Minor cleanup to remove extensions we aren't going
to support in the near future.

17 years ago'actiontaken' renamed to 'cancel_implicit_keep'
Art Cancro [Wed, 18 Oct 2006 19:20:22 +0000 (19:20 +0000)]
'actiontaken' renamed to 'cancel_implicit_keep'