citadel.git
15 years agoadd a few #defines to fix OS X
Matt [Fri, 31 Oct 2008 04:28:33 +0000 (04:28 +0000)]
add a few #defines to fix OS X

15 years agoWorking on the header crash sieve bug
Art Cancro [Fri, 31 Oct 2008 02:19:32 +0000 (02:19 +0000)]
Working on the header crash sieve bug

15 years agoRemove the 'Organization:' field from RFC822 output.
Art Cancro [Fri, 31 Oct 2008 02:00:38 +0000 (02:00 +0000)]
Remove the 'Organization:' field from RFC822 output.
It isn't a defined field.  (Seems to be borrowed from usenet.)

15 years ago* fix pre-conditions; since we load & keep the config in the session, we don't need...
Wilfried Göesgens [Thu, 30 Oct 2008 19:23:10 +0000 (19:23 +0000)]
* fix pre-conditions; since we load & keep the config in the session, we don't need the context prerequisite here. Thanks to Samjam for reporting.

15 years agoupdated instructions, noting libsieve and gettext
Matt [Tue, 28 Oct 2008 01:10:59 +0000 (01:10 +0000)]
updated instructions, noting libsieve and gettext

15 years ago* fix browser LANG header evaluation; strbuf migration wasn't complete.
Wilfried Göesgens [Thu, 23 Oct 2008 21:49:21 +0000 (21:49 +0000)]
* fix browser LANG header evaluation; strbuf migration wasn't complete.

15 years ago* handle the two other cases of user modificaion.
Wilfried Göesgens [Thu, 23 Oct 2008 21:18:59 +0000 (21:18 +0000)]
* handle the two other cases of user modificaion.

15 years agomore work on the recurrence editor
Art Cancro [Tue, 21 Oct 2008 21:41:13 +0000 (21:41 +0000)]
more work on the recurrence editor

15 years agomore work on the recurrence editor
Art Cancro [Tue, 21 Oct 2008 16:53:49 +0000 (16:53 +0000)]
more work on the recurrence editor

15 years agomore work on the recurrence editor
Art Cancro [Tue, 21 Oct 2008 16:40:55 +0000 (16:40 +0000)]
more work on the recurrence editor

15 years agorecurrence editor
Art Cancro [Mon, 20 Oct 2008 21:05:33 +0000 (21:05 +0000)]
recurrence editor

15 years ago* directrix1: "Enable host based authentication mode" config option show the right...
Wilfried Göesgens [Sat, 18 Oct 2008 18:29:22 +0000 (18:29 +0000)]
* directrix1: "Enable host based authentication mode" config option show the right value (its showing the inverted value now).

15 years agoaaaaaaaaaaaaaaaaahhhhh more recurrence editor
Art Cancro [Fri, 17 Oct 2008 02:07:54 +0000 (02:07 +0000)]
aaaaaaaaaaaaaaaaahhhhh more recurrence editor

15 years agoTrust the compiler to do short-circuit evaluation.
Art Cancro [Thu, 16 Oct 2008 16:26:33 +0000 (16:26 +0000)]
Trust the compiler to do short-circuit evaluation.

15 years agoTrust the compiler to do short-circuit evaluation.
Art Cancro [Thu, 16 Oct 2008 16:18:30 +0000 (16:18 +0000)]
Trust the compiler to do short-circuit evaluation.

15 years agorecurrence editor stuff
Art Cancro [Thu, 16 Oct 2008 03:09:55 +0000 (03:09 +0000)]
recurrence editor stuff

15 years agorecurrence editor stuff
Art Cancro [Thu, 16 Oct 2008 03:03:29 +0000 (03:03 +0000)]
recurrence editor stuff

15 years agorecurrence editor stuff
Art Cancro [Thu, 16 Oct 2008 02:29:07 +0000 (02:29 +0000)]
recurrence editor stuff

15 years agoAfter calling html_to_ascii() on RSS fields, call
Art Cancro [Wed, 15 Oct 2008 21:22:35 +0000 (21:22 +0000)]
After calling html_to_ascii() on RSS fields, call
striplt() again to strip trailing newline

15 years agoImproved the logic used to determine when a calendar
Art Cancro [Wed, 15 Oct 2008 15:17:19 +0000 (15:17 +0000)]
Improved the logic used to determine when a calendar
month view needs to display 42 boxes instead of 35.  Some months
were displaying a spurious fifth row containing only the next
month or, even worse, a row with a single box for the last day
of the month.

15 years agomore recurring events editor tedium
Art Cancro [Wed, 15 Oct 2008 03:15:39 +0000 (03:15 +0000)]
more recurring events editor tedium

15 years ago* StrBufTrim; port of striplt to strbuf; since the rest of the world calls this Trim...
Wilfried Göesgens [Tue, 14 Oct 2008 22:15:45 +0000 (22:15 +0000)]
* StrBufTrim; port of striplt to strbuf; since the rest of the world calls this Trim(), lets do so too.

15 years agoMore recurrence editor stuff
Art Cancro [Tue, 14 Oct 2008 21:47:17 +0000 (21:47 +0000)]
More recurrence editor stuff

15 years agoMore recurrence editor stuff
Art Cancro [Tue, 14 Oct 2008 21:39:00 +0000 (21:39 +0000)]
More recurrence editor stuff

15 years agoMore work on the recurrence editor.
Art Cancro [Tue, 14 Oct 2008 02:59:13 +0000 (02:59 +0000)]
More work on the recurrence editor.

15 years agoCleaned up some of the comments ... removed vestiges of last year's doxygen experiment
Art Cancro [Tue, 14 Oct 2008 02:27:40 +0000 (02:27 +0000)]
Cleaned up some of the comments ... removed vestiges of last year's doxygen experiment

15 years ago* reworked strbuf RFC822 decoder; its working source -> target now.
Wilfried Göesgens [Sun, 12 Oct 2008 20:56:03 +0000 (20:56 +0000)]
* reworked strbuf RFC822 decoder; its working source -> target now.

15 years ago* DTX: I found a bug in the template that you configure the 'Initial Access Level...
Wilfried Göesgens [Sat, 11 Oct 2008 19:56:36 +0000 (19:56 +0000)]
* DTX: I found a bug in the template that you configure the 'Initial Access Level' and 'Access Level Required to Create Rooms'.

15 years agoRemoved a trace message
Art Cancro [Sat, 11 Oct 2008 04:35:54 +0000 (04:35 +0000)]
Removed a trace message

15 years agoSlight improvement to previous commit. We're still storing
Art Cancro [Sat, 11 Oct 2008 04:33:43 +0000 (04:33 +0000)]
Slight improvement to previous commit.  We're still storing
base calendar events in memory that are out of scope, but we're no longer
storing recurrences that are out of scope.

15 years agoBig change to calendar view functions. We now declare
Art Cancro [Sat, 11 Oct 2008 04:20:03 +0000 (04:20 +0000)]
Big change to calendar view functions.  We now declare
lower and upper bounds before loading calendar items into memory, so that the rendering code
doesn't have to go through thousands of recurrences that span way into the future.  Right now
it only uses this data to know when to stop iterating recurrences, but it could be fine tuned
even more to totally not store calendar items that are out of scope.

15 years agoFixed the mini-calendar month buttons
Art Cancro [Fri, 10 Oct 2008 19:46:04 +0000 (19:46 +0000)]
Fixed the mini-calendar month buttons
and moved the javascript function into the trailing block

15 years agoMoved some calendar view javascript out to the trailing block.
Art Cancro [Fri, 10 Oct 2008 19:22:08 +0000 (19:22 +0000)]
Moved some calendar view javascript out to the trailing block.
Also noticed that the previous/next month buttons in the mini
calendar are now broken.  We need to fix this.

15 years agoWrote a few more lines of code
Art Cancro [Fri, 10 Oct 2008 17:12:05 +0000 (17:12 +0000)]
Wrote a few more lines of code
of the recurrence editor.

15 years agorecurrence editor
Art Cancro [Thu, 9 Oct 2008 21:15:30 +0000 (21:15 +0000)]
recurrence editor

15 years agoApplied dtx's patch which adds the option to flag spam
Art Cancro [Thu, 9 Oct 2008 14:08:27 +0000 (14:08 +0000)]
Applied dtx's patch which adds the option to flag spam
with an extra header instead of rejecting it.

15 years ago* added Edwards files for clamav configuration
Wilfried Göesgens [Tue, 7 Oct 2008 23:35:05 +0000 (23:35 +0000)]
* added Edwards files for clamav configuration

15 years agoCleaned up some bad html
Art Cancro [Mon, 6 Oct 2008 14:48:43 +0000 (14:48 +0000)]
Cleaned up some bad html

15 years agoCleaned up some bad html
Art Cancro [Mon, 6 Oct 2008 14:05:22 +0000 (14:05 +0000)]
Cleaned up some bad html

15 years ago* reorder zlib detection
Wilfried Göesgens [Sun, 5 Oct 2008 19:42:49 +0000 (19:42 +0000)]
* reorder zlib detection

15 years ago* add autoheader for zlib and iconv 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.

15 years ago* configure zlib too, since libcitadel will link it for strbuf
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

15 years agoadd begin_burst to "citadel version too low" failure
Matt [Sun, 5 Oct 2008 11:54:14 +0000 (11:54 +0000)]
add begin_burst to "citadel version too low" failure

15 years agoCleaned up some templated HTML:
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.

15 years agoOops, put serv_virus.c in the wrong directory. Fixed.
Art Cancro [Sun, 5 Oct 2008 01:22:23 +0000 (01:22 +0000)]
Oops, put serv_virus.c in the wrong directory.  Fixed.

15 years agoApplied the patch to add dtx's ClamAV integration module.
Art Cancro [Sun, 5 Oct 2008 01:20:16 +0000 (01:20 +0000)]
Applied the patch to add dtx's ClamAV integration module.

15 years agodebugging some messy html
Art Cancro [Fri, 3 Oct 2008 18:26:17 +0000 (18:26 +0000)]
debugging some messy html

15 years agoconfigure.ac in citadel and webcit now looks
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

15 years agoChanged all instances of
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.

15 years agomore trailing_javascript
Art Cancro [Fri, 3 Oct 2008 15:07:26 +0000 (15:07 +0000)]
more trailing_javascript

15 years agomore trailing_javascript
Art Cancro [Fri, 3 Oct 2008 15:06:36 +0000 (15:06 +0000)]
more trailing_javascript

15 years agomore trailing_javascript
Art Cancro [Fri, 3 Oct 2008 15:02:59 +0000 (15:02 +0000)]
more trailing_javascript

15 years agoFinished the trailing_javascript API and moved a few things to it
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

15 years agosamjam: adds 2 more url handlers for:
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.

15 years agoAdded a StrBuf that will eventually contain all of the
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.

15 years agoChanges to instant messenger javascript
Art Cancro [Thu, 2 Oct 2008 02:51:53 +0000 (02:51 +0000)]
Changes to instant messenger javascript
to accomodate unicode characters

15 years ago* just keep the time_t representation of dates
Wilfried Göesgens [Wed, 1 Oct 2008 20:49:13 +0000 (20:49 +0000)]
* just keep the time_t representation of dates

15 years ago* fix times of last user access and now
Wilfried Göesgens [Wed, 1 Oct 2008 20:41:22 +0000 (20:41 +0000)]
* fix times of last user access and now

15 years ago* sanitize crypto reading
Wilfried Göesgens [Wed, 1 Oct 2008 19:48:50 +0000 (19:48 +0000)]
* sanitize crypto reading

15 years agoserv_rssclient: honor 'creator' or 'author' tag, set to display name of author in...
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

15 years ago* SERV:CFG creates its context, it doesn't require it.
Wilfried Göesgens [Wed, 1 Oct 2008 06:34:08 +0000 (06:34 +0000)]
* SERV:CFG creates its context, it doesn't require it.

15 years agoaaaaaaaaaaaaaaaaaaaaaagggggggh internet explorer sucks
Art Cancro [Wed, 1 Oct 2008 04:48:47 +0000 (04:48 +0000)]
aaaaaaaaaaaaaaaaaaaaaagggggggh  internet explorer sucks

15 years agoDebugged some javascript that ought to work but
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.

15 years agoRecurrence editor: honor weekstart user preference
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).

15 years agoDefault value for 'repeat until' date is one week after start date
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

15 years agoMaximum length of a date input field is now 10 characters.
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.

15 years agoMore recurrence editor code
Art Cancro [Tue, 30 Sep 2008 14:48:22 +0000 (14:48 +0000)]
More recurrence editor code

15 years agoWrote a few more lines of the recurrence editor.
Art Cancro [Tue, 30 Sep 2008 04:10:38 +0000 (04:10 +0000)]
Wrote a few more lines of the recurrence editor.

15 years agoDate picker is now localized to the currently selected
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.

15 years agoCalendar date format is now yyyy-mm-dd because that is the
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.

15 years ago* templatize user editing
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)

15 years ago* migrate userlist to templating.
Wilfried Göesgens [Sun, 28 Sep 2008 12:17:30 +0000 (12:17 +0000)]
* migrate userlist to templating.

15 years ago* free the StrBuf apropriate.
Wilfried Göesgens [Sat, 27 Sep 2008 16:21:35 +0000 (16:21 +0000)]
* free the StrBuf apropriate.

15 years ago* rename urlstring parser
Wilfried Göesgens [Sat, 27 Sep 2008 16:18:25 +0000 (16:18 +0000)]
* rename urlstring parser
* add Samjams patch for mime attachments

15 years ago* fix SSL posting
Wilfried Göesgens [Sat, 27 Sep 2008 13:11:01 +0000 (13:11 +0000)]
* fix SSL posting

15 years agoDLAT and OPNA now accept either a part number or a content-id.
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.

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