You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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>
4 years ago
..
admin Refactor Cron and merge dashboard tasks (#10745) 4 years ago
api/v1 Make API EditIssue and EditPullRequest issue notifications (#11123) 4 years ago
dev Display ui time with customize time location (#7792) 5 years ago
events Add EventSource support (#11235) 4 years ago
org Add Organization Wide Labels (#10814) 4 years ago
private Protect default branch against deletion (#11115) 4 years ago
repo Add push commits history comment on PR time-line (#11167) 4 years ago
routes Support view individual commit for wiki pages (#11415) 4 years ago
user Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 4 years ago
utils Handle push rejection message in Merge & Web Editor (#10373) 4 years ago
home.go Ensure public repositories in private organizations are visible and fix admin organizations list (#11465) 4 years ago
init.go Refactor Cron and merge dashboard tasks (#10745) 4 years ago
install.go Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 4 years ago
metrics.go Use gitea forked macaron (#7933) 5 years ago
swagger_json.go Add gitea-vet (#10948) 4 years ago