forgejo/models/repo
George Bartolomey 13ca6c14f1
feat: allow changing default branch update style
This commit allows chaning default branch update style through global
and repository settings. The setting affects "Update branch" button
in PR view (button shows when some commits are ahead of master branch).
When default update style is set to "rebase", dropdown button updates branch
by rebase by default. When update style is set to other value, dropdown button
updates branch by merge. Any of these actions may be selected using dropdown
in any case.

Signed-off-by: George Bartolomey <george@bh4.ru>
2024-12-23 18:55:25 +03:00
..
TestSearchRepositoryIDsByCondition fix: anomynous users code search for private/limited user's repository 2024-11-15 10:59:36 +01:00
archive_download_count.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
archive_download_count_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
archiver.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
attachment.go Implement external assets 2024-07-29 20:35:55 +02:00
attachment_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
avatar.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
collaboration.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
collaboration_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
following_repo.go ui for adding following repos 2024-05-24 13:28:15 +02:00
following_repo_test.go ui for adding following repos 2024-05-24 13:28:15 +02:00
fork.go fix: don't show private forks in forks list 2024-11-15 10:59:36 +01:00
fork_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
git.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
issue.go Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
language_stats.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
main_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
mirror.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
pushmirror.go [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
pushmirror_test.go [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
redirect.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
redirect_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
release.go Trim title before insert/update to database to match the size requirements of database (#32498) 2024-11-17 12:18:56 +01:00
release_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo.go Make GetRepositoryByName more safer (#31712) 2024-08-04 10:14:34 +02:00
repo_flags.go [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
repo_flags_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_indexer.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
repo_list.go fix: anomynous users code search for private/limited user's repository 2024-11-15 10:59:36 +01:00
repo_list_test.go fix: anomynous users code search for private/limited user's repository 2024-11-15 10:59:36 +01:00
repo_repository.go ui for adding following repos 2024-05-24 13:28:15 +02:00
repo_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
repo_unit.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
repo_unit_test.go feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
search.go fix: Add recentupdated as recognized sort option 2024-10-19 23:53:29 +02:00
star.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
star_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
topic.go [GITEA] Fix the topic search paging 2024-02-05 16:09:43 +01:00
topic_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
update.go Move some repository transfer functions to service layer (#28855) 2024-02-05 06:17:23 +00:00
upload.go Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
user_repo.go Only query team tables if repository is under org when getting assignees (#32414) 2024-11-16 14:57:11 +01:00
user_repo_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
watch.go [MODERATION] Refactor excluding watchers mechanism (squash) 2024-02-05 15:56:58 +01:00
watch_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
wiki.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
wiki_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00