Hi there,
we are trying to set a once public list to private but have trouble doing so. In Postorius this doesn't seem to work - you can change "show list on index page" via the settings, but the value isn't saved. Is there a way to set advertised = False to a specific list via the shell?
Thanks & Regards, Alex
(Kulturserver editorial staff)
On 8/22/18 10:27 AM, Alexander Klotz wrote:
Hi there,
we are trying to set a once public list to private but have trouble doing so. In Postorius this doesn't seem to work - you can change "show list on index page" via the settings, but the value isn't saved. Is there a way to set advertised = False to a specific list via the shell?
What do you mean it isn't saved? Are you getting an error? Is it just being overwritten to True?
I use the rest api, using it you can do the following:
./manage.py mmclient
lists = client.lists
l = <choose your list>
l.settings['advertised'] = False
l.settings.save()
Am Wed, 22 Aug 2018 13:33:09 +0200 schrieb Simon Hanna <simon@hannaweb.eu>:
On 8/22/18 10:27 AM, Alexander Klotz wrote:
Hi there,
we are trying to set a once public list to private but have trouble doing so. In Postorius this doesn't seem to work - you can change "show list on index page" via the settings, but the value isn't saved. Is there a way to set advertised = False to a specific list via the shell?
What do you mean it isn't saved? Are you getting an error? Is it just being overwritten to True?
I use the rest api, using it you can do the following:
./manage.py mmclient
lists = client.lists
l = <choose your list>
l.settings['advertised'] = False
l.settings.save()
Using the command line mailman tool the sequence is:
$ mailman withlist -l <mailinglist>
m.advertised=False commit() quit()
On Wed, Aug 22, 2018, at 1:27 AM, Alexander Klotz wrote:
Hi there,
we are trying to set a once public list to private but have trouble doing so. In Postorius this doesn't seem to work - you can change "show list on index page" via the settings, but the value isn't saved. Is there a way to set advertised = False to a specific list via the shell?
Could be related to https://gitlab.com/mailman/postorius/merge_requests/352
The behavior of some of our boolean fields changed with newer releases of Django, but it has been fixed in master branch.
Thanks & Regards, Alex
(Kulturserver editorial staff)
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
I can confirm the issue is happening to me as well postorius 1.2.1 / Django 2.0.7. If you're logged in and go to the list setting page, check the radio button for 'Show list on index page' to 'No' and click save at the bottom, it reverts back to 'Yes'. Then it still shows up on the index page. I haven't tried the mmclient method to see if that works.
-- Mark (stuieordie)
On Wed, Aug 22, 2018 at 1:30 PM Abhilash Raj <maxking@asynchronous.in> wrote:
On Wed, Aug 22, 2018, at 1:27 AM, Alexander Klotz wrote:
Hi there,
we are trying to set a once public list to private but have trouble doing so. In Postorius this doesn't seem to work - you can change "show list on index page" via the settings, but the value isn't saved. Is there a way to set advertised = False to a specific list via the shell?
Could be related to https://gitlab.com/mailman/postorius/merge_requests/352
The behavior of some of our boolean fields changed with newer releases of Django, but it has been fixed in master branch.
Thanks & Regards, Alex
(Kulturserver editorial staff)
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Hello.
On Thursday 23 August 2018 06:14 AM, Mark Stuart wrote:
I can confirm the issue is happening to me as well postorius 1.2.1 / Django 2.0.7. If you're logged in and go to the list setting page, check the radio button for 'Show list on index page' to 'No' and click save at the bottom, it reverts back to 'Yes'. Then it still shows up on the index page. I haven't tried the mmclient method to see if that works.
Actually it is working for me. I can hide lists from index. But I use Debian package from unstable.
participants (6)
-
Abhijith PA
-
Abhilash Raj
-
Alexander Klotz
-
Johannes Winter
-
Mark Stuart
-
Simon Hanna