woodpecker/server/model
qwerty287 ef1d286596
Allow PR secrets to be used on close (#3084)
closes https://github.com/woodpecker-ci/woodpecker/issues/3071

1. If a secret can be used on PRs, it can also be used on PR close.
2. If no events are set, disallow access to secret. This was different
before, secrets without any event set were allowed for all events.
3. Compare strings instead of patterns.

---------

Co-authored-by: 6543 <6543@obermui.de>
2023-12-31 21:43:24 +01:00
..
agent.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
config.go fix: change config.config_data column type to longblob in mysql (#2434) 2023-09-10 22:24:51 +02:00
const.go Add pull request closed event (#2684) 2023-12-26 19:22:52 +01:00
cron.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
encryption.go Secrets encryption in database (#1475) 2023-01-12 20:59:07 +01:00
environ.go Support more addon types (#2984) 2023-12-24 13:26:23 +01:00
event.go Rename to pipeline in DB and JSONs (#1296) 2022-10-22 15:54:43 +02:00
feed.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
log.go Index stepID for logEntries so loading time decrease significantly (#2006) 2023-07-17 02:35:20 +03:00
netrc.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
org.go Use id to access orgs (#1873) 2023-07-21 19:45:32 +02:00
pagination.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
pagination_test.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
perm.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
pipeline.go Update go module path for major version 2 (#2905) 2023-12-08 08:15:08 +01:00
pull_request.go Change PullRequest Index to ForgeRemoteID / string type (#2823) 2023-11-26 00:52:52 +01:00
redirection.go Rename build to pipeline in code (#1224) 2022-10-18 03:24:12 +02:00
registry.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
repo.go Hide PR tab if PRs are disabled (#3004) 2023-12-24 11:04:18 +02:00
resource_limit.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
secret.go Allow PR secrets to be used on close (#3084) 2023-12-31 21:43:24 +01:00
secret_test.go Allow PR secrets to be used on close (#3084) 2023-12-31 21:43:24 +01:00
server_config.go Use asym key to sign webhooks (#916) 2022-06-01 20:06:27 +02:00
step.go Add some tests (#2652) 2023-10-28 13:37:54 +02:00
step_test.go Add some tests (#2652) 2023-10-28 13:37:54 +02:00
task.go Fix: change tasks.task_data column type to longblob in mysql (#2418) 2023-09-10 13:33:48 +02:00
team.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
user.go Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
user_test.go Use modern error handling and enforce it via lint (#1327) 2023-02-02 00:08:02 +01:00
workflow.go Unique status for matrix (#2695) 2023-11-01 17:28:02 +01:00