Skip to content

Ban API #169

@givewatts

Description

@givewatts

Is the ban API actually implemented?

None of the ban POST or GET calls appear to have any effect on Debian Trixie. They do not create, nor do they read from Banlist.yaml, even if it was previously created by banning someone from a client (pitbull in this case, which bans by IP by default). The following appear to have no effect:

  • /ap i/v1/ban does not add to band list for username, nickname, or ip
  • /api/v1/unban does not remove from ban list for the same
  • /api/v1/banned/ips shows nothing even if the banlist is populated
  • /api/v1/banned/usernames shows nothing even if the banlist is populated
  • /api/v1/banned/nicknames shows nothing even if the banlist is populated

These all respond as if the actions were a success, although no changes occur.

All other API appear to work fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions