mirror of
1
Fork 0
forgejo/modules/templates
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
..
dynamic.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
helper.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
main.go Use vfsgen instead of go-bindata (#7080) 2019-06-03 00:43:47 +03:00
static.go Use vfsgen instead of go-bindata (#7080) 2019-06-03 00:43:47 +03:00
templates.go Use vfsgen instead of go-bindata (#7080) 2019-06-03 00:43:47 +03:00