gitea/templates/repo
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
..
branch Show Pull Request button or status of latest PR in branch list (#6990) 2019-06-27 22:15:30 +08:00
diff Fix 7303 - remove unnessesary buttons on archived repos (#7326) 2019-06-29 10:18:49 +01:00
editor Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
issue Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
pulls Add commit statuses reports on pull request view (#6845) 2019-06-30 08:57:59 +01:00
release Properly escape release attachment URL (#6512) 2019-04-05 11:28:10 -04:00
settings Repository avatars (#6986) 2019-05-29 22:22:26 -04:00
wiki Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
activity.tmpl Improve localization of git activity stats (#6848) 2019-05-04 23:32:37 +03:00
blame.tmpl Add option to blame files (#5721) 2019-04-19 22:47:00 -04:00
branch_dropdown.tmpl Escape branch name in dropdown menu (#3691) 2018-03-19 22:29:16 +08:00
commit_page.tmpl Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
commit_status.tmpl UI: Fix overflow issues in repo (#7190) 2019-06-14 09:32:13 +08:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl UI: Fix overflow issues in repo (#7190) 2019-06-14 09:32:13 +08:00
create.tmpl Add more title attributes on shortened names (#6647) 2019-04-17 10:49:56 -04:00
empty.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
forks.tmpl #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
graph.tmpl Fix issue link rendering in commit messages (#2897) 2017-11-13 09:35:55 +08:00
header.tmpl Repository avatars (#6986) 2019-05-29 22:22:26 -04:00
home.tmpl Add option to blame files (#5721) 2019-04-19 22:47:00 -04:00
migrate.tmpl Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
sub_menu.tmpl Add ui class to sub_menu to fix style in arc-green (#6477) 2019-04-02 08:41:19 +08:00
user_cards.tmpl Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
view_file.tmpl Order file actions equal to GitHub (#6706) 2019-04-24 12:53:57 +08:00
view_list.tmpl UI: Fix overflow issues in repo (#7190) 2019-06-14 09:32:13 +08:00
watchers.tmpl #1692 APIs: Users Followers 2015-12-21 04:24:11 -08:00