Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor error system (#33610) | wxiaoguang | 2025-02-16 | 1 | -1/+1 |
| | |||||
* | Refactor names (#31405) | wxiaoguang | 2024-06-19 | 1 | -1/+1 |
| | | | | | | | This PR only does "renaming": * `Route` should be `Router` (and chi router is also called "router") * `Params` should be `PathParam` (to distingush it from URL query param, and to match `FormString`) * Use lower case for private functions to avoid exposing or abusing | ||||
* | Move context from modules to services (#29440) | Lunny Xiao | 2024-02-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Since `modules/context` has to depend on `models` and many other packages, it should be moved from `modules/context` to `services/context` according to design principles. There is no logic code change on this PR, only move packages. - Move `code.gitea.io/gitea/modules/context` to `code.gitea.io/gitea/services/context` - Move `code.gitea.io/gitea/modules/contexttest` to `code.gitea.io/gitea/services/contexttest` because of depending on context - Move `code.gitea.io/gitea/modules/upload` to `code.gitea.io/gitea/services/context/upload` because of depending on context | ||||
* | Add API for gitignore templates (#22783) | JakobDev | 2023-04-27 | 1 | -0/+56 |
This implements the [Gitignores template API of GitHub](https://docs.github.com/en/rest/gitignore?apiVersion=2022-11-28) in Gitea |