1
0
Fork 0
forgejo/routers/repo
Jimmy Praet bcb7f35221
Do not reload page after adding comments in Pull Request reviews (#13877)
Fixed #8861 
* use ajax on PR review page

* handle review comments

* extract duplicate code

FetchCodeCommentsByLine was initially more or less copied from fetchCodeCommentsByReview. Now they both use a common findCodeComments function instead

* use the Engine that was passed into the method

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-01-08 23:49:55 +02:00
..
activity.go
attachment.go
blame.go Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
branch.go
commit.go Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
compare.go Fix label display on new issues (#13590) 2020-11-17 07:02:41 +02:00
download.go
editor.go
editor_test.go
http.go Log IP on SSH authentication failure for Built-in SSH server (#13150) 2020-12-08 18:54:33 +01:00
issue.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_test.go Refactor combine label comments with tests (#13619) 2020-11-20 17:29:09 -05:00
issue_timetrack.go
issue_watch.go
lfs.go Some code improvements (#14266) 2021-01-06 19:23:57 +00:00
main_test.go
middlewares.go
migrate.go Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
milestone.go
projects.go
pull.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
pull_review.go Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
release.go
release_test.go
repo.go
search.go
setting.go
setting_protected_branch.go Add block on official review requests branch protection (#13705) 2020-11-28 21:30:46 +02:00
settings_test.go
topic.go
view.go Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
webhook.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
wiki.go
wiki_test.go