gitea/modules
赵智超 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
..
analyze
auth Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
avatar
base
cache
charset
context
convert Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
cron Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
emoji
eventsource
generate
git Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
gitgraph
graceful Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 2019-08-05 23:48:31 +08:00
httplib
indexer
lfs Support Range header end in lfs (#11314) 2020-05-11 11:37:59 +03:00
log
markup Prevent 500 with badly formed task list (#11328) 2020-05-11 00:14:49 +01:00
metrics
migrations Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
notification Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
options Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
password
pprof
private
process
public
queue Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
recaptcha
references
repofiles Revert "Avoid 0 new commits messages to be send (#11082)" (#11397) 2020-05-13 10:50:56 +03:00
repository Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
secret
session
setting Refactor Cron and merge dashboard tasks (#10745) 2020-05-16 19:31:38 -04:00
ssh
structs
sync
task
templates
test
timeutil
upload
user
util Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
validation
webhook Handle panics that percolate up to the graceful module (#11291) 2020-05-14 20:06:00 -04:00