woodpecker/server/store
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
..
datastore Access repos by their ids (#1691) 2023-06-13 01:07:52 +02:00
mocks Rework log streaming and related functions (#1802) 2023-06-06 09:52:08 +02:00
types Return return 404 if registry to delete do not exist (#1278) 2022-10-18 01:48:04 +02:00
common.go Migrate to Xorm (#474) 2021-11-13 20:18:06 +01:00
context.go Support changed files for Gitea PRs (#1342) 2022-10-28 19:17:30 +02:00
store.go Rework log streaming and related functions (#1802) 2023-06-06 09:52:08 +02:00