woodpecker/server/router/middleware
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
..
header Move router package to server/router/ (#339) 2021-09-22 22:41:32 +02:00
session Check permissions on repo lookup (#2357) 2023-08-30 16:35:34 +02:00
token Refactor pipeline parsing and forge refreshing (#2527) 2023-10-08 14:05:06 +02:00
config.go Fix agent auth (#1952) 2023-07-08 18:09:34 +02:00
logger.go Check for correct license header (#2137) 2023-08-10 11:06:00 +02:00
store.go Fix linter (#1647) 2023-03-18 20:35:27 +01:00
version.go Move entirely to zerolog (#426) 2021-10-12 09:25:13 +02:00