1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-04 10:30:19 -05:00
forgejo/models/organization
6543 7751bb64cb
Calculate PublicOnly for org membership only once (#32234)
Refactoring of #32211

this move the PublicOnly() filter calcuation next to the DB querys and
let it be decided by the Doer

---
*Sponsored by Kithara Software GmbH*

(cherry picked from commit 43c252dfeaf9ab03c4db3e7ac5169bc0d69901ac)

Conflicts:
	models/organization/org_test.go
	models/organization/org_user_test.go
	routers/web/org/home.go

  rather simple conflict resolution but not trivial
  tests/integration/user_count_test.go had to be adapted (simple)
  because it does not exist in Gitea and uses the modified model
2024-11-17 21:57:34 +01:00
..
TestInconsistentOwnerTeam [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00
main_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
mini_org.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
org.go Calculate PublicOnly for org membership only once (#32234) 2024-11-17 21:57:34 +01:00
org_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
org_test.go Calculate PublicOnly for org membership only once (#32234) 2024-11-17 21:57:34 +01:00
org_user.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
org_user_test.go Calculate PublicOnly for org membership only once (#32234) 2024-11-17 21:57:34 +01:00
team.go [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00
team_invite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_invite_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
team_list.go Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
team_repo.go Use RepositoryList instead of []*Repository (#25074) 2023-06-05 15:25:47 +08:00
team_test.go [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00
team_unit.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
team_user.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00