citadel.git
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'

17 years agoDon't declare extensions we won't be supporting anytime soon
Art Cancro [Wed, 18 Oct 2006 17:30:22 +0000 (17:30 +0000)]
Don't declare extensions we won't be supporting anytime soon

17 years agoNew global variable: extern char *msiv_extensions
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.

17 years agoPut in a stub for msiv_listextensions() to remind myself
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

17 years agoImplemented the Sieve 'get message size' function
Art Cancro [Tue, 17 Oct 2006 17:55:46 +0000 (17:55 +0000)]
Implemented the Sieve 'get message size' function

17 years agoImplemented the REJECT extension
Art Cancro [Tue, 17 Oct 2006 04:07:03 +0000 (04:07 +0000)]
Implemented the REJECT extension

17 years agoInstalled a French translation submitted by Thierry
Art Cancro [Mon, 16 Oct 2006 17:16:20 +0000 (17:16 +0000)]
Installed a French translation submitted by Thierry

17 years ago* Implemented the 'getsubaddress' callback, but then realized
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.

17 years agoserv_managesieve.c is now only built on Citadel servers that
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.

17 years agoAdded function prototypes for the msiv_*() API calls
Art Cancro [Fri, 13 Oct 2006 16:26:55 +0000 (16:26 +0000)]
Added function prototypes for the msiv_*() API calls

17 years ago* Updated protocol documentation with MSIV commands
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

17 years agoCompleted 'deletescript' API and protocol command.
Art Cancro [Fri, 13 Oct 2006 16:10:26 +0000 (16:10 +0000)]
Completed 'deletescript' API and protocol command.

17 years agoRemoved some debugging messages we no longer need.
Art Cancro [Fri, 13 Oct 2006 04:12:54 +0000 (04:12 +0000)]
Removed some debugging messages we no longer need.

17 years agomsiv 'setactive' completed
Art Cancro [Thu, 12 Oct 2006 22:02:14 +0000 (22:02 +0000)]
msiv 'setactive' completed

17 years agomsiv 'listscripts' completed
Art Cancro [Thu, 12 Oct 2006 21:51:02 +0000 (21:51 +0000)]
msiv 'listscripts' completed

17 years agoCompleted API functions to load and store
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.

17 years agodid a lot of work on sieve config load/save/parse/use
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

17 years agoExpand email address box max length from 40 to 60 chars
Art Cancro [Wed, 11 Oct 2006 16:51:27 +0000 (16:51 +0000)]
Expand email address box max length from 40 to 60 chars

17 years agoUpdated the URL View and Image View commands in citadel.rc
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.

17 years agomore work on sieve script management
Art Cancro [Wed, 11 Oct 2006 03:56:42 +0000 (03:56 +0000)]
more work on sieve script management

17 years agoworked on sieve config load/save
Art Cancro [Tue, 10 Oct 2006 20:57:03 +0000 (20:57 +0000)]
worked on sieve config load/save

17 years agoserv_spam.c: removed the simplistic built-in scanner that
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.

17 years agoBegan working out a way to fetch Sieve scrips from
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.

17 years agoRemoved SMTP vestiges from serv_managesieve.c
Art Cancro [Thu, 5 Oct 2006 03:53:20 +0000 (03:53 +0000)]
Removed SMTP vestiges from serv_managesieve.c

17 years ago* Implemented REDIRECT action.
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.

17 years ago* inject the welcome mail into the lobby of the local system.
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.

17 years ago* added welcomemail, composed by dtb, reviewed by ladyhawke
Wilfried Göesgens [Tue, 3 Oct 2006 13:53:05 +0000 (13:53 +0000)]
* added welcomemail, composed by dtb, reviewed by ladyhawke

17 years ago* added wwww.citadel.org clientmatrix document to be maintained in svn.
Wilfried Göesgens [Mon, 2 Oct 2006 20:12:51 +0000 (20:12 +0000)]
* added wcitadel.org clientmatrix document to be maintained in svn.

17 years agocleaned up some comments etc.
Art Cancro [Mon, 2 Oct 2006 17:35:38 +0000 (17:35 +0000)]
cleaned up some comments etc.

17 years agoAction FILEINTO is now completed.
Art Cancro [Mon, 2 Oct 2006 16:54:51 +0000 (16:54 +0000)]
Action FILEINTO is now completed.

17 years ago* Actions for KEEP and DISCARD 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

17 years ago* Cleaned up some minor details
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.

17 years agoGot all the pointers straightened out. We are now passing
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.

17 years ago* For now, supply a static script to the sieve 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

17 years agoInitialize an instance of the Sieve parser when processing
Art Cancro [Wed, 27 Sep 2006 21:16:04 +0000 (21:16 +0000)]
Initialize an instance of the Sieve parser when processing
one or more messages for a mail room.

17 years ago* use the original mail dest function to find out if a mail is deliverable.
Wilfried Göesgens [Mon, 25 Sep 2006 21:58:31 +0000 (21:58 +0000)]
* use the original mail dest function to find out if a mail is deliverable.

17 years agoFleshed out the processing loop for sieve
Art Cancro [Mon, 25 Sep 2006 14:57:50 +0000 (14:57 +0000)]
Fleshed out the processing loop for sieve

17 years agoMailing list subscribe/unsubscribe confirmation request
Art Cancro [Mon, 25 Sep 2006 03:16:39 +0000 (03:16 +0000)]
Mailing list subscribe/unsubscribe confirmation request
messages are now multipart with both plain text and HTML components.

17 years agoTest of changes to post-commit hook in svn
Art Cancro [Sun, 24 Sep 2006 23:13:58 +0000 (23:13 +0000)]
Test of changes to post-commit hook in svn

17 years agoCompleted a new queue (sieve_list) which will instantly
Art Cancro [Sat, 23 Sep 2006 03:02:03 +0000 (03:02 +0000)]
Completed a new queue (sieve_list) which will instantly
bring to the attention of the housekeeping thread, any rooms which are
inboxes and may require Sieve processing.

17 years agoserv_network.c and msgbase.c: preliminary work for making
Art Cancro [Thu, 21 Sep 2006 04:03:08 +0000 (04:03 +0000)]
serv_network.c and msgbase.c: preliminary work for making
the networker more quickly aware of which rooms have recently
posted messages.  This still runs at a one minute granularity, which
is still too slow.  Need to reduce it to seconds in order to submit
rooms for Sieve processing using the networker.

17 years ago* lookup aliases and rooms for delivery too.
Wilfried Göesgens [Wed, 20 Sep 2006 22:17:58 +0000 (22:17 +0000)]
* lookup aliases and rooms for delivery too.

17 years ago* Fix bug which caused mailing lists to be dropped entirely when editing
Michael Hampton [Mon, 18 Sep 2006 09:33:06 +0000 (09:33 +0000)]
* Fix bug which caused mailing lists to be dropped entirely when editing
  the lists from the text client

17 years agoRan create-pot.sh in preparation for French translation
Art Cancro [Wed, 13 Sep 2006 03:51:08 +0000 (03:51 +0000)]
Ran create-pot.sh in preparation for French translation

17 years agoIrrelevant whitespace change to citadel.html.
Art Cancro [Tue, 12 Sep 2006 17:01:02 +0000 (17:01 +0000)]
Irrelevant whitespace change to citadel.html.
This is primarily to test svn commit hooks.

17 years agosmall update to readme
Art Cancro [Tue, 12 Sep 2006 16:47:36 +0000 (16:47 +0000)]
small update to readme

17 years agoREADME.txt: documented that we want libical 0.26, not 0.24
Art Cancro [Tue, 12 Sep 2006 16:45:56 +0000 (16:45 +0000)]
README.txt: documented that we want libical 0.26, not 0.24

17 years agoAdd serv_sieve.c and initialize it...
Art Cancro [Mon, 11 Sep 2006 15:46:18 +0000 (15:46 +0000)]
Add serv_sieve.c and initialize it...

17 years agoMore libsieve detect fixes
Art Cancro [Mon, 11 Sep 2006 14:57:20 +0000 (14:57 +0000)]
More libsieve detect fixes

17 years agooops ... it's -lsieve, not -llibsieve
Art Cancro [Mon, 11 Sep 2006 13:35:33 +0000 (13:35 +0000)]
oops ... it's -lsieve, not -llibsieve

17 years ago* added room goto for listing.
Wilfried Göesgens [Sun, 10 Sep 2006 12:19:08 +0000 (12:19 +0000)]
* added room goto for listing.

17 years ago* added serv_managesieve.c with first server implementations, signin works.
Wilfried Göesgens [Sat, 9 Sep 2006 07:49:48 +0000 (07:49 +0000)]
* added serv_managesieve.c with first server implementations, signin works.

17 years agoMore configure hacks for libsieve
Art Cancro [Sat, 9 Sep 2006 02:30:45 +0000 (02:30 +0000)]
More configure hacks for libsieve

17 years agoInitial test for libsieve
Art Cancro [Fri, 8 Sep 2006 21:51:48 +0000 (21:51 +0000)]
Initial test for libsieve

17 years ago* initiall sieve listing support. authentication works now, we at least answer with...
Wilfried Göesgens [Thu, 7 Sep 2006 20:59:04 +0000 (20:59 +0000)]
* initiall sieve listing support. authentication works now, we at least answer with "OK" to every documented command.

17 years agoUpdated readme to say v6.84
Art Cancro [Tue, 5 Sep 2006 16:35:16 +0000 (16:35 +0000)]
Updated readme to say v6.84

17 years agoUpdated the importer/exporter to include new config items
Art Cancro [Tue, 5 Sep 2006 16:32:57 +0000 (16:32 +0000)]
Updated the importer/exporter to include new config items

17 years agoOnly populate the preview pane for single select, not
Art Cancro [Sat, 2 Sep 2006 18:59:03 +0000 (18:59 +0000)]
Only populate the preview pane for single select, not
multi or group select

17 years agoAdded group select to summary view.
Art Cancro [Fri, 1 Sep 2006 22:00:59 +0000 (22:00 +0000)]
Added group select to summary view.

17 years agoFixed bug #173. Multi-select and multi-deselect no longer have
Art Cancro [Fri, 1 Sep 2006 19:18:22 +0000 (19:18 +0000)]
Fixed bug #173.  Multi-select and multi-deselect no longer have
a problem where the internally selected list contains messages
that are not highlighted.

17 years agoFound the cause of Bug #173 and added a comment to the
Art Cancro [Fri, 1 Sep 2006 18:53:57 +0000 (18:53 +0000)]
Found the cause of Bug #173 and added a comment to the
code showing where to fix it.  (I don't have the time right
now to fix it but will do this later.)

17 years agosummary view: deleting messages now removes the table rows from
Art Cancro [Fri, 1 Sep 2006 17:13:30 +0000 (17:13 +0000)]
summary view: deleting messages now removes the table rows from
the DOM tree entirely, instead of merely hiding them.  This is important
because the next thing we're going to do is traverse the DOM tree to determine
what rows to use for group select.

17 years ago* translated new strings.
Wilfried Göesgens [Fri, 1 Sep 2006 07:16:31 +0000 (07:16 +0000)]
* translated new strings.

17 years agoRan create-pot.sh to bring in new strings
Art Cancro [Thu, 31 Aug 2006 20:36:37 +0000 (20:36 +0000)]
Ran create-pot.sh to bring in new strings

17 years agoFixed a bug in MSGS SEARCH that was causing it
Art Cancro [Wed, 30 Aug 2006 16:23:46 +0000 (16:23 +0000)]
Fixed a bug in MSGS SEARCH that was causing it
to return an incorrect set of message numbers.

17 years agoFirst attempt at a search function
Art Cancro [Wed, 30 Aug 2006 16:11:44 +0000 (16:11 +0000)]
First attempt at a search function

17 years ago* Internal version number is now 6.84
Art Cancro [Wed, 30 Aug 2006 03:20:01 +0000 (03:20 +0000)]
* Internal version number is now 6.84
* Require Citadel server v6.84 also, for new functionality

17 years ago* changed the fail reply. this seems the string postfix expects.
Wilfried Göesgens [Mon, 28 Aug 2006 20:05:20 +0000 (20:05 +0000)]
* changed the fail reply. this seems the string postfix expects.

17 years agoWhen reading in a message via SMTP (or any protocol which
Art Cancro [Mon, 28 Aug 2006 16:31:54 +0000 (16:31 +0000)]
When reading in a message via SMTP (or any protocol which
uses '.' as an EOT), convert leading '..' to '.' as per RFC821

17 years agoMSGS command can now do full text search on the room
Art Cancro [Sun, 27 Aug 2006 02:07:18 +0000 (02:07 +0000)]
MSGS command can now do full text search on the room

17 years ago* CHANGE: postfix just wants newline, not \r\n
Wilfried Göesgens [Thu, 24 Aug 2006 22:22:48 +0000 (22:22 +0000)]
* CHANGE: postfix just wants newline, not \r\n

17 years ago* added new config for postfix tcpdict port
Wilfried Göesgens [Thu, 24 Aug 2006 06:22:22 +0000 (06:22 +0000)]
* added new config for postfix tcpdict port

17 years ago* hook in the postfix tcphash port.
Wilfried Göesgens [Wed, 23 Aug 2006 21:42:32 +0000 (21:42 +0000)]
* hook in the postfix tcphash port.

17 years ago* added portnumber for postfix dict table.
Wilfried Göesgens [Wed, 23 Aug 2006 21:12:42 +0000 (21:12 +0000)]
* added portnumber for postfix dict table.

17 years ago* implemented a postfix tcp-dict table, first draft.
Wilfried Göesgens [Wed, 23 Aug 2006 21:08:43 +0000 (21:08 +0000)]
* implemented a postfix tcp-dict table, first draft.

17 years agoThis will be Citadel 6.83
Art Cancro [Thu, 17 Aug 2006 17:48:24 +0000 (17:48 +0000)]
This will be Citadel 6.83

17 years agoThe DELE command now accepts multiple message numbers
Art Cancro [Thu, 17 Aug 2006 15:20:56 +0000 (15:20 +0000)]
The DELE command now accepts multiple message numbers
separated by commas.

17 years ago* MOVE command can now move multiple messages at a time
Art Cancro [Sat, 5 Aug 2006 04:13:47 +0000 (04:13 +0000)]
* MOVE command can now move multiple messages at a time
* Bumped internal version number to 6.83

17 years agoRemoved the old CtdlSaveMsgPointerInRoom() API. Everything now
Art Cancro [Sat, 5 Aug 2006 04:00:50 +0000 (04:00 +0000)]
Removed the old CtdlSaveMsgPointerInRoom() API.  Everything now
uses the bulk-capable CtdlSaveMsgPointersInRoom() instead.

17 years agoBugfix for previous commit: IMAP and POP3 expunge operations
Art Cancro [Fri, 28 Jul 2006 04:14:15 +0000 (04:14 +0000)]
Bugfix for previous commit: IMAP and POP3 expunge operations
were calling CtdlDeleteMessages() with num_msgs=0 if there was nothing to delete; this
was bad because it causes all msgs in the room to be deleted.

17 years agoCtdlDeleteMessages() now has a bulk API. Updated all of the
Art Cancro [Fri, 28 Jul 2006 03:30:57 +0000 (03:30 +0000)]
CtdlDeleteMessages() now has a bulk API.  Updated all of the
callers to use it.  Also updated the IMAP and POP3 expunge functions to actually
make use of the bulk delete.  This should significantly improve performance
when used with large folders.

17 years agoCtdlDeleteMessages() now uses the bulk API CtdlCopyMsgsToRoom()
Art Cancro [Thu, 27 Jul 2006 04:21:07 +0000 (04:21 +0000)]
CtdlDeleteMessages() now uses the bulk API CtdlCopyMsgsToRoom()
to move deleted messages to the __CtdlDeletedMessages__ room.  The next
step will be to make CtdlDeleteMessages() itself a bulk-move API.

17 years agoRemoved a spurious FIXME that had already been fixed
Art Cancro [Thu, 27 Jul 2006 03:35:37 +0000 (03:35 +0000)]
Removed a spurious FIXME that had already been fixed

17 years agoConfigure and observe the server setting for default timezone
Art Cancro [Wed, 19 Jul 2006 03:32:48 +0000 (03:32 +0000)]
Configure and observe the server setting for default timezone
for calendar items which have no zone set and are not UTC.