forgejo/routers/api/v1
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
..
activitypub fix: use ValidateEmail as binding across web forms 2024-08-28 22:25:17 -06:00
admin fix: use ValidateEmail as binding across web forms 2024-08-28 22:25:17 -06:00
misc feat: Add partial quoting 2024-10-26 19:15:43 +02:00
notify drop log.Error in ReadRepoNotifications 2024-03-24 07:12:31 +01:00
org Calculate PublicOnly for org membership only once (#32234) 2024-11-17 21:57:34 +01:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
repo fmt 2024-11-16 18:12:40 +01:00
settings Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
shared feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
swagger feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
user refactor: remove redundant err declarations (#32381) 2024-11-05 09:33:15 +01:00
utils Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
api.go [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00