1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/web
Gusted d3b31cc1ee
Add GetUserTeams (#18499)
* COrrect use `UserID` in `SearchTeams`

- Use `UserID` in the `SearchTeams` function, currently it was useless
to pass such information. Now it does a INNER statement to `team_user`
which obtains UserID -> TeamID data.
- Make OrgID optional.
- Resolves #18484

* Seperate searching specific user

* Add condition back

* Use correct struct type

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-02-01 14:09:24 -05:00
..
admin Fix OAuth Source Edit Page (#18495) 2022-01-31 20:41:11 +00:00
auth Fix OAuth Source Edit Page (#18495) 2022-01-31 20:41:11 +00:00
dev Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
events Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
feed Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
org Add GetUserTeams (#18499) 2022-02-01 14:09:24 -05:00
repo Automatically pause queue if index service is unavailable (#15066) 2022-01-27 10:30:51 +02:00
user Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
base.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
goget.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
home.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
metrics.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
swagger_json.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00