Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
forgejo/routers/repo
Mario Lubenka 311ce2d1d0 Compare branches, commits and tags with each other (#6991)
* Supports tags when comparing commits or branches

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Hide headline when only comparing and don't load unused data

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Merges compare logics to allow comparing branches, commits and tags with eachother

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Display branch or tag instead of commit when used for comparing

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show pull request form after click on button

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Transfers relevant pull.go changes from master to compare.go

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Fixes error when comparing forks against a commit or tag

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Removes console.log from JavaScript file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Show icon next to commit reference when comparing branch or tag

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Updates css file

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Fixes import order

* Renames template variable

* Update routers/repo/compare.go

Co-Authored-By: zeripath <art27@cantab.net>

* Update from master

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Allow short-shas in compare

* Renames prInfo to compareInfo

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Check PR permissions only if compare is pull request

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adjusts comment

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Use compareInfo instead of prInfo
2019-06-07 16:29:29 -04:00
..
activity.go Git statistics in Activity tab (#4724) 2019-05-04 15:39:03 +03:00
attachment.go fix upload attachments (#6481) 2019-04-02 15:25:05 -04:00
blame.go fix syntax highlight in blame view #6895 (#6909) 2019-05-11 23:27:39 +03:00
branch.go Remove local clones & make hooks run on merge/edit/upload (#6672) 2019-05-11 11:29:17 -04:00
commit.go Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
compare.go Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
download.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
editor.go Fix reversion caused by 6314 (#6685) 2019-04-20 08:59:34 +01:00
editor_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
http.go Move serv hook functionality & drop GitLogger (#6993) 2019-06-01 23:00:21 +08:00
issue.go Add state param to milestone listing API (#7131) 2019-06-06 08:37:45 +08:00
issue_dependency.go Added dependencies for issues (#2196) (#2531) 2018-07-17 17:23:58 -04:00
issue_label.go Allow labels to contain emoji (#6063) 2019-02-16 19:33:09 +02:00
issue_label_test.go fix go vet error (#3740) 2018-03-30 07:21:27 +08:00
issue_lock.go Implement "conversation lock" for issue comments (#5073) 2019-02-18 22:55:04 +02:00
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 2019-02-05 13:38:11 +02:00
issue_timetrack.go Handle refactor (#3339) 2018-01-10 23:34:17 +02:00
issue_watch.go Trace Logging on Permission Denied & ColorFormat (#6618) 2019-04-22 23:40:51 +03:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
middlewares.go move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
milestone.go Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
pull.go Compare branches, commits and tags with each other (#6991) 2019-06-07 16:29:29 -04:00
pull_review.go Add comment replies (#5104) 2018-10-22 16:13:35 -04:00
release.go Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
release_test.go Fix missing branch in release bug (#3108) 2017-12-08 13:22:02 +08:00
repo.go Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 2019-05-07 09:12:51 +08:00
search.go Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
setting.go Validate External Tracker URL Format (#7089) 2019-05-31 10:21:15 +01:00
setting_protected_branch.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00
settings_test.go An inactive user shouldn't be able to be added as a collaborator (#4535) 2018-08-07 13:01:06 +03:00
topic.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
view.go Fix org visibility bug when git cloning (#6743) 2019-04-25 21:59:10 +03:00
webhook.go Webhook Logs show proper HTTP Method, and allow change HTTP method in form (#6953) 2019-05-15 20:01:53 +08:00
wiki.go Trace Logging on Permission Denied & ColorFormat (#6618) 2019-04-22 23:40:51 +03:00
wiki_test.go Improve listing performance by using go-git (#6478) 2019-04-19 20:17:27 +08:00