aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/org/projects_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Move web/api context related testing function into a separate package (#26859)wxiaoguang2023-09-011-3/+3
| | | | | | | | | Just like `models/unittest`, the testing helper functions should be in a separate package: `contexttest` And complete the TODO: > // TODO: move this function to other packages, because it depends on "models" package
* Refactor web package and context package (#25298)wxiaoguang2023-06-181-1/+1
| | | | | | | | | | | | | 1. The "web" package shouldn't depends on "modules/context" package, instead, let each "web context" register themselves to the "web" package. 2. The old Init/Free doesn't make sense, so simplify it * The ctx in "Init(ctx)" is never used, and shouldn't be used that way * The "Free" is never called and shouldn't be called because the SSPI instance is shared --------- Co-authored-by: Giteabot <teabot@gitea.io>
* Support org/user level projects (#22235)Lunny Xiao2023-01-201-0/+28
Fix #13405 <img width="1151" alt="image" src="https://user-images.githubusercontent.com/81045/209442911-7baa3924-c389-47b6-b63b-a740803e640e.png"> Co-authored-by: 6543 <6543@obermui.de>