]> git.ipfire.org Git - thirdparty/mlmmj.git/log
thirdparty/mlmmj.git
10 years agoAdded tag RELEASE_1_2_19_0 for changeset b202ed626645 BRANCH_1_2_19
Ben Schmidt [Mon, 25 May 2015 21:34:51 +0000 (07:34 +1000)] 
Added tag RELEASE_1_2_19_0 for changeset b202ed626645

10 years agoMlmmj 1.2.19.0. RELEASE_1_2_19_0
Ben Schmidt [Mon, 25 May 2015 21:33:09 +0000 (07:33 +1000)] 
Mlmmj 1.2.19.0.

10 years agoFix const qualifier to silence a compiler warning.
Ben Schmidt [Fri, 15 May 2015 06:35:20 +0000 (16:35 +1000)] 
Fix const qualifier to silence a compiler warning.

10 years agoAdded tag RELEASE_1_2_19b1 for changeset 3f4aee02898b
Ben Schmidt [Thu, 23 Apr 2015 09:12:25 +0000 (19:12 +1000)] 
Added tag RELEASE_1_2_19b1 for changeset 3f4aee02898b

10 years agoMlmmj 1.2.19b1. RELEASE_1_2_19b1
Ben Schmidt [Wed, 25 Feb 2015 20:58:18 +0000 (07:58 +1100)] 
Mlmmj 1.2.19b1.

10 years agoAdd README.footers and footer-related resources.
Ben Schmidt [Wed, 25 Feb 2015 20:29:01 +0000 (07:29 +1100)] 
Add README.footers and footer-related resources.

--HG--
extra : amend_source : 5176f923c05681ad5b64caea4dd8eb21cdb058af
extra : histedit_source : 563dd72b622372a0628e25692e1f3b9dd39e34af

10 years agoSupport ESMTP so OpenSMTPD uses 8 bits (Paul Fariello).
Ben Schmidt [Wed, 25 Feb 2015 07:22:37 +0000 (18:22 +1100)] 
Support ESMTP so OpenSMTPD uses 8 bits (Paul Fariello).

--HG--
extra : histedit_source : 8cbbdb1e9294b967618df89f7396ef370c3dea87

11 years agoTrim whitespace around subject headers.
Ben Schmidt [Mon, 24 Mar 2014 00:57:08 +0000 (11:57 +1100)] 
Trim whitespace around subject headers.

11 years agoIgnore whitespace between encoded words in headers, and don't collapse included white...
Ben Schmidt [Fri, 7 Mar 2014 22:35:40 +0000 (09:35 +1100)] 
Ignore whitespace between encoded words in headers, and don't collapse included whitespace.

11 years agoUse iconv to convert unknown character sets.
Ben Schmidt [Tue, 11 Feb 2014 22:19:03 +0000 (09:19 +1100)] 
Use iconv to convert unknown character sets.

--HG--
extra : rebase_source : e2be5470dac9823c5d475506c5b9f0c34323e0d8

11 years agoUpdate ChangeLog.
Ben Schmidt [Mon, 10 Feb 2014 03:42:32 +0000 (14:42 +1100)] 
Update ChangeLog.

--HG--
extra : rebase_source : d0cc2b3a222b465adee36efab8cd008a4258763a

11 years agoSilence compiler warnings (Andreas Schulze).
Ben Schmidt [Mon, 10 Feb 2014 03:31:18 +0000 (14:31 +1100)] 
Silence compiler warnings (Andreas Schulze).

--HG--
extra : rebase_source : 70cda8d2c42bbed1e89d347290b4fb9eb13aa2f9

11 years agoInclude header file previously omitted (Andreas Schulze).
Ben Schmidt [Mon, 10 Feb 2014 03:31:06 +0000 (14:31 +1100)] 
Include header file previously omitted (Andreas Schulze).

--HG--
extra : rebase_source : 02ea431b3746fe01abbb0a6599ba454f1ff13bba

11 years agoHandle unfolded header lines better.
Ben Schmidt [Sun, 2 Feb 2014 13:08:55 +0000 (00:08 +1100)] 
Handle unfolded header lines better.

--HG--
extra : rebase_source : dc2fc081a837b35f6058d4bc3665f642595a115d

11 years agoUse more standard C.
Ben Schmidt [Wed, 12 Feb 2014 22:15:28 +0000 (09:15 +1100)] 
Use more standard C.

11 years agoAdd a tunable for moderation request lifetime.
Ben Schmidt [Mon, 3 Feb 2014 22:06:05 +0000 (09:06 +1100)] 
Add a tunable for moderation request lifetime.

--HG--
extra : rebase_source : f31a9d0c0c9875f7fc860fd654c9a4520343c9ee

11 years agoEnsure mlmmj-send always honours tunables (e.g. relayhost) by always giving the
Ben Schmidt [Fri, 10 Jan 2014 11:25:49 +0000 (22:25 +1100)] 
Ensure mlmmj-send always honours tunables (e.g. relayhost) by always giving the
listdir on the commandline.

--HG--
extra : rebase_source : 622b6afc364c4d8d2de42161fb5a9c3c2323e3d1

11 years agoFix reason in denial messages for mails without the list in To: or CC:.
Ben Schmidt [Thu, 3 Oct 2013 21:16:36 +0000 (07:16 +1000)] 
Fix reason in denial messages for mails without the list in To: or CC:.

--HG--
extra : rebase_source : 6eb70c1fa7711e89381ee8dfd2742cd45548a205

11 years agoUpdate ChangeLog.
Ben Schmidt [Wed, 5 Feb 2014 06:09:27 +0000 (17:09 +1100)] 
Update ChangeLog.

11 years agoAvoid deleting mail currently being sent.
Ben Schmidt [Sun, 2 Feb 2014 23:02:12 +0000 (10:02 +1100)] 
Avoid deleting mail currently being sent.

12 years agoFix initialisation problems so +list works.
Ben Schmidt [Thu, 27 Jun 2013 22:04:08 +0000 (08:04 +1000)] 
Fix initialisation problems so +list works.

12 years agoFix double-subscription bug.
Ben Schmidt [Wed, 8 May 2013 09:56:18 +0000 (19:56 +1000)] 
Fix double-subscription bug.

13 years agoTidy documentation a little.
Ben Schmidt [Tue, 29 May 2012 14:19:08 +0000 (00:19 +1000)] 
Tidy documentation a little.

13 years agoAdded tag RELEASE_1_2_18_0 for changeset 0f90ad70a59f
Ben Schmidt [Tue, 29 May 2012 13:46:19 +0000 (23:46 +1000)] 
Added tag RELEASE_1_2_18_0 for changeset 0f90ad70a59f

13 years agomlmmj-1.2.18.0 RELEASE_1_2_18_0
Ben Schmidt [Tue, 29 May 2012 13:45:59 +0000 (23:45 +1000)] 
mlmmj-1.2.18.0

13 years agoAdded tag RELEASE_1_2_18rc1 for changeset 4c3c8b184576
Ben Schmidt [Thu, 3 May 2012 00:14:56 +0000 (10:14 +1000)] 
Added tag RELEASE_1_2_18rc1 for changeset 4c3c8b184576

13 years agoTidy up ChangeLog and AUTHORS. Release candidate 1.2.18rc1. RELEASE_1_2_18rc1
Ben Schmidt [Thu, 3 May 2012 00:12:15 +0000 (10:12 +1000)] 
Tidy up ChangeLog and AUTHORS. Release candidate 1.2.18rc1.

13 years agoUpdated list texts.
Ben Schmidt [Thu, 26 Apr 2012 04:56:03 +0000 (14:56 +1000)] 
Updated list texts.

13 years agoFix and improve how tokens are recognised for conditionals etc..
Ben Schmidt [Fri, 20 Apr 2012 00:41:58 +0000 (10:41 +1000)] 
Fix and improve how tokens are recognised for conditionals etc..

13 years agoAdd comment to clarify purpose and interface of handle_conditional().
Ben Schmidt [Fri, 20 Apr 2012 00:35:27 +0000 (10:35 +1000)] 
Add comment to clarify purpose and interface of handle_conditional().

13 years agoUse dynamic allocation instead of static variables.
Ben Schmidt [Fri, 30 Mar 2012 23:45:32 +0000 (10:45 +1100)] 
Use dynamic allocation instead of static variables.

13 years agoMove comment for slightly better coding style.
Ben Schmidt [Fri, 30 Mar 2012 23:42:46 +0000 (10:42 +1100)] 
Move comment for slightly better coding style.

13 years agoSlight improvement to list text documentation.
Ben Schmidt [Tue, 27 Mar 2012 02:12:58 +0000 (13:12 +1100)] 
Slight improvement to list text documentation.

13 years agoFix bug where bounces could be discarded instead of processed.
Ben Schmidt [Tue, 27 Mar 2012 01:49:49 +0000 (12:49 +1100)] 
Fix bug where bounces could be discarded instead of processed.

13 years agoMore readable filename_token() function.
Ben Schmidt [Wed, 21 Mar 2012 13:32:03 +0000 (00:32 +1100)] 
More readable filename_token() function.

13 years agoEnsure we don't wrap prematurely and insert an unwanted blank line.
Ben Schmidt [Mon, 19 Mar 2012 23:43:01 +0000 (10:43 +1100)] 
Ensure we don't wrap prematurely and insert an unwanted blank line.

This could happen when the space was inserted between lines: it could trigger
wrapping before there was actually an overflow.

13 years agoUpdate list texts.
Ben Schmidt [Tue, 13 Mar 2012 01:06:42 +0000 (12:06 +1100)] 
Update list texts.

13 years agoAdded tag RELEASE_1_2_18a1 for changeset a0e7464ec2b3
Ben Schmidt [Mon, 12 Mar 2012 16:27:35 +0000 (03:27 +1100)] 
Added tag RELEASE_1_2_18a1 for changeset a0e7464ec2b3

13 years agoAlpha release 1.2.18a1. RELEASE_1_2_18a1
Ben Schmidt [Mon, 12 Mar 2012 16:24:29 +0000 (03:24 +1100)] 
Alpha release 1.2.18a1.

13 years agoAdd new list texts as subrepository.
Ben Schmidt [Mon, 12 Mar 2012 16:23:31 +0000 (03:23 +1100)] 
Add new list texts as subrepository.

13 years agoRemove old list texts.
Ben Schmidt [Mon, 12 Mar 2012 15:41:18 +0000 (02:41 +1100)] 
Remove old list texts.

13 years agoAdd %nowrap% to facilitate more complex formatting.
Ben Schmidt [Mon, 12 Mar 2012 04:46:20 +0000 (15:46 +1100)] 
Add %nowrap% to facilitate more complex formatting.

13 years agoAdd subscription functionality to php-admin and other minor improvements.
Marc Maurice [Sun, 11 Mar 2012 12:09:58 +0000 (23:09 +1100)] 
Add subscription functionality to php-admin and other minor improvements.

13 years agoDon't stop wrapping when skipping text (in a failed conditional).
Ben Schmidt [Wed, 29 Feb 2012 16:42:50 +0000 (03:42 +1100)] 
Don't stop wrapping when skipping text (in a failed conditional).

13 years agoDon't join lines with spaces when there's only indent without content.
Ben Schmidt [Wed, 29 Feb 2012 16:34:33 +0000 (03:34 +1100)] 
Don't join lines with spaces when there's only indent without content.

13 years agoAllow whitespace-only lines to end wrapping.
Ben Schmidt [Wed, 29 Feb 2012 06:39:28 +0000 (17:39 +1100)] 
Allow whitespace-only lines to end wrapping.

13 years agoAdd %zero ABC% exceptions.
Ben Schmidt [Tue, 28 Feb 2012 14:04:11 +0000 (01:04 +1100)] 
Add %zero ABC% exceptions.

13 years agoFix formatting of the beginning of some functions.
Ben Schmidt [Wed, 29 Feb 2012 04:55:32 +0000 (15:55 +1100)] 
Fix formatting of the beginning of some functions.

13 years agoAdd %thin% and %wide% width-reckoning modes.
Ben Schmidt [Wed, 29 Feb 2012 16:34:29 +0000 (03:34 +1100)] 
Add %thin% and %wide% width-reckoning modes.

Also fixes some problems relating to the indent when wrapping, ensuring the
indent isn't swallowed (even though it's whitespace), and that lines aren't
broken in it (even though it's whitespace; breaking in it causes an infinite
loop, as it's always replenished).

13 years agoMake sure parts of lines aren't processed twice.
Ben Schmidt [Wed, 29 Feb 2012 16:33:53 +0000 (03:33 +1100)] 
Make sure parts of lines aren't processed twice.
This ensures backslash escaping is not done twice, and that the one time it is
done it is effective (for break inhibition).

13 years agoMore sensible variable name and meaning for line-breaking.
Ben Schmidt [Wed, 29 Feb 2012 16:33:50 +0000 (03:33 +1100)] 
More sensible variable name and meaning for line-breaking.

13 years agoAdd wrapping modes to facilitate wrapping non-English texts.
Ben Schmidt [Tue, 28 Feb 2012 13:46:35 +0000 (00:46 +1100)] 
Add wrapping modes to facilitate wrapping non-English texts.

- Add %wordwrap%, %charwrap% and %userwrap% line-breaking modes.
- \<space> now means a non-breakable space, not a break opportunity.
- Introduce \/ to mark a break opportunity.
- Introduce \= to inhibit a break.

13 years agoSimplify how line breaking is done internally.
Ben Schmidt [Tue, 28 Feb 2012 13:26:35 +0000 (00:26 +1100)] 
Simplify how line breaking is done internally.

13 years agoFix backslash escaping mechanism.
Ben Schmidt [Tue, 28 Feb 2012 13:03:46 +0000 (00:03 +1100)] 
Fix backslash escaping mechanism.
Ensuring:
- double backslash can't effectively recurse and form part of another escape
  sequence (because backslash is treated both in unistr.c and prepstdreply.c)
- other non-unicode escapes aren't ignored (because they are turned into
  question marks in unistr.c)
- first lines of included files don't 'escape' escaping because they are
  retrieved in begin_new_*() rather than get_processed_text_line().
- files intended to be included transparently aren't escaped, and upcoming
  lines aren't doubly escaped

13 years agoImprove documentation for mlmmj-make-ml.
Ben Schmidt [Tue, 21 Feb 2012 13:11:07 +0000 (00:11 +1100)] 
Improve documentation for mlmmj-make-ml.

13 years agoUpdate URL for mlmmj-webarchiver.
Ben Schmidt [Mon, 30 Jan 2012 17:13:27 +0000 (04:13 +1100)] 
Update URL for mlmmj-webarchiver.

13 years agoFurther revision of README.postfix.
Ben Schmidt [Mon, 30 Jan 2012 11:08:56 +0000 (22:08 +1100)] 
Further revision of README.postfix.

13 years agoFurther revision to README.postfix; add another viable option.
Ben Schmidt [Sun, 29 Jan 2012 16:17:02 +0000 (03:17 +1100)] 
Further revision to README.postfix; add another viable option.

13 years agoBetter VERP documentation.
Ben Schmidt [Sun, 29 Jan 2012 15:22:43 +0000 (02:22 +1100)] 
Better VERP documentation.

13 years agoNew and improved documentation on Postfix integration.
Ben Schmidt [Sun, 29 Jan 2012 14:49:26 +0000 (01:49 +1100)] 
New and improved documentation on Postfix integration.

13 years agoAdd ability to subscribe to 'both' and avoid a deadlock when switching.
Ben Schmidt [Wed, 25 Jan 2012 11:34:57 +0000 (22:34 +1100)] 
Add ability to subscribe to 'both' and avoid a deadlock when switching.

- 'both' means normal and digest versions simultaneously; information about
  this feature is not included in the default list texts, but a few power users
  find it helpful.
- Only take out locks when actually performing a subscription, not before
  checking whether the address is already subscribed; we only really need it
  when we are actually changing the file, and there is a potential deadlock
  which could occur while waiting for unsubscription to complete as part of a
  switch if the lock is taken earlier.
- Also moved code which sends unsubscription confirmations so that it only runs
  once, after unsubsciption has been completed, not every time the address is
  removed; this is only really important when 'both' is a realistic
  subscription option, but it could avoid other double-sends as well.

13 years agoFix access logic so subonlypost doesn't override a send access rule.
Ben Schmidt [Mon, 23 Jan 2012 17:08:24 +0000 (04:08 +1100)] 
Fix access logic so subonlypost doesn't override a send access rule.

--HG--
extra : rebase_source : 697320f1cc3e1f6ca2b2377c212fa3e5e5ba53cd

13 years agoMove subreason_strs and subtype_strs to subscriberfuncs.c.
Ben Schmidt [Tue, 24 Jan 2012 04:43:53 +0000 (15:43 +1100)] 
Move subreason_strs and subtype_strs to subscriberfuncs.c.
They are needed by multiple executables, so can't go in a file with main(). It
is important to remember to link in subscriberfuncs.c whenever these variables
are used. Maybe write wrapper functions in future to enforce this as errors can
be hard to track down when this goes wrong.

13 years agoChanges to how subscription and unsubscribe work.
Ben Schmidt [Mon, 23 Jan 2012 16:02:00 +0000 (03:02 +1100)] 
Changes to how subscription and unsubscribe work.

- Make +unsubscribe remove the requester from all versions of the list.
- Make mlmmj-unsub default to removing the requester from all versions of the
  list.
- Make mlmmj-sub and +subscribe[-digest|-nomail] switch existing subscriptions.
- Add a switch to bypass notifying the owner on subscribe/unsubscribe.
- Make type available in finish list texts.

13 years agoSkip whitespace after conditionals at beginnings of lines when wrapping.
Ben Schmidt [Tue, 24 Jan 2012 03:20:58 +0000 (14:20 +1100)] 
Skip whitespace after conditionals at beginnings of lines when wrapping.

13 years agoFix bug where conditionals with multiple arguments caused an infinite loop.
Ben Schmidt [Tue, 24 Jan 2012 02:13:32 +0000 (13:13 +1100)] 
Fix bug where conditionals with multiple arguments caused an infinite loop.

13 years agoImprovements to wrapping.
Ben Schmidt [Mon, 23 Jan 2012 08:55:04 +0000 (19:55 +1100)] 
Improvements to wrapping.

- Introduce \<space> to indicate line-break positions to enable sensible
  wrapping of Chinese and similar text.
- Allow lines to be longer than the wrapping width if there are no spaces, as
  generated email addresses (e.g. for moderation) won't work if split.
- Fix a bug where using a whole line while wrapping would turn wrapping off as
  the saved (empty) remaining portion would be considered a blank line.
- Use int rather than size_t for line lengths; it's just easier, since we use
  negatives for certain conditions, and it should be plenty big enough.

13 years agoHandle edge cases at end-of-file properly.
Ben Schmidt [Mon, 23 Jan 2012 07:30:06 +0000 (18:30 +1100)] 
Handle edge cases at end-of-file properly.

13 years agoDon't count skipped text when reckoning line length for wrapping.
Ben Schmidt [Mon, 23 Jan 2012 07:03:37 +0000 (18:03 +1100)] 
Don't count skipped text when reckoning line length for wrapping.

13 years agoDon't count the space joining lines if it hasn't been included.
Ben Schmidt [Mon, 23 Jan 2012 07:01:35 +0000 (18:01 +1100)] 
Don't count the space joining lines if it hasn't been included.

13 years agoInclude reason and type when generating subscription moderation messages.
Ben Schmidt [Mon, 23 Jan 2012 12:47:37 +0000 (23:47 +1100)] 
Include reason and type when generating subscription moderation messages.

13 years agoAdd rejection of posts and obstruction of subscriptions.
Ben Schmidt [Mon, 23 Jan 2012 06:02:18 +0000 (17:02 +1100)] 
Add rejection of posts and obstruction of subscriptions.

13 years agoAvoid bogus error messages when logging re To: and CC: headers.
Ben Schmidt [Mon, 23 Jan 2012 05:28:05 +0000 (16:28 +1100)] 
Avoid bogus error messages when logging re To: and CC: headers.

This is still not ideal and error reporting still needs an overhaul, but at
least no red herring message is logged now.

13 years agoUse character names in man pages.
Ben Schmidt [Mon, 23 Jan 2012 02:06:45 +0000 (13:06 +1100)] 
Use character names in man pages.

Groff currently by default uses latin1 for its input encoding and doesn't
support utf-8 at all [1], but Debian can and one day must use utf-8 [2, 3]. By
using character names [4] we sidestep the incompatibility.

[1] info groff -- gtroff Reference::Text::Input Encodings::
    http://www.gnu.org/software/groff/manual/html_node/Input-Encodings.html
[2] http://www.debian.org/doc/debian-policy/ch-docs.html
[3] http://www.debian.org/doc/debian-policy/footnotes.html#f101
[4] man groff_char
    http://manpages.debian.net/cgi-bin/man.cgi?query=groff_char&apropos=0&sektion=0&manpath=Debian+6.0+squeeze&format=html&locale=en

13 years agoBetter description of mlmmj-unsub in man page.
Ben Schmidt [Mon, 23 Jan 2012 00:45:21 +0000 (11:45 +1100)] 
Better description of mlmmj-unsub in man page.

13 years agoEscape dashes in man pages.
Ben Schmidt [Mon, 23 Jan 2012 00:44:50 +0000 (11:44 +1100)] 
Escape dashes in man pages.

13 years agoRemove 'bashisms' from mlmmj-make-ml script
Ben Schmidt [Sun, 22 Jan 2012 13:20:37 +0000 (00:20 +1100)] 
Remove 'bashisms' from mlmmj-make-ml script
(patch from Dan forwarded by Thomas Goirand).

14 years agoOnly match -probe if it appears at the end of a filename
Richard Mortimer [Tue, 25 Jan 2011 23:45:10 +0000 (23:45 +0000)] 
Only match -probe if it appears at the end of a filename

14 years agoEnsure that mlmmjsend, mlmmjbounce, mlmmjunsub are freed on abnormal exit
Richard Mortimer [Tue, 25 Jan 2011 19:22:27 +0000 (19:22 +0000)] 
Ensure that mlmmjsend, mlmmjbounce, mlmmjunsub are freed on abnormal exit

14 years agoEnsure that address and bouncedata are freed in unsub_bouncers()
Richard Mortimer [Tue, 25 Jan 2011 18:59:39 +0000 (18:59 +0000)] 
Ensure that address and bouncedata are freed in unsub_bouncers()

14 years agoFixup missing myfree of from to and repto in resend_queue()
Richard Mortimer [Tue, 25 Jan 2011 18:33:14 +0000 (18:33 +0000)] 
Fixup missing myfree of from to and repto in resend_queue()

14 years agoAdd comment to make it clear what string manipulations achieve
Richard Mortimer [Tue, 25 Jan 2011 16:47:49 +0000 (16:47 +0000)] 
Add comment to make it clear what string manipulations achieve

14 years agoEnsure that filename is always freed in clean_nolongerbouncing()
Richard Mortimer [Tue, 25 Jan 2011 16:46:52 +0000 (16:46 +0000)] 
Ensure that filename is always freed in clean_nolongerbouncing()

14 years agoOnly stat files after discounting ignored filenames.
Richard Mortimer [Tue, 25 Jan 2011 16:35:25 +0000 (16:35 +0000)] 
Only stat files after discounting ignored filenames.
This eliminates confusing log messages similar to

mlmmj-maintd.c:511: Could not stat(auser=example.com.lastmsg): No such file or directory

These occur when bouncing users are unsubscribed because the .lastmsg files
are checked after the auser=example.com files with no extensions.

14 years agoEnsure that child processes exit if the execlp call fails and returns
Richard Mortimer [Tue, 25 Jan 2011 15:21:40 +0000 (15:21 +0000)] 
Ensure that child processes exit if the execlp call fails and returns
control back to mlmmj-maint.

13 years agoSkip blank lines followed by unsatisfied conditionals with no else part.
Ben Schmidt [Tue, 17 Jan 2012 03:14:26 +0000 (14:14 +1100)] 
Skip blank lines followed by unsatisfied conditionals with no else part.

13 years agoSkip lines with directives which end up being whitespace-only.
Ben Schmidt [Tue, 17 Jan 2012 03:14:21 +0000 (14:14 +1100)] 
Skip lines with directives which end up being whitespace-only.

13 years agoAdd support for conditionals in list texts.
Ben Schmidt [Tue, 17 Jan 2012 03:14:16 +0000 (14:14 +1100)] 
Add support for conditionals in list texts.

13 years agoAdd %wrap% and %wrap W% formatting directives.
Ben Schmidt [Tue, 17 Jan 2012 02:05:40 +0000 (13:05 +1100)] 
Add %wrap% and %wrap W% formatting directives.

13 years agoAdd formatted substitutions that are lists.
Ben Schmidt [Tue, 17 Jan 2012 00:20:38 +0000 (11:20 +1100)] 
Add formatted substitutions that are lists.
These are %digestthreads%, %gatekeepers%, %listsubs%, %digestsubs%,
%nomailsubs%, %moderators% and %bouncenumbers%.

13 years agoRework the internals of list text substitution and add some substitutions.
Ben Schmidt [Mon, 16 Jan 2012 14:26:45 +0000 (01:26 +1100)] 
Rework the internals of list text substitution and add some substitutions.
This includes making some substitutions more widely available, too, and marking
some old ones as deprecated, too.

13 years agoFix potential crash when mail to the owner arrives with no From: header.
Ben Schmidt [Mon, 16 Jan 2012 10:30:29 +0000 (21:30 +1100)] 
Fix potential crash when mail to the owner arrives with no From: header.

13 years agoAdd %originalmail% and restore backward compatibility of $originalmail$.
Ben Schmidt [Mon, 16 Jan 2012 10:30:27 +0000 (21:30 +1100)] 
Add %originalmail% and restore backward compatibility of $originalmail$.

13 years agoAllow more characters in control and text filenames for substitutions.
Ben Schmidt [Mon, 16 Jan 2012 10:29:19 +0000 (21:29 +1100)] 
Allow more characters in control and text filenames for substitutions.

13 years agoAdd %%, %^%, %comment%, %control C%, %text T% formatting directives.
Ben Schmidt [Mon, 16 Jan 2012 10:29:17 +0000 (21:29 +1100)] 
Add %%, %^%, %comment%, %control C%, %text T% formatting directives.
To support inclusion, use a stack of sources when reading list texts.

13 years agoMove list text escaping and substitution into a text-reading function.
Ben Schmidt [Tue, 3 Jan 2012 17:15:20 +0000 (04:15 +1100)] 
Move list text escaping and substitution into a text-reading function.

This paves the way for doing more complicated processing such as conditionals
and formatting later.

Also make the way digest headers are processed more consistent with how
they are processed in list texts.

13 years agoAbstract away operations on list texts in preparation for more processing.
Ben Schmidt [Fri, 30 Dec 2011 00:29:12 +0000 (11:29 +1100)] 
Abstract away operations on list texts in preparation for more processing.

13 years agoImprove algorithm for list text substitutions.
Ben Schmidt [Thu, 29 Dec 2011 13:20:21 +0000 (00:20 +1100)] 
Improve algorithm for list text substitutions.

Now the string is processed character by character, so multiple substitutions
on a single line will work when substitutions do not actually take place, and
it is more efficient.

13 years agoAllow a space in $originalmail N$ substitution.
Ben Schmidt [Tue, 3 Jan 2012 17:10:31 +0000 (04:10 +1100)] 
Allow a space in $originalmail N$ substitution.

13 years agoImprove documentation about the digest list text.
Ben Schmidt [Tue, 3 Jan 2012 17:06:37 +0000 (04:06 +1100)] 
Improve documentation about the digest list text.