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.
forgejo/templates
Bo-Yi Wu 8cd46024fd
refactor(API): refactor secret creation and update functionality (#26751)
According to the GitHub API Spec:
https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#create-or-update-an-organization-secret

Merge the Create and Update secret into a single API.

- Remove the `CreateSecretOption` struct and replace it with
`CreateOrUpdateSecretOption` in `modules/structs/secret.go`
- Update the `CreateOrUpdateOrgSecret` function in
`routers/api/v1/org/action.go` to use `CreateOrUpdateSecretOption`
instead of `UpdateSecretOption`
- Remove the `CreateOrgSecret` function in
`routers/api/v1/org/action.go` and replace it with
`CreateOrUpdateOrgSecret`
- Update the Swagger documentation in
`routers/api/v1/swagger/options.go` and `templates/swagger/v1_json.tmpl`
to reflect the changes in the struct names and function names

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
11 months ago
..
admin Simplify helper CSS classes and avoid abuse (#26728) 11 months ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 1 year ago
base Use docs.gitea.com instead of docs.gitea.io (#26739) 11 months ago
code Fix inconsistent user profile layout across tabs (#25625) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
devtest More improvements for the "flex list" and the dashboard list (#26675) 11 months ago
explore remove unnecessary explore org template (#26459) 11 months ago
mail Add template linting via djlint (#25212) 1 year ago
org Fix incorrect "tabindex" attributes (#26733) 11 months ago
package Use docs.gitea.com instead of docs.gitea.io (#26739) 11 months ago
projects Fix incorrect "tabindex" attributes (#26733) 11 months ago
repo Remove some transition related code (#26755) 11 months ago
shared Fix typo of RunerOwnerID (#26508) 11 months ago
status Replace fomantic divider module with our own (#25539) 1 year ago
swagger refactor(API): refactor secret creation and update functionality (#26751) 11 months ago
user Use docs.gitea.com instead of docs.gitea.io (#26739) 11 months ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 1 year ago
install.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 11 months ago
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 1 year ago