You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models
Zettat123 29637b03b2
Fix commits pushed with deploy keys not shown in dashboard (#24521)
Fix #21324

In the current logic, if the `Actor` user is not an admin user, all
activities from private organizations won't be shown even if the `Actor`
user is a member of the organization.

As mentioned in the issue, when using deploy key to make a commit and
push, the activity's `act_user_id` will be the id of the organization so
the activity won't be shown to non-admin users because the visibility of
the organization is private.

55a5717760/models/activities/action.go (L490-L503)

This PR improves this logic so the activities of private organizations
can be shown.
2 years ago
..
actions Support upload `outputs` and use `needs` context on Actions (#24230) 2 years ago
activities Fix commits pushed with deploy keys not shown in dashboard (#24521) 2 years ago
admin
asymkey Merge setting.InitXXX into one function with options (#24389) 2 years ago
auth Fix 500 error if there is a name conflict when edit authentication source (#23832) 2 years ago
avatars Avoid warning for system setting when start up (#23054) 2 years ago
db Improve milestone filter on issues page (#22423) 2 years ago
dbfs Merge setting.InitXXX into one function with options (#24389) 2 years ago
fixtures fix: release page for empty or non-existing target (#24470) 2 years ago
git Use more specific test methods (#24265) 2 years ago
issues Refresh the refernce of the closed PR when reopening (#24231) 2 years ago
migrations Rewrite queue (#24505) 2 years ago
organization Add owner team permission check test (#24096) 2 years ago
packages Add RPM registry (#23380) 2 years ago
perm Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
project Improve GetBoards and getDefaultBoard (#22981) 2 years ago
pull
repo fix: release page for empty or non-existing target (#24470) 2 years ago
secret
system Avoid warning for system setting when start up (#23054) 2 years ago
unit Require at least one unit to be enabled (#24189) 2 years ago
unittest Rewrite queue (#24505) 2 years ago
user Add Debian package registry (#24426) 2 years ago
webhook Fix incorrect webhook time and use relative-time to display it (#24477) 2 years ago
error.go
fixture_generation.go
fixture_test.go
main_test.go Merge setting.InitXXX into one function with options (#24389) 2 years ago
migrate.go
migrate_test.go
org.go
org_team.go Remove org users who belong to no teams (#24247) 2 years ago
org_team_test.go
org_test.go
repo.go Split "modules/context.go" to separate files (#24569) 2 years ago
repo_collaboration.go
repo_collaboration_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
repo_test.go
repo_transfer.go Fix unclear `IsRepositoryExist` logic (#24374) 2 years ago
repo_transfer_test.go