forgejo/models
Lunny Xiao e3e44a59d0 Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751)
* update migrated issues/comments when login as github

* add get userid when migrating or login with github oauth2

* fix lint

* add migrations for repository service type

* fix build

* remove unnecessary dependencies on migrations

* add cron task to update migrations poster ids and fix posterid when migrating

* fix lint

* fix lint

* improve code

* fix lint

* improve code

* replace releases publish id to actual author id

* fix import

* fix bug

* fix lint

* fix rawdata definition

* fix some bugs

* fix error message
2019-10-14 09:10:42 +03:00
..
fixtures Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
migrations Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
access.go
access_test.go
action.go Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
action_list.go
action_test.go Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
admin.go
admin_test.go
attachment.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
attachment_test.go
branches.go Allow users with explicit read access to give approvals (#8382) 2019-10-08 15:18:17 -04:00
branches_test.go
commit_status.go Refuse merge until all required status checks success (#7481) 2019-09-18 08:39:45 +03:00
commit_status_test.go
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.go Transaction-aware retry create issue to cope with duplicate keys (#8307) 2019-10-03 00:28:30 +02:00
error_oauth2.go
external_login_user.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
gpg_key.go
gpg_key_test.go
graph.go
graph_test.go
helper.go
helper_directory.go
helper_environment.go
issue.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
issue_assignees.go
issue_assignees_test.go
issue_comment.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
issue_comment_list.go
issue_comment_test.go
issue_dependency.go
issue_dependency_test.go
issue_label.go Fix label count (#8267) 2019-09-24 21:22:39 +08:00
issue_label_test.go Fix label count (#8267) 2019-09-24 21:22:39 +08:00
issue_list.go
issue_list_test.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.go Update milestone issues numbers when save milestone and other code improvements (#8411) 2019-10-08 00:44:58 +03:00
issue_milestone_test.go Fix milestone num_issues (#8221) 2019-10-06 17:26:19 -04:00
issue_reaction.go
issue_reaction_test.go
issue_stopwatch.go
issue_stopwatch_test.go
issue_test.go Move change issue title from models to issue service package (#8456) 2019-10-11 14:44:43 +08:00
issue_tracked_time.go
issue_tracked_time_test.go
issue_user.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08: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_watch.go
issue_watch_test.go
issue_xref.go Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
lfs.go
lfs_lock.go
log.go
login_source.go
main_test.go
migrate.go
models.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
models_test.go
notification.go
notification_test.go
oauth2.go migrate gplus to google oauth2 provider (#7885) 2019-09-14 12:02:39 +02:00
oauth2_application.go
oauth2_application_test.go
org.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
org_team.go Ignore mentions for users with no access (#8395) 2019-10-10 19:45:11 +03:00
org_team_test.go
org_test.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
pull.go Transaction-aware retry create issue to cope with duplicate keys (#8307) 2019-10-03 00:28:30 +02:00
pull_test.go
release.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
repo.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
repo_activity.go
repo_branch.go
repo_collaboration.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
repo_collaboration_test.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
repo_indexer.go Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
repo_issue.go
repo_list.go
repo_list_test.go Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
repo_mirror.go Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00
repo_permission.go
repo_permission_test.go
repo_redirect.go
repo_redirect_test.go
repo_tag.go
repo_test.go
repo_unit.go
repo_watch.go
repo_watch_test.go
review.go
review_test.go
ssh_key.go Fixes #8369: Create .ssh dir as necessary (#8486) 2019-10-13 17:35:19 +03:00
ssh_key_test.go
star.go
star_test.go
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
test_fixtures.go
token.go
token_test.go
topic.go
topic_test.go
twofactor.go
u2f.go
u2f_test.go
unit.go
unit_tests.go
update.go
update_test.go
upload.go
user.go Revert "Fix issues/pr list broken when there are many repositories (#8409)" (#8427) 2019-10-08 20:55:16 +03:00
user_follow.go
user_follow_test.go
user_heatmap.go
user_heatmap_test.go
user_mail.go
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go Revert "Fix issues/pr list broken when there are many repositories (#8409)" (#8427) 2019-10-08 20:55:16 +03:00
userlist.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
userlist_test.go
webhook.go Fix webhooks to use proxy from environment (#8116) 2019-09-10 00:21:07 +08:00
webhook_dingtalk.go
webhook_discord.go
webhook_msteams.go MS Teams webhook misses commit messages (#8209) 2019-09-17 15:56:29 -04:00
webhook_slack.go
webhook_telegram.go
webhook_test.go Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
wiki.go
wiki_test.go