1
0
Fork 0
forgejo/routers/api/v1/misc
wxiaoguang 4e2f1ee58d
Refactor web package and context package (#25298)
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>
2023-06-18 09:59:09 +02:00
..
gitignore.go
label_templates.go Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
licenses.go
markup.go Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
markup_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
signing.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
version.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00