Art Cancro [Tue, 30 Sep 2008 14:48:22 +0000 (14:48 +0000)]
More recurrence editor code
Art Cancro [Tue, 30 Sep 2008 04:10:38 +0000 (04:10 +0000)]
Wrote a few more lines of the recurrence editor.
Art Cancro [Mon, 29 Sep 2008 16:44:10 +0000 (16:44 +0000)]
Date picker is now localized to the currently selected
language. I'd appreciate it if some of you in the community of
international Citadel developers could test this a bit.
Art Cancro [Mon, 29 Sep 2008 16:23:07 +0000 (16:23 +0000)]
Calendar date format is now yyyy-mm-dd because that is the
most 'international' format I can think of. If someone wants to
go through the trouble of figuring out the date format for every
locale and passing it through, go ahead, otherwise we'll leave it
this way. We still need to pass the language through to the
datepicker.
Wilfried Göesgens [Sun, 28 Sep 2008 21:23:10 +0000 (21:23 +0000)]
* templatize user editing
* swap order of DoTemplate to be more intuitive
* add missing break on error to EvaluateConditional
* add date printing functions (unfinishded)
Wilfried Göesgens [Sun, 28 Sep 2008 12:17:30 +0000 (12:17 +0000)]
* migrate userlist to templating.
Wilfried Göesgens [Sat, 27 Sep 2008 16:21:35 +0000 (16:21 +0000)]
* free the StrBuf apropriate.
Wilfried Göesgens [Sat, 27 Sep 2008 16:18:25 +0000 (16:18 +0000)]
* rename urlstring parser
* add Samjams patch for mime attachments
Wilfried Göesgens [Sat, 27 Sep 2008 13:11:01 +0000 (13:11 +0000)]
* fix SSL posting
Art Cancro [Fri, 26 Sep 2008 16:16:16 +0000 (16:16 +0000)]
DLAT and OPNA now accept either a part number or a content-id.
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.
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.
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.
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.
Art Cancro [Wed, 24 Sep 2008 04:02:20 +0000 (04:02 +0000)]
javascript fun for recurrence editor
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.
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
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.
Art Cancro [Tue, 23 Sep 2008 17:36:11 +0000 (17:36 +0000)]
recurrence editor
Art Cancro [Tue, 23 Sep 2008 17:33:36 +0000 (17:33 +0000)]
recurrence editor
Art Cancro [Tue, 23 Sep 2008 15:41:58 +0000 (15:41 +0000)]
Added weekday selection checkboxes to 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.
Art Cancro [Tue, 23 Sep 2008 02:20:43 +0000 (02:20 +0000)]
Wrote 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.
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.
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...
Wilfried Göesgens [Sun, 21 Sep 2008 20:52:03 +0000 (20:52 +0000)]
* fix debian scripts
* new version
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.
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
Wilfried Göesgens [Sun, 21 Sep 2008 15:41:39 +0000 (15:41 +0000)]
* configure the prefix right
Wilfried Göesgens [Sun, 21 Sep 2008 14:04:16 +0000 (14:04 +0000)]
* inline does funny things in some situations.
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.
Art Cancro [Thu, 18 Sep 2008 19:37:30 +0000 (19:37 +0000)]
Minor changes to CtdlSetSeen(). Still needs more work.
Art Cancro [Wed, 17 Sep 2008 14:14:12 +0000 (14:14 +0000)]
added a note to the manual
Art Cancro [Wed, 17 Sep 2008 12:24:51 +0000 (12:24 +0000)]
Removed the FSCK command because it was being misused.
Wilfried Göesgens [Tue, 16 Sep 2008 07:57:22 +0000 (07:57 +0000)]
* somehow ctdl_message_dir got lost.
Wilfried Göesgens [Mon, 15 Sep 2008 22:24:55 +0000 (22:24 +0000)]
* where did this find get lost?
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.
Wilfried Göesgens [Mon, 15 Sep 2008 19:11:12 +0000 (19:11 +0000)]
* fix /webcit/ URL reparsing
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.
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
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.
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
Art Cancro [Sat, 13 Sep 2008 04:02:20 +0000 (04:02 +0000)]
Temporarily revert to the old path to ical.h for release
Wilfried Göesgens [Fri, 12 Sep 2008 17:21:19 +0000 (17:21 +0000)]
* upsi. sequence readjusted.
* add linebuffered reading function
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
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.
Wilfried Göesgens [Fri, 12 Sep 2008 10:25:45 +0000 (10:25 +0000)]
* fix leak in message citing
Wilfried Göesgens [Fri, 12 Sep 2008 10:17:10 +0000 (10:17 +0000)]
* potential leak while saving edited events fixed.
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.
Art Cancro [Fri, 12 Sep 2008 02:39:23 +0000 (02:39 +0000)]
Version 7.38 of citadel and libcitadel
Wilfried Göesgens [Thu, 11 Sep 2008 16:09:00 +0000 (16:09 +0000)]
* move messages/ to /etc/ since the admin should edit them.
Wilfried Göesgens [Thu, 11 Sep 2008 14:05:50 +0000 (14:05 +0000)]
* Templatize IGNet Node Config
Wilfried Göesgens [Thu, 11 Sep 2008 13:00:20 +0000 (13:00 +0000)]
* warn if we don't know an iterator
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
Wilfried Göesgens [Thu, 11 Sep 2008 09:17:10 +0000 (09:17 +0000)]
* correct quoting
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.
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.
Wilfried Göesgens [Wed, 10 Sep 2008 15:54:08 +0000 (15:54 +0000)]
* add way to build the debs with url debugging
Wilfried Göesgens [Wed, 10 Sep 2008 15:36:50 +0000 (15:36 +0000)]
* Fix URL Debugging code to work with StrBuf
Art Cancro [Tue, 9 Sep 2008 02:48:02 +0000 (02:48 +0000)]
Set VERSION:3.0 to all vCards serialized by libcitadel
Wilfried Göesgens [Mon, 8 Sep 2008 21:02:49 +0000 (21:02 +0000)]
* add wrapper to destruct nested hashes
Wilfried Göesgens [Mon, 8 Sep 2008 18:00:42 +0000 (18:00 +0000)]
* sanitize accesses, so valgrind doesn't moan of uninitialized values
Wilfried Göesgens [Mon, 8 Sep 2008 17:59:38 +0000 (17:59 +0000)]
* free in case of error
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
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.
Wilfried Göesgens [Mon, 8 Sep 2008 01:31:10 +0000 (01:31 +0000)]
* more fixes to the siteconfig templates
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
Wilfried Göesgens [Sun, 7 Sep 2008 20:43:26 +0000 (20:43 +0000)]
* more work on sitewide config
Dave West [Sun, 7 Sep 2008 14:49:53 +0000 (14:49 +0000)]
Don't attempt to purge Citadel SYStem users.
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
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.
Wilfried Göesgens [Thu, 4 Sep 2008 19:06:21 +0000 (19:06 +0000)]
* Template debugging: load & parse template on each request
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.
Wilfried Göesgens [Thu, 4 Sep 2008 07:40:28 +0000 (07:40 +0000)]
* fix memleak in msgescputs; temporary StrBuf needs to be freed.
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.
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.
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
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
Wilfried Göesgens [Tue, 2 Sep 2008 10:50:50 +0000 (10:50 +0000)]
* close sockets on error, and abort execution
Art Cancro [Mon, 1 Sep 2008 21:59:55 +0000 (21:59 +0000)]
Feeble incremental work to the recurring event editor
Wilfried Göesgens [Mon, 1 Sep 2008 18:57:23 +0000 (18:57 +0000)]
* replace the aide menu by templated menus
Wilfried Göesgens [Sun, 31 Aug 2008 23:47:20 +0000 (23:47 +0000)]
* switch menubar to template
Wilfried Göesgens [Sun, 31 Aug 2008 20:59:38 +0000 (20:59 +0000)]
* cleaneup allocation
Wilfried Göesgens [Sun, 31 Aug 2008 20:10:34 +0000 (20:10 +0000)]
* cleanup shutdown procedure; free all structures and their properties
Wilfried Göesgens [Sun, 31 Aug 2008 20:09:39 +0000 (20:09 +0000)]
* free the icon structure too, not just its members
Wilfried Göesgens [Sun, 31 Aug 2008 18:58:34 +0000 (18:58 +0000)]
* fix leak
* fix section
Wilfried Göesgens [Sun, 31 Aug 2008 15:43:12 +0000 (15:43 +0000)]
* correct nsession counter display
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
Wilfried Göesgens [Sun, 31 Aug 2008 13:13:33 +0000 (13:13 +0000)]
* make who is online view via templates
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.
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...
Wilfried Göesgens [Sat, 30 Aug 2008 07:25:42 +0000 (07:25 +0000)]
* migrate our iconbar wholist section to templates.
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.
Wilfried Göesgens [Thu, 28 Aug 2008 23:24:54 +0000 (23:24 +0000)]
* move the pointer forward while selecting.
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
Wilfried Göesgens [Wed, 27 Aug 2008 17:54:29 +0000 (17:54 +0000)]
* fix Hans Segfault.
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.
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
Wilfried Göesgens [Tue, 26 Aug 2008 11:25:37 +0000 (11:25 +0000)]
* bugfix reallocation msgescputs