forgejo-federation/routers/api/v1
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>
2023-08-14 11:56:14 +02:00
..
activitypub Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
admin fix Missing 404 swagger response docs for /admin/users/{username} (#26086) 2023-07-24 10:48:44 +02:00
misc Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
notify Fix bugs related to notification endpoints (#25548) 2023-06-28 10:26:56 -04:00
org Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger Add API for changing Avatars (#25369) 2023-06-29 23:22:55 +00:00
user Remove db.DefaultContext in routers/ and cmd/ (#26076) 2023-07-23 23:47:27 -04:00
utils New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
api.go Remove "misc" scope check from public API endpoints (#26134) 2023-07-26 02:53:31 +00:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00