forgejo/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 Load Repo Topics on blame view (#11307) 2020-05-05 22:51:49 +01:00
branch.go Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
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.go Switch code editor to Monaco (#11366) 2020-05-14 19:06:01 +03:00
editor_test.go
http.go
issue.go Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go
main_test.go
middlewares.go
milestone.go Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
pull.go
pull_review.go
release.go
release_test.go
repo.go Fix orgs not being displayed on create repo form (#11279) 2020-05-03 18:08:24 -03:00
search.go
setting.go
setting_protected_branch.go
settings_test.go
topic.go
view.go Load Repo Topics on blame view (#11307) 2020-05-05 22:51:49 +01:00
webhook.go Fix webhook template when validation errors occur (#11421) 2020-05-15 22:02:46 +03:00
wiki.go Support view individual commit for wiki pages (#11415) 2020-05-16 19:38:40 +03:00
wiki_test.go