forgejo/models
Bo-Yi Wu 79d74d208f
Add API route to list org secrets (#26485)
- Add a new function `CountOrgSecrets` in the file
`models/secret/secret.go`
- Add a new file `modules/structs/secret.go`
- Add a new function `ListActionsSecrets` in the file
`routers/api/v1/api.go`
- Add a new file `routers/api/v1/org/action.go`
- Add a new function `listActionsSecrets` in the file
`routers/api/v1/org/action.go`

go-sdk: https://gitea.com/gitea/go-sdk/pulls/629

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-15 14:32:43 +02:00
..
actions Fix log typo in task.go (#26337) 2023-08-05 11:43:03 +02:00
activities Bypass MariaDB performance bug of the "IN" sub-query, fix incorrect IssueIndex (#26279) 2023-08-07 12:23:59 +02:00
admin
asymkey Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
auth Pre-register OAuth2 applications for git credential helpers (#26291) 2023-08-09 14:24:07 +02:00
avatars
db Fix NuGet search endpoints (#25613) 2023-08-14 02:50:55 +00:00
dbfs
fixtures Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
git Some fixes of the prompt of new branches (#26257) 2023-08-01 07:25:11 +00:00
issues Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
migrations Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
organization Remove unused code (#25734) 2023-07-06 21:52:41 +00:00
packages Fix NuGet search endpoints (#25613) 2023-08-14 02:50:55 +00:00
perm
project Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
pull
repo add disable workflow feature (#26413) 2023-08-14 15:14:30 +00:00
secret Add API route to list org secrets (#26485) 2023-08-15 14:32:43 +02:00
shared/types
system
unit
unittest
user Fix API leaking Usermail if not logged in (#25097) 2023-07-31 01:18:38 +00:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
migrate_test.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
org.go
org_team.go
org_team_test.go
org_test.go
repo.go Update tool dependencies, lock govulncheck and actionlint (#25655) 2023-07-09 11:58:06 +00:00
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go