]>
git.ipfire.org Git - thirdparty/mlmmj.git/log
Richard Mortimer [Tue, 25 Jan 2011 16:46:52 +0000 (16:46 +0000)]
Ensure that filename is always freed in clean_nolongerbouncing()
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.
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.
Ben Schmidt [Tue, 17 Jan 2012 03:14:26 +0000 (14:14 +1100)]
Skip blank lines followed by unsatisfied conditionals with no else part.
Ben Schmidt [Tue, 17 Jan 2012 03:14:21 +0000 (14:14 +1100)]
Skip lines with directives which end up being whitespace-only.
Ben Schmidt [Tue, 17 Jan 2012 03:14:16 +0000 (14:14 +1100)]
Add support for conditionals in list texts.
Ben Schmidt [Tue, 17 Jan 2012 02:05:40 +0000 (13:05 +1100)]
Add %wrap% and %wrap W% formatting directives.
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%.
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.
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.
Ben Schmidt [Mon, 16 Jan 2012 10:30:27 +0000 (21:30 +1100)]
Add %originalmail% and restore backward compatibility of $originalmail$.
Ben Schmidt [Mon, 16 Jan 2012 10:29:19 +0000 (21:29 +1100)]
Allow more characters in control and text filenames for substitutions.
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.
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.
Ben Schmidt [Fri, 30 Dec 2011 00:29:12 +0000 (11:29 +1100)]
Abstract away operations on list texts in preparation for more processing.
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.
Ben Schmidt [Tue, 3 Jan 2012 17:10:31 +0000 (04:10 +1100)]
Allow a space in $originalmail N$ substitution.
Ben Schmidt [Tue, 3 Jan 2012 17:06:37 +0000 (04:06 +1100)]
Improve documentation about the digest list text.
Ben Schmidt [Thu, 29 Dec 2011 13:13:54 +0000 (00:13 +1100)]
Add $text T$ substitution
Ben Schmidt [Thu, 29 Dec 2011 13:09:33 +0000 (00:09 +1100)]
Add $$ substitution.
Ben Schmidt [Sun, 20 Mar 2011 14:33:31 +0000 (01:33 +1100)]
Update documentation to reflect planned changes to list text directives
Ben Schmidt [Tue, 3 Jan 2012 16:34:47 +0000 (03:34 +1100)]
Fix strings for operation messages.
Ben Schmidt [Sat, 31 Dec 2011 14:17:32 +0000 (01:17 +1100)]
Update email address for README.sendmail author.
Ben Schmidt [Mon, 26 Sep 2011 00:43:30 +0000 (10:43 +1000)]
Allow list texts to include real UTF-8 characters, as documented.
Ben Schmidt [Sat, 10 Sep 2011 02:23:40 +0000 (12:23 +1000)]
Implement new list text naming scheme
Also fix a bug where the normal list text would be sent when unsubscribing
from the nomail version of the list
Also fix some minor documentation bugs
Ben Schmidt [Sun, 6 Mar 2011 14:30:02 +0000 (01:30 +1100)]
Update documentation to reflect intended changes to list text naming
Ben Schmidt [Mon, 21 Feb 2011 23:16:40 +0000 (10:16 +1100)]
Mark a bunch of stuff as deprecated.
Replacing some generic stuff with even more generic stuff, looking forward to
the day when we will do things like http://$www$.$domain$/$list$/archive.
--HG--
extra : rebase_source :
e0c18aba2f9b52479e34181bd9399f7e423337d7
Ben Schmidt [Mon, 21 Feb 2011 23:12:42 +0000 (10:12 +1100)]
Add a space to $controlN$ substitution and improve documentation.
--HG--
extra : rebase_source :
2c14815d95e877d972e5092883b507113b35aab8
Ben Schmidt [Sun, 6 Mar 2011 13:30:58 +0000 (00:30 +1100)]
Added forgotten ChangeLog entry
Ben Schmidt [Thu, 3 Mar 2011 23:15:19 +0000 (10:15 +1100)]
Avoid trailing whitespace in MAIL FROM line (Lukas Fleischer)
Ben Schmidt [Sun, 5 Dec 2010 08:13:25 +0000 (19:13 +1100)]
Fixed tiny memory leak when exiting mlmmj-sub
Ben Schmidt [Mon, 15 Nov 2010 10:07:50 +0000 (21:07 +1100)]
Better EOL handling and error reporting in php-admin (Franky Van Liedekerke)
Ben Schmidt [Mon, 15 Nov 2010 00:12:50 +0000 (11:12 +1100)]
Avoid losing mail when connection to relayhost fails
Ben Schmidt [Sun, 14 Nov 2010 23:11:28 +0000 (10:11 +1100)]
Document why 'nobody' is inappropriate and capitalise a few things
Ben Schmidt [Sun, 14 Nov 2010 22:36:38 +0000 (09:36 +1100)]
Ignore TAGS files
Ben Schmidt [Sun, 14 Nov 2010 22:31:15 +0000 (09:31 +1100)]
Insignificant change: zero is a valid file descriptor
Ben Schmidt [Thu, 11 Nov 2010 15:30:21 +0000 (02:30 +1100)]
Removed redundant memory freeing code
Ben Schmidt [Thu, 11 Nov 2010 15:30:00 +0000 (02:30 +1100)]
Improved and more consistent closing of SMTP sessions
Ben Schmidt [Thu, 11 Nov 2010 15:27:50 +0000 (02:27 +1100)]
Check the server gives a reply before reading it to avoid segfaulting
Ben Schmidt [Thu, 11 Nov 2010 15:26:49 +0000 (02:26 +1100)]
Avoid checking addresses multiple times for notmetoo
Ben Schmidt [Thu, 11 Nov 2010 13:53:36 +0000 (00:53 +1100)]
Fix some memory leaks
Ben Schmidt [Thu, 11 Nov 2010 13:01:07 +0000 (00:01 +1100)]
Better logging when moving requeue mailfiles into place
Ben Schmidt [Sun, 31 Oct 2010 21:31:08 +0000 (08:31 +1100)]
More readable interface to mygetuntil() when reading to EOF
Ben Schmidt [Fri, 29 Oct 2010 11:25:56 +0000 (22:25 +1100)]
Changes to indentation in php-admin and php-user
Ben Schmidt [Fri, 29 Oct 2010 11:13:47 +0000 (22:13 +1100)]
Update php code to use superglobals
Ben Schmidt [Wed, 20 Oct 2010 23:08:35 +0000 (10:08 +1100)]
Update list of files to include in tarball
Ben Schmidt [Wed, 20 Oct 2010 22:30:39 +0000 (09:30 +1100)]
Simplify file-reading code in php-admin (Franky Van Liedekerke)
Ben Schmidt [Wed, 20 Oct 2010 22:22:07 +0000 (09:22 +1100)]
Remove \r more aggressively in php-admin (Franky Van Liedekerke)
Ben Schmidt [Wed, 20 Oct 2010 01:43:26 +0000 (12:43 +1100)]
Tiny typo fix in ChangeLog
Ben Schmidt [Wed, 20 Oct 2010 01:34:28 +0000 (12:34 +1100)]
Make *all* random strings produced the same length
Ben Schmidt [Wed, 20 Oct 2010 00:39:58 +0000 (11:39 +1100)]
Only check for submod when we need to know (Franky Van Liedekerke)
Ben Schmidt [Sun, 17 Oct 2010 22:59:24 +0000 (09:59 +1100)]
Fix php-admin to work when topdir contains a symlink (e.g. on Mac)
Ben Schmidt [Sun, 17 Oct 2010 22:56:38 +0000 (09:56 +1100)]
Merged change for improving finding php-admin support files
Ben Schmidt [Mon, 11 Oct 2010 22:14:35 +0000 (09:14 +1100)]
Removed unnecessary slash from command for deeply nested listdirs
Ben Schmidt [Mon, 11 Oct 2010 10:59:19 +0000 (21:59 +1100)]
Correct command for deeply nested listdirs
(Corrects
c02582939bbc )
Ben Schmidt [Sun, 10 Oct 2010 22:34:25 +0000 (09:34 +1100)]
Fixed typo in German list text
Ben Schmidt [Thu, 7 Oct 2010 14:47:46 +0000 (01:47 +1100)]
Cosmetic changes to help messages
Ben Schmidt [Thu, 7 Oct 2010 13:28:51 +0000 (00:28 +1100)]
Added missing #include <string.h>
Ben Schmidt [Wed, 6 Oct 2010 12:30:26 +0000 (23:30 +1100)]
Add $controlN$ substitution
The interfaces to substitute() and substitute_one() have changed, as they
now need to know the listdir to be able to find control files
Ben Schmidt [Wed, 6 Oct 2010 12:26:26 +0000 (23:26 +1100)]
Fix theoretically possible memory corruption by chomp()
A quick survey of callers of chomp() suggests this never could occur
in practice
Ben Schmidt [Tue, 5 Oct 2010 23:35:04 +0000 (10:35 +1100)]
Better techniques for locating support files in php-admin
- existing installations will need to have their conf/config.php altered to set
the variable $confdir
Ben Schmidt [Tue, 5 Oct 2010 23:12:23 +0000 (10:12 +1100)]
Info on how to run mlmmj-maintd on deeply nested listdirs (Thomas Goirand)
Ben Schmidt [Sun, 3 Oct 2010 23:18:15 +0000 (10:18 +1100)]
Document that delimiter '-' is unlikely to work.
Ben Schmidt [Sun, 3 Oct 2010 13:28:54 +0000 (00:28 +1100)]
Documented some approaches to web archive generation
Ben Schmidt [Sun, 3 Oct 2010 11:12:33 +0000 (22:12 +1100)]
Remove .sh from mlmmj-make-ml.sh; symlink original name
--HG--
rename : man/mlmmj-make-ml.sh.1 => man/mlmmj-make-ml.1
rename : src/mlmmj-make-ml.sh.in => src/mlmmj-make-ml.in
Chris Webb [Sun, 3 Oct 2010 10:40:42 +0000 (21:40 +1100)]
Fix spelling of 'receive' and 'voodoo'; make mlmmj-recieve a symlink
--HG--
rename : contrib/recievestrip/Makefile.am => contrib/receivestrip/Makefile.am
rename : contrib/recievestrip/README => contrib/receivestrip/README
rename : contrib/recievestrip/mlmmj-recieve-strip.c => contrib/receivestrip/mlmmj-receive-strip.c
rename : include/do_all_the_voodo_here.h => include/do_all_the_voodoo_here.h
rename : include/mlmmj-recieve.h => include/mlmmj-receive.h
rename : man/mlmmj-recieve.1 => man/mlmmj-receive.1
rename : src/do_all_the_voodo_here.c => src/do_all_the_voodoo_here.c
rename : src/mlmmj-recieve.c => src/mlmmj-receive.c
Ben Schmidt [Mon, 27 Sep 2010 00:59:35 +0000 (10:59 +1000)]
Added info on a hierarchical multi-domain option to README.postfix
Ben Schmidt [Sun, 19 Sep 2010 16:52:22 +0000 (02:52 +1000)]
Richer MIME list texts with inline messages (English only so far)
Ben Schmidt [Sun, 19 Sep 2010 16:31:03 +0000 (02:31 +1000)]
Add $random0$ through $random5$ substitutions
Ben Schmidt [Sun, 19 Sep 2010 16:25:54 +0000 (02:25 +1000)]
Add a $subject$ substitution for list texts
Ben Schmidt [Sun, 19 Sep 2010 16:07:42 +0000 (02:07 +1000)]
Update list texts to retain current behaviour despite previous change
Ben Schmidt [Sun, 19 Sep 2010 16:05:31 +0000 (02:05 +1000)]
Changes to how $originalmail$ works
- No longer buffer the whole mail in memory, but copy a line at a time
- Allow a line-count
- Change to the indent/whitespace behaviour; to essentially get current
behaviour, a space must be prepended to the lines currently containing
$originalmail$ in the listtexts
The interface to substitute() and substitute_one() has changed. They no longer
take the original mail filename, and cannot be used to do $originalmail$
substitution. This was never used except by prepstdreply() which now
incorporates that substitution itself.
Ben Schmidt [Sun, 19 Sep 2010 15:44:58 +0000 (01:44 +1000)]
Arbitrary headers in listtexts, fix default Content-Transfer-Encoding: header,
and document \uNNNN substitution
Also, the interface to prepstdreply() has changed; there is no longer a
customheaders argument, which was never used anyway, and is now essentially
redundant due to this patch.
Ben Schmidt [Sun, 19 Sep 2010 15:41:32 +0000 (01:41 +1000)]
Fix Content-Transfer-Encoding: header for digests,
and always close digest listtext
Ben Schmidt [Sun, 19 Sep 2010 15:19:25 +0000 (01:19 +1000)]
Fixed a bug where a listtext token was passed without a substitution,
which could cause a crash if it were actually mistakenly used (unlikely)
Ben Schmidt [Sun, 19 Sep 2010 15:18:30 +0000 (01:18 +1000)]
Documented listtexts
Ben Schmidt [Tue, 24 Aug 2010 11:58:59 +0000 (21:58 +1000)]
Added contrib/web/php-moderation/dot.htaccess to version control
Ben Schmidt [Tue, 24 Aug 2010 11:57:48 +0000 (21:57 +1000)]
Removed now unnecessary .cvsignore files
Ben Schmidt [Fri, 13 Aug 2010 15:07:52 +0000 (01:07 +1000)]
Convert documentation to UTF-8
Ben Schmidt [Fri, 13 Aug 2010 15:07:36 +0000 (01:07 +1000)]
Typo fix in mlmmj-unsub man page
Ben Schmidt [Fri, 30 Jul 2010 14:29:09 +0000 (00:29 +1000)]
Avoid a warning about using a string as an array in php-admin
Ben Schmidt [Fri, 30 Jul 2010 14:28:40 +0000 (00:28 +1000)]
Ensure files written by php-admin have Unix EOL and sane permissions
Ben Schmidt [Fri, 30 Jul 2010 14:26:30 +0000 (00:26 +1000)]
Make the random strings produced always the same length rather the
smaller random numbers producing shorter strings which could be
problematic
Ben Schmidt [Fri, 30 Jul 2010 14:25:36 +0000 (00:25 +1000)]
Makes random number generation more efficient by only seeding the
generator once
Ben Schmidt [Fri, 30 Jul 2010 14:04:45 +0000 (00:04 +1000)]
Added feature to notify users when their posts are moderated
Ben Schmidt [Fri, 30 Jul 2010 14:00:31 +0000 (00:00 +1000)]
Fixed documentation regarding silent subscription, and added
ability to silently subscribe.
Ben Schmidt [Fri, 30 Jul 2010 13:54:56 +0000 (23:54 +1000)]
Added notmetoo feature where posts are not mirrored to their senders.
Ben Schmidt [Thu, 29 Jul 2010 23:21:28 +0000 (09:21 +1000)]
Check return status in mlmmj-perl-admin when adding subscribers (Florian
Streibelt, Bitmand)
Ben Schmidt [Sun, 18 Jul 2010 11:46:30 +0000 (21:46 +1000)]
Better validation of input in php-admin (Thomas Goirand)
Ben Schmidt [Sat, 10 Jul 2010 14:12:09 +0000 (00:12 +1000)]
Put README.postfix in tarball
Ben Schmidt [Tue, 6 Jul 2010 15:28:44 +0000 (01:28 +1000)]
Added Turkish translation (Samed Beyribey)
Ben Schmidt [Tue, 6 Jul 2010 15:05:36 +0000 (01:05 +1000)]
Validate input in php-admin to avoid altering arbitrary files
(Florian Streibelt, Morten Shearman Kirkegaard)
Ben Schmidt [Thu, 29 Jul 2010 23:50:34 +0000 (09:50 +1000)]
Update .hgignore file
convert-repo [Mon, 5 Jul 2010 22:21:41 +0000 (22:21 +0000)]
update tags
mortenp [Sat, 10 Apr 2010 19:51:39 +0000 (05:51 +1000)]
Added "send" keyword to control/access handling (Ben Schmidt)
mortenp [Thu, 18 Feb 2010 16:21:55 +0000 (03:21 +1100)]
Added contrib/amime-receive (Gerd v. Egidy)
mortenp [Thu, 18 Feb 2010 10:38:12 +0000 (21:38 +1100)]
added description of the keywords, added flow graph
mortenp [Tue, 16 Feb 2010 16:59:48 +0000 (03:59 +1100)]
Fixed memory leak in substitute_one() (Ben Schmidt)
mortenp [Sat, 30 Jan 2010 19:40:19 +0000 (06:40 +1100)]
Updated German listtexts (Christoph Wilke)
mortenp [Sat, 30 Jan 2010 19:28:01 +0000 (06:28 +1100)]
Updated TUNABLES file (Ben Schmidt)