forgejo/templates/repo
zeripath 0198bbedc1
Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327)
* Allow compare page to look up base, head, own-fork, forkbase-of-head

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @guillep2k

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update routers/repo/compare.go

* as per @guillep2k

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Rationalise the names a little

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Rationalise the names a little (2)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix 500 with fork of fork

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Prevent 500 on compare different trees

Signed-off-by: Andrew Thornton <art27@cantab.net>

* dotdotdot is perfectly valid in both usernames and repo names

Signed-off-by: Andrew Thornton <art27@cantab.net>

* ensure we can set the head and base repos too

Signed-off-by: Andrew Thornton <art27@cantab.net>

* ensure we can set the head and base repos too (2)

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* only set headRepo == baseRepo if isSameRepo

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-05-12 08:52:46 +03:00
..
branch Allow unauthenticated users to compare (#11240) 2020-05-04 19:44:30 -03:00
diff Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 2020-05-12 08:52:46 +03:00
editor
issue Fix bug about comment attachment (#11272) 2020-05-02 15:03:47 +01:00
pulls Add missing commit states to PR checks template (#11085) 2020-04-16 14:08:20 -05:00
release Add single release page and latest redirect (#11102) 2020-04-18 11:47:15 -03:00
settings Split some words from template to improve translation. (#11221) 2020-05-08 13:39:17 +01:00
wiki Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
activity.tmpl Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
blame.tmpl Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
branch_dropdown.tmpl
commit_page.tmpl Support unicode emojis and remove emojify.js (#11032) 2020-04-28 15:05:39 -03:00
commit_status.tmpl
commits.tmpl
commits_list.tmpl Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
commits_table.tmpl
create.tmpl Fix creation of Organization repos by Users with max created personal repos (#11183) 2020-04-30 16:11:56 +01:00
empty.tmpl
forks.tmpl
graph.tmpl Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
header.tmpl
home.tmpl Allow unauthenticated users to compare (#11240) 2020-05-04 19:44:30 -03:00
migrate.tmpl
migrating.tmpl
search.tmpl ui: fix status label on branches list vertical alignment (#11109) 2020-04-17 12:35:12 -04:00
sub_menu.tmpl
user_cards.tmpl
view_file.tmpl Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
view_list.tmpl Remove last traces of has-emoji class (#11263) 2020-05-01 20:58:45 +03:00
watchers.tmpl