Skip to contentSkip to conversation

Mlmmj 1.2.18.0 released

mlmmj Ben Schmidt 4 participants 7 messages May 29, 2012 – May 30, 2012

lore
Share & tools
lore
#0 lore raw

Hi, everybody!

I am pleased to announce that Mlmmj 1.2.18.0 has been released. Find it on the downloads page[1].

This version contains a number of important new features:

- Richer list texts (including a new naming scheme, conditionals, automatic wrapping and true UTF-8 support). See README.listtexts for more details.
- Notifying posters when their posts are being moderated (notifymod tunable).
- Not-me-too feature to avoid having the poster receiving their own messages (notmetoo tunable).
- Ability to explicitly reject posts (exposed in new list texts).
- Ability to explicitly obstruct subscriptions (exposed in new list texts).
- Unsubscribe from all versions of a list at once (changed behaviour of +unsubscribe[-{digest|nomail}]; they now all remove the subscriber from all versions of the list).
- Ability to switch between different versions of a list by using +subscribe[-{digest|nomail|both}] ('both' means normal and digest, and is a 'hidden feature' not mentioned in the supplied list texts).
- Subscription ability in php-admin.

There have also been a number of bug fixes (including fixing some bugs which could cause mail to be lost), so everybody is encouraged to upgrade.

The documentation has also been improved.

It is almost entirely backward-compatible. For instance, old list texts should continue to work (though upgrading them is highly recommended, as they have been vastly improved for this version). The main backward-incompatible change is that unsubscribe will now remove a user from all versions of the list, not just one (no matter which unsubscribe address is used). Users of the php-admin interface will also need to modify their configuration files to define $confdir.

(See the ChangeLog[2] for a more detailed list of changes.)

I hope you enjoy the new version.

Ben.

[1] http://mlmmj.org/downloads
[2] http://mlmmj.org/hg/mlmmj/file/RELEASE_1_2_18_0/ChangeLog

#1 lore raw
Quoted 4 lines · Ben Schmidt

Hi, everybody!

I am pleased to announce that Mlmmj 1.2.18.0 has been released. Find it on the downloads page[1].

Hey, that's just on time for Debian 7 (code name: Wheezy)! Thanks for that. I've updated the Debian packages today, and uploaded to SID, if everything goes well, it's going to be in Wheezy.

I'm quite happy to see that I had to remove most of the Debian specific patches, as they were incorporated upstream (eg: on mlmmj original sources). Still, there are 2 patches remaining. I believe that this one could be somehow avoided:

include/mlmmj.h +1 -1
@@ -88,7 +88,7 @@
 #define CHECKFULLPATH(name) if(strchr(name, '/') = NULL) { \
 			fprintf(stderr, "All mlmmj binaries have to " \
 					"be invoked with full path,\n" \
-					"e.g. /usr/local/bin/%s\n", name); \
+					"e.g. /usr/bin/%s\n", name); \
 			exit(EXIT_FAILURE); \
 			};
 

what do you think?

The other one is contrib/web/php-admin/htdocs/dot.htaccess:

diff -u -r -N a/contrib/web/php-admin/htdocs/dot.htaccess b/contrib/web/php-admin/htdocs/dot.htaccess
--- a/contrib/web/php-admin/htdocs/dot.htaccess 2012-01-22
15:40:16.000000000 +0800
+++ b/contrib/web/php-admin/htdocs/dot.htaccess 2012-01-22
15:40:37.000000000 +0800
@@ -1,4 +1,5 @@
Require valid-user
AuthType Basic
-AuthName "mlmmj web-interface"
-AuthUserFile /home/mlmmj/htpasswd
+AuthName "mlmmj web-interface on Debian GNU/Linux" +AuthUserFile /etc/mlmmj-php-web-admin/htpasswd +php_value include_path "/usr/share/mlmmj-php-web-admin"

I don't see how this one could be avoided, and I'm fine keeping it in the package.

Thomas

#2 lore raw
In reply to Ben Schmidt
Quoted 8 lines · Thomas Goirand

I'm quite happy to see that I had to remove most of the Debian specific patches, as they were incorporated upstream (eg: on mlmmj original sources). Still, there are 2 patches remaining. I believe that this one could be somehow avoided:

include/mlmmj.h line 93

Quoted 7 lines
include/mlmmj.h +1 -1
@@ -88,7 +88,7 @@
  #define CHECKFULLPATH(name) if(strchr(name, '/') = NULL) { \
  			fprintf(stderr, "All mlmmj binaries have to " \
  					"be invoked with full path,\n" \
-					"e.g./usr/local/bin/%s\n", name); \
+					"e.g./usr/bin/%s\n", name); \
  			exit(EXIT_FAILURE); \
  			};

The auto-* macros should substitute this to always Say The Right Thing[tm].

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
  and totally illogical, with just a little bit more effort?"
                                  -- A. P. J.
#3 lore raw
In reply to Ben Schmidt
Quoted 3 lines

Hey, that's just on time for Debian 7 (code name: Wheezy)! Thanks for that. I've updated the Debian packages today, and uploaded to SID, if everything goes well, it's going to be in Wheezy.

Excellent!

Quoted 16 lines

I'm quite happy to see that I had to remove most of the Debian specific patches, as they were incorporated upstream (eg: on mlmmj original sources). Still, there are 2 patches remaining. I believe that this one could be somehow avoided:

include/mlmmj.h +1 -1
@@ -88,7 +88,7 @@
  #define CHECKFULLPATH(name) if(strchr(name, '/') = NULL) { \
  			fprintf(stderr, "All mlmmj binaries have to " \
  					"be invoked with full path,\n" \
-					"e.g. /usr/local/bin/%s\n", name); \
+					"e.g. /usr/bin/%s\n", name); \
  			exit(EXIT_FAILURE); \
  			};
 
Quoted 1 line

what do you think?

Yeah, that's really stupid. We should be able to get the prefix in a macro in config.h if nothing else.

Could you possibly jump on the bug tracker at
http://mlmmj.org/bugs/report.php and add this as a bug, and upload the patch (even though this patch doesn't fix the bug, it demonstrates and localises the problem)? Then I should get around to it before the next release if not before.

One day we might even fix things so you don't need to use the full path to invoke the binaries. I certainly find it really annoying, and I don't know any other application that requires it. You'd think we could figure out what's going on from argv[0] or something.

Quoted 17 lines

The other one is contrib/web/php-admin/htdocs/dot.htaccess:

diff -u -r -N a/contrib/web/php-admin/htdocs/dot.htaccess b/contrib/web/php-admin/htdocs/dot.htaccess
--- a/contrib/web/php-admin/htdocs/dot.htaccess 2012-01-22
15:40:16.000000000 +0800
+++ b/contrib/web/php-admin/htdocs/dot.htaccess 2012-01-22
15:40:37.000000000 +0800

include/mlmmj.h +3 -2
@@ -1,4 +1,5 @@
  Require valid-user
  AuthType Basic
-AuthName "mlmmj web-interface"
-AuthUserFile /home/mlmmj/htpasswd
+AuthName "mlmmj web-interface on Debian GNU/Linux"
+AuthUserFile /etc/mlmmj-php-web-admin/htpasswd
+php_value include_path "/usr/share/mlmmj-php-web-admin"
Quoted 2 lines

I don't see how this one could be avoided, and I'm fine keeping it in the package.

Yeah, I agree. It's really an example file anyway. You just have a more Debian-specific example. There will be no one-size-fits-all for this.

Ben.

#4 lore raw
In reply to Ben Schmidt
Quoted 4 lines · Ben Schmidt

One day we might even fix things so you don't need to use the full path to invoke the binaries. I certainly find it really annoying, and I don't know any other application that requires it. You'd think we could figure out what's going on from argv[0] or something.

I always just patch away this code completely when I build mlmmj. Like almost everyone else, I don't build systems with multiple versions of mlmmj on my path, and have always found the UI breakage of requiring absolute paths on the command line because someone might do something that weird completely bonkers.

Cheers,

Chris.

#5 lore raw
In reply to Ben Schmidt
Quoted 4 lines · Ben Schmidt

One day we might even fix things so you don't need to use the full path to invoke the binaries. I certainly find it really annoying, and I don't know any other application that requires it. You'd think we could figure out what's going on from argv[0] or something.

It's totally possible to just use path - but it's a security question. The less you need to parse things from the environment, the better.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
  and totally illogical, with just a little bit more effort?"
                                  -- A. P. J.
#6 lore raw
In reply to Ben Schmidt
Quoted 5 lines · Ben Schmidt

Could you possibly jump on the bug tracker at
http://mlmmj.org/bugs/report.php and add this as a bug, and upload the patch (even though this patch doesn't fix the bug, it demonstrates and localises the problem)? Then I should get around to it before the next release if not before.

Done!

Thomas