]> source.dussan.org Git - gitea.git/commit
Refactor secrets modification logic (#26873)
authorKN4CK3R <admin@oldschoolhack.me>
Tue, 5 Sep 2023 15:21:02 +0000 (17:21 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2023 15:21:02 +0000 (15:21 +0000)
commita99b96cbcd10e4cad3194c142a0fffe371959455
treefcd68e70ecced060c20c43b08414ae4c97fe8d38
parente9f50676535216b74a467fab4623daf6d0c39fce
Refactor secrets modification logic (#26873)

- Share code between web and api
- Add some tests
models/secret/secret.go
routers/api/v1/org/action.go
routers/api/v1/repo/action.go
routers/api/v1/user/action.go
routers/web/shared/actions/variables.go
routers/web/shared/secrets/secrets.go
services/secrets/secrets.go [new file with mode: 0644]
services/secrets/validation.go [new file with mode: 0644]
templates/swagger/v1_json.tmpl
tests/integration/api_repo_secrets_test.go [new file with mode: 0644]