You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models
zeripath e5d8e2d10c
Branches not at ref commit ID should not be listed as Merged (#9614)
Once a branch has been merged if the commit ID no longer equals that of
the pulls ref commit id don't offer to delete the branch on the pull screen
and don't list it as merged on branches.

Fix #9201

When looking at the pull page we should also get the commits from the refs/pulls/x/head

Fix #9158
5 years ago
..
fixtures Only serve attachments when linked to issue/release and if accessible by user (#9340) 5 years ago
migrations Add branch protection option to block merge on requested changes. (#9592) 5 years ago
access.go Recalculate repository access only for specific user (#8481) 5 years ago
access_test.go Fixed ineffectual assignments in tests (#7553) 5 years ago
action.go Add ActionCommentPull action (#9456) 5 years ago
action_list.go refactor: reduce sql query in retrieveFeeds (#3547) 6 years ago
action_test.go Move UpdateIssuesCommit from models to repofiles (#9276) 5 years ago
admin.go Use gitea forked macaron (#7933) 5 years ago
admin_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
attachment.go Only serve attachments when linked to issue/release and if accessible by user (#9340) 5 years ago
attachment_test.go Only serve attachments when linked to issue/release and if accessible by user (#9340) 5 years ago
branches.go Add branch protection option to block merge on requested changes. (#9592) 5 years ago
branches_test.go Add deleted_branch table fixture (#2832) 7 years ago
commit_status.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
commit_status_test.go api: fix multiple bugs with statuses endpoints (#7785) 5 years ago
consistency.go Auto-subscribe user to repository when they commit/tag to it (#7657) 5 years ago
context.go Move all mail related codes from models to services/mailer (#7200) 5 years ago
convert.go Move database settings from models to setting (#7806) 5 years ago
error.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 5 years ago
error_oauth2.go gofmt (#1662) 7 years ago
external_login_user.go Allow more than 255 characters for tokens in external_login_user table (#8554) 5 years ago
gpg_key.go Ensure default gpg settings not nil and found commits have reference to repo (#8604) 5 years ago
gpg_key_test.go Display ui time with customize time location (#7792) 5 years ago
helper.go Add reactions to issues/PR and comments (#2856) 7 years ago
helper_directory.go Remove SavePatch and generate patches on the fly (#9302) 5 years ago
helper_environment.go Properly enforce gitea environment for pushes (#9501) 5 years ago
issue.go make sure Poster is loaded (#9583) 5 years ago
issue_assignees.go remove unused method and rename createcommentWithNoAction (#9367) 5 years ago
issue_assignees_test.go Fix API Bug (fail on empty assignees) (#8873) 5 years ago
issue_comment.go [API] Extend times API (#9200) 5 years ago
issue_comment_list.go Add golangci (#6418) 5 years ago
issue_comment_test.go Pull request review/approval and comment on code (#3748) 6 years ago
issue_dependency.go Display ui time with customize time location (#7792) 5 years ago
issue_dependency_test.go Refactor comment (#9330) 5 years ago
issue_label.go remove unused method and rename createcommentWithNoAction (#9367) 5 years ago
issue_label_test.go Fix label count (#8267) 5 years ago
issue_list.go [API] Extend times API (#9200) 5 years ago
issue_list_test.go [API] Extend times API (#9200) 5 years ago
issue_lock.go remove unused method and rename createcommentWithNoAction (#9367) 5 years ago
issue_milestone.go [API] Extend times API (#9200) 5 years ago
issue_milestone_test.go [API] Extend times API (#9200) 5 years ago
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 5 years ago
issue_reaction_test.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 5 years ago
issue_stopwatch.go [API] extend StopWatch (#9196) 5 years ago
issue_stopwatch_test.go Display ui time with customize time location (#7792) 5 years ago
issue_test.go [API] Extend times API (#9200) 5 years ago
issue_tracked_time.go [API] Extend times API (#9200) 5 years ago
issue_tracked_time_test.go [API] Extend times API (#9200) 5 years ago
issue_user.go Mail assignee when issue/pull request is assigned (#8546) 5 years ago
issue_user_test.go Move all mail related codes from models to services/mailer (#7200) 5 years ago
issue_watch.go Fix Issue Unsubscription (#9634) 5 years ago
issue_watch_test.go Fix Issue Unsubscription (#9634) 5 years ago
issue_xref.go remove unused method and rename createcommentWithNoAction (#9367) 5 years ago
issue_xref_test.go Refactor comment (#9330) 5 years ago
lfs.go Add basic repository lfs management (#7199) 5 years ago
lfs_lock.go Make repository management section handle lfs locks (#8726) 5 years ago
log.go Fix error log when loading issues caused by a xorm bug (#7271) 5 years ago
login_source.go Add single sign-on support via SSPI on Windows (#8463) 5 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
migrate.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
models.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
models_test.go Move database settings from models to setting (#7806) 5 years ago
notification.go Fix notification page panic (#9337) 5 years ago
notification_test.go Improve notification (#8835) 5 years ago
oauth2.go migrate gplus to google oauth2 provider (#7885) 5 years ago
oauth2_application.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
oauth2_application_test.go OAuth2 Grant UI (#6625) 5 years ago
org.go Only show part of members on orgnization dashboard and add paging for orgnization members page (#9092) 5 years ago
org_team.go Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 5 years ago
org_team_test.go Add team option to grant rights for all organization repositories (#8688) 5 years ago
org_test.go Only show part of members on orgnization dashboard and add paging for orgnization members page (#9092) 5 years ago
pull.go Branches not at ref commit ID should not be listed as Merged (#9614) 5 years ago
pull_list.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
pull_sign.go Sign protected branches (#8993) 5 years ago
pull_test.go Move PushToBaseRepo from models to services/pull (#9352) 5 years ago
release.go Move some repository methods from models to modules/repository (#9353) 5 years ago
repo.go Properly enforce gitea environment for pushes (#9501) 5 years ago
repo_activity.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_branch.go Add Close() method to gogitRepository (#8901) 5 years ago
repo_collaboration.go Team permission to create repository in organization (#8312) 5 years ago
repo_collaboration_test.go Add teams to repo on collaboration page. (#8045) 5 years ago
repo_generate.go Properly enforce gitea environment for pushes (#9501) 5 years ago
repo_generate_test.go Variable expansion in repository templates (#9163) 5 years ago
repo_indexer.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
repo_issue.go Add EnableTimetracking option to app settings (#3719) 6 years ago
repo_list.go [BugFix] Hide public repos owned by private orgs (#9609) 5 years ago
repo_list_test.go [BugFix] Hide public repos owned by private orgs (#9609) 5 years ago
repo_mirror.go Move some repository methods from models to modules/repository (#9353) 5 years ago
repo_permission.go Fix access issues on milestone and issue overview pages. (#9603) 5 years ago
repo_permission_test.go fix bug when update owner team then visit team's repo return 404 (#6119) 5 years ago
repo_redirect.go Move repoWorkPool outside rename/transfer repository (#9086) 5 years ago
repo_redirect_test.go Move repoWorkPool outside rename/transfer repository (#9086) 5 years ago
repo_sign.go Sign protected branches (#8993) 5 years ago
repo_test.go Fix team links in HTML rendering (#9127) 5 years ago
repo_unit.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
repo_watch.go Batch hook pre- and post-receive calls (#8602) 5 years ago
repo_watch_test.go Auto-subscribe user to repository when they commit/tag to it (#7657) 5 years ago
review.go Provide Default messages for merges (#9393) 5 years ago
review_test.go Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 5 years ago
ssh_key.go Fix SSH2 conditonal in key parsing code (#8806) 5 years ago
ssh_key_test.go Fix SSH2 conditonal in key parsing code (#8806) 5 years ago
star.go Ensure that sessions are passed into queries that could use the database to prevent deadlocks (#5718) 6 years ago
star_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
task.go Hide given credentials for migrated repos. (#9097) 5 years ago
test_fixtures.go Testing: Update postgres sequences (#9304) 5 years ago
token.go Display ui time with customize time location (#7792) 5 years ago
token_test.go Add golangci (#6418) 5 years ago
topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
topic_test.go Add API endpoint for accessing repo topics (#7963) 5 years ago
twofactor.go Display ui time with customize time location (#7792) 5 years ago
u2f.go Display ui time with customize time location (#7792) 5 years ago
u2f_test.go Override xorm type mapping for U2F counter (#6232) 5 years ago
unit.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 5 years ago
unit_tests.go Upgrade xorm to v0.8.0 (#8536) 5 years ago
update.go Properly enforce gitea environment for pushes (#9501) 5 years ago
update_test.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 5 years ago
upload.go Use gitea forked macaron (#7933) 5 years ago
user.go Fix access issues on milestone and issue overview pages. (#9603) 5 years ago
user_follow.go Refactor session close as xorm already does everything needed internally (#2020) 7 years ago
user_follow_test.go Move user_follow to separate file (#1210) 7 years ago
user_heatmap.go Move database settings from models to setting (#7806) 5 years ago
user_heatmap_test.go Update heatmap fixtures to restore tests (#8615) 5 years ago
user_mail.go Add golangci (#6418) 5 years ago
user_mail_test.go Fix tests code to prevent some runtime errors (#2381) 7 years ago
user_openid.go Fix SQL quoting (#5117) 6 years ago
user_openid_test.go Add golangci (#6418) 5 years ago
user_test.go Team permission to create repository in organization (#8312) 5 years ago
userlist.go Add API for Issue set Subscription (#8729) 5 years ago
userlist_test.go Team permission to create repository in organization (#8312) 5 years ago
webhook.go Move more webhook codes from models to webhook module (#8802) 5 years ago
webhook_test.go Move more webhook codes from models to webhook module (#8802) 5 years ago
wiki.go Add Close() method to gogitRepository (#8901) 5 years ago
wiki_test.go Add Close() method to gogitRepository (#8901) 5 years ago