Log of /httpd/mod_mbox/trunk/module-2.0
Directory Listing
Revision
1566264 -
Directory Listing
Modified
Sun Feb 9 10:20:07 2014 UTC
(10 years, 6 months ago)
by
rjung
Use chosen dbm type also for listinfo dbm files.
Revision
1565574 -
Directory Listing
Modified
Fri Feb 7 08:25:48 2014 UTC
(10 years, 6 months ago)
by
rjung
Make dbm implementation selectable via scons.
By default we used sdbm which could not create
index records for many mails due to the key+value
size limitation of 1KB.
Revision
1557528 -
Directory Listing
Modified
Sun Jan 12 13:06:42 2014 UTC
(10 years, 7 months ago)
by
rjung
Escape ampersand in message id by percent encoding
as %26 instead of & after encoding via ap_escape_uri().
This seems to fix INFRA-7171 and PR 55981.
Code already runs on mail-archives.eu since a few days.
Revision
1556975 -
Directory Listing
Modified
Thu Jan 9 22:41:32 2014 UTC
(10 years, 7 months ago)
by
rjung
Revert order of message id and uri escaping.
Revision
1556939 -
Directory Listing
Modified
Thu Jan 9 20:24:34 2014 UTC
(10 years, 7 months ago)
by
rjung
Encode ampersand as & when contained verbatim
in message IDs.
Revision
1484915 -
Directory Listing
Modified
Tue May 21 19:33:52 2013 UTC
(11 years, 2 months ago)
by
rjung
Don't do double percent decoding.
msgID is part of path_info, which is already
percent decoded. Double decoding here can lead
to path traversal issues and similar problems.
Clients sending a double encoded msgID are in
error. It seems currently all pages generated by
mod_mbox itself only contain correct single encoded
links.
Revision
1414449 -
Directory Listing
Modified
Tue Nov 27 22:40:19 2012 UTC
(11 years, 8 months ago)
by
rjung
Fix header and parameter parsing when decoding MIME multipart:
- When skipping to th enext header skip after the newline, not
to the newline.
- Skip initial empty parameter (leading ";")
Both problems detected by a valid Airavata announcement mail
contained in www-anounce/201211 with windows-1252 encoding,
but mod_mbox used empty encoding. Result was broken UTF-8 XML.
Revision
1414202 -
Directory Listing
Modified
Tue Nov 27 14:20:45 2012 UTC
(11 years, 8 months ago)
by
rjung
Allow upper case as well.
Revision
1414161 -
Directory Listing
Modified
Tue Nov 27 12:50:36 2012 UTC
(11 years, 8 months ago)
by
rjung
Error log shows that conversion from "utf8" to
"utf-8" is a common unhandled case, at least on
FreeBSD (there seems to be no alias for "utf8").
Implement it as a copy operation.
Revision
1414159 -
Directory Listing
Modified
Tue Nov 27 12:46:49 2012 UTC
(11 years, 8 months ago)
by
rjung
Use request error log instead of server one.
We have the request available here and thus
can better track what's happening
(using the request correlation ID in 2.4).
Revision
1413903 -
Directory Listing
Modified
Mon Nov 26 22:39:21 2012 UTC
(11 years, 8 months ago)
by
rjung
Initialize charset when creating mbox index dbm files.
Relevant when no charset was given for a mail.
Revision
1408703 -
Directory Listing
Modified
Tue Nov 13 12:42:34 2012 UTC
(11 years, 9 months ago)
by
rjung
Use correct format for apr_size_t.
Revision
1331072 -
Directory Listing
Modified
Thu Apr 26 20:34:31 2012 UTC
(12 years, 3 months ago)
by
sf
Try to obtain the list post address from the file .listname if no
List-Post header is found.
PR: 53120
Submitted by: Daniel Shahaf, Stefan Fritsch
Revision
1326076 -
Directory Listing
Modified
Sat Apr 14 09:30:48 2012 UTC
(12 years, 4 months ago)
by
sf
Merge branch convert-charsets
Now, mails are converted to UTF-8.
Minimum httpd version is 2.3.15
Revision
1226495 -
Directory Listing
Modified
Mon Jan 2 17:39:37 2012 UTC
(12 years, 7 months ago)
by
sf
Always set ret_len
Revision
1226494 -
Directory Listing
Modified
Mon Jan 2 17:39:32 2012 UTC
(12 years, 7 months ago)
by
sf
avoid compiler warning about unused function
Revision
1226493 -
Directory Listing
Modified
Mon Jan 2 17:39:27 2012 UTC
(12 years, 7 months ago)
by
sf
remove unused variable, exit loop early when done
Revision
1226492 -
Directory Listing
Modified
Mon Jan 2 17:39:22 2012 UTC
(12 years, 7 months ago)
by
sf
de-confuse const and non-const pointers, to avoid compiler warnings and
a cast
Revision
1226491 -
Directory Listing
Modified
Mon Jan 2 17:39:17 2012 UTC
(12 years, 7 months ago)
by
sf
factor common code into function
display short list name in h1 heading/title
always set charset=utf-8 in headers
Revision
1226487 -
Directory Listing
Modified
Mon Jan 2 17:33:26 2012 UTC
(12 years, 7 months ago)
by
sf
cache get_base_* results in request config
add get_base_name(), fix some warnings
Revision
1188408 -
Directory Listing
Modified
Mon Oct 24 22:02:38 2011 UTC
(12 years, 9 months ago)
by
sf
Prevent out of array boundary access and segfault.
r1187591 removed a bogus check that prevented this access in most cases,
except if there were exactly as many mbox files in a directory as allocated
entries in the array.
Revision
1187592 -
Directory Listing
Modified
Fri Oct 21 23:34:29 2011 UTC
(12 years, 9 months ago)
by
sf
Fix a bunch of compiler warnings about missing prototypes, unused variables,
and "pointer targets in passing argument 3 of 'apr_hash_this' differ in
signedness"
Revision
1187591 -
Directory Listing
Modified
Fri Oct 21 23:22:46 2011 UTC
(12 years, 9 months ago)
by
sf
mbox_parse.c, mbox_sort.c: fix potential NULL pointer dereferences found by clang
mod_mbox_out.c: remove redundant NULL checks that lead to clang false-positives
Revision
1187588 -
Directory Listing
Modified
Fri Oct 21 22:46:06 2011 UTC
(12 years, 9 months ago)
by
sf
Fix URI escaping issues with '%' in msg-ids
PR: 50267
Revision
1184896 -
Directory Listing
Modified
Sun Oct 16 18:15:57 2011 UTC
(12 years, 9 months ago)
by
danielsh
Use the correct file-reading API. Also, an unrelated cleanup.
Approved by: sf
* module-2.0/mod_mbox_file.c
(fetch_message, load_message): s/apr_file_read/apr_file_read_full/
(load_message): Don't initialize a variable that isn't read before being assigned to.
Revision
1184892 -
Directory Listing
Modified
Sun Oct 16 18:06:00 2011 UTC
(12 years, 9 months ago)
by
danielsh
Mark some functions static that aren't used elsewhere.
* module-2.0/mbox_thread.c
(strip_subject, merge_container, delete_from_hash): Mark static.
Revision
1184842 -
Directory Listing
Modified
Sun Oct 16 15:04:42 2011 UTC
(12 years, 9 months ago)
by
danielsh
* module-2.0/mbox_sort.c
(mbox_sort.h): Include, for the prototypes of functions this implements.
Revision
1184839 -
Directory Listing
Modified
Sun Oct 16 14:52:01 2011 UTC
(12 years, 9 months ago)
by
sf
support per-module loglevel in httpd 2.3+
Revision
1184836 -
Directory Listing
Modified
Sun Oct 16 14:44:16 2011 UTC
(12 years, 9 months ago)
by
sf
Fix some "value computed is not used" and "passing argument 1 of 'ap_strstr' discards
qualifiers from pointer target type" compiler warnings.
Revision
1184831 -
Directory Listing
Modified
Sun Oct 16 14:20:16 2011 UTC
(12 years, 9 months ago)
by
sf
Fix memory leak
Revision
1184797 -
Directory Listing
Modified
Sun Oct 16 11:34:04 2011 UTC
(12 years, 9 months ago)
by
danielsh
Minor code cleanup. No functional change.
Approved by: igalic
* module-2.0/mod_mbox.h
(mbox_months): Stop declaring this symbol, making it file-private.
* module-2.0/mod_mbox_out.c
(display_atom_entry, mbox_static_message_nav):
Remove prototypes and make the functions static.
(mbox_months):
Make this file-private and make the elements const.
(mbox_raw_message):
Track const change.
Revision
1029834 -
Directory Listing
Modified
Mon Nov 1 20:58:25 2010 UTC
(13 years, 9 months ago)
by
jerenkrantz
* module-2.0/mod_mbox_out.c: ASCII-escape the text bodies to help lame parsers.
Revision
949463 -
Directory Listing
Modified
Sun May 30 03:15:04 2010 UTC
(14 years, 2 months ago)
by
jerenkrantz
Fix up non-printable character support with Firefox and Google Chrome
over AJAX interfaces.
For a test case, try lists with rpluem as a member - April 2010 of dev@httpd
is a good example:
http://mail-archives.apache.org/mod_mbox/httpd-dev/201004.mbox/browser
* CHANGES: Note this.
* module-2.0/mod_mbox.c
(apr_lib.h): Include.
(mbox_ascii_escape): Add helper to just HTML-ify non-printable chars based
on ap_escape_html2 implementation.
* module-2,0/mod_mbox.h
(mbox_ascii_escape): Declare.
(ESCAPE_OR_BLANK): If available, use ap_escape_html2 or use our internal
escape helper on pre-2.3 builds.
(URI_ESCAPE_OR_BLANK): Relocate declaration.
* module-2.0/mod_mbox_out.c
(display_xml_msglist_entry): Re-order from escaping to always escape last.
(mbox_xml_message): HTML-escape unprintable chars in body and re-order from.
Revision
772700 -
Directory Listing
Modified
Thu May 7 16:42:10 2009 UTC
(15 years, 3 months ago)
by
pquerna
Correctly escape Ampersands in the xml output.
Submitted by: Rick van der Zwet <info rickvanderzwet.nl>
Revision
729643 -
Directory Listing
Modified
Sat Dec 27 17:12:45 2008 UTC
(15 years, 7 months ago)
by
pquerna
Wrap all URLs to messages in a CDATA, so we don't need to go down the path of proper entity encoding (I hate xml).
Revision
729615 -
Directory Listing
Modified
Sat Dec 27 07:53:55 2008 UTC
(15 years, 7 months ago)
by
pquerna
Add link to atom feed at the top of the first partition of the sitemap.
Remove extra logging.
Revision
729611 -
Directory Listing
Modified
Sat Dec 27 07:05:18 2008 UTC
(15 years, 7 months ago)
by
pquerna
Add a basic way to staticly hash partitions into the sitemaps.
Revision
729547 -
Directory Listing
Modified
Fri Dec 26 22:34:57 2008 UTC
(15 years, 7 months ago)
by
pquerna
Include the Subject in the title when viewing a single message.
Revision
560612 -
Directory Listing
Modified
Sat Jul 28 21:07:47 2007 UTC
(17 years ago)
by
jerenkrantz
Fix up base64 binary decoding - such as seen with:
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200704.mbox/raw/%3C460FD722.7050303@wso2.com%3E/2
* module-2.0/mod_mbox.h
(mbox_mime_decode_body): Optionally return decomposed length.
* module-2.0/mod_mbox_mime.c
(mbox_mime_decode_body): Optionally return decomposed length.
(mbox_mime_get_body): Pass NULL as we're assuming text.
* module-2.0/mod_mbox_out.c
(mbox_raw_message): Pass NULL for text/* MIME decoding; use ap_rwrite for
potentially binary encoded attachments and such.
Revision
558533 -
Directory Listing
Modified
Sun Jul 22 20:13:25 2007 UTC
(17 years ago)
by
jerenkrantz
Be a bit more tolerant in parsing mbox files that do not end on a LF.
Revision
558526 -
Directory Listing
Modified
Sun Jul 22 18:53:06 2007 UTC
(17 years ago)
by
colm
Permit the non-presence of a domain in a List-Post: header.
Revision
424680 -
Directory Listing
Modified
Sun Jul 23 05:55:58 2006 UTC
(18 years ago)
by
jerenkrantz
Add -m option to mod-mbox-util to dump the mbox message-id cache
(replaces the load_msgid tool which was never updated when this was introduced.)
Revision
386824 -
Directory Listing
Modified
Sat Mar 18 09:05:39 2006 UTC
(18 years, 4 months ago)
by
jerenkrantz
Replicate the 'Message view' header as a footer too.
Revision
386820 -
Directory Listing
Modified
Sat Mar 18 07:31:03 2006 UTC
(18 years, 5 months ago)
by
pquerna
- Add calls to ap_meets_conditions to actually support conditional gets on the XHTML and Atom index handlers.
Revision
386818 -
Directory Listing
Modified
Sat Mar 18 07:25:35 2006 UTC
(18 years, 5 months ago)
by
pquerna
- Add calls to ap_meets_conditions, to properly support conditional gets from clients. Ooops.
- mbox_static_message and mbox_raw_message both return ints, not apr_status_t.
Revision
376521 -
Directory Listing
Modified
Fri Feb 10 01:07:39 2006 UTC
(18 years, 6 months ago)
by
maxime
Fix mail headers bound search, thus avoiding finding headers in the
mail body.
Revision
376490 -
Directory Listing
Modified
Thu Feb 9 23:44:49 2006 UTC
(18 years, 6 months ago)
by
maxime
* module-2.0/mod_mbox_mime.c:
(mbox_mime_decode_multipart): remove useless and buggy body length
computation leading to segfaults in content parsing and decoding
functions.
Revision
366720 -
Directory Listing
Modified
Sat Jan 7 13:41:18 2006 UTC
(18 years, 7 months ago)
by
maxime
Fix a mail header parsing bug.
* module-2.0/mod_mbox_mime.c:
(mbox_mime_decode_multipart): restore the correct character at end
of chomped header lines during processing. Avoids eating a
newline character that is later missing when searching for
header-body separation.
Revision
366386 -
Directory Listing
Modified
Fri Jan 6 01:36:25 2006 UTC
(18 years, 7 months ago)
by
maxime
* module-2.0/mod_mbox_mime.c:
(mbox_mime_decode_multipart): Be more RFC compliant : allow MIME
boundary lines to end with LF as well as CRLF.
Revision
366174 -
Directory Listing
Modified
Thu Jan 5 12:49:51 2006 UTC
(18 years, 7 months ago)
by
maxime
* module-2.0/mod_mbox_mime.c:
(mbox_mime_decode_multipart): Handle empty boundaries.
Revision
358020 -
Directory Listing
Modified
Tue Dec 20 15:28:52 2005 UTC
(18 years, 7 months ago)
by
maxime
Get rid of these old CVS files.
Revision
357200 -
Directory Listing
Modified
Fri Dec 16 18:04:33 2005 UTC
(18 years, 8 months ago)
by
maxime
Include our own strcasestr function, called mbox_strcasestr(), copied
from ap_strcasestr() (httpd/server/util.c). Indeed, mod-mbox-util,
which is *not* linked against HTTPd, needs a portable strcasestr
function, and system's strcasestr() does not work on Solaris.
Since this is not the only external function bundled in mod_mbox (for
different reasons), they are all included in the mbox_externals.[ch]
files, moved from previous mbox_date.[ch] files. Makefile has been
updated.
Revision
357145 -
Directory Listing
Modified
Fri Dec 16 09:10:54 2005 UTC
(18 years, 8 months ago)
by
maxime
Avoid Solaris portability problem of strcasestr.
Revision
356322 -
Directory Listing
Modified
Mon Dec 12 18:51:27 2005 UTC
(18 years, 8 months ago)
by
maxime
Handle badly parsed messages : in some unknown cases, mod-mbox-util
issues weird numbers for message/body start and end offsets.
* module-2.0/mod_mbox_file.c
(fetch_message): Make fetch_message return NULL when message
length is wrong.
* module-2.0/mod_mbox.h
Add a default error string.
* module-2.0/mod_mbox_mime.c
(mbox_mime_decode_multipart): directly return NULL when facing a
NULL message body. Fix some identation errors.
* module-2.0/mod_mbox_out.c
(mbox_raw_message): display our error string instead of trying to
display a NULL string.
Revision
356073 -
Directory Listing
Modified
Mon Dec 12 00:17:28 2005 UTC
(18 years, 8 months ago)
by
maxime
* module-2.0/mod_mbox_mime.c
Little optimizations on string length computations
* module-2.0/mod_mbox.h, module-2.0/mod_mbox_out.c
Make mod_mbox compile with latest Gcc and HTTPd trunk
Revision
349015 -
Directory Listing
Modified
Fri Nov 25 20:19:14 2005 UTC
(18 years, 8 months ago)
by
maxime
Be even more careful when retreiving message body after multipart parsing
Revision
330591 -
Directory Listing
Modified
Thu Nov 3 17:54:05 2005 UTC
(18 years, 9 months ago)
by
maxime
Avoid crash in decoding routine when message body is NULL. Add a failsafe in the decoding function, and a small note to programmers
Revision
330587 -
Directory Listing
Modified
Thu Nov 3 17:26:02 2005 UTC
(18 years, 9 months ago)
by
maxime
Avoid memory leaks by using APR memory pools, and some other APR-ification stuff in the MIME structure parser
Revision
330582 -
Directory Listing
Modified
Thu Nov 3 17:10:00 2005 UTC
(18 years, 9 months ago)
by
maxime
Use text/plain as default Content-Type
Revision
329549 -
Directory Listing
Modified
Sun Oct 30 10:15:51 2005 UTC
(18 years, 9 months ago)
by
nd
fix svn:eol-style
Revision
327032 -
Directory Listing
Modified
Thu Oct 20 23:11:41 2005 UTC
(18 years, 9 months ago)
by
maxime
Be more careful with the strlen() call.
Revision
327031 -
Directory Listing
Modified
Thu Oct 20 23:07:43 2005 UTC
(18 years, 9 months ago)
by
maxime
Don't strlen() on each iteration. This could be even more improved, yes.
Revision
327019 -
Directory Listing
Modified
Thu Oct 20 22:46:45 2005 UTC
(18 years, 9 months ago)
by
maxime
Don't wrap messages with a size larger than MBOX_MAX_WRAP (set to 50k here)
Revision
325924 -
Directory Listing
Modified
Mon Oct 17 16:47:06 2005 UTC
(18 years, 9 months ago)
by
jerenkrantz
* module-2.0/mod_mbox_out.c: Output a better title for monthly pages; wish we
could add the list name here too, but don't see how to do so easily.
Revision
325920 -
Directory Listing
Modified
Mon Oct 17 16:23:37 2005 UTC
(18 years, 9 months ago)
by
jerenkrantz
* module-2.0/mod_mbox_index.c: If we know the list's name, then make the title
of the index page include the list name.
Revision
321502 -
Directory Listing
Modified
Sat Oct 15 21:52:42 2005 UTC
(18 years, 10 months ago)
by
pquerna
Set the output content type correctly for AJAX requests. This caused the UI to stall, since the browser didn't like text/html at all.
Revision
321481 -
Directory Listing
Modified
Sat Oct 15 20:07:04 2005 UTC
(18 years, 10 months ago)
by
pquerna
Add rel="nofollow" so that search engines don't index mime parts, or the raw message.
Revision
321449 -
Directory Listing
Modified
Sat Oct 15 18:54:29 2005 UTC
(18 years, 10 months ago)
by
pquerna
- Consistently set the outgoing content type with ap_set_content_type, instead of modifying r->content_type ourselves.
- On header only requests, actually return instead of just setting status = OK, which does nothing.
Revision
321426 -
Directory Listing
Modified
Sat Oct 15 18:34:02 2005 UTC
(18 years, 10 months ago)
by
pquerna
Ensure that the mime subpart number passed in by a client is always > 0, so that we don't go off the front of the array.
Revision
320868 -
Directory Listing
Modified
Thu Oct 13 18:36:42 2005 UTC
(18 years, 10 months ago)
by
pquerna
Become more paranoid about zero length bodies, and returning NULL from other functions. This should fix at least one of the crashes being seen on Ajax.
Revision
320825 -
Directory Listing
Modified
Thu Oct 13 17:47:20 2005 UTC
(18 years, 10 months ago)
by
pquerna
strstr can return NULL, so don't crash when we get weird URLs loaded.
Revision
320823 -
Directory Listing
Modified
Thu Oct 13 17:42:36 2005 UTC
(18 years, 10 months ago)
by
pquerna
For all handlers, Deny all non-GET requests.
Revision
314961 -
Directory Listing
Modified
Wed Oct 12 16:44:45 2005 UTC
(18 years, 10 months ago)
by
jerenkrantz
If we didn't find a parseable or zero-length MIME part, don't adjust body_len.
* mod_mbox_mime.c
(mbox_mime_decode_multipart): If the body part is zero-length, don't touch.
Revision
314957 -
Directory Listing
Modified
Wed Oct 12 16:30:17 2005 UTC
(18 years, 10 months ago)
by
jerenkrantz
Fix segfault if we are requested a present, but invalid mime part.
* module-2.0/mod_mbox_out.c
(mbox_raw_message): If the body of the part isn't present, treat is as an
HTTP not found.
Revision
314952 -
Directory Listing
Modified
Wed Oct 12 15:57:56 2005 UTC
(18 years, 10 months ago)
by
pquerna
- Prevent one crash, when the strstr fails. This means it is possibly a badly formed MIME email, but this fix exposes another crash when we try to download these broken MIME segments.
Revision
312905 -
Directory Listing
Modified
Tue Oct 11 16:06:12 2005 UTC
(18 years, 10 months ago)
by
jerenkrantz
* module-2.0/mod_mbox_out.c: Add in site/list navigation for static views.
Revision
307278 -
Directory Listing
Modified
Sat Oct 8 09:36:48 2005 UTC
(18 years, 10 months ago)
by
pquerna
Encode everything in a Giant Pre block, to make sure it renders correctly on all feed readers.
Revision
307277 -
Directory Listing
Modified
Sat Oct 8 09:22:13 2005 UTC
(18 years, 10 months ago)
by
pquerna
Add Link to the Atom Feed from the HTML index page.
Revision
307276 -
Directory Listing
Modified
Sat Oct 8 09:18:07 2005 UTC
(18 years, 10 months ago)
by
pquerna
Add feed autodiscovery tags.
Revision
307275 -
Directory Listing
Modified
Sat Oct 8 09:04:23 2005 UTC
(18 years, 10 months ago)
by
pquerna
Add support for Atom 1.0 feeds to mod_mbox indexes. Just pass '?format=atom' to any directory index handled by mod_mbox.
mod_mbox_file.c: Expose load_message, since this is the first time we are fetching message data without searching for a specific message ID
mod_mbox_index.c: Add mbox_atom_handler, to create the base Atom Feed.
mod_mbox_out.c: Add worker output functions for Atom Feeds.
mod_mbox.h: Add mbox_atom_entries, load_message, and MBOX_ATOM_NUM_ENTRIES(40)
mbox_parse.{c,h}: Add MBOX_SORT_REVERSE_DATE for sorting in newest to oldest.
Revision
307262 -
Directory Listing
Modified
Sat Oct 8 05:18:34 2005 UTC
(18 years, 10 months ago)
by
pquerna
- Remove MAX_MBOX_FILES Hack
- Use apr_array_header_t instead of a static-sized array for the list of mbox files
Revision
307251 -
Directory Listing
Modified
Sat Oct 8 03:52:53 2005 UTC
(18 years, 10 months ago)
by
pquerna
Make sure the data we are copying from is big enough.
Revision
292999 -
Directory Listing
Modified
Sat Oct 1 16:48:34 2005 UTC
(18 years, 10 months ago)
by
maxime
Merging changes from the httpd-mbox-if development branch to module's
trunk. For a list of changes, roll back the branch revision history.
The 0.2 mod_mbox release might come soon.
Revision
239425 -
Directory Listing
Modified
Tue Aug 23 16:12:01 2005 UTC
(18 years, 11 months ago)
by
jerenkrantz
Fix a segfault seen with ws-fx-dev/200502.mbox on ajax.
* module-2.0/mbox_parse.c
(mbox_generate_index): Check if we're at the end of mmap region before
running the From check.
Revision
233127 -
Directory Listing
Modified
Wed Aug 17 05:36:03 2005 UTC
(19 years ago)
by
pquerna
If calculate_threads returns NULL, stop there. This should hopefully stop the crash that is plauging Ajax.
Revision
231340 -
Directory Listing
Modified
Wed Aug 10 22:16:59 2005 UTC
(19 years ago)
by
jerenkrantz
Be more forgiving if a list doesn't have the List-Post header.
* module-2.0/mod_mbox_index.c: If we don't have the list/domain info, don't
display the list summary information; Make it such that the 'site index'
link appears when the list summary isn't shown.
* module-2.0/mod-mbox-util.c: If we don't see the List-Post, store "" rather
than erroring out.
Revision
231188 -
Directory Listing
Modified
Wed Aug 10 07:18:12 2005 UTC
(19 years ago)
by
jerenkrantz
* module-2.0/mod_mbox_index.c
(generate_mbox_index): DECLINE if we don't have a cache file instead of
erroring out.
Revision
231187 -
Directory Listing
Modified
Wed Aug 10 07:16:37 2005 UTC
(19 years ago)
by
jerenkrantz
Add mboxindexroot directive which adds in a 'site index' link to dir indexes.
Example:
MboxIndexRoot http://mail-archives.apache.org/mod_mbox/
* module-2.0/mod_mbox.h: Add in root_url to dir_config
* module-2.0/mod_mbox.c: Add mboxindexroot directive; set/merge root_url
* module-2.0/mod_mbox_index.c
(show_list_info): Emit href with mboxindexroot value if present.
Revision
231183 -
Directory Listing
Modified
Wed Aug 10 07:10:15 2005 UTC
(19 years ago)
by
jerenkrantz
* mod-mbox-util.c
(scan_dir): Skip empty mbox files for purposes of determing list info.
Revision
208687 -
Directory Listing
Modified
Thu Jun 30 21:21:07 2005 UTC
(19 years, 1 month ago)
by
pquerna
Style Cleanup Only. Remove all Trailing Whitespaces that Xcode liked to add. No Functional changes.
Revision
179431 -
Directory Listing
Modified
Wed Jun 1 22:09:39 2005 UTC
(19 years, 2 months ago)
by
pquerna
- Make lucene4c optional to build mod_mbox.
Lucene4c is not currently stable, so making it optional makes mod_mbox usable by other people...
Revision
179322 -
Directory Listing
Modified
Wed Jun 1 00:26:48 2005 UTC
(19 years, 2 months ago)
by
pquerna
- Add comments
Revision
179321 -
Directory Listing
Modified
Wed Jun 1 00:25:06 2005 UTC
(19 years, 2 months ago)
by
pquerna
- Searcher is not working yet, so don't try to close it.
Revision
179305 -
Directory Listing
Modified
Tue May 31 23:38:55 2005 UTC
(19 years, 2 months ago)
by
pquerna
- Sync with Lucene4c development.
Indexing now works, but there are some Lucene4c bugs still around that can cause random crashes.
Revision
179252 -
Directory Listing
Modified
Tue May 31 18:13:29 2005 UTC
(19 years, 2 months ago)
by
nd
fix line endings and x-bits
Revision
164274 -
Directory Listing
Modified
Fri Apr 22 19:26:45 2005 UTC
(19 years, 3 months ago)
by
pquerna
* Cull the unused PUT_FIELD()
* Clean up exported symbols, making the follow static:
- mbox_compare_list
- mbox_compare_list_author
- parse_references
- normalize_message
Revision
164271 -
Directory Listing
Modified
Fri Apr 22 19:15:59 2005 UTC
(19 years, 3 months ago)
by
pquerna
* Correctly kill/register cleanup functions.
Revision
164267 -
Directory Listing
Modified
Fri Apr 22 18:52:56 2005 UTC
(19 years, 3 months ago)
by
pquerna
* Add Comments.
Revision
164265 -
Directory Listing
Modified
Fri Apr 22 18:46:32 2005 UTC
(19 years, 3 months ago)
by
pquerna
* Short explanation of what mod_mbox_file.c does.
* Add more FIXME and general comments.
* mbox_mpart_filter: Switch to a direct apr_brigade_printf() instead of psprinting into a string, and then into a bucket.
* mbox_html_filter: remove debugging printf and call brigade_cleanup instead of brigade_destroy, on the brigade it does not own.
* fetch_message: remove unused buffering
Revision
161560 -
Directory Listing
Modified
Sat Apr 16 08:55:12 2005 UTC
(19 years, 4 months ago)
by
pquerna
- Comment on what mbox_search.c is all about.
Revision
161559 -
Directory Listing
Modified
Sat Apr 16 08:51:44 2005 UTC
(19 years, 4 months ago)
by
pquerna
- prune dead code. This was no longer used after the old fetch_message was removed.
Revision
161558 -
Directory Listing
Modified
Sat Apr 16 08:43:39 2005 UTC
(19 years, 4 months ago)
by
pquerna
Add a comment about the loop that parses the mbox file, and a little on
how it doesn't update the index until it has found the next message, in
order to find the body_end.
Revision
161557 -
Directory Listing
Modified
Sat Apr 16 08:35:19 2005 UTC
(19 years, 4 months ago)
by
pquerna
- fix scoping errors in the fetch_cstring and store_cstring macros.
- split up the calculation of the size of a DBM entry to be more obvious what tlen is used for.
Revision
161556 -
Directory Listing
Modified
Sat Apr 16 07:42:03 2005 UTC
(19 years, 4 months ago)
by
pquerna
- Remove dead code at the end of fetch_message. Too much refactoring, not enough code review.
- Replace the sprintf & bucket creation, and printf to a brigade directly. This makes it easier to add a top banner with the list name/domain.
Revision
161529 -
Directory Listing
Modified
Sat Apr 16 00:00:58 2005 UTC
(19 years, 4 months ago)
by
pquerna
- Add Last Modified for all pages
- Remove the old fetch_message function. Replaced with the pure-offset based one.
- Remove the TODO for 'raw', since it was added via the pure-offset based fetch message.
Revision
161526 -
Directory Listing
Modified
Fri Apr 15 23:33:33 2005 UTC
(19 years, 4 months ago)
by
pquerna
- ignore 'incomplete' files.
- Add etag and last modified to the directory index for better caching.
- Add logging on permissions errors for the directory index.
Revision
161524 -
Directory Listing
Modified
Fri Apr 15 22:06:34 2005 UTC
(19 years, 4 months ago)
by
pquerna
Update Makefile.am to use more of automake, and less of APXS.
Revision
161523 -
Directory Listing
Modified
Fri Apr 15 22:04:23 2005 UTC
(19 years, 4 months ago)
by
pquerna
Fix 'update' mode when no listinfo.db has been created yet.
Revision
160604 -
Directory Listing
Modified
Fri Apr 8 20:47:11 2005 UTC
(19 years, 4 months ago)
by
pquerna
Add the biggest hack ever. This really simple java program reads
from stdin a set of commands to create the lucene full text index of a
message. In the long run, this will be replaced by native Lucene4c.
Revision
160602 -
Directory Listing
Modified
Fri Apr 8 20:30:50 2005 UTC
(19 years, 4 months ago)
by
pquerna
This changeset has become huge. It is my fault.
I started with a few things, but it quickly grew to a state were I could
not commit the individual parts, without breaking what is stored in
subversion.
The general overview:
- A completely new build system, based on autoconf.
- Reorganization of the source code into multiple files.
- An API for Indexing and Searching. This is not complete, and requires
continuing work in Lucene4c.
- mod-mbox-util is now the only method to create or update caches. The
other programs have not been kept in sync.
- Trying to make the shared code look more like a library.
Detailed Changes:
* NOTICE: Add myself and Edward Rudd, since that is the source of the m4
files.
* m4/*: autoconf files writen by Paul Querna and Edward Rudd for
detecting apache.
* module-2.0/mbox_parse.c:
* Store msg_start, body_start, and body_end, instead of just the 'location'
* Remove unused functions that accessed the old DBM Format: put_field_char,
put_field_int, get_field, get_field_value, exists_key.
* Cleanup the of the Public Symbol names. Made several functions static.
* Rename Exported Functions:
load_index -> mbox_load_index
fetch_index -> mbox_fetch_index
parse_cte_header -> mbox_parse_cte_header
* Added calls to functions for Lucene indexing of data. not complete.
* module-2.0/mbox_parse.h: Account for changes to mbox_parse.c
* module-2.0/mod_mbox.c:
* Split different handlers into their own files:
mod_mbox_file - All operations on actual '.mbox' files.
mod_mbox_mime - All Multipart/MIME Operations and Filters.
mod_mbox_search - All Search Handlers.
mod_mbox_index - The Directory Index Handlers.
* Add MboxSearch Directive to set the search index path.
* module-2.0/mbox_cache.c: compile out debug function. remove unused variable.
* module-2.0/mod-mbox-util.c:
* Hack in initial support for full text indexing.
* Add -s option to set a search index path.
Revision
160597 -
Directory Listing
Modified
Fri Apr 8 20:17:58 2005 UTC
(19 years, 4 months ago)
by
pquerna
use a const to stop a compiler warning.
Revision
157321 -
Directory Listing
Modified
Sun Mar 13 08:19:54 2005 UTC
(19 years, 5 months ago)
by
pquerna
new cache system for the mbox directory index handler.
new mod-mbox-util that replaces generate_index and also creates
the directory index cache.
Revision
157303 -
Directory Listing
Modified
Sun Mar 13 00:13:50 2005 UTC
(19 years, 5 months ago)
by
pquerna
fix spacing. no functional changes.
Revision
157290 -
Directory Listing
Modified
Sat Mar 12 22:44:24 2005 UTC
(19 years, 5 months ago)
by
pquerna
Improve the list summary page. It now shows the list name, and information
on how to subscribe to it. This is very specific to ezlm at this time.
Revision
157243 -
Directory Listing
Modified
Sat Mar 12 10:43:11 2005 UTC
(19 years, 5 months ago)
by
pquerna
for directory indexes, show the List-Post header of the latest month.
Revision
157227 -
Directory Listing
Modified
Sat Mar 12 04:15:26 2005 UTC
(19 years, 5 months ago)
by
pquerna
- Only one DBM is created per .mbox file.
- struct with multiple values is serialized into a single DBM Entry
- Directory Index Page. (Set 'MBoxIndex On' for a directory full of .mbox files)
- Show each month's Message count on index page.
- MIME Parsing.
Revision
125237 -
Directory Listing
Modified
Sat Jan 15 00:47:34 2005 UTC
(19 years, 7 months ago)
by
jerenkrantz
Fix corruption on systems with 64-bit pointers (like IA64).
The index of 3, while not immediately obviously correct, was indeed correct for
32-bit platforms as apr_time_t is always 64-bit (counting for 2 32-bit
entries), making the next field be at an offset of 3*32 instead of 2. However,
on 64-bit platforms, the index is 2 as all fields are 64-bit.
Remove the problem entirely by moving the pointer to the 0 offset element.
* modules-2.0/mbox_parse.h: Move the next pointer to be the first field.
* modules-2.0/mbox_parse.c: Use the 0 index instead.
Revision
125118 -
Directory Listing
Modified
Thu Jan 13 23:33:29 2005 UTC
(19 years, 7 months ago)
by
jerenkrantz
* modules-2.0/build-dso: Make build-dso script slightly more intuitive to use.
Revision
125117 -
Directory Listing
Modified
Thu Jan 13 23:32:07 2005 UTC
(19 years, 7 months ago)
by
jerenkrantz
Update mod_mbox license to Apache License 2.0.
Revision
106614 -
Directory Listing
Modified
Thu Nov 25 21:54:03 2004 UTC
(19 years, 8 months ago)
by
nd
property cleanup
Revision
98103 -
Directory Listing
Modified
Mon Dec 23 20:00:59 2002 UTC
(21 years, 7 months ago)
by
jerenkrantz
Fix infinite loop problem when trying to append a child to a parent where
that has already been done.
(I don't really understand how that's possible, but docs@httpd/200007
triggers this.)
Revision
96902 -
Directory Listing
Modified
Thu Sep 19 01:18:14 2002 UTC
(21 years, 10 months ago)
by
jerenkrantz
Document build-dso options
Revision
96901 -
Directory Listing
Modified
Thu Sep 19 01:13:17 2002 UTC
(21 years, 10 months ago)
by
jerenkrantz
Add ability to compile/install helper programs.
Revision
96897 -
Directory Listing
Modified
Thu Sep 19 00:04:55 2002 UTC
(21 years, 10 months ago)
by
jerenkrantz
Ignore apxs-generated files
Revision
96896 -
Directory Listing
Modified
Thu Sep 19 00:04:08 2002 UTC
(21 years, 10 months ago)
by
jerenkrantz
Fix typo.
Revision
96895 -
Directory Listing
Modified
Thu Sep 19 00:01:12 2002 UTC
(21 years, 10 months ago)
by
jerenkrantz
Add helper script to create mod_mbox DSOs via apxs
Revision
96101 -
Directory Listing
Modified
Wed Jul 17 18:37:41 2002 UTC
(22 years, 1 month ago)
by
ianh
what has life come to.
(fix function defs to match updated version (.40) of apache)
Revision
94657 -
Directory Listing
Modified
Mon Apr 15 06:18:17 2002 UTC
(22 years, 4 months ago)
by
jerenkrantz
Sync with httpd-2.0 API changes.
Revision
92903 -
Directory Listing
Modified
Fri Jan 18 05:54:48 2002 UTC
(22 years, 6 months ago)
by
jerenkrantz
We must always escape the uri that will be returned in the Location:
header.
Reported by: Yoichi Takayama <yoichi@webmcq.com>
Revision
92326 -
Directory Listing
Modified
Wed Dec 5 01:39:36 2001 UTC
(22 years, 8 months ago)
by
jerenkrantz
Don't print out message-ID: garbage - just make it the msgid itself.
(This was done a long time ago, but was never committed apparently.)
Revision
92325 -
Directory Listing
Modified
Wed Dec 5 01:39:00 2001 UTC
(22 years, 8 months ago)
by
jerenkrantz
Fix segfault when we don't have a "From" header.
(Evident with tomcat-user for 200012 archive.)
Revision
91855 -
Directory Listing
Modified
Sun Nov 11 19:23:20 2001 UTC
(22 years, 9 months ago)
by
jerenkrantz
Fix a segfault (long-standing)
And, add a cool new feature:
The prev and next thread buttons now are dis-continuous. If you are
reading a thread and you reach a dead-end, we'll now be able to try to
continue (i.e. in another part of that thread or the next thread in
the list). Running on apachelabs.org now.
Revision
91205 -
Directory Listing
Modified
Sat Sep 29 21:00:59 2001 UTC
(22 years, 10 months ago)
by
jerenkrantz
Shush CVS
Revision
91204 -
Directory Listing
Modified
Sat Sep 29 20:59:55 2001 UTC
(22 years, 10 months ago)
by
jerenkrantz
Add load_msgid which prints out all message-ids in a mbox file.
Revision
91203 -
Directory Listing
Modified
Sat Sep 29 20:59:19 2001 UTC
(22 years, 10 months ago)
by
jerenkrantz
Fix segfault when we try to load information from a message that
doesn't exist.
Revision
90095 -
Directory Listing
Modified
Sat Aug 11 07:25:14 2001 UTC
(23 years ago)
by
jerenkrantz
Resync of build files.
Revision
90094 -
Directory Listing
Modified
Sat Aug 11 07:20:38 2001 UTC
(23 years ago)
by
jerenkrantz
Remove all mod_example cruft. This should be the bare essentials needed.
Also update a few places where the httpd interface has changed
(AP_METHOD_BIT, etc)
Revision
90093 -
Directory Listing
Modified
Sat Aug 11 07:09:47 2001 UTC
(23 years ago)
by
jerenkrantz
Remove unused variable.
Revision
90086 -
Directory Listing
Modified
Sat Aug 11 01:16:24 2001 UTC
(23 years ago)
by
jerenkrantz
Add mbox_thread.lo to the build.
Revision
90082 -
Directory Listing
Modified
Sat Aug 11 01:13:49 2001 UTC
(23 years ago)
by
jerenkrantz
This is lameo that I have a patch, but it is just hard to have an
external module.
Something to add to TODO.
Revision
89867 -
Directory Listing
Modified
Thu Aug 2 01:38:55 2001 UTC
(23 years ago)
by
wrowe
Some good old fixups for types and recent api changes
Revision
89632 -
Directory Listing
Modified
Thu Jul 19 22:35:50 2001 UTC
(23 years ago)
by
fielding
Clean up the attributions and add the standard blame clause.
Revision
89571 -
Directory Listing
Added
Wed Jul 18 03:24:38 2001 UTC
(23 years, 1 month ago)
by
jerenkrantz
Initial revision