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/modules
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
..
analyze
auth
avatar
base
cache
charset
context api.Context.NotFound(...) should tolerate nil (#11288) 2020-05-05 21:52:13 +03:00
convert API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
cron
emoji
eventsource Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
generate
git Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 2020-05-12 08:52:46 +03:00
gitgraph
graceful
highlight
httplib
indexer
lfs Support Range header end in lfs (#11314) 2020-05-11 11:37:59 +03:00
log
markup Prevent 500 with badly formed task list (#11328) 2020-05-11 00:14:49 +01:00
metrics
migrations Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
notification Add NotifySyncPushCommits to indexer notifier (#11309) 2020-05-08 15:58:40 +01:00
options
password
pprof
private
process
public
queue Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
recaptcha
references
repofiles
repository
secret
session
setting Move LFS directory creation out of NewContext (#11362) 2020-05-10 16:30:46 +03:00
ssh
structs API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
sync
task
templates Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
test
timeutil
upload
user
util Prevent timer leaks in Workerpool and others (#11333) 2020-05-08 16:46:05 +01:00
validation
webhook