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
..
main_test.go Support changing labels of Actions runner without re-registration (#24806) 1 year ago
v260.go Fix description of drop custom_labels migration (#25243) 1 year ago
v261.go Support configuration variables on Gitea Actions (#24724) 1 year ago
v262.go Support `pull_request_target` event (#25229) 1 year ago
v263.go Rename `Sync2` -> `Sync` (#26479) 11 months ago
v264.go Drop the correct deleted branch table (#26028) 12 months ago
v265.go Actions Artifacts support uploading multiple files and directories (#24874) 12 months ago
v266.go Remove commit status running and warning to align GitHub (#25839) 12 months ago
v267.go Reduce unnecessary DB queries for Actions tasks (#25199) 12 months ago
v268.go Implement auto-cancellation of concurrent jobs if the event is push (#25716) 12 months ago
v269.go Drop the correct deleted branch table (#26028) 12 months ago
v270.go Fix typo in metadata (#26207) 11 months ago
v271.go Allow to archive labels (#26478) 11 months ago