Skip to Content.
Sympa Menu

en - RE: [sympa-users] Import subscribers with settings ?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: John R Levine <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: RE: [sympa-users] Import subscribers with settings ?
  • Date: Wed, 23 Sep 2015 06:09:19 +0000

>> We've done this by creating an add-on that gives you a Whitelist and a
>> Modlist as well as a Blacklist.
> I'll take a crack at making it work with 6.2.6. Any suggestions about
> what's likely to break?

I've currently managed to make a working white/modlist plugin under Sympa
6.2.4. It needed a lot of changes for the new plugin format; however I've
managed to clear up some duplication as well which is good. Ironically,
under 6.1, the white and modlists could share the same Perl module but needed
separate TT2 templates; under 6.2, they can share a single TT2 template but
must have separate (but identical) Perl modules.

It can also work as a good example of how to write a custom_action plugin as
it is very simple.

The add-in consists of:
- whitelist.pm and modlist.pm in the custom_actions directory (these are
identical apart from package name)
- whitelist.tt2 in the web_tt2 directory (this is actually used by the
modlist as well)
- include.send.header in the scenari directory (to add the white/modlist
searches to all send scenari)
- an empty default whitelist.txt and modlist.txt in the search_filters
directory
- some changes to nav.tt2 in the web_tt2 directory to add the white/modlist
links under the Subscribers dropdown
- some changes to search.tt2 and review.tt2 in the web_tt2 directory, to add
the whitelist and modlist buttons

I will post here once I finish testing.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
address@concealed
Ph: +64 9 373 7599 ext 86487




Archive powered by MHonArc 2.6.19+.

Top of Page