gitea/models
Brad Albright 2f7a747e4f Fixed repo link in generated comment for cross repository dependency ()
* fixed link to issue in issue comments after adding/removing a dependency, before links assumed the issue was in the same repository. also changed the format of the displayed issue since the issue will not necessarily be in the same repo

* based on pr comments, changed to use HTMLURL instead of piecing together the issue url, and added an if statement around the issue link display as a nil protection

* only showing repo name in dependency comment if the issue is from another repo

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
..
fixtures Add "Update Branch" button to Pull Requests ()
migrations Refactor repository check and sync functions ()
access.go Restricted users ()
access_test.go Restricted users ()
action.go Restricted users ()
action_list.go refactor: reduce sql query in retrieveFeeds ()
action_test.go Restricted users ()
admin.go Use gitea forked macaron ()
admin_test.go Fix tests code to prevent some runtime errors ()
attachment.go Only serve attachments when linked to issue/release and if accessible by user ()
attachment_test.go Only serve attachments when linked to issue/release and if accessible by user ()
branches.go Add require signed commit for protected branch ()
branches_test.go Add deleted_branch table fixture ()
commit_status.go Upgrade xorm to v0.8.0 ()
commit_status_test.go api: fix multiple bugs with statuses endpoints ()
consistency.go Auto-subscribe user to repository when they commit/tag to it ()
context.go Refactor repository check and sync functions ()
convert.go Move database settings from models to setting ()
error.go Add require signed commit for protected branch ()
error_oauth2.go gofmt ()
external_login_user.go Migrate reactions when migrating repository from github ()
gpg_key.go Ensure default gpg settings not nil and found commits have reference to repo ()
gpg_key_test.go Display ui time with customize time location ()
helper.go Add reactions to issues/PR and comments ()
helper_directory.go Remove SavePatch and generate patches on the fly ()
helper_environment.go Add owner_name column for table repository for maintaince reason ()
issue.go Fix wrong identify poster on a migrated pull request when submi… ()
issue_assignees.go remove unused method and rename createcommentWithNoAction ()
issue_assignees_test.go Fix API Bug (fail on empty assignees) ()
issue_comment.go Migrate reactions when migrating repository from github ()
issue_comment_list.go Fixed repo link in generated comment for cross repository dependency ()
issue_comment_test.go Pull request review/approval and comment on code ()
issue_dependency.go Display ui time with customize time location ()
issue_dependency_test.go Refactor comment ()
issue_label.go Move create/fork repository from models to modules/repository ()
issue_label_test.go Fix label count ()
issue_list.go [API] Extend times API ()
issue_list_test.go [API] Extend times API ()
issue_lock.go remove unused method and rename createcommentWithNoAction ()
issue_milestone.go [API] Extend times API ()
issue_milestone_test.go [API] Extend times API ()
issue_reaction.go Migrate reactions when migrating repository from github ()
issue_reaction_test.go Migrate reactions when migrating repository from github ()
issue_stopwatch.go [API] extend StopWatch ()
issue_stopwatch_test.go Display ui time with customize time location ()
issue_test.go Add "Update Branch" button to Pull Requests ()
issue_tracked_time.go Move tracked time api convert to convert package ()
issue_tracked_time_test.go [API] Extend times API ()
issue_user.go Mail assignee when issue/pull request is assigned ()
issue_user_test.go Add "Update Branch" button to Pull Requests ()
issue_watch.go Fix Issue Unsubscription ()
issue_watch_test.go Fix Issue Unsubscription ()
issue_xref.go remove unused method and rename createcommentWithNoAction ()
issue_xref_test.go Refactor comment ()
lfs.go Restricted users ()
lfs_lock.go Make repository management section handle lfs locks ()
log.go Fix error log when loading issues caused by a xorm bug ()
login_source.go Check user != nil before checking values ()
main_test.go Unit tests for wiki routers ()
migrate.go Migrate reactions when migrating repository from github ()
models.go Add support for database schema in PostgreSQL ()
models_test.go Move database settings from models to setting ()
notification.go [API] add endpoint to check notifications [Extend ] ()
notification_test.go [API] Add notification endpoint ()
oauth2.go migrate gplus to google oauth2 provider ()
oauth2_application.go Upgrade xorm to v0.8.0 ()
oauth2_application_test.go OAuth2 Grant UI ()
org.go Restricted users ()
org_team.go [API] orgEditTeam make Fields optional ()
org_team_test.go Move create/fork repository from models to modules/repository ()
org_test.go Only show part of members on orgnization dashboard and add paging for orgnization members page ()
pull.go Explicitly refer to PR in squash-merge commit message in case of external tracker ()
pull_list.go Graceful: Xorm, RepoIndexer, Cron and Others ()
pull_sign.go Add require signed commit for protected branch ()
pull_test.go Add "Update Branch" button to Pull Requests ()
release.go Move some repository methods from models to modules/repository ()
repo.go Refactor repository check and sync functions ()
repo_activity.go Add top author stats to activity page ()
repo_branch.go Move newbranch to standalone package ()
repo_collaboration.go Team permission to create repository in organization ()
repo_collaboration_test.go Add teams to repo on collaboration page. ()
repo_generate.go Move create/fork repository from models to modules/repository ()
repo_generate_test.go Variable expansion in repository templates ()
repo_indexer.go Add owner_name column for table repository for maintaince reason ()
repo_issue.go Add EnableTimetracking option to app settings ()
repo_list.go Restricted users ()
repo_list_test.go [BugFix] Hide public repos owned by private orgs ()
repo_mirror.go Move some repository methods from models to modules/repository ()
repo_permission.go Restricted users ()
repo_permission_test.go fix bug when update owner team then visit team's repo return 404 ()
repo_redirect.go Move repoWorkPool outside rename/transfer repository ()
repo_redirect_test.go Move repoWorkPool outside rename/transfer repository ()
repo_sign.go Add require signed commit for protected branch ()
repo_test.go Move create/fork repository from models to modules/repository ()
repo_unit.go Add setting to set default and global disabled repository units. ()
repo_watch.go Batch hook pre- and post-receive calls ()
repo_watch_test.go Auto-subscribe user to repository when they commit/tag to it ()
review.go Mark PR reviews as stale at push and allow to dismiss stale approvals ()
review_test.go Branch protection: Possibility to not use whitelist but allow anyone with write access ()
ssh_key.go Fix SSH2 conditonal in key parsing code ()
ssh_key_test.go Fix SSH2 conditonal in key parsing code ()
star.go Ensure that sessions are passed into queries that could use the database to prevent deadlocks ()
star_test.go Fix tests code to prevent some runtime errors ()
task.go Move create/fork repository from models to modules/repository ()
test_fixtures.go Testing: Update postgres sequences ()
token.go Display ui time with customize time location ()
token_test.go Add golangci ()
topic.go Add API endpoint for accessing repo topics ()
topic_test.go Add API endpoint for accessing repo topics ()
twofactor.go Display ui time with customize time location ()
u2f.go Display ui time with customize time location ()
u2f_test.go Override xorm type mapping for U2F counter ()
unit.go Add setting to set default and global disabled repository units. ()
unit_tests.go Upgrade xorm to v0.8.0 ()
update.go Move push commits from models to modules/repository ()
upload.go Use gitea forked macaron ()
user.go Add option to prevent LDAP from deactivating everything on empty search ()
user_follow.go Refactor session close as xorm already does everything needed internally ()
user_follow_test.go Move user_follow to separate file ()
user_heatmap.go Move database settings from models to setting ()
user_heatmap_test.go Restricted users ()
user_mail.go Add golangci ()
user_mail_test.go Fix tests code to prevent some runtime errors ()
user_openid.go Fix SQL quoting ()
user_openid_test.go Add golangci ()
user_test.go Restricted users ()
userlist.go Add API for Issue set Subscription ()
userlist_test.go Team permission to create repository in organization ()
webhook.go Move more webhook codes from models to webhook module ()
webhook_test.go Move more webhook codes from models to webhook module ()
wiki.go Add owner_name column for table repository for maintaince reason ()
wiki_test.go Move wiki related funtions from models to services/wiki ()