aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/user/hook.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor error system (#33610)wxiaoguang2025-02-161-2/+2
|
* Refactor names (#31405)wxiaoguang2024-06-191-3/+3
| | | | | | | 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 Xiao2024-02-271-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
* Fix comment permissions (#28213)Lunny Xiao2023-11-251-0/+5
| | | | This PR will fix some missed checks for private repositories' data on web routes and API routes.
* Add user webhooks (#21563)KN4CK3R2023-03-101-0/+154
Currently we can add webhooks for organizations but not for users. This PR adds the latter. You can access it from the current users settings. ![grafik](https://user-images.githubusercontent.com/1666336/197391408-15dfdc23-b476-4d0c-82f7-9bc9b065988f.png)