This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
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 Move dropzone.js to npm/webpack (#10645) 2020-03-07 21:06:15 +00:00
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 Prevent clones and pushes to disabled wiki (#11131) 2020-04-19 15:26:58 +01:00
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 Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
lfs.go Migrate to go-git/go-git v5.0.0 (#10735) 2020-03-17 12:19:58 -04:00
main_test.go
middlewares.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
milestone.go Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
pull.go Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
pull_review.go Add a way to mark Conversation (code comment) resolved (#11037) 2020-04-18 10:50:25 -03:00
release.go Add single release page and latest redirect (#11102) 2020-04-18 11:47:15 -03:00
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 Prevent merge of outdated PRs on protected branches (#11012) 2020-04-16 22:00:36 -03:00
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