woodpecker/server/api
Anbraten ff01a9ff1d
Access repos by their ids (#1691)
closes #1295 
closes #648

# TODO
- [x] add new routes with `:repoID`
- [x] load repo in middleware using `:repoID` if present
- [x] update UI routes `:owner/:name` to `:repoID`
- [x] load repos using id in UI
- [x] add lookup endpoint `:owner/:name` to `:repoID`
- [x] redirect `:owner/:name` to `:repoID` in UI
- [x] use badge with `:repoID` route in UI
- [x] update `woodpecker-go`
- [x] check cli
- [x] add migrations / deprecation notes
- [x] check if #648 got solved directly
- [x] Test
  - [x] create repo
  - [x] repo pages
  - [x] ui redirects
  - [x] forge status links
2023-06-13 01:07:52 +02:00
..
debug Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
metrics disable metrics access if no token is set (#1469) 2022-12-09 18:03:43 +01:00
agent.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
badge.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
cron.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
global_secret.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
helper.go Refactor nits (#1652) 2023-03-19 18:32:19 +01:00
hook.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
login.go Identify users using their remote ID (#1732) 2023-05-11 05:19:35 +02:00
org.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
org_secret.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
pipeline.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
registry.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
repo.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
repo_secret.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
signature_public_key.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
stream.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
user.go Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
users.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00
z.go Update swagger API specification (#1782) 2023-06-03 21:38:36 +02:00