citadel.git
15 years agoUpdated the MIME Parser API to include Content-ID in
Art Cancro [Fri, 26 Sep 2008 16:02:27 +0000 (16:02 +0000)]
Updated the MIME Parser API to include Content-ID in
the callback functions.  This effects the entire Citadel system, so
you will have to update all three components now.

15 years ago* when reading SSL buffers, measure existing buffer content the same way as with...
Wilfried Göesgens [Thu, 25 Sep 2008 22:14:36 +0000 (22:14 +0000)]
* when reading SSL buffers, measure existing buffer content the same way as with plaintext http.

15 years agoCompleted HEADERS_FAST mode, which fetches only the top
Art Cancro [Thu, 25 Sep 2008 16:29:49 +0000 (16:29 +0000)]
Completed HEADERS_FAST mode, which fetches only the top
level headers.  HEADERS_ONLY loads the message body in order to
retrieve the second level headers.  IMAP is using HEADERS_FAST and
Sieve is using HEADERS_ONLY.

15 years ago* cut all left of webcit= from cookies
Wilfried Göesgens [Wed, 24 Sep 2008 22:20:04 +0000 (22:20 +0000)]
* cut all left of webcit= from cookies
* some header analyzers were still operating on old buffers; thanks to samjam for pointing this out.

15 years agojavascript fun for recurrence editor
Art Cancro [Wed, 24 Sep 2008 04:02:20 +0000 (04:02 +0000)]
javascript fun for recurrence editor

15 years ago* add the mimeheader length to the number of bytes to read from the client; client_re...
Wilfried Göesgens [Tue, 23 Sep 2008 22:27:48 +0000 (22:27 +0000)]
* add the mimeheader length to the number of bytes to read from the client; client_read decreases bytes to read by the size already present in the buffer. Thanks to samjam for working this patch out.

15 years ago* add contexttype, so the subst can precheck the context pointer for us, and bad...
Wilfried Göesgens [Tue, 23 Sep 2008 21:43:29 +0000 (21:43 +0000)]
* add contexttype, so the subst can precheck the context pointer for us, and bad templates don't make us see funny things in pointers
* templatized vnote display

15 years ago* wrong target in this template. Thanks to samjam providing this patch.
Wilfried Göesgens [Tue, 23 Sep 2008 18:24:32 +0000 (18:24 +0000)]
* wrong target in this template. Thanks to samjam providing this patch.

15 years agorecurrence editor
Art Cancro [Tue, 23 Sep 2008 17:36:11 +0000 (17:36 +0000)]
recurrence editor

15 years agorecurrence editor
Art Cancro [Tue, 23 Sep 2008 17:33:36 +0000 (17:33 +0000)]
recurrence editor

15 years agoAdded weekday selection checkboxes to the recurrence editor
Art Cancro [Tue, 23 Sep 2008 15:41:58 +0000 (15:41 +0000)]
Added weekday selection checkboxes to the recurrence editor

15 years agoWrote a few more lines of the recurrence editor.
Art Cancro [Tue, 23 Sep 2008 02:46:28 +0000 (02:46 +0000)]
Wrote a few more lines of the recurrence editor.

15 years agoWrote a few more lines of the recurrence editor.
Art Cancro [Tue, 23 Sep 2008 02:20:43 +0000 (02:20 +0000)]
Wrote a few more lines of the recurrence editor.

15 years agoWrote a few more lines of the recurrence editor.
Art Cancro [Tue, 23 Sep 2008 02:03:23 +0000 (02:03 +0000)]
Wrote a few more lines of the recurrence editor.

15 years ago/static/webcit.css was being grabbed by the code
Art Cancro [Mon, 22 Sep 2008 14:06:54 +0000 (14:06 +0000)]
/static/webcit.css was being grabbed by the code
that checks for '/webcit' and therefore this file was failing
to load.  Fixed it by checking for '/webcit/' instead.

15 years agoSet vCard version to 2.1
Art Cancro [Mon, 22 Sep 2008 13:31:49 +0000 (13:31 +0000)]
Set vCard version to 2.1
I don't see where we are violating the 3.0 standard, but
I'll take their word for it...

15 years ago* fix debian scripts
Wilfried Göesgens [Sun, 21 Sep 2008 20:52:03 +0000 (20:52 +0000)]
* fix debian scripts
* new version

15 years ago* in higher optimization levels the gcc CPP fails to extract the HKEY macro. thus...
Wilfried Göesgens [Sun, 21 Sep 2008 20:43:44 +0000 (20:43 +0000)]
* in higher optimization levels the gcc CPP fails to extract the HKEY macro. thus do it by hand.

15 years ago* fix setup
Wilfried Göesgens [Sun, 21 Sep 2008 20:19:04 +0000 (20:19 +0000)]
* fix setup
* print errormessages also in quiet mode
* wrap ACT_AS_MTA arround the whole MTA checking functionality, so the debs can skip them alltogether.
* fix path to sendcommand
* hide and analyze the output of CREU

15 years ago* configure the prefix right
Wilfried Göesgens [Sun, 21 Sep 2008 15:41:39 +0000 (15:41 +0000)]
* configure the prefix right

15 years ago* inline does funny things in some situations.
Wilfried Göesgens [Sun, 21 Sep 2008 14:04:16 +0000 (14:04 +0000)]
* inline does funny things in some situations.

15 years agoFixed a bug in CtdlSetSeen() where if the target room
Art Cancro [Sat, 20 Sep 2008 06:08:44 +0000 (06:08 +0000)]
Fixed a bug in CtdlSetSeen() where if the target room
was not the currently selected room, the list of seen/unseen
or answered/unanswered messages could become corrupted.

15 years agoMinor changes to CtdlSetSeen(). Still needs more work.
Art Cancro [Thu, 18 Sep 2008 19:37:30 +0000 (19:37 +0000)]
Minor changes to CtdlSetSeen().  Still needs more work.

15 years agoadded a note to the manual
Art Cancro [Wed, 17 Sep 2008 14:14:12 +0000 (14:14 +0000)]
added a note to the manual

15 years agoRemoved the FSCK command because it was being misused.
Art Cancro [Wed, 17 Sep 2008 12:24:51 +0000 (12:24 +0000)]
Removed the FSCK command because it was being misused.

15 years ago* somehow ctdl_message_dir got lost.
Wilfried Göesgens [Tue, 16 Sep 2008 07:57:22 +0000 (07:57 +0000)]
* somehow ctdl_message_dir got lost.

15 years ago* where did this find get lost?
Wilfried Göesgens [Mon, 15 Sep 2008 22:24:55 +0000 (22:24 +0000)]
* where did this find get lost?

15 years ago* move stuff in header and subst.c arround to be better grouped
Wilfried Göesgens [Mon, 15 Sep 2008 21:41:22 +0000 (21:41 +0000)]
* move stuff in header and subst.c arround to be better grouped
* harmonize callback function types
* add pre-eval shortcut; if we know the handler while evaluating the template, store a pointer to it, so we save hash lookups at runtime.

15 years ago* fix /webcit/ URL reparsing
Wilfried Göesgens [Mon, 15 Sep 2008 19:11:12 +0000 (19:11 +0000)]
* fix /webcit/ URL reparsing

15 years agoAdded a four character msg0 header 'list' for field L
Art Cancro [Mon, 15 Sep 2008 01:28:40 +0000 (01:28 +0000)]
Added a four character msg0 header 'list' for field L
(List-ID).  Probably not needed for anything at the moment but it's

there for completeness.

15 years ago* preinit the serverbuffer, so we don't get unexpected results later
Wilfried Göesgens [Sun, 14 Sep 2008 21:40:25 +0000 (21:40 +0000)]
* preinit the serverbuffer, so we don't get unexpected results later

15 years ago* do linebuffered/non-blocking reads from http requests
Wilfried Göesgens [Sun, 14 Sep 2008 16:50:08 +0000 (16:50 +0000)]
* do linebuffered/non-blocking reads from http requests
* migrate HTTP-Headers to a Hashtable
* adjust the rest of the party to work with this.

15 years ago* add define to easy make a hashkey from a stringbuffer
Wilfried Göesgens [Sun, 14 Sep 2008 15:43:47 +0000 (15:43 +0000)]
* add define to easy make a hashkey from a stringbuffer
* add StrBufRemoveToken
* add StrBufUpcase

15 years agoTemporarily revert to the old path to ical.h for release
Art Cancro [Sat, 13 Sep 2008 04:02:20 +0000 (04:02 +0000)]
Temporarily revert to the old path to ical.h for release

15 years ago* upsi. sequence readjusted.
Wilfried Göesgens [Fri, 12 Sep 2008 17:21:19 +0000 (17:21 +0000)]
* upsi. sequence readjusted.
* add linebuffered reading function

15 years ago* move StrBufNum_tokens and StrBufPlain to more apropriate places
Wilfried Göesgens [Fri, 12 Sep 2008 15:51:00 +0000 (15:51 +0000)]
* move StrBufNum_tokens and StrBufPlain to more apropriate places
* do api documentation

15 years ago* Some nice selenium tests. They use 'testuser' and 'testpass' and mess arround with...
Wilfried Göesgens [Fri, 12 Sep 2008 12:51:59 +0000 (12:51 +0000)]
* Some nice selenium tests. They use 'testuser' and 'testpass' and mess arround with the citadel you open in the browser window. Testuser should be alowed to send internet mail.

15 years ago* fix leak in message citing
Wilfried Göesgens [Fri, 12 Sep 2008 10:25:45 +0000 (10:25 +0000)]
* fix leak in message citing

15 years ago* potential leak while saving edited events fixed.
Wilfried Göesgens [Fri, 12 Sep 2008 10:17:10 +0000 (10:17 +0000)]
* potential leak while saving edited events fixed.

15 years ago* shutdown webcit if we panic out while creating certificates
Wilfried Göesgens [Fri, 12 Sep 2008 10:10:44 +0000 (10:10 +0000)]
* shutdown webcit if we panic out while creating certificates
* free the openssl errors
* add commented out version with reason for remaining free memory so we remember it.

15 years agoVersion 7.38 of citadel and libcitadel
Art Cancro [Fri, 12 Sep 2008 02:39:23 +0000 (02:39 +0000)]
Version 7.38 of citadel and libcitadel

15 years ago* move messages/ to /etc/ since the admin should edit them.
Wilfried Göesgens [Thu, 11 Sep 2008 16:09:00 +0000 (16:09 +0000)]
* move messages/ to /etc/ since the admin should edit them.

15 years ago* Templatize IGNet Node Config
Wilfried Göesgens [Thu, 11 Sep 2008 14:05:50 +0000 (14:05 +0000)]
* Templatize IGNet Node Config

15 years ago* warn if we don't know an iterator
Wilfried Göesgens [Thu, 11 Sep 2008 13:00:20 +0000 (13:00 +0000)]
* warn if we don't know an iterator

15 years ago* give the URL params into the templates with BSTR and COND:BSTR
Wilfried Göesgens [Thu, 11 Sep 2008 12:15:11 +0000 (12:15 +0000)]
* give the URL params into the templates with BSTR and COND:BSTR

15 years ago* correct quoting
Wilfried Göesgens [Thu, 11 Sep 2008 09:17:10 +0000 (09:17 +0000)]
* correct quoting

15 years agoSet icalerror_errors_are_fatal to 0.
Art Cancro [Thu, 11 Sep 2008 02:47:10 +0000 (02:47 +0000)]
Set icalerror_errors_are_fatal to 0.
This will cause libical to return an error when it sees bad icalendar
data instead of aborting the entire program, which is, y'know, bad.

15 years ago* print errormessages into templates if possible in <pre>
Wilfried Göesgens [Wed, 10 Sep 2008 16:00:03 +0000 (16:00 +0000)]
* print errormessages into templates if possible in <pre>
* rework several error messages to be more clear
* put the hashkey in ITERATE:KEY while iterating
* put ITERATE parameters through to callbacks, so they can find custom things there.
* adjust old uses of the iterate api
* migrate inetconfig to templates.

15 years ago* add way to build the debs with url debugging
Wilfried Göesgens [Wed, 10 Sep 2008 15:54:08 +0000 (15:54 +0000)]
* add way to build the debs with url debugging

15 years ago* Fix URL Debugging code to work with StrBuf
Wilfried Göesgens [Wed, 10 Sep 2008 15:36:50 +0000 (15:36 +0000)]
* Fix URL Debugging code to work with StrBuf

15 years agoSet VERSION:3.0 to all vCards serialized by libcitadel
Art Cancro [Tue, 9 Sep 2008 02:48:02 +0000 (02:48 +0000)]
Set VERSION:3.0 to all vCards serialized by libcitadel

15 years ago* add wrapper to destruct nested hashes
Wilfried Göesgens [Mon, 8 Sep 2008 21:02:49 +0000 (21:02 +0000)]
* add wrapper to destruct nested hashes

15 years ago* sanitize accesses, so valgrind doesn't moan of uninitialized values
Wilfried Göesgens [Mon, 8 Sep 2008 18:00:42 +0000 (18:00 +0000)]
* sanitize accesses, so valgrind doesn't moan of uninitialized values

15 years ago* free in case of error
Wilfried Göesgens [Mon, 8 Sep 2008 17:59:38 +0000 (17:59 +0000)]
* free in case of error

15 years ago* fix COND:PREFS
Wilfried Göesgens [Mon, 8 Sep 2008 15:28:24 +0000 (15:28 +0000)]
* fix COND:PREFS
* add NONCE replacer to contextloop; please re-bootstrap so that the initializer does its job
* added selectboxes to the config dialog templates
* added COND:SERVCFG:SUBST for the TZ dropdown

15 years ago* HAIL MELD!
Wilfried Göesgens [Mon, 8 Sep 2008 12:23:13 +0000 (12:23 +0000)]
* HAIL MELD!
* reduce log noise while running from the console with debug binaries; output_static will be as quiet as sslg too.
* add Filename and a copy of the whole token so we can output it in case of errors
* adjusted all error lprintfs in subst.c to deliver file, line, and a matching snippet of the token analyzed so the logfile helps finding bugs in templates.
* templated siteconfig allmost finished.

15 years ago* more fixes to the siteconfig templates
Wilfried Göesgens [Mon, 8 Sep 2008 01:31:10 +0000 (01:31 +0000)]
* more fixes to the siteconfig templates

15 years ago* add new conditional type '%' switching between printing parameter #6 & #7
Wilfried Göesgens [Mon, 8 Sep 2008 00:47:35 +0000 (00:47 +0000)]
* add new conditional type '%' switching between printing parameter #6 & #7
* fix bug in tabbed dialog logic
* some more fixes o the siteconfig templates

15 years ago* more work on sitewide config
Wilfried Göesgens [Sun, 7 Sep 2008 20:43:26 +0000 (20:43 +0000)]
* more work on sitewide config

15 years agoDon't attempt to purge Citadel SYStem users.
Dave West [Sun, 7 Sep 2008 14:49:53 +0000 (14:49 +0000)]
Don't attempt to purge Citadel SYStem users.

15 years ago* UPPERCASE smtp commands. this fixes communication problems with alioth.debian.org
Wilfried Göesgens [Sun, 7 Sep 2008 12:11:30 +0000 (12:11 +0000)]
* UPPERCASE smtp commands. this fixes communication problems with alioth.debian.org

15 years ago* depricate <?=subtemplate> in favour of <?=("subtemplate")> so our syntax is more...
Wilfried Göesgens [Sat, 6 Sep 2008 11:54:56 +0000 (11:54 +0000)]
* depricate <?=subtemplate> in favour of <?=("subtemplate")> so our syntax is more persistant.

15 years ago* Template debugging: load & parse template on each request
Wilfried Göesgens [Thu, 4 Sep 2008 19:06:21 +0000 (19:06 +0000)]
* Template debugging: load & parse template on each request

15 years ago* made *bstr things const
Wilfried Göesgens [Thu, 4 Sep 2008 17:49:41 +0000 (17:49 +0000)]
* made *bstr things const
* add DOTABBED api to the template stuff
* add sysconfig detemplater
* create a list of config settings, for hashing and reading from the query params.
* print empty lin with serv_puts to remove warnings.

15 years ago* fix memleak in msgescputs; temporary StrBuf needs to be freed.
Wilfried Göesgens [Thu, 4 Sep 2008 07:40:28 +0000 (07:40 +0000)]
* fix memleak in msgescputs; temporary StrBuf needs to be freed.

15 years ago* Discovered that my system hasn't processed its refcount_adjustments queue in about...
Art Cancro [Thu, 4 Sep 2008 01:59:23 +0000 (01:59 +0000)]
* Discovered that my system hasn't processed its refcount_adjustments queue in about six months, because a file called refcount_adjustments.dat2 was sitting around and keeping the link() command from succeeding.  Fortunately, the code is robust enough to gracefully excuse itself from this situation without corrupting the database, but now I've got a six month backlog of refcount adjustments to process.   Corrected this situation for anyone else who is having it, by putting a random number in the name of the temporary file.
* When displaying ref count deltas to the log, show +1 instead of just 1 for increments.
* Added a new command TDAP which can be used by an Aide to manually initiate a run of The Dreaded Auto-Purger.

15 years agoImplemented RFC2919, the 'List-ID' field for mailing
Art Cancro [Tue, 2 Sep 2008 17:41:36 +0000 (17:41 +0000)]
Implemented RFC2919, the 'List-ID' field for mailing
lists.  This is now a top-level Citadel header field (L), which makes
it parseable by the Sieve engine.  Also added List-ID to the header
fields selectable in the mailbox filter rules editor.  And of course,
we are generating this field when we send out traffic from a Citadel-hosted
mailing list.  This also closes Bug #371.

15 years agoUpdated webcit vcard editor to handle syntaxes such as 'adr;type=work' without choking
Art Cancro [Tue, 2 Sep 2008 15:52:11 +0000 (15:52 +0000)]
Updated webcit vcard editor to handle syntaxes such as 'adr;type=work' without choking

15 years ago* move serverrestart to templates
Wilfried Göesgens [Tue, 2 Sep 2008 12:38:58 +0000 (12:38 +0000)]
* move serverrestart to templates
* make it return to the aide menu instead of knrooms

15 years ago* close sockets on error, and abort execution
Wilfried Göesgens [Tue, 2 Sep 2008 10:50:50 +0000 (10:50 +0000)]
* close sockets on error, and abort execution

15 years agoFeeble incremental work to the recurring event editor
Art Cancro [Mon, 1 Sep 2008 21:59:55 +0000 (21:59 +0000)]
Feeble incremental work to the recurring event editor

15 years ago* replace the aide menu by templated menus
Wilfried Göesgens [Mon, 1 Sep 2008 18:57:23 +0000 (18:57 +0000)]
* replace the aide menu by templated menus

15 years ago* switch menubar to template
Wilfried Göesgens [Sun, 31 Aug 2008 23:47:20 +0000 (23:47 +0000)]
* switch menubar to template

15 years ago* cleaneup allocation
Wilfried Göesgens [Sun, 31 Aug 2008 20:59:38 +0000 (20:59 +0000)]
* cleaneup allocation

15 years ago* cleanup shutdown procedure; free all structures and their properties
Wilfried Göesgens [Sun, 31 Aug 2008 20:10:34 +0000 (20:10 +0000)]
* cleanup shutdown procedure; free all structures and their properties

15 years ago* free the icon structure too, not just its members
Wilfried Göesgens [Sun, 31 Aug 2008 20:09:39 +0000 (20:09 +0000)]
* free the icon structure too, not just its members

15 years ago* fix leak
Wilfried Göesgens [Sun, 31 Aug 2008 18:58:34 +0000 (18:58 +0000)]
* fix leak
* fix section

15 years ago* correct nsession counter display
Wilfried Göesgens [Sun, 31 Aug 2008 15:43:12 +0000 (15:43 +0000)]
* correct nsession counter display

15 years ago* clean some memleaks
Wilfried Göesgens [Sun, 31 Aug 2008 15:37:29 +0000 (15:37 +0000)]
* clean some memleaks
* prune static who code
* add summary wholist templates

15 years ago* make who is online view via templates
Wilfried Göesgens [Sun, 31 Aug 2008 13:13:33 +0000 (13:13 +0000)]
* make who is online view via templates

15 years ago* harmonize svput actions to be clean and use strbuf() as char* storage.
Wilfried Göesgens [Sat, 30 Aug 2008 14:29:18 +0000 (14:29 +0000)]
* harmonize svput actions to be clean and use strbuf() as char* storage.

15 years ago* add hint for future debugging season, so we remember that if it crashes while freei...
Wilfried Göesgens [Sat, 30 Aug 2008 14:21:56 +0000 (14:21 +0000)]
* add hint for future debugging season, so we remember that if it crashes while freeing a member we need to look at...

15 years ago* migrate our iconbar wholist section to templates.
Wilfried Göesgens [Sat, 30 Aug 2008 07:25:42 +0000 (07:25 +0000)]
* migrate our iconbar wholist section to templates.

15 years agoWe now look for libical/ical.h instead of ical.h, because
Art Cancro [Sat, 30 Aug 2008 04:57:03 +0000 (04:57 +0000)]
We now look for libical/ical.h instead of ical.h, because
that's where libical's build is putting it now.  If this breaks
your build, please update libical from svn.

15 years ago* move the pointer forward while selecting.
Wilfried Göesgens [Thu, 28 Aug 2008 23:24:54 +0000 (23:24 +0000)]
* move the pointer forward while selecting.

15 years ago* quick check the email address for quoted printable encoding, so the de-qp'er doesn...
Wilfried Göesgens [Wed, 27 Aug 2008 23:01:15 +0000 (23:01 +0000)]
* quick check the email address for quoted printable encoding, so the de-qp'er doesn't jam our umlauts

15 years ago* fix Hans Segfault.
Wilfried Göesgens [Wed, 27 Aug 2008 17:54:29 +0000 (17:54 +0000)]
* fix Hans Segfault.

15 years ago* copy va_arg list as running the same vsnprintf over the same list doesn't work.
Wilfried Göesgens [Wed, 27 Aug 2008 17:16:08 +0000 (17:16 +0000)]
* copy va_arg list as running the same vsnprintf over the same list doesn't work.

15 years ago* don't call begin/end ajax response twice
Wilfried Göesgens [Tue, 26 Aug 2008 18:52:30 +0000 (18:52 +0000)]
* don't call begin/end ajax response twice
* removed duplicate headers from begin_ajax_response

15 years ago* bugfix reallocation msgescputs
Wilfried Göesgens [Tue, 26 Aug 2008 11:25:37 +0000 (11:25 +0000)]
* bugfix reallocation msgescputs

15 years ago* some pointer magic to get rid of warnings
Wilfried Göesgens [Mon, 25 Aug 2008 22:11:48 +0000 (22:11 +0000)]
* some pointer magic to get rid of warnings

15 years ago* fix hickup with the floordiv_expanded setting; the way its now it shouldn't double...
Wilfried Göesgens [Mon, 25 Aug 2008 22:06:50 +0000 (22:06 +0000)]
* fix hickup with the floordiv_expanded setting; the way its now it shouldn't double free anymore; the hash does the freeing now.

15 years ago* use & instead of ? for separating further url parameters
Wilfried Göesgens [Mon, 25 Aug 2008 22:04:58 +0000 (22:04 +0000)]
* use & instead of ? for separating further url parameters

15 years ago* fix StrMsgEscAppend
Wilfried Göesgens [Mon, 25 Aug 2008 21:35:38 +0000 (21:35 +0000)]
* fix StrMsgEscAppend

15 years ago* DOBOX("subtemplate", "template_with_headerstring") added
Wilfried Göesgens [Mon, 25 Aug 2008 20:29:22 +0000 (20:29 +0000)]
* DOBOX("subtemplate", "template_with_headerstring") added
* some more templates for replacing the whois online view added

15 years agoMessages in the Local System Configuration room are now
Art Cancro [Mon, 25 Aug 2008 14:06:43 +0000 (14:06 +0000)]
Messages in the Local System Configuration room are now
immune to the auto-purger.

15 years ago* fix some hickups in subst
Wilfried Göesgens [Sun, 24 Aug 2008 23:04:15 +0000 (23:04 +0000)]
* fix some hickups in subst
* add wholist section template

15 years ago* redid sprintf wrapper logic
Wilfried Göesgens [Sun, 24 Aug 2008 23:03:16 +0000 (23:03 +0000)]
* redid sprintf wrapper logic

15 years ago* print the trail of the template
Wilfried Göesgens [Sun, 24 Aug 2008 20:35:35 +0000 (20:35 +0000)]
* print the trail of the template

15 years ago* fix leak in URL handler
Wilfried Göesgens [Sun, 24 Aug 2008 19:42:28 +0000 (19:42 +0000)]
* fix leak in URL handler