0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 01:29:52 +01:00
gitea/modules/migrations/base
mrsdizzie 1f1ecda541 Display original author and URL information when showing migrated issues/comments (#7352)
* Store original author info for migrated issues and comments

Keep original author name for displaying in Gitea interface and also
store original author user ID for potential future use in linking
accounts from old location.

* Add original_url for repo

Store the original URL for a migrated repo

Clean up migrations/tests

* fix migration

* fix golangci-lint

* make 'make revive' happy also

* Modify templates to use OriginalAuthor if set

Use the original author name in templates if it is set rather than the
user who migrated/currently owns the issues

* formatting fixes

* make generate-swagger

* Use default avatar for imported comments

* Remove no longer used IgnoreIssueAuthor option

* Add OriginalAuthorID to swagger also
2019-07-08 10:14:12 +08:00
..
comment.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
downloader.go
issue.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
label.go
milestone.go
options.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
pullrequest.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
reaction.go
release.go
repo.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
uploader.go Detect migrating batch size (#7353) 2019-07-06 15:24:50 -04:00