Skip to content

Make the list of allowed extensions explicit at the moment of upload. #8229

Open
@guillep2k

Description

@guillep2k
  • Gitea version (or commit ref): 1.9.3

Description:

Currently Gitea accepts a limited number of file extensions for attachments in issues and other places. Admins can configure the list of permitted extensions using app.ini. But many times end users (or even admins that are not aware of that) fail to understand why some files can't be uploaded, despite Gitea working as expected.

We should add some tooltip, popup, or menu close to the upload function so the user can see what extensions are enabled. Or at least when the error is displayed.

For instance, perhaps .js is disabled, but .zip is allowed so the user can upload the zipped javascript file.

Note: for this kind of issue I propose to create the label [kind/usability]

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/ui-interactionChange the process how users use Gitea instead of the visual appearance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions