woodpecker/server/router/middleware
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
..
header Move router package to server/router/ (#339) 2021-09-22 22:41:32 +02:00
session Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
token Rename remote to forge (#1357) 2022-11-05 00:35:06 +01:00
config.go Upgrade urfave/cli to v2 (#483) 2021-10-27 21:03:14 +02:00
logger.go Improve logging (#1158) 2022-09-03 20:41:23 +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