Skip to content

Allow login requirement for expensive pages #206

Description

@abrain

Currently, the REQUIRE_SIGNIN_VIEW variable is restricted to a boolean value.

REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin | ternary('true', 'false') }}

Recently, Gitea also supports the value 'expensive' to limit the effect that AI crawlers have on system load.

https://docs.gitea.com/administration/config-cheat-sheet#service-service

Although it is marked as experimental, it would be nice to be able to use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions