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

Change domain block CSV parsing to be more robust and handle more lists #21470

Merged

Conversation

ClearlyClaire
Copy link
Contributor

@ClearlyClaire ClearlyClaire commented Nov 23, 2022

Follow-up to #20597

Improve error handling, and make it handle list of domains without headers or additional data.

Also display validation errors and invalid arguments:
image

@ClearlyClaire ClearlyClaire marked this pull request as ready for review November 23, 2022 10:49
@ineffyble ineffyble added the moderation Administration and moderation tooling label Nov 24, 2022
@ClearlyClaire ClearlyClaire force-pushed the fixes/domain-block-import-parsing branch from d978557 to 23e6e35 Compare November 24, 2022 10:23
@ClearlyClaire ClearlyClaire force-pushed the fixes/domain-block-import-parsing branch from 23e6e35 to 7e09675 Compare January 6, 2023 15:45
@Gargron Gargron merged commit fcc4c9b into mastodon:main Jan 18, 2023
btrd pushed a commit to btrd/mastodon that referenced this pull request Feb 22, 2023
…ts (mastodon#21470)

* Change domain block CSV parsing to be more robust and handle more lists

* Add some tests

* Improve domain block import validation and reporting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moderation Administration and moderation tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants