gitea/models
6543 507d0ec57a
Prevent multiple listings of organization when creating a repository (#11303)
prevent double entries in results of GetOrgsCanCreateRepoByUserID

I first try to only add GroupBy directly but xorm return broken user objects ...

... solution was to just query related UserIDs(OrgIDs) first and return OrgUsers based on this IDs

close #11258

Co-authored-by: zeripath <art27@cantab.net>
2020-05-07 14:24:59 +01:00
..
fixtures API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
migrations Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
access_test.go
access.go Upgrade xorm to v1.0.0 (#10646) 2020-03-22 11:12:55 -04:00
action_list.go refactor: reduce sql query in retrieveFeeds (#3547) 2018-02-21 18:55:34 +08:00
action_test.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
action.go
admin_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
admin.go
attachment_test.go
attachment.go
avatar.go
branches_test.go Add deleted_branch table fixture (#2832) 2017-11-04 15:31:59 +02:00
branches.go
commit_status_test.go Fix wrong hint when status checking is running on pull request view (#9886) 2020-01-22 11:46:04 +08:00
commit_status.go
consistency.go
context.go
convert.go
error_oauth2.go gofmt (#1662) 2017-05-04 13:54:56 +08:00
error.go
external_login_user.go
fixture_generation.go
fixture_test.go Move fixture generation to contrib and add test (#10277) 2020-02-15 10:59:43 +02:00
gpg_key_test.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
gpg_key.go
helper_directory.go
helper_environment.go
helper.go
issue_assignees_test.go
issue_assignees.go
issue_comment_list.go
issue_comment_test.go Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
issue_comment.go Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
issue_dependency_test.go
issue_dependency.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
issue_label_test.go BugFix: updateLabel can updated not allowed fields #11242 (#11242) 2020-04-28 19:28:56 -04:00
issue_label.go BugFix: updateLabel can updated not allowed fields #11242 (#11242) 2020-04-28 19:28:56 -04:00
issue_list_test.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_list.go
issue_lock.go
issue_milestone_test.go
issue_milestone.go [API] ListIssues add filter for milestones (#10148) 2020-04-30 01:15:39 -03:00
issue_reaction_test.go
issue_reaction.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_stopwatch_test.go
issue_stopwatch.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_test.go
issue_tracked_time_test.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00
issue_tracked_time.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go Add issue subscription check to API (#10967) 2020-04-21 14:48:53 +01:00
issue_xref_test.go Refactor comment (#9330) 2019-12-15 16:57:34 -05:00
issue_xref.go remove unused method and rename createcommentWithNoAction (#9367) 2019-12-16 11:54:24 +08:00
issue.go
lfs_lock.go Make repository management section handle lfs locks (#8726) 2019-12-12 21:18:07 +08:00
lfs.go
list_options.go
log.go
login_source.go
main_test.go
migrate.go
models_test.go
models.go Fix typo of MSSQL (#10850) 2020-03-27 16:12:39 +02:00
notification_test.go add request review from specific reviewers feature in pull request (#10756) 2020-04-06 19:33:34 +03:00
notification.go
oauth2_application_test.go
oauth2_application.go Refactor UpdateOAuth2Application (#11034) 2020-04-30 18:50:47 +01:00
oauth2.go
org_team_test.go
org_team.go
org_test.go
org.go
pull_list.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pull_sign.go
pull_test.go
pull.go
release.go
repo_activity.go Add top author stats to activity page (#9615) 2020-01-20 12:07:30 +02:00
repo_branch.go Move newbranch to standalone package (#9627) 2020-01-14 11:38:04 +08:00
repo_collaboration_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_collaboration.go Automatically remove Watches, Assignments, etc if user loses access due to being removed as collaborator or from a team (#10997) 2020-04-07 22:52:01 +01:00
repo_generate_test.go
repo_generate.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_indexer.go
repo_issue.go Add EnableTimetracking option to app settings (#3719) 2018-04-09 23:15:32 +08:00
repo_language_stats.go Migrate to go-enry new version (#10906) 2020-04-15 20:40:39 +03:00
repo_list_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_list.go Fix milestones too many SQL variables bug (#10880) 2020-03-31 10:47:00 +03:00
repo_mirror.go
repo_permission_test.go fix bug when update owner team then visit team's repo return 404 (#6119) 2019-02-22 11:14:45 -05:00
repo_permission.go Automatically remove Watches, Assignments, etc if user loses access due to being removed as collaborator or from a team (#10997) 2020-04-07 22:52:01 +01:00
repo_redirect_test.go
repo_redirect.go
repo_sign.go
repo_test.go
repo_unit.go
repo_watch_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_watch.go
repo.go
review_test.go
review.go
ssh_key_test.go
ssh_key.go
star_test.go
star.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
task.go
test_fixtures.go
token_test.go Reject duplicate AccessToken names (#10994) 2020-04-13 22:02:48 +03:00
token.go Reject duplicate AccessToken names (#10994) 2020-04-13 22:02:48 +03:00
topic_test.go
topic.go
twofactor.go
u2f_test.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
u2f.go
unit_tests.go Upgrade xorm to v1.0.0 (#10646) 2020-03-22 11:12:55 -04:00
unit.go
update.go Remove Unused Functions (#10516) 2020-03-02 00:05:44 +02:00
upload.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
user_follow_test.go
user_follow.go
user_heatmap_test.go Restricted users (#6274) 2020-01-13 18:33:46 +01:00
user_heatmap.go
user_mail_test.go Admin page for managing user e-mail activation (#10557) 2020-03-02 15:25:36 -03:00
user_mail.go Admin page for managing user e-mail activation (#10557) 2020-03-02 15:25:36 -03:00
user_openid_test.go
user_openid.go
user_test.go
user.go
userlist_test.go
userlist.go
webhook_test.go
webhook.go
wiki_test.go
wiki.go Add owner_name column for table repository for maintaince reason (#9717) 2020-01-12 17:36:21 +08:00