-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix wrong display of recently pushed notification #25812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lunny
merged 122 commits into
go-gitea:main
from
yp05327:fix-incorrect-recently-pushed-new-branches-check
May 21, 2024
Merged
Changes from all commits
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
c8f707b
fix
yp05327 b3e3b73
support show notification in origin repo
yp05327 df97530
support show notification in forked repo
yp05327 266d07f
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 71dd740
avoid attach already created pr branch
yp05327 2b0abf9
use branch.id instead of branch.name
yp05327 4c11682
allow forked repo from forked repo
yp05327 54f4fd5
improve TODO
yp05327 172ceeb
fix lint
yp05327 bc176bb
improve
yp05327 d3f72aa
remove PathEscapeSegments
yp05327 e74709e
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 d93b2bc
use findbranch to search branch
yp05327 5c3f7aa
add test 1
yp05327 c704332
fix
yp05327 a7fc279
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 69b7624
fix bug
yp05327 0bfec1a
add test
yp05327 f729517
use searchrepo
yp05327 1ecb6fb
fix org_user
yp05327 f06e091
fix test
yp05327 d848876
fix repo size
yp05327 5449bc1
fix TestSearchUsers
yp05327 63562c3
fix TestSearchRepository
yp05327 4d42a63
fix TestFindOrgs
yp05327 e263227
fix TestFixtureGeneration
yp05327 17876b4
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 6517ad9
fix
yp05327 9a33437
improve
yp05327 4de1b05
revert RepoIDs
yp05327 94025ef
improve
yp05327 274e5ab
fix test
yp05327 f9b4085
fix test
yp05327 86892d4
fix tests
yp05327 66071ac
remove test code
yp05327 d60c758
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 76f472d
move ListOptions
yp05327 b57883c
improve
yp05327 a583c64
fix test
yp05327 3b6ff9b
improve test
yp05327 5cf3d9e
fix TestIssue_DeleteIssue
yp05327 64ece1c
fix TestTeam_AddRepository
yp05327 fb3afac
fix TestSearchIssues
yp05327 9a9dd06
improve test
yp05327 dcc91fb
fix
yp05327 4df1529
fix conflicts
yp05327 7559311
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 8e96323
fix test
yp05327 08b0159
fix test
yp05327 d7cb37c
improve
yp05327 aa2b8c4
fix conflicts
yp05327 5bfa11b
follow 26257
yp05327 a641d84
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 2e93f87
follow 26257
yp05327 6248701
add permission check
yp05327 bb53d57
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 44c80ae
remove unnecessary file
yp05327 60fd886
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 38f4b66
remove test repo meta data
yp05327 330c3f8
rewrite test
yp05327 8f3d5c9
fix
yp05327 e79c8e0
fix ci
yp05327 34734c2
fix comment
yp05327 7fa0362
remove ignore no repo error
yp05327 a2425ce
Update models/git/branch.go
yp05327 2549c33
Update models/git/branch.go
yp05327 2b677fc
Update models/git/branch.go
yp05327 2d53287
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 bff0db2
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 3d98673
fix api user orgs test
yp05327 e44cec4
fix indexer test
yp05327 3922011
fix lint
yp05327 b3d6bed
fix lint
yp05327 4bd9cdb
Update models/git/branch.go
yp05327 6f5f65e
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 2e860ed
fix fixture
yp05327 58dbb67
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 ba4406f
use db.Find instead of FindBranch
yp05327 01088a9
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 66f9676
fix conflict
yp05327 5af46f7
fix
yp05327 17ad1f6
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 7b06c46
fix
yp05327 c4386f0
fix
yp05327 eed8b07
fix
yp05327 263a443
fix test
yp05327 a8a5de2
fix test
yp05327 58147c1
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 ed19b8b
use container.FilterSlice
yp05327 c397f08
improve
yp05327 7031377
fix
yp05327 43495eb
improve
yp05327 f178450
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 db0bfbb
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 67ce9ca
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
lunny 0596a13
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 fb7abfe
fix misspelling
yp05327 3798d95
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 3a96038
pre auto generate test data
yp05327 b65bad0
remove unused fixture
yp05327 b1a5d9e
fix tests
yp05327 1263116
improve test
yp05327 7323322
create pr should have write permission
yp05327 1f7b93c
fix lint
yp05327 41a2bb2
fix tests
yp05327 d99cf1a
revert permission change
yp05327 71556ed
fix test
yp05327 9fb523c
fix access
yp05327 c6edde1
when doer is nil, return empty branch
yp05327 4ed9e41
fix test
yp05327 b1346d5
use api to create collaborator
yp05327 0d589f4
fix id in access.yml
yp05327 d13e559
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
yp05327 4175d64
fix lint
yp05327 484b334
improve
yp05327 9fcb6b7
fix
yp05327 8cea058
improve
yp05327 8929a16
Update models/git/branch_list.go
wxiaoguang 3152655
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
lunny cd0a5cd
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
GiteaBot f1b17d0
Fix test
lunny 6e85adb
Merge branch 'main' into fix-incorrect-recently-pushed-new-branches-c…
GiteaBot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,35 @@ | ||
- | ||
group_id: 1 | ||
max_index: 5 | ||
|
||
- | ||
group_id: 2 | ||
max_index: 2 | ||
|
||
- | ||
group_id: 3 | ||
max_index: 2 | ||
|
||
- | ||
group_id: 10 | ||
max_index: 1 | ||
|
||
- | ||
group_id: 32 | ||
max_index: 2 | ||
|
||
- | ||
group_id: 48 | ||
max_index: 1 | ||
|
||
- | ||
group_id: 42 | ||
max_index: 1 | ||
|
||
- | ||
group_id: 50 | ||
max_index: 1 | ||
|
||
- | ||
group_id: 51 | ||
max_index: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.