woodpecker/server/store/datastore
Lauris BH 1ac2c42652
Add global and organization secrets (#1027)
* Implement database changes and store methods for global and organization secrets

* Add tests for new store methods
* Add organization secret API and UI
* Add global secrets API and UI

* Add suggestions

* Update warning style

* Apply suggestions from code review

Co-authored-by: Anbraten <anton@ju60.de>

* Fix lint warning

Co-authored-by: Anbraten <anton@ju60.de>
2022-08-14 13:48:53 +02:00
..
migration Add global and organization secrets (#1027) 2022-08-14 13:48:53 +02:00
build.go Move Badge & CCMenue into own packages (#908) 2022-05-14 14:30:09 +02:00
build_test.go Calculate build number on creation (#615) 2021-12-18 20:37:51 +01:00
config.go Use editorconfig-checker (#982) 2022-06-17 12:03:34 +02:00
config_test.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
engine.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
engine_test.go Fix tests and pipeline (#732) 2022-01-31 14:39:53 +01:00
feed.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
feed_test.go Rename struct field and add new types into server/model's (#523) 2021-11-22 12:55:13 +01:00
file.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
file_test.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
helper.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
init.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
init_cgo.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
log.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
log_test.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
permission.go Add linter revive (#554) 2021-12-01 14:22:06 +01:00
permission_test.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
proc.go Make returned proc list to be returned always in correct order (#1060) 2022-08-02 18:34:16 +02:00
proc_test.go Rename struct field and add new types into server/model's (#523) 2021-11-22 12:55:13 +01:00
registry.go Fix registry delete (#532) 2021-11-25 19:04:36 +01:00
registry_test.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
repo.go Remove senders model (#923) 2022-05-17 21:27:44 +02:00
repo_test.go Remove senders model (#923) 2022-05-17 21:27:44 +02:00
secret.go Add global and organization secrets (#1027) 2022-08-14 13:48:53 +02:00
secret_test.go Add global and organization secrets (#1027) 2022-08-14 13:48:53 +02:00
server_config.go Use asym key to sign webhooks (#916) 2022-06-01 20:06:27 +02:00
server_config_test.go Use asym key to sign webhooks (#916) 2022-06-01 20:06:27 +02:00
task.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
task_test.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
user.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
users_test.go Add linter whitespace (#531) 2021-11-24 01:31:11 +01:00