gitea/routers/repo
赵智超 0903b1ac8c
Add push commits history comment on PR time-line (#11167)
* Add push commits history comment on PR time-line
* Add notify by email and ui of this comment type also

Signed-off-by: a1012112796 <1012112796@qq.com>

* Add migrations for IsForcePush
* fix wrong force-push judgement
* Apply suggestions from code review
* Remove commit number check
* add own notify fun
* fix some typo

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>

* fix lint

* fix style again, I forgot something before

* Change email notify way

* fix api

* add number check if It's force-push

* Add repo commit link fuction
remove unnecessary check
skip show push commits comment which not have commits alive

* Update issue_comment.go

* Apply suggestions from code review

Co-authored-by: mrsdizzie <info@mrsdizzie.com>

* Apply suggestions from code review

* fix ui view

Co-authored-by: silverwind <me@silverwind.io>

* fix height

* remove unnecessary style define

* simplify GetBranchName

* Apply suggestions from code review

* save commit ids and isForce push by json
* simplify GetBranchName

* fix bug

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
2020-05-20 09:47:24 -03:00
..
activity.go
attachment.go
blame.go
branch.go
commit.go Support view individual commit for wiki pages (#11415) 2020-05-16 19:38:40 +03:00
compare.go Check that the ctx.User is not nil before checking its ID (#11424) 2020-05-15 16:44:33 -04:00
download.go
editor_test.go
editor.go
http.go
issue_dependency.go
issue_label_test.go
issue_label.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
issue.go Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
lfs.go
main_test.go
middlewares.go
milestone.go
pull_review.go
pull.go
release_test.go
release.go
repo.go
search.go
setting_protected_branch.go
setting.go
settings_test.go
topic.go
view.go
webhook.go Fix webhook template when validation errors occur (#11421) 2020-05-15 22:02:46 +03:00
wiki_test.go
wiki.go Support view individual commit for wiki pages (#11415) 2020-05-16 19:38:40 +03:00