gitea/modules/migrations
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
..
base Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
error.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
git.go improve github downloader on migrations (#7049) 2019-05-30 16:26:57 -04:00
gitea_test.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
gitea.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
github_test.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
github.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
main_test.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
migrate.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00