forgejo/routers
zeripath d2128b44f7
Add scopes to API to create token and display them (#22989)
The API to create tokens is missing the ability to set the required
scopes for tokens, and to show them on the API and on the UI.

This PR adds this functionality.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-02-20 15:28:44 -06:00
..
api Add scopes to API to create token and display them (#22989) 2023-02-20 15:28:44 -06:00
common Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
install Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
private Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Get rules by id when editing branch protection rule (#22932) 2023-02-20 19:30:41 +08:00
init.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00