forked from gitea/gitea
1
0
Fork 0
gitea/templates
Harshit Bansal 5ac6da3c41 api: Add missing GET teams endpoints (#5382)
* api: Add an endpoint to list a particular member of team.

* models: Rename `GetUserTeams()` to `GetUserOrgTeams()` in `org_team` model.

`GetUserTeams()` sounds a bit misnomer since it actually returns
the teams that user belongs to in a given organization rather than
all the teams across all the organization that the user has joined.

* models: Add `GetUserTeams()`.

Returns all the teams that a user belongs to.

* api: Add an endpoint for GET '/user/teams'.

A GET request to this endpoint lists all the teams that a user
belongs to.
2019-01-16 19:39:50 -05:00
..
admin Discord Oauth2 support (#4476) 2019-01-13 14:06:22 -05:00
base Allow for user specific themes (#5668) 2019-01-09 12:22:57 -05:00
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
explore Fix missing AppSubUrl in some templates (#5020) 2018-10-05 20:22:33 +03:00
mail Add `noreferrer` to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
org Improve team members and repositories settings UI (#5457) 2018-12-09 08:42:11 +02:00
pwa Allow for user specific themes (#5668) 2019-01-09 12:22:57 -05:00
repo Don't list an issue on its own dependency list UI. (#5658) 2019-01-15 16:31:35 -05:00
status Add gitea/issues link to 500 page (#4654) 2018-08-11 13:04:43 -04:00
swagger api: Add missing GET teams endpoints (#5382) 2019-01-16 19:39:50 -05:00
user Allow for user specific themes (#5668) 2019-01-09 12:22:57 -05:00
home.tmpl Translate home template to Czech (#5665) 2019-01-08 14:39:50 +01:00
install.tmpl Remove the required class from optional ssh port in installation page (#5428) 2018-11-29 18:47:57 +02:00