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.
gitea/routers/repo
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784)
* add Divergence

* add Update Button

* first working version

* re-use code

* split raw merge commands and db-change functions (notify, cache, ...)

* use rawMerge (remove redundant code)

* own function to get Diverging of PRs

* use FlashError

* correct Error Msg

* hook is triggerd ... so remove comment

* add "branch2" to "user2/repo1" because it unit-test "TestPullView_ReviewerMissed" use it but dont exist jet :/

* move GetPerm to IsUserAllowedToUpdate

* add Flash Success MSG

* imprufe code
- remove useless js chage

* fix-lint

* TEST: add PullRequest ID:5
Repo: user2/repo1
Base: branch1
Head: pr-to-update

* correct comments

* make PR5 outdated

* fix Tests

* WIP: add pull update test

* update revs

* update locales

* working TEST

* update UI

* misspell

* change style

* add 1s delay so rev exist

* move row up (before merge row)

* fix lint nit

* UI remove divider

* Update style

* nits

* do it right

* introduce IsSameRepo

* remove useless check

Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
..
activity.go Add additional periods to activity page (#8829) 5 years ago
attachment.go Only serve attachments when linked to issue/release and if accessible by user (#9340) 5 years ago
blame.go Respect LFS File Lock on UI (#8719) 5 years ago
branch.go Move newbranch to standalone package (#9627) 5 years ago
commit.go enable lazy-loading of gitgraph.js (#9036) 5 years ago
compare.go Fix compare (#9808) 5 years ago
download.go Add missed close in ServeBlobLFS (#8527) 5 years ago
editor.go Add require signed commit for protected branch (#9708) 5 years ago
editor_test.go Add Close() method to gogitRepository (#8901) 5 years ago
http.go Fix push-to-create (#9772) 5 years ago
issue.go Remove unnecessary permissions load (#9796) 5 years ago
issue_dependency.go adding calls to issue.LoadRepo() prior to calling issue.HTMLURL() (#9484) 5 years ago
issue_label.go Move create/fork repository from models to modules/repository (#9489) 5 years ago
issue_label_test.go fix go vet error (#3740) 7 years ago
issue_lock.go Implement "conversation lock" for issue comments (#5073) 6 years ago
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 6 years ago
issue_timetrack.go [API] Extend times API (#9200) 5 years ago
issue_watch.go Fix PR/issue redirects when having external tracker (#9339) 5 years ago
lfs.go Make repository management section handle lfs locks (#8726) 5 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go fix wrong system notice when repository is empty (#9010) 5 years ago
milestone.go Remove unnecessary permissions load (#9796) 5 years ago
pull.go Add "Update Branch" button to Pull Requests (#9784) 5 years ago
pull_review.go Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 5 years ago
release.go Extract actions on deletereleasebyid from models to release service (#8219) 5 years ago
release_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo.go Fix wrong original git service type on a migrated repository (#9693) 5 years ago
search.go Refactor code indexer (#9313) 5 years ago
setting.go Fix #9662 (#9767) 5 years ago
setting_protected_branch.go Add require signed commit for protected branch (#9708) 5 years ago
settings_test.go Stop various tests from adding to the source tree (#9515) 5 years ago
topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
view.go Respect LFS File Lock on UI (#8719) 5 years ago
webhook.go Move more webhook codes from models to webhook module (#8802) 5 years ago
wiki.go Move wiki related funtions from models to services/wiki (#9355) 5 years ago
wiki_test.go Move wiki related funtions from models to services/wiki (#9355) 5 years ago