bench-forgejo/routers
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
..
admin Add option for administrator to reset user 2FA (#14243) 2021-01-05 14:54:48 +01:00
api/v1 Add MirrorInterval to the API (#14163) 2021-01-02 18:47:47 -05:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
private Check for 'main' as potential default branch name (#14193) 2020-12-30 15:46:26 +00:00
repo Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
routes Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
user Check permission for the appropriate unit type (#14261) 2021-01-06 07:07:58 +02:00
utils Return the full rejection message and errors in flash errors (#13221) 2020-10-20 19:50:10 -04:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
install.go migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
metrics.go Move metrics from macaron to chi (#13601) 2020-11-17 15:50:06 -05:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00