forgejo/routers
Gergely Nagy a29f10661d
Rework when recently pushed branches are displayed
With this change, the "You pushed on branch xyz" banner will be
displayed when either the viewed repository or its base repo (if the
current one's a fork) has pull requests enabled. Previously it only
displayed if the viewed repo had PRs enabled.

Furthermore, if the viewed repository is an original repository that the
viewing user has a fork of, if the forked repository has recently pushed
branches, then the banner will appear for the original repository too.
In this case, the notification will include branches from the viewing
user's fork, and branches they pushed to the base repo, too.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-01-21 23:13:15 +01:00
..
api [GITEA] Adjust name of operation 2024-01-20 22:33:36 +01:00
common Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
install [GITEA] Add password length check on install page 2024-01-15 16:11:57 +00:00
private [CLI] implement forgejo-cli 2024-01-15 13:26:55 +00:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Rework when recently pushed branches are displayed 2024-01-21 23:13:15 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2024-01-15 14:48:03 +00:00