0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 17:04:12 -05:00
forgejo/routers/web
Gusted f779aa79f2
[BUG] Fix pull request reopen conditions
- Move the conditions code around, such that the existence of the head
and base is first checked (so a clear error can be given, instead of a
possible server error). This makes it easier to read this code. As the
logic is now grouped together.
- Adds integration testing that simulates the deletion of the base and
head branch and ensures the pull request cannot be opened. The 'normal'
testcase also 'informally' ensures that the previous incorrect condition
is not there, because the branch `base-branch` doesn't exist on the head
repository.
- Resolves #2321
2024-02-17 15:38:16 +01:00
..
admin Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
auth Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
devtest
events
explore Allow to set explore page default sort (#27951) 2023-11-09 10:11:45 +00:00
feed Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
healthcheck [BRANDING] cosmetic s/Gitea/Forgejo/ in logs, messages, etc. 2024-02-05 16:02:14 +01:00
misc [API] Forgejo API /api/forgejo/v1 2024-02-05 14:44:32 +01:00
org Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
repo [BUG] Fix pull request reopen conditions 2024-02-17 15:38:16 +01:00
shared Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
user Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
base.go Fix panic in storageHandler (#27446) 2023-10-06 13:23:14 +00:00
githttp.go Add support for sha256 repositories (#23894) 2024-01-19 17:05:02 +01:00
goget.go
home.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
metrics.go
nodeinfo.go
swagger_json.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
web.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
webfinger.go