You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
puni9869 cafce3b4b5
Allow to archive labels (#26478)
## Archived labels 

This adds the structure to allow for archived labels.
Archived labels are, just like closed milestones or projects, a medium to hide information without deleting it.
It is especially useful if there are outdated labels that should no longer be used without deleting the label entirely.

## Changes

1. UI and API have been equipped with the support to mark a label as archived
2. The time when a label has been archived will be stored in the DB

## Outsourced for the future

There's no special handling for archived labels at the moment.
This will be done in the future.

## Screenshots

![image](https://github.com/go-gitea/gitea/assets/80308335/208f95cd-42e4-4ed7-9a1f-cd2050a645d4)

![image](https://github.com/go-gitea/gitea/assets/80308335/746428e0-40bb-45b3-b992-85602feb371d)

Part of https://github.com/go-gitea/gitea/issues/25237

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
11 months ago
..
admin.go Decouple the different contexts from each other (#24786) 1 year ago
auth_form.go Decouple the different contexts from each other (#24786) 1 year ago
org.go Allow Organisations to have a E-Mail (#25082) 12 months ago
package_form.go Add CRAN package registry (#22331) 1 year ago
repo_branch_form.go Decouple the different contexts from each other (#24786) 1 year ago
repo_form.go Allow to archive labels (#26478) 11 months ago
repo_form_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_tag_form.go Decouple the different contexts from each other (#24786) 1 year ago
runner.go Support changing labels of Actions runner without re-registration (#24806) 1 year ago
user_form.go Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413) 1 year ago
user_form_auth_openid.go Decouple the different contexts from each other (#24786) 1 year ago
user_form_hidden_comments.go Less naked returns (#25713) 1 year ago
user_form_test.go Redesign Scoped Access Tokens (#24767) 1 year ago