gitea/models
David Svantesson 36bcd4cd6b API endpoint for searching teams. ()
* 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
..
fixtures Add teams to repo on collaboration page. ()
migrations Add teams to repo on collaboration page. ()
access.go Trace Logging on Permission Denied & ColorFormat ()
access_test.go Fixed ineffectual assignments in tests ()
action.go feat: highlight issue references with : ()
action_list.go
action_test.go Alwaywas return local url for users avatar ()
admin.go Use gitea forked macaron ()
admin_test.go
attachment.go Extract actions on deletereleasebyid from models to release service ()
attachment_test.go fix upload attachments ()
branches.go Refuse merge until all required status checks success ()
branches_test.go
commit_status.go Refuse merge until all required status checks success ()
commit_status_test.go api: fix multiple bugs with statuses endpoints ()
consistency.go Fix error log when loading issues caused by a xorm bug ()
context.go Move all mail related codes from models to services/mailer ()
convert.go Move database settings from models to setting ()
error.go Move all mail related codes from models to services/mailer ()
error_oauth2.go
external_login_user.go
gpg_key.go Display ui time with customize time location ()
gpg_key_test.go Display ui time with customize time location ()
graph.go move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
graph_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
helper.go
helper_directory.go Use gitea forked macaron ()
helper_environment.go Fix bug create/edit wiki pages when code master branch protected ()
issue.go Extract actions on new issue from models to services ()
issue_assignees.go Use gitea forked macaron ()
issue_assignees_test.go refactor: append, build variable and type switch ()
issue_comment.go Move create issue comment to comments package ()
issue_comment_list.go Add golangci ()
issue_comment_test.go
issue_dependency.go Display ui time with customize time location ()
issue_dependency_test.go Fix an error while adding a dependency via UI. ()
issue_label.go Fix label count ()
issue_label_test.go Fix label count ()
issue_list.go Fix error log when loading issues caused by a xorm bug ()
issue_list_test.go
issue_lock.go Implement "conversation lock" for issue comments ()
issue_milestone.go move some milestone functions to a standalone package ()
issue_milestone_test.go Display ui time with customize time location ()
issue_reaction.go Display ui time with customize time location ()
issue_reaction_test.go Ensure valid git author names passed in signatures ()
issue_stopwatch.go Display ui time with customize time location ()
issue_stopwatch_test.go Display ui time with customize time location ()
issue_test.go Upgrade xorm to latest to fix insert issue bug ()
issue_tracked_time.go Display ui time with customize time location ()
issue_tracked_time_test.go
issue_user.go Move all mail related codes from models to services/mailer ()
issue_user_test.go Move all mail related codes from models to services/mailer ()
issue_watch.go Display ui time with customize time location ()
issue_watch_test.go
issue_xref.go Fix nil ref ()
lfs.go Display ui time with customize time location ()
lfs_lock.go Use gitea forked macaron ()
log.go Fix error log when loading issues caused by a xorm bug ()
login_source.go Use gitea forked macaron ()
main_test.go
migrate.go Fix milestone completness calculation when migrating ()
models.go Move git diff codes from models to services/gitdiff ()
models_test.go Move database settings from models to setting ()
notification.go Display ui time with customize time location ()
notification_test.go
oauth2.go migrate gplus to google oauth2 provider ()
oauth2_application.go Use gitea forked macaron ()
oauth2_application_test.go OAuth2 Grant UI ()
org.go Add teams to repo on collaboration page. ()
org_team.go API endpoint for searching teams. ()
org_team_test.go Fix approvals counting ()
org_test.go Add teams to repo on collaboration page. ()
pull.go Show correct commit status in PR list ()
pull_test.go only return head: null if source branch was deleted ()
release.go Extract actions on deletereleasebyid from models to release service ()
repo.go Reference issues from pull requests and other issues ()
repo_activity.go Add golangci ()
repo_branch.go Add golangci ()
repo_collaboration.go Add teams to repo on collaboration page. ()
repo_collaboration_test.go Add teams to repo on collaboration page. ()
repo_indexer.go Restrict repository indexing by glob match ()
repo_issue.go
repo_list.go Include description in repository search. ()
repo_list_test.go Restrict repository indexing by glob match ()
repo_mirror.go Move create release from models to a standalone package ()
repo_permission.go Removed unnecessary conversions ()
repo_permission_test.go fix bug when update owner team then visit team's repo return 404 ()
repo_redirect.go Use gitea forked macaron ()
repo_redirect_test.go
repo_tag.go Fixes - Adds the /git/tags API endpoint ()
repo_test.go Use gitea forked macaron ()
repo_unit.go Use gitea forked macaron ()
repo_watch.go
repo_watch_test.go
review.go Display ui time with customize time location ()
review_test.go
ssh_key.go [ssh] fix the config specification in the authorized_keys template ()
ssh_key_test.go Make PKCS8, PEM and SSH2 keys work ()
star.go Ensure that sessions are passed into queries that could use the database to prevent deadlocks ()
star_test.go
test_fixtures.go
token.go Display ui time with customize time location ()
token_test.go Add golangci ()
topic.go Add API endpoint for accessing repo topics ()
topic_test.go Add API endpoint for accessing repo topics ()
twofactor.go Display ui time with customize time location ()
u2f.go Display ui time with customize time location ()
u2f_test.go Override xorm type mapping for U2F counter ()
unit.go Fixes - Adds API Endpoint for Repo Edit ()
unit_tests.go Move database settings from models to setting ()
update.go Display ui time with customize time location ()
update_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git ()
upload.go Use gitea forked macaron ()
user.go Alwaywas return local url for users avatar ()
user_follow.go
user_follow_test.go
user_heatmap.go Move database settings from models to setting ()
user_heatmap_test.go
user_mail.go Add golangci ()
user_mail_test.go
user_openid.go
user_openid_test.go Add golangci ()
user_test.go Add teams to repo on collaboration page. ()
userlist.go Add teams to repo on collaboration page. ()
userlist_test.go org/members: display 2FA members states + optimize sql requests ()
webhook.go Fix webhooks to use proxy from environment ()
webhook_dingtalk.go Move sdk structs to modules/structs ()
webhook_discord.go Add golangci ()
webhook_msteams.go MS Teams webhook misses commit messages ()
webhook_slack.go Fix Slack webhook fork message ()
webhook_telegram.go Move sdk structs to modules/structs ()
webhook_test.go Implement webhook branch filter ()
wiki.go Use gitea forked macaron ()
wiki_test.go Remove local clones & make hooks run on merge/edit/upload ()