mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-19 13:54:35 +01:00
There's a bug in #25715: If user pushed a commit into another repo with same branch name, the no-related repo will display the recently pushed notification incorrectly. It is simple to fix this, we should match the repo id in the sql query.  The latest commit is 2 weeks ago.  The notification comes from another repo with same branch name:  After: In forked repo:  New PR Link will redirect to the original repo:  In the original repo:  New PR Link:  In the same repo:  New PR Link:  08/15 Update: Follow #26257, added permission check and logic fix mentioned in https://github.com/go-gitea/gitea/pull/26257#discussion_r1294085203 2024/04/25 Update: Fix #30611 --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
162 lines
1.2 KiB
YAML
162 lines
1.2 KiB
YAML
-
|
|
id: 1
|
|
org_id: 3
|
|
team_id: 1
|
|
uid: 2
|
|
|
|
-
|
|
id: 2
|
|
org_id: 3
|
|
team_id: 2
|
|
uid: 2
|
|
|
|
-
|
|
id: 3
|
|
org_id: 3
|
|
team_id: 2
|
|
uid: 4
|
|
|
|
-
|
|
id: 4
|
|
org_id: 6
|
|
team_id: 3
|
|
uid: 5
|
|
|
|
-
|
|
id: 5
|
|
org_id: 7
|
|
team_id: 4
|
|
uid: 5
|
|
|
|
-
|
|
id: 6
|
|
org_id: 17
|
|
team_id: 5
|
|
uid: 15
|
|
|
|
-
|
|
id: 7
|
|
org_id: 17
|
|
team_id: 5
|
|
uid: 18
|
|
|
|
-
|
|
id: 8
|
|
org_id: 19
|
|
team_id: 6
|
|
uid: 20
|
|
|
|
-
|
|
id: 9
|
|
org_id: 3
|
|
team_id: 7
|
|
uid: 15
|
|
|
|
-
|
|
id: 10
|
|
org_id: 17
|
|
team_id: 8
|
|
uid: 2
|
|
|
|
-
|
|
id: 11
|
|
org_id: 17
|
|
team_id: 9
|
|
uid: 20
|
|
|
|
-
|
|
id: 12
|
|
org_id: 25
|
|
team_id: 10
|
|
uid: 24
|
|
|
|
-
|
|
id: 13
|
|
org_id: 3
|
|
team_id: 12
|
|
uid: 28
|
|
|
|
-
|
|
id: 14
|
|
org_id: 6
|
|
team_id: 13
|
|
uid: 28
|
|
|
|
-
|
|
id: 15
|
|
org_id: 17
|
|
team_id: 9
|
|
uid: 29
|
|
|
|
-
|
|
id: 16
|
|
org_id: 19
|
|
team_id: 6
|
|
uid: 31
|
|
|
|
-
|
|
id: 17
|
|
org_id: 3
|
|
team_id: 14
|
|
uid: 2
|
|
|
|
-
|
|
id: 18
|
|
org_id: 23
|
|
team_id: 17
|
|
uid: 5
|
|
|
|
-
|
|
id: 19
|
|
org_id: 35
|
|
team_id: 18
|
|
uid: 1
|
|
|
|
-
|
|
id: 20
|
|
org_id: 36
|
|
team_id: 19
|
|
uid: 1
|
|
|
|
-
|
|
id: 21
|
|
org_id: 36
|
|
team_id: 20
|
|
uid: 5
|
|
|
|
-
|
|
id: 22
|
|
org_id: 17
|
|
team_id: 9
|
|
uid: 15
|
|
|
|
-
|
|
id: 23
|
|
org_id: 41
|
|
team_id: 21
|
|
uid: 40
|
|
|
|
-
|
|
id: 24
|
|
org_id: 41
|
|
team_id: 22
|
|
uid: 38
|
|
|
|
-
|
|
id: 25
|
|
org_id: 41
|
|
team_id: 22
|
|
uid: 39
|
|
|
|
-
|
|
id: 26
|
|
org_id: 25
|
|
team_id: 23
|
|
uid: 12
|
|
|
|
-
|
|
id: 27
|
|
org_id: 35
|
|
team_id: 24
|
|
uid: 2
|