forgejo/routers
David Svantesson 36bcd4cd6b API endpoint for searching teams. (#8108)
* Api endpoint for searching teams.

Signed-off-by: dasv <david.svantesson@qrtech.se>

* Move API to /orgs/:org/teams/search

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Regenerate swagger

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Fix search is Get

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Add test for search team API.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Update routers/api/v1/org/team.go

grammar

Co-Authored-By: Richard Mahn <richmahn@users.noreply.github.com>

* Fix review comments

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Fix some issues in repo collaboration team search, after changes in this PR.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Remove teamUser which is not used and replace with actual user id.

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Remove unused search variable UserIsAdmin.

* Add paging to team search.

* Re-genereate swagger

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* Fix review comments

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>

* fix

* Regenerate swagger
2019-10-01 13:32:28 +08:00
..
admin Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
api/v1 API endpoint for searching teams. (#8108) 2019-10-01 13:32:28 +08:00
dev
org Fix repo_admin_change_team_access always checked in org settings (#8319) 2019-09-30 02:20:27 +03:00
private Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
routes Alwaywas return local url for users avatar (#8245) 2019-09-26 12:21:23 -04:00
user Alwaywas return local url for users avatar (#8245) 2019-09-26 12:21:23 -04:00
utils
home.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
init.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
install.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go