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.
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>
4 years ago
..
branch Allow unauthenticated users to compare (#11240) 4 years ago
diff Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 4 years ago
editor Add Octicon SVG spritemap (#10107) 4 years ago
issue Fix bug about comment attachment (#11272) 4 years ago
pulls Add missing commit states to PR checks template (#11085) 4 years ago
release Add single release page and latest redirect (#11102) 4 years ago
settings Split some words from template to improve translation. (#11221) 4 years ago
wiki Remove last traces of has-emoji class (#11263) 4 years ago
activity.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
blame.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
branch_dropdown.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
commit_page.tmpl Support unicode emojis and remove emojify.js (#11032) 4 years ago
commit_status.tmpl UI: Fix overflow issues in repo (#7190) 5 years ago
commits.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
commits_list.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
commits_table.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
create.tmpl Fix creation of Organization repos by Users with max created personal repos (#11183) 4 years ago
empty.tmpl Option to set default branch at repository creation (#10803) 4 years ago
forks.tmpl #3348 always use relative avatar link in the template 8 years ago
graph.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
header.tmpl Fix forked repo has no icon and language stat. (#10791) 4 years ago
home.tmpl Allow unauthenticated users to compare (#11240) 4 years ago
migrate.tmpl Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 5 years ago
migrating.tmpl [assets] configurable URL for static resources (#7911) 5 years ago
search.tmpl ui: fix status label on branches list vertical alignment (#11109) 4 years ago
sub_menu.tmpl Tweak language stats bar (#10487) 4 years ago
user_cards.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
view_file.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
view_list.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
watchers.tmpl #1692 APIs: Users Followers 9 years ago