Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to forbid some list names #675

Merged
merged 2 commits into from
Apr 27, 2021

Conversation

ldidry
Copy link
Contributor

@ldidry ldidry commented Jun 28, 2019

  • Add prohibited_listnames setting (comma-separated list, with ability
    to use a wildcard)
  • Add prohibited_listnames_regex setting

The settings are cumulative. You can use one or the other or both.

May fix #672

@ldidry ldidry requested review from ikedas, dverdin and racke June 28, 2019 09:49
@racke
Copy link
Contributor

racke commented Jun 28, 2019

Please get rid of the unnecessary white spaces in List.pm. Also I would like to make suggestions on the wording for messages and instructions.

@ldidry
Copy link
Contributor Author

ldidry commented Jun 28, 2019

The white spaces in List.pm comes from perltidy so, if we want to pass perltidy test (I launch it in a pre-commit hook, but it’s launched in CI too), we need them.

For the wording, please, go ahead, make suggestions 🙂

@racke
Copy link
Contributor

racke commented Jun 28, 2019

I would still prefer to kill whitespace in a separate PR. This makes reviewing more difficult IMHO.

@ldidry
Copy link
Contributor Author

ldidry commented Jun 28, 2019

As you want 🙂

@ldidry
Copy link
Contributor Author

ldidry commented Jun 28, 2019

Done (PR: #677)

@ldidry ldidry force-pushed the fix-672 branch 2 times, most recently from b2d5ae2 to daec179 Compare July 1, 2019 05:47
— Add prohibited_listnames setting (comma-separated list, with ability
to use a wildcard)
— Add prohibited_listnames_regex setting

The settings are cumulative. You can use one or the other or both.

May fix sympa-community#672
Thanks to @ikedas for the correction proposal
Copy link
Member

@ikedas ikedas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no more comments.

ikedas added a commit that referenced this pull request Apr 27, 2021
Add ability to forbid some list names (#675)
@ikedas ikedas merged commit 0da705e into sympa-community:sympa-6.2 Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

need ability to ban list names and owners
3 participants