gitea/models
6543 31416a5f4e Fix API Bug (fail on empty assignees) (#8873)
* keep sure if assigneeIDs == nil -> do nothing

* fix #8872

* Revert "keep sure if assigneeIDs == nil -> do nothing"

-> go handle it itself preaty well

This reverts commit e72d94129c.

* clarity comparson

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* simplify

* Update models/issue_assignees.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update issue_assignees.go

* simplify more

* add --if oneAssignee != ""-- again

* Update models/issue_assignees.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* CI.restart()

* Update issue_assignees.go

* add Test for GetUserIDsByNames

* add Test for MakeIDsFromAPIAssigneesToAdd

* fix test
2019-11-10 16:07:21 +08:00
..
fixtures Update heatmap fixtures to restore tests (#8615) 2019-10-21 21:19:53 +01:00
migrations Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
access_test.go
access.go Recalculate repository access only for specific user (#8481) 2019-10-15 01:55:21 +01:00
action_list.go
action_test.go Move some actions to notification/action (#8779) 2019-11-08 15:54:50 -05:00
action.go Move some actions to notification/action (#8779) 2019-11-08 15:54:50 -05:00
admin_test.go
admin.go
attachment_test.go
attachment.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
branches_test.go
branches.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
commit_status_test.go
commit_status.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
consistency.go
context.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
convert.go
error_oauth2.go
error.go Prevent upload (overwrite) of lfs locked file (#8769) 2019-11-02 15:37:05 +08:00
external_login_user.go Allow more than 255 characters for tokens in external_login_user table (#8554) 2019-10-18 09:58:36 +03:00
gpg_key_test.go
gpg_key.go Ensure default gpg settings not nil and found commits have reference to repo (#8604) 2019-10-20 23:26:36 +01:00
graph_test.go Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
graph.go Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
helper_directory.go
helper_environment.go
helper.go
issue_assignees_test.go Fix API Bug (fail on empty assignees) (#8873) 2019-11-10 16:07:21 +08:00
issue_assignees.go Fix API Bug (fail on empty assignees) (#8873) 2019-11-10 16:07:21 +08:00
issue_comment_list.go
issue_comment_test.go
issue_comment.go Split sendCreateCommentAction as two parts, one for update comment related informations, another for actions (#8784) 2019-11-06 15:39:29 +02:00
issue_dependency_test.go
issue_dependency.go
issue_label_test.go Fix label count (#8267) 2019-09-24 21:22:39 +08:00
issue_label.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
issue_list_test.go
issue_list.go
issue_lock.go Move change issue title from models to issue service package (#8456) 2019-10-11 14:44:43 +08:00
issue_milestone_test.go Fix milestone num_issues (#8221) 2019-10-06 17:26:19 -04:00
issue_milestone.go [Fix] milestone close timestamp (#8728) 2019-10-29 10:35:50 +08:00
issue_reaction_test.go
issue_reaction.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_stopwatch_test.go
issue_stopwatch.go
issue_test.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
issue_tracked_time_test.go
issue_tracked_time.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_user_test.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
issue_user.go Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
issue_watch_test.go
issue_watch.go Add API for Issue set Subscription (#8729) 2019-11-02 23:27:49 +08:00
issue_xref.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue.go Leave non-dated issues for last (#8871) 2019-11-09 13:09:01 +00:00
lfs_lock.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
lfs.go Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
log.go
login_source.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
main_test.go
migrate.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
models_test.go
models.go Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) 2019-10-21 22:20:47 +01:00
notification_test.go
notification.go
oauth2_application_test.go
oauth2_application.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
oauth2.go migrate gplus to google oauth2 provider (#7885) 2019-09-14 12:02:39 +02:00
org_team_test.go Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
org_team.go Allow to add and remove all repositories to/from team. (#8867) 2019-11-09 08:39:37 +08:00
org_test.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
org.go Add team option to grant rights for all organization repositories (#8688) 2019-11-06 11:37:14 +02:00
pull_list.go Allow cross-repository dependencies on issues (#7901) 2019-10-31 13:06:10 +08:00
pull_test.go Fix bug on pull requests when transfer head repository (#8564) 2019-10-18 19:13:31 +08:00
pull.go Move pull list code to a seperate file (#8748) 2019-10-30 20:33:10 +00:00
release.go Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
repo_activity.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
repo_branch.go
repo_collaboration_test.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
repo_collaboration.go Recalculate repository access only for specific user (#8481) 2019-10-15 01:55:21 +01:00
repo_indexer.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
repo_issue.go
repo_list_test.go Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
repo_list.go Add basic repository lfs management (#7199) 2019-10-28 18:31:55 +00:00
repo_mirror.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
repo_permission_test.go
repo_permission.go Move more issue assignee code from models to issue service (#8690) 2019-10-28 10:11:50 +08:00
repo_redirect_test.go
repo_redirect.go
repo_sign.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00
repo_tag.go
repo_test.go
repo_unit.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
repo_watch_test.go
repo_watch.go
repo.go Fix bug when migrate from API (#8631) 2019-11-08 17:21:00 -05:00
review_test.go
review.go Split sendCreateCommentAction as two parts, one for update comment related informations, another for actions (#8784) 2019-11-06 15:39:29 +02:00
ssh_key_test.go Fix SSH2 conditonal in key parsing code (#8806) 2019-11-03 19:08:18 +08:00
ssh_key.go Fix SSH2 conditonal in key parsing code (#8806) 2019-11-03 19:08:18 +08:00
star_test.go
star.go
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
test_fixtures.go
token_test.go
token.go
topic_test.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
twofactor.go
u2f_test.go
u2f.go
unit_tests.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
unit.go
update_test.go
update.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
upload.go
user_follow_test.go
user_follow.go
user_heatmap_test.go Update heatmap fixtures to restore tests (#8615) 2019-10-21 21:19:53 +01:00
user_heatmap.go
user_mail_test.go
user_mail.go
user_openid_test.go
user_openid.go
user_test.go Fix API Bug (fail on empty assignees) (#8873) 2019-11-10 16:07:21 +08:00
user.go Mail assignee when issue/pull request is assigned (#8546) 2019-10-25 22:46:37 +08:00
userlist_test.go
userlist.go Add API for Issue set Subscription (#8729) 2019-11-02 23:27:49 +08:00
webhook_test.go Move more webhook codes from models to webhook module (#8802) 2019-11-03 22:13:25 +00:00
webhook.go Move more webhook codes from models to webhook module (#8802) 2019-11-03 22:13:25 +00:00
wiki_test.go
wiki.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00