0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:14:36 +01:00
gitea/modules
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
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset
context Change some logging levels (#18421) 2022-01-29 20:52:37 +00:00
convert API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
csv
doctor
emoji
eventsource
generate Use base32 for 2FA scratch token (#18384) 2022-01-26 12:10:10 +08:00
git Remove go 1.15 support (#18511) 2022-02-01 10:46:45 +08:00
gitgraph
graceful
hcaptcha
highlight
hostmatcher
httpcache
httplib
indexer Automatically pause queue if index service is unavailable (#15066) 2022-01-27 10:30:51 +02:00
json Make gitea, gitea-vet future-proof (#18361) 2022-01-22 21:59:34 +00:00
lfs
log
markup Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) 2022-01-31 01:48:47 +02:00
metrics
migration add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
nosql
notification
options
password
pprof
private Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
process
proxy
public Fix mime-type detection for HTTP server (#18370) 2022-01-23 20:19:49 +08:00
queue add gitea-fmt back (#18526) 2022-02-01 12:43:09 -05:00
recaptcha
references
repository Add GetUserTeams (#18499) 2022-02-01 14:09:24 -05:00
secret Use base32 for 2FA scratch token (#18384) 2022-01-26 12:10:10 +08:00
session
setting Warn at startup if the provided SCRIPT_TYPE is not on the PATH (#18467) 2022-01-30 16:33:36 +00:00
ssh
storage
structs API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
svg
sync
templates
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util Fix non-ASCII search on database (#18437) 2022-02-01 20:59:25 +08:00
validation
web