woodpecker/server/model
qwerty287 22dfd2ef62
Refactor pipeline parsing and forge refreshing (#2527)
- refactor pipeline parsing
- do not parse the pipeline multiple times to perform filter checks, do
this once and perform checks on the result directly
    - code deduplication
- refactor forge token refreshing
    - move refreshing to a helper func to reduce code

---------

Co-authored-by: Anbraten <anton@ju60.de>
2023-10-08 14:05:06 +02: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 Update swagger API specification (#1782) 2023-06-03 21:38:36 +02: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 Update swagger API specification (#1782) 2023-06-03 21:38:36 +02: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 Adjust model database type mapping (#1949) 2023-07-08 20:09:53 +02:00
pull_request.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02: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 Add SSH clone URL env var (#2198) 2023-08-12 17:39:13 +02:00
resource_limit.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
secret.go Use id to access orgs (#1873) 2023-07-21 19:45:32 +02:00
secret_test.go Add field for image list in Secrets Repo Settings (Web UI) (#638) 2021-12-30 07:26:36 +01:00
server_config.go Use asym key to sign webhooks (#916) 2022-06-01 20:06:27 +02:00
settings.go Fix agent auth (#1952) 2023-07-08 18:09:34 +02:00
step.go Let pipeline-compiler export step types (#1958) 2023-07-11 15:53:05 +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 Adjust model database type mapping (#1949) 2023-07-08 20:09:53 +02:00