1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-01 17:05:48 +00:00
gitea/routers/api/v1
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569)
The "modules/context.go" is too large to maintain.

This PR splits it to separate files, eg: context_request.go,
context_response.go, context_serve.go

This PR will help:

1. The future refactoring for Gitea's web context (eg: simplify the context)
2. Introduce proper "range request" support
3. Introduce context function

This PR only moves code, doesn't change any logic.
2023-05-08 17:36:54 +08:00
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
admin Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
misc Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
notify Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
org Fix admin team access mode value in team_unit table (#24012) 2023-04-13 21:06:10 +02:00
packages Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
repo Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
user Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
utils Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
api.go Add API for gitignore templates (#22783) 2023-04-27 11:51:20 +08:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00