Wilfried Göesgens [Sun, 5 Oct 2008 19:42:49 +0000 (19:42 +0000)]
* reorder zlib detection
Wilfried Göesgens [Sun, 5 Oct 2008 15:42:29 +0000 (15:42 +0000)]
* add autoheader for zlib and iconv detection
* upsie. gzip code was never enabled...
* add raw iron stuf for de-qp strbuffer.
Wilfried Göesgens [Sun, 5 Oct 2008 15:10:47 +0000 (15:10 +0000)]
* configure zlib too, since libcitadel will link it for strbuf
* shuffle library detection so we don't get into troubles
* add empty UI_SILENT to all setup switches, so that its clear we do nothing here
Matt [Sun, 5 Oct 2008 11:54:14 +0000 (11:54 +0000)]
add begin_burst to "citadel version too low" failure
Art Cancro [Sun, 5 Oct 2008 05:23:52 +0000 (05:23 +0000)]
Cleaned up some templated HTML:
* Double percent (such as width=25%%) is a C format string escape.
Changed those to a single percent (such as width=25%).
* Removed 'px' from table cellpadding and cellspacing attributes.
Evidently this is illegal as it's always to be specified in pixels.
* Appended some </div> tags with comments denoting which div we think
we're closing. There may be a few mismatched ones.
Art Cancro [Sun, 5 Oct 2008 01:22:23 +0000 (01:22 +0000)]
Oops, put serv_virus.c in the wrong directory. Fixed.
Art Cancro [Sun, 5 Oct 2008 01:20:16 +0000 (01:20 +0000)]
Applied the patch to add dtx's ClamAV integration module.
Art Cancro [Fri, 3 Oct 2008 18:26:17 +0000 (18:26 +0000)]
debugging some messy html
Art Cancro [Fri, 3 Oct 2008 17:11:37 +0000 (17:11 +0000)]
configure.ac in citadel and webcit now looks
for icalcomponent_as_ical_string_r() instead of icalcomponent_new()
in order to force the detection of a libical with the new API
Art Cancro [Fri, 3 Oct 2008 17:04:44 +0000 (17:04 +0000)]
Changed all instances of
x = strdup(icalcomponent_as_ical_string(y))
to
x = icalcomponent_as_ical_string_r(y)
to eliminate the second buffer and move to the new API.
Art Cancro [Fri, 3 Oct 2008 15:07:26 +0000 (15:07 +0000)]
more trailing_javascript
Art Cancro [Fri, 3 Oct 2008 15:06:36 +0000 (15:06 +0000)]
more trailing_javascript
Art Cancro [Fri, 3 Oct 2008 15:02:59 +0000 (15:02 +0000)]
more trailing_javascript
Art Cancro [Fri, 3 Oct 2008 14:38:30 +0000 (14:38 +0000)]
Finished the trailing_javascript API and moved a few things to it
Wilfried Göesgens [Fri, 3 Oct 2008 09:50:12 +0000 (09:50 +0000)]
samjam: adds 2 more url handlers for:
* /webcit/postpart/N/name.jpg
* /webcit/postpart_download/N/name.jpg
where N is a number from 0 upwards counting the attachments to the currently composing post.
It downloads that attachment, and will be used for wysiwyg inline image composing.
If we ever support deleting attachments before post (I guess we will) then struct wc_attachment will need an id number.
Art Cancro [Fri, 3 Oct 2008 04:25:18 +0000 (04:25 +0000)]
Added a StrBuf that will eventually contain all of the
miscellaneous javascript that any page needs. Callers should be appending
script code to the trailing_javascript strbuf instead of embedding it in the middle
of the page. This will cause it all to be executed at once, which is
the recommended practice. I haven't moved anything to this yet because
I think the script still isn't executing.
Art Cancro [Thu, 2 Oct 2008 02:51:53 +0000 (02:51 +0000)]
Changes to instant messenger javascript
to accomodate unicode characters
Wilfried Göesgens [Wed, 1 Oct 2008 20:49:13 +0000 (20:49 +0000)]
* just keep the time_t representation of dates
Wilfried Göesgens [Wed, 1 Oct 2008 20:41:22 +0000 (20:41 +0000)]
* fix times of last user access and now
Wilfried Göesgens [Wed, 1 Oct 2008 19:48:50 +0000 (19:48 +0000)]
* sanitize crypto reading
Art Cancro [Wed, 1 Oct 2008 17:56:57 +0000 (17:56 +0000)]
serv_rssclient: honor 'creator' or 'author' tag, set to display name of author in message
Wilfried Göesgens [Wed, 1 Oct 2008 06:34:08 +0000 (06:34 +0000)]
* SERV:CFG creates its context, it doesn't require it.
Art Cancro [Wed, 1 Oct 2008 04:48:47 +0000 (04:48 +0000)]
aaaaaaaaaaaaaaaaaaaaaagggggggh internet explorer sucks
Art Cancro [Wed, 1 Oct 2008 04:07:06 +0000 (04:07 +0000)]
Debugged some javascript that ought to work but
breaks on Internet Exploder. There's still a showstopping bug in there somewhere
but evidently Microsoft doesn't know that there's this wonderful thing called line
numbers, and instead just displays the helpful error message 'Content cannot be
displayed due to error
80004004'. Still need to work on this. Still need to put
every last Microsoft employee feet-first into a wood chipper. Die Microsoft Die.
Art Cancro [Wed, 1 Oct 2008 02:06:13 +0000 (02:06 +0000)]
Recurrence editor: honor weekstart user preference
when selecting what days to recur on.
Calendar month view: when displaying bubble tooltips containing
long text that doesn't wrap (for example, long ugly URL's from
Google Calendar), clip the excess on the right side instead of
overflowing the bubble (Firefox) or scrambling the bubble parts
all over the screen (Internet Exploder).
Art Cancro [Tue, 30 Sep 2008 19:40:02 +0000 (19:40 +0000)]
Default value for 'repeat until' date is one week after start date
Art Cancro [Tue, 30 Sep 2008 16:00:01 +0000 (16:00 +0000)]
Maximum length of a date input field is now 10 characters.
I also noticed that the datepicker.js seems to have been discontinued
by its author. Due to this plus some shortcomings we may want to
consider forking it and integrating it more tightly into the WebCit
framework.
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