0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 23:15:57 +01:00
gitea/routers
赵智超 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
..
admin Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
api/v1 Make API EditIssue and EditPullRequest issue notifications (#11123) 2020-05-17 00:05:19 +03:00
dev
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org
private
repo Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
routes Support view individual commit for wiki pages (#11415) 2020-05-16 19:38:40 +03:00
user Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 2020-05-17 15:43:29 +03:00
utils
home.go Ensure public repositories in private organizations are visible and fix admin organizations list (#11465) 2020-05-18 00:27:54 +01:00
init.go Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
install.go Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 2020-05-17 15:43:29 +03:00
metrics.go
swagger_json.go