Re: [Mailman-Developers] Discourse Integration

2017-08-05 Thread Tom Browder
On Sat, Aug 5, 2017 at 09:21 Vaibhav Lohani  wrote:

> Stephen J. Turnbull wrote:
>

I'm happy just to hear about discourse.

Without additional fancy new integration features not yet available, can
Discourse just be made to work now as is on the same server as MM3?

If so, I will probably try it after I get my MM3 working.

Thanks.

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] Django

2016-02-12 Thread Tom Browder
Does anyone know if one can use one Django instance to serve multiple
virtual servers (servers are running under one Apache instance on one
reasonably powerful host)?

Thanks.

Cheers!

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] MM 3 REST API

2015-12-26 Thread Tom Browder
On Sat, Dec 26, 2015 at 3:35 PM, Andrew Stuart
 wrote:
> Hi Tom,
>
> This is a Swagger spedification for the MM3 REST API - it defines the entire 
> API.
...

Thanks, Andrew!

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] MM 3 REST API

2015-12-26 Thread Tom Browder
On Sat, Dec 26, 2015 at 11:29 AM, Barry Warsaw  wrote:
> On Dec 24, 2015, at 11:08 AM, Tom Browder wrote:
>
>>Where should I look for the complete, definitive documentation on the
>>MM3 REST API?
...

Thanks, Barry.

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] MM 3 REST API

2015-12-24 Thread Tom Browder
Where should I look for the complete, definitive documentation on the
MM3 REST API?

I would like to use Perl for my bulk handling of mailing lists,
subscriptions, etc.

Thanks!

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Website re-org?

2015-12-24 Thread Tom Browder
On Mon, Dec 7, 2015 at 4:47 PM, Barry Warsaw  wrote:
> On Dec 05, 2015, at 01:10 AM, Terri Oda wrote:
>>Abhilash did a lovely job on the new website

+1

>>2. Find out how to get and install the latest version of Mailman.
...
> We have something of a landing page, minimal as it is:
>
> http://docs.mailman3.org/en/latest/

In my opinion, that link should replace ALL other links under the
Documentation menu at the top of the home page (www.list.org), and it
should clearly specify MM 3, something like:

  Documentation

Mailman 3 => http://docs.mailman3.org/en/latest/

I am ready (finally) to start new lists with MM 3 and that, I assume,
is where I should look.

Thanks.

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Regarding Csv Export for list owner in postorius

2015-04-17 Thread Tom Browder
On Thu, Apr 16, 2015 at 1:45 PM, Ashish Kumar  wrote:
> Hi Everyone,
>
> Recently My branch for feature request of csv export option for list owner
> to get the members of a list got merged. I was thinking of extending this
> feature request to pdf and sharing the list of members on drive, as It will

A plain text file would be good also (easier to handle
programmatically than csv IMHO).

Best,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] [Mailman-Users] 3.0 testing...

2015-04-17 Thread Tom Browder
On Fri, Apr 17, 2015 at 5:40 AM, Farokh Irani 
wrote:
> Hi everyone.
>
> I posted the message below a while back, but never saw a reply. Did I miss
> it?
​
​
>> Farokh Irani 
>> April 9, 2015 at 19:36
>>
>> If I set up a machine to test 3.0, will I be able to simply install the
>> official 3.0 release over it, or should I plan on doing a completely
clean
>> install?​

​Probably have better luck with dev list for MM 3.

Best,

-Tom​
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

[Mailman-Developers] MM 3: Virtual Environment Required?

2015-01-13 Thread Tom Browder
I want to install, and use, MM 3.  I'm on a single-user, Debian 7
server, and control the whole thing.

Is it important to use a virtual environment?  I'm sure I will be
updating from the development branch until the stable release, and I
am prepared to have interruptions in service along the way.

Note that I may eventually allow other users, but I will probably
remain the supreme administrator.

Thanks.

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Mailman 3 RPMs anyone?

2014-08-09 Thread Tom Browder
On Fri, Aug 8, 2014 at 4:39 PM, Pierre-Yves Chibon  wrote:
> On Fri, Aug 08, 2014 at 08:51:32PM +0200, Victoriano Giralt wrote:
...
>> the Fedora infrastructure people have HiperKitty RPMs, but I've been
>> thrashing Google up and down and haven't been able to find RPMs for Mailman
...
> For future reference, you can find the repository of the Fedora infrastructure
> at: http://infrastructure.fedoraproject.org/repo/ (as well as the ansible repo
> which include the playbook used to deploy mailman3 and hyperkitty).
> However, the mailman3 RPMs are not there, Aurélien is hosting them at:
> https://repos.fedorapeople.org/repos/abompard/hyperkitty/

Are there any deb versions floating about?

If not, has anyone tested deb packages converted from the RPMs?

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-03 Thread Tom Browder
On Sat, May 3, 2014 at 12:21 PM, Barry Warsaw  wrote:
> On May 03, 2014, at 09:59 AM, Tom Browder wrote:
...
>>Then, for other styles, we could use something like (pardon my pseudo code):
>>
>>  test_one = example.create_list('test-one', style='read-only')
...
> The CLI (i.e. `mailman create` command) does not yet accept a --style
> argument, but that would be pretty trivial to add.
>
> Note that currently only the legacy-default and legacy-announce styles are
> defined by default.

Great, the 'legacy-announce' style sounds like a 'read-only'/'news'
list!  I hope so because that's just what I'm looking for.

Best,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] ANNOUNCE: The GNU Mailman 3 suite, beta 1 preview

2014-05-03 Thread Tom Browder
On Sat, May 3, 2014 at 10:22 AM, Mark Sapiro  wrote:
> On 05/03/2014 07:15 AM, Tom Browder wrote:
>> ...
>> If I want the latest development version of Mailman should I use the
>> announced lp address above or the one I'm using now:
>>
>> Related branches:
>>   parent branch: http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/
>> revision-id: ba...@list.org-20140101145942-b9vqi0xmcewpk4mb
>> date: 2014-01-01 09:59:42 -0500
>> build-date: 2014-05-03 10:07:35 -0400
>> revno: 7232
>
>
> Now I'm confused, but it looks like you are looking at a local (to you)
> branch that you branched at rev 7232 from lp:mailman or
> http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/ or some other
> alias for that branch.

That's correct--the aliases are very confusing to me, but I apparently
have the right remote repo branched.

After I did a 'bzr pull' I got the proper revision.

I had done a 'bzr update' but got no response--hence my confusion
since I branched from the right place.

Now I see I am 'unbound', so I have executed 'bzr bind <...>' and can
now do 'bzr update' successfully and am at rev 7251.

I assume a 'checkout' instead of a 'branch' would have put me in the
same state as I am now.

Thanks, Mark.

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-03 Thread Tom Browder
On Sat, May 3, 2014 at 8:44 AM, Stephen J. Turnbull  wrote:
> Tom Browder writes:
>
>  > I haven't watched this entire thread, but I hope someone is
>  > considering setting appropriate defaults for at least two mailing list
>  > types such as:
>  >
>  >   read-only (news)
>  >   read-post (moderated or not)
>
> Not in that terminology, no.  What do you hope to type, and what
> effect do you want it to have?

We had a little discussion last year about list styles.  See this thread:

  http://www.mail-archive.com/mailman-developers%40python.org/msg13369.html

I think this GSoC project might be the place to at least start with
the option of choosing a list "style" such as a defined  "read-only"
mailing list.

Using the latest cli commands as shown in Rajeev's
/src/mailmanclient/cli/docs/using.txt would be for the "default" list
style:

  test_one = example.create_list('test-one')

Then, for other styles, we could use something like (pardon my pseudo code):

  test_one = example.create_list('test-one', style='read-only')

Looking briefly at the cli code I see nothing about the list
attributes Barry mentioned in last year's thread referenced above, so
I'm not sure how this would all fit together, but I think it needs to
be considered.

I hope this makes some sense from a very interested user.

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] ANNOUNCE: The GNU Mailman 3 suite, beta 1 preview

2014-05-03 Thread Tom Browder
On Thu, Apr 24, 2014 at 9:19 AM, Barry Warsaw  wrote:
...
> On behalf of the Mailman development team, I am happy
> to announce the first beta release of the full Mailman 3 suite.
>
> This release includes:
...
> Core
> project  - https://launchpad.net/mailman
...

I apologize for my confusion, but I'm not used to the bazaar model for
multiple developers.  I'm used to the svn model for C/C++ code where
we keep the trunk as the latest development version (but we keep the
trunk so it always builds without error).

If I want the latest development version of Mailman should I use the
announced lp address above or the one I'm using now:

Related branches:
  parent branch: http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/
revision-id: ba...@list.org-20140101145942-b9vqi0xmcewpk4mb
date: 2014-01-01 09:59:42 -0500
build-date: 2014-05-03 10:07:35 -0400
revno: 7232

Thanks.

Best,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] [GSoC 2014] Mailman CLI Project

2014-05-03 Thread Tom Browder
On Sat, May 3, 2014 at 2:49 AM, Rajeev S  wrote:
> Hi,
>
> I have added two more methods, *create domain* and *list mailing lists*.

I haven't watched this entire thread, but I hope someone is
considering setting appropriate defaults for at least two mailing list
types such as:

  read-only (news)
  read-post (moderated or not)

Excuse my imprecise terminology.

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] MM 3 and Postfix + Apache

2014-03-06 Thread Tom Browder
On Thu, Mar 6, 2014 at 1:36 PM, Stephen J. Turnbull  wrote:
> Barry Warsaw writes:
>  > BTW Tom, are you trying to run MM2 and MM3 concurrently?  I'd like
> I do this already, but with Exim4 as MTA.  It's not hard.  Of course
> if both installations have lists of the same name (including the

There will not be any identical names, so maybe doable fairly easily
with Postfix?

Thanks, Stephen,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] MM 3 and Postfix + Apache

2014-03-06 Thread Tom Browder
Can I use essentially the same settings I used for Postfix and Apache
for my MM 2 installation with MM 3?

Thanks,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] [Mailman-Users] MM3 Test "" Hangs

2014-02-26 Thread Tom Browder
On Wed, Feb 26, 2014 at 3:13 AM, Nicolas Karageuzian
 wrote:
> I encountered db lock using sqlite with mailman3 and tools.
> Switching to postgres avoid the db locking states.
> Maybe you should explore that way.

I'll try that.

> Hyperkitty moved to github so the lp ref is quite out of date for this
> resource.

I thought so--that't why I was asking for definitive, easy-to-find
links on the wiki.

Thanks, Nicolas.

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] [Mailman-Users] MM3 Test "" Hangs

2014-02-26 Thread Tom Browder
On Wed, Feb 26, 2014 at 12:45 AM, Stephen J. Turnbull
 wrote:
> Tom Browder writes:
...
> Actually, I do have a couple of ideas.  First, you should always
> report the whole error trace (if you think that's ugly in an email,
...

Thanks, Steve, for the good advice.

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Migration script from MM2 to MM3

2014-01-15 Thread Tom Browder
On Sat, Sep 21, 2013 at 10:48 AM, Barry Warsaw  wrote:
> On Sep 20, 2013, at 12:46 PM, Aurelien Bompard wrote:
>
>>What do you think? Bad timing? Any existing work I'm missing?

I am in the process of moving to a new server and I have several MM 2
mailing lists working well with virtual hosts (for my high school and
college classmates).  The lists are of manageable size so I can afford
to do a fair amount of manual munging if need be and I want to convert
to MM 3 on the new server.

Also, nothing is absolutely critical archive-wise so I can be daring
in the conversion.  And, too, most users rely on MS Outlook and aren't
real familiar with e-mail list usage, so I  think I have an ideal
situation for taking notes on a real-world set up.

Are the steps needed listed somewhere?
___
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] Using Mailman scripts from cgi

2013-04-30 Thread Tom Browder
I'm probably going in the wrong direction, but I'm trying to create my
own page for subscribers on an Ubuntu server.

Before I get my cgi form working, I'm trying to use the command line
script "add_members" and can't get the right syntax for using stdin.
I've tried:

  $ ./add_member -r - listname j...@test.org

and

  $ ./add_member -r - listname < j...@test.org

but neither works.  I just get the command's help output.

I am in the bin dir with the script and I'm a member of the list group.

What am I doing wrong?

Thanks,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] Mailman 3 and New Lists (Templates for Defining?)

2013-03-05 Thread Tom Browder
On Tue, Mar 5, 2013 at 2:23 PM, Barry Warsaw  wrote:
> On Mar 02, 2013, at 10:38 AM, Tom Browder wrote:
...
>>I guess the real question for me is: is there a templating system in MM 3 so
>>that different list types can be defined?
...
> Yes, these are called "list styles".  See the IStyle interface in
> src/mailman/interfaces/styles.py for the API and src/mailman/styles/default.py
> for the two built-in styles, both essentially legacy styles.

Ah, that's where it is!  (And I assume ALL "attributes" are defined
there.)  But to my non-Python eyes I see only one actually defined.

But there is where we could add some other mailman-defined styles, correct?

> Note that styles are only applied when a list is created, so it is better to
> think of them as the default set of attributes for a list.  IOW, if you
> changed a style after a list is created, the list attributes do not change.
> In fact, the mailing list doesn't record what styles were applied to it.

That makes sense to me.

> The mailman.cfg file has a [styles] section, with a `paths` variable and a
> `default` variable.  The `paths` variable names Python dotted-module paths
> which are searched for IStyle implementations.  Thus, if you arranged for your
> MM3 installation to include on sys.path, the package mylocal.mailman.styles,
> you could put your own styles in there and Mailman should find them
> automatically.

Great!

> At that point, you can use one of your named styles as the default (via the
> `[styles]default` variable), or you can specify the style to use when creating
> a new list through the REST API.  See src/mailman/rest/docs/list.rst for
> details.

Thanks, Barry!

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] Mailman 3 and New Lists (Templates for Defining?)

2013-03-02 Thread Tom Browder
Earlier I was pointed to the REST API for programatically generating a
new list--looks good.  However, the docs mention a default set of
attributes for a new list and I wonder if there are yet any other
choices.

I guess the real question for me is:  is there a templating system in
MM 3 so that different list types can be defined?  My search through
the code so far hasn't found such except for language templates.

Having just agonizingly set up a true (IMHO) read-only list under
Mailman 2, I think such a template to choose (at least to start from)
would be very helpful in Mailman 3.  (I don't doubt there is an easier
way under Mailman 2, but I find the various inputs in the web
interface too scattered around for my tastes.)

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] "newlist" command and Mailman 3

2012-09-15 Thread Tom Browder
On Sun, Sep 9, 2012 at 12:27 PM, Tom Browder  wrote:
> On Sun, Sep 9, 2012 at 10:23 AM, Mark Sapiro  wrote:
>> Tom Browder wrote:
>>>
>>>I use "newlist" in a Perl wrapper to programmatically start and delete
>>>mailing lists, and I would like to be able to do more
>>>programmatically, such as:
...
>> The architecture of Mailman 3 is such that communication with the core
>> is via a RESTful HTTP interface. The web UI for example is  separate
>> from the core and communicates with the core via this interface.

Okay, I see most of the interface in the code here:

  
http://bazaar.launchpad.net/~mailman-coders/mailman/3.0/files/head:/src/mailman/rest/docs/

and I think I see how to hook into it and use with Perl LWP.

Is there any output format available other than json?

Best,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Developers] "newlist" command and Mailman 3

2012-09-09 Thread Tom Browder
On Sun, Sep 9, 2012 at 10:23 AM, Mark Sapiro  wrote:
> Tom Browder wrote:
>>
>>I use "newlist" in a Perl wrapper to programmatically start and delete
>>mailing lists, and I would like to be able to do more
>>programmatically, such as:
>>
>>  add moderators
>>  set default variables
>>  etc.
>>
>>Is there any work being done in that direction?
>
>
> The architecture of Mailman 3 is such that communication with the core
> is via a RESTful HTTP interface. The web UI for example is  separate
> from the core and communicates with the core via this interface.


> Thus, you can build your own interface for communicating with the core
> and exercising any core functionality without changing the core itself.

Okay, great!

> Clearly this RESTful HTTP interface must be secured in some way, and
> normally this would be by only allowing connection from localhost, but

Right, that's what I do currently.  I develop the script locally, send
the script to the remote, server, ssh there and run the script as
root.

Thanks, Mark.

Best,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Developers] "newlist" command and Mailman 3

2012-09-08 Thread Tom Browder
I am using Mailman 2 for two virtual hosts.  With help from Mark
Sapiro I was able to get my lists up and running as I wanted.

I use "newlist" in a Perl wrapper to programmatically start and delete
mailing lists, and I would like to be able to do more
programmatically, such as:

  add moderators
  set default variables
  etc.

Is there any work being done in that direction?

Best regards,

-Tom
___
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9