Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00
forgejo/routers
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
..
api/v1 Add GetUserTeams (#18499) 2022-02-01 14:09:24 -05:00
common format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
install Switch to non-deprecation setting (#18358) 2022-01-23 20:02:29 +01:00
private Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Add GetUserTeams (#18499) 2022-02-01 14:09:24 -05:00
init.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00