-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API route to list org secrets #26485
Commits on Aug 14, 2023
-
feat: add new functions and files related to secrets management
- 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` Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1ac892 - Browse repository at this point
Copy the full SHA a1ac892View commit details -
feat: add API endpoint for listing organization's actions secrets
- Add a new API endpoint for listing an organization's actions secrets Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3fd8201 - Browse repository at this point
Copy the full SHA 3fd8201View commit details -
Update models/secret/secret.go
Co-authored-by: Lunny Xiao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae362b5 - Browse repository at this point
Copy the full SHA ae362b5View commit details -
Update modules/structs/secret.go
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a502a2 - Browse repository at this point
Copy the full SHA 8a502a2View commit details -
Update routers/api/v1/org/action.go
Co-authored-by: techknowlogick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b54742d - Browse repository at this point
Copy the full SHA b54742dView commit details -
feat: add support for Swagger secret list in API v1
- Add a new file `routers/api/v1/swagger/action.go` - Add a new struct `swaggerResponseSecretList` in the `action.go` file - Add a new file `templates/swagger/v1_json.tmpl` - Modify the `v1_json.tmpl` file to include a new property `Secret` in the `properties` section of the `User` object - Modify the `v1_json.tmpl` file to include a new definition `SecretList` in the `definitions` section Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f48dfc - Browse repository at this point
Copy the full SHA 9f48dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdf18bb - Browse repository at this point
Copy the full SHA bdf18bbView commit details -
refactor: consolidate function names for counting secrets
- Change the function name from `FindSecrets` to `CountSecrets` in `models/secret/secret.go` - Change the function name from `CountOrgSecrets` to `CountSecrets` in `routers/api/v1/org/action.go` Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6c2a01 - Browse repository at this point
Copy the full SHA e6c2a01View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab59235 - Browse repository at this point
Copy the full SHA ab59235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 473b027 - Browse repository at this point
Copy the full SHA 473b027View commit details -
Co-authored-by: Lunny Xiao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5dc1f25 - Browse repository at this point
Copy the full SHA 5dc1f25View commit details -
refactor: refactor
Secret
struct field name tocreated_at
- Rename the `Created` field to `created_at` in the `Secret` struct Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff80b03 - Browse repository at this point
Copy the full SHA ff80b03View commit details -
Configuration menu - View commit details
-
Copy full SHA for dba1714 - Browse repository at this point
Copy the full SHA dba1714View commit details -
refactor: refactor property name in User object
- Change the property name from "created" to "created_at" in the User object Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d72bcee - Browse repository at this point
Copy the full SHA d72bceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ce300 - Browse repository at this point
Copy the full SHA 50ce300View commit details
Commits on Aug 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f5e05f8 - Browse repository at this point
Copy the full SHA f5e05f8View commit details -
refactor: refactor code for checking organization membership and admi…
…n status - Remove unnecessary code for checking organization membership and admin status in `ListActionsSecrets` function Signed-off-by: Bo-Yi Wu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26beefd - Browse repository at this point
Copy the full SHA 26beefdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e162be - Browse repository at this point
Copy the full SHA 3e162beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a829f8 - Browse repository at this point
Copy the full SHA 1a829f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f15ad0e - Browse repository at this point
Copy the full SHA f15ad0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c7efe4 - Browse repository at this point
Copy the full SHA 4c7efe4View commit details