forked from gitea/gitea
1
0
Fork 0
gitea/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 Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
label_templates.go Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
licenses.go Add API for License templates (#23009) 2023-04-26 02:08:28 -04:00
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