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
Art Cancro [Mon, 27 Nov 2006 02:58:36 +0000 (02:58 +0000)]
ctdlsvc.c: added. This will be used to build init scripts.
Wilfried Göesgens [Thu, 23 Nov 2006 21:27:13 +0000 (21:27 +0000)]
* fixed a bug with the public_clients feature.
Wilfried Göesgens [Tue, 21 Nov 2006 21:56:46 +0000 (21:56 +0000)]
* added deamonize code.
Art Cancro [Tue, 21 Nov 2006 20:52:25 +0000 (20:52 +0000)]
Completed the rules based script generator.
Still needs lots of testing.
Art Cancro [Tue, 21 Nov 2006 19:55:08 +0000 (19:55 +0000)]
Minor change to test commit script hook
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.
Art Cancro [Fri, 17 Nov 2006 20:50:57 +0000 (20:50 +0000)]
add static/gradientanim.gif
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.
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.
Art Cancro [Thu, 16 Nov 2006 18:15:08 +0000 (18:15 +0000)]
more fields
Art Cancro [Thu, 16 Nov 2006 17:59:33 +0000 (17:59 +0000)]
Populate 'active' and 'hfield'. Nine more to go...
Art Cancro [Thu, 16 Nov 2006 17:45:05 +0000 (17:45 +0000)]
Begin reloading the form from saved rules
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.
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
Art Cancro [Wed, 15 Nov 2006 03:59:37 +0000 (03:59 +0000)]
Began writing the rule encoder
Art Cancro [Wed, 15 Nov 2006 03:23:49 +0000 (03:23 +0000)]
Adjusted the grammar of the previous message
Wilfried Göesgens [Tue, 14 Nov 2006 00:02:23 +0000 (00:02 +0000)]
note aide that we have a new user.
Art Cancro [Mon, 13 Nov 2006 17:21:15 +0000 (17:21 +0000)]
More work on the rules editor
Art Cancro [Mon, 13 Nov 2006 04:21:50 +0000 (04:21 +0000)]
More work on the rules editor
Art Cancro [Sun, 12 Nov 2006 05:34:11 +0000 (05:34 +0000)]
Fleshed out the rules editor some more
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.
Art Cancro [Sat, 11 Nov 2006 18:50:14 +0000 (18:50 +0000)]
Added a 'Delete Rule' button
Art Cancro [Sat, 11 Nov 2006 06:15:53 +0000 (06:15 +0000)]
javascript code to move rules up and down
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
Art Cancro [Fri, 10 Nov 2006 04:59:18 +0000 (04:59 +0000)]
nifty 'Add Rule' button
Art Cancro [Fri, 10 Nov 2006 03:53:11 +0000 (03:53 +0000)]
update sieve rules using rooms
Art Cancro [Thu, 9 Nov 2006 05:09:30 +0000 (05:09 +0000)]
Added some dynamic form stuff to the rules editor
Art Cancro [Wed, 8 Nov 2006 03:57:41 +0000 (03:57 +0000)]
Started building the easy rules editor
Art Cancro [Mon, 6 Nov 2006 19:20:15 +0000 (19:20 +0000)]
Let's call this 6.90 beta
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.
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.
Art Cancro [Fri, 3 Nov 2006 04:55:13 +0000 (04:55 +0000)]
started add/remove scripts
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
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.
Art Cancro [Wed, 1 Nov 2006 04:22:02 +0000 (04:22 +0000)]
worked on sieve panel
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.
Art Cancro [Mon, 30 Oct 2006 22:29:34 +0000 (22:29 +0000)]
Startup notice still had a 2005 copyright on it. Oops.
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
Art Cancro [Sun, 29 Oct 2006 18:47:13 +0000 (18:47 +0000)]
Minor edit to sieve screen
Art Cancro [Sun, 29 Oct 2006 16:42:23 +0000 (16:42 +0000)]
Added sieve.c - sieve config screen will go here.
Art Cancro [Sat, 28 Oct 2006 18:17:24 +0000 (18:17 +0000)]
Obtain MIME objects using DLAT cmd instead of OPNA where appropriate
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.
Art Cancro [Sat, 28 Oct 2006 15:45:11 +0000 (15:45 +0000)]
Small cosmetic change to the SMTP queue view
Art Cancro [Sat, 28 Oct 2006 15:27:22 +0000 (15:27 +0000)]
Checked in thierry's latest fr.po
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)
Art Cancro [Fri, 27 Oct 2006 18:21:54 +0000 (18:21 +0000)]
Ran create-pot.sh to add strings
Art Cancro [Fri, 27 Oct 2006 18:19:47 +0000 (18:19 +0000)]
Added a new screen to view the outbound SMTP queue.
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'
Art Cancro [Fri, 27 Oct 2006 14:18:44 +0000 (14:18 +0000)]
Began work on a 'View outbound SMTP queue' screen
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.
Art Cancro [Wed, 25 Oct 2006 19:17:20 +0000 (19:17 +0000)]
Remove the SieveRules room. Keep sieve config in My Citadel Config
Art Cancro [Wed, 25 Oct 2006 03:11:40 +0000 (03:11 +0000)]
Correctly set Subject in vacation replies
Art Cancro [Tue, 24 Oct 2006 19:38:09 +0000 (19:38 +0000)]
Fixed the problem with disappearing vacation database records.
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.
Art Cancro [Tue, 24 Oct 2006 03:55:38 +0000 (03:55 +0000)]
Completed Sieve VACATION handler. Still needs testing.
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.
Wilfried Göesgens [Mon, 23 Oct 2006 22:12:50 +0000 (22:12 +0000)]
* php lib works, libmanagesieve and sieveshell is to picky.
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.
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.
Art Cancro [Mon, 23 Oct 2006 03:56:15 +0000 (03:56 +0000)]
* load and store vacation hashes
Wilfried Göesgens [Sun, 22 Oct 2006 20:48:09 +0000 (20:48 +0000)]
* start to use the serv_sieve api functions.
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)
Art Cancro [Fri, 20 Oct 2006 15:13:34 +0000 (15:13 +0000)]
fixed a syntax error
Art Cancro [Fri, 20 Oct 2006 04:23:04 +0000 (04:23 +0000)]
initial prep for VACATION extension
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.
Art Cancro [Wed, 18 Oct 2006 19:20:22 +0000 (19:20 +0000)]
'actiontaken' renamed to 'cancel_implicit_keep'
Art Cancro [Wed, 18 Oct 2006 17:30:22 +0000 (17:30 +0000)]
Don't declare extensions we won't be supporting anytime soon
Art Cancro [Wed, 18 Oct 2006 17:05:29 +0000 (17:05 +0000)]
New global variable: extern char *msiv_extensions
This is a list of all Sieve extensions which are available, separated by spaces.
Art Cancro [Tue, 17 Oct 2006 20:19:15 +0000 (20:19 +0000)]
Put in a stub for msiv_listextensions() to remind myself
that we have to make that data available to serv_managesieve.c
Art Cancro [Tue, 17 Oct 2006 17:55:46 +0000 (17:55 +0000)]
Implemented the Sieve 'get message size' function
Art Cancro [Tue, 17 Oct 2006 04:07:03 +0000 (04:07 +0000)]
Implemented the REJECT extension
Art Cancro [Mon, 16 Oct 2006 17:16:20 +0000 (17:16 +0000)]
Installed a French translation submitted by Thierry
Art Cancro [Sat, 14 Oct 2006 22:11:48 +0000 (22:11 +0000)]
* Implemented the 'getsubaddress' callback, but then realized
that it is actually more proper to return SIEVE2_ERROR_UNSUPPORTED because
Citadel doesn't have subaddresses.
Art Cancro [Sat, 14 Oct 2006 03:32:38 +0000 (03:32 +0000)]
serv_managesieve.c is now only built on Citadel servers that
have access to libSieve, otherwise a stub function is installed.
serv_sieve.h is also now included in serv_managesieve.c, which will
give serv_managesieve access to the msiv_* API functions.
Art Cancro [Fri, 13 Oct 2006 16:26:55 +0000 (16:26 +0000)]
Added function prototypes for the msiv_*() API calls
Art Cancro [Fri, 13 Oct 2006 16:19:56 +0000 (16:19 +0000)]
* Updated protocol documentation with MSIV commands
* Bumped the version number to 6.90
Art Cancro [Fri, 13 Oct 2006 16:10:26 +0000 (16:10 +0000)]
Completed 'deletescript' API and protocol command.
Art Cancro [Fri, 13 Oct 2006 04:12:54 +0000 (04:12 +0000)]
Removed some debugging messages we no longer need.
Art Cancro [Thu, 12 Oct 2006 22:02:14 +0000 (22:02 +0000)]
msiv 'setactive' completed
Art Cancro [Thu, 12 Oct 2006 21:51:02 +0000 (21:51 +0000)]
msiv 'listscripts' completed
Art Cancro [Thu, 12 Oct 2006 16:34:10 +0000 (16:34 +0000)]
Completed API functions to load and store
sieve scripts, and Citadel protocol commands to access them.
Art Cancro [Thu, 12 Oct 2006 04:14:52 +0000 (04:14 +0000)]
did a lot of work on sieve config load/save/parse/use
Art Cancro [Wed, 11 Oct 2006 16:51:27 +0000 (16:51 +0000)]
Expand email address box max length from 40 to 60 chars
Art Cancro [Wed, 11 Oct 2006 16:05:59 +0000 (16:05 +0000)]
Updated the URL View and Image View commands in citadel.rc
to include examples on how to use xdg-open for these.
In the near future, Linux systems will begin to include
the Portland API's, and as a result xdg-open will become the
preferred way to open files and URL's from an application.
Art Cancro [Wed, 11 Oct 2006 03:56:42 +0000 (03:56 +0000)]
more work on sieve script management
Art Cancro [Tue, 10 Oct 2006 20:57:03 +0000 (20:57 +0000)]
worked on sieve config load/save
Art Cancro [Tue, 10 Oct 2006 04:35:42 +0000 (04:35 +0000)]
serv_spam.c: removed the simplistic built-in scanner that
never went into production. There's just no way we could do SpamAssassin's job
ourselves at this point so out it goes.
Art Cancro [Fri, 6 Oct 2006 14:31:50 +0000 (14:31 +0000)]
Began working out a way to fetch Sieve scrips from
the message base. NOTE: sieve processing is disabled until I finish this.
Art Cancro [Thu, 5 Oct 2006 03:53:20 +0000 (03:53 +0000)]
Removed SMTP vestiges from serv_managesieve.c
Art Cancro [Wed, 4 Oct 2006 03:04:23 +0000 (03:04 +0000)]
* Implemented REDIRECT action.
* Put stub functions in place (returning SIEVE2_ERROR_UNSUPPORTED)
for all remaining callbacks.
Wilfried Göesgens [Tue, 3 Oct 2006 14:58:55 +0000 (14:58 +0000)]
* inject the welcome mail into the lobby of the local system.
Wilfried Göesgens [Tue, 3 Oct 2006 13:53:05 +0000 (13:53 +0000)]
* added welcomemail, composed by dtb, reviewed by ladyhawke
Wilfried Göesgens [Mon, 2 Oct 2006 20:12:51 +0000 (20:12 +0000)]
* added wcitadel.org clientmatrix document to be maintained in svn.
Art Cancro [Mon, 2 Oct 2006 17:35:38 +0000 (17:35 +0000)]
cleaned up some comments etc.
Art Cancro [Mon, 2 Oct 2006 16:54:51 +0000 (16:54 +0000)]
Action FILEINTO is now completed.
Art Cancro [Fri, 29 Sep 2006 21:40:55 +0000 (21:40 +0000)]
* Actions for KEEP and DISCARD completed
* Callbacks for ERR_PARSE and ERR_RUNTIME completed
* Action for FILEINTO 'INBOX' completed; FILEINTO for other folders is still incomplete
Art Cancro [Fri, 29 Sep 2006 03:27:34 +0000 (03:27 +0000)]
* Cleaned up some minor details
* Implemented a stub function for the 'redirect' action.
Art Cancro [Fri, 29 Sep 2006 03:05:28 +0000 (03:05 +0000)]
Got all the pointers straightened out. We are now passing
the script and the message to the parser.
Art Cancro [Thu, 28 Sep 2006 21:34:50 +0000 (21:34 +0000)]
* For now, supply a static script to the sieve parser
* Retrieve headers for each message and present to Sieve for processing