gitea/models
Job 30b13942f0
Give organisation members access to organisation feeds (#33508)
Currently the organisation feed only includes items for public
repositories (for non-administrators). This pull requests adds
notifications from private repositories to the organisation-feed (for
accounts that have access to the organisation).

Feed-items only get shown for repositories where the users team(s)
should have access to, this filtering seems to get done by some existing
code.

Needs some tests, but am unsure where/how to add them.

Before:

![image](https://github.com/user-attachments/assets/8b63f430-227a-4b19-ad1a-f6f5175de301)

After:

![image](https://github.com/user-attachments/assets/b439ce0e-4946-421c-a399-421806c7a6d8)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-03-15 17:49:06 +00:00
..
actions Feature: Ephemeral action runners (#33570) 2025-03-14 12:27:24 -07:00
activities Move notifywatch to service layer (#33825) 2025-03-10 00:54:25 +00:00
admin Fix omitempty bug (#33663) 2025-02-20 12:39:21 -08:00
asymkey Refactor error system (#33771) 2025-03-03 05:36:10 +00:00
auth Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
db Improve log format (#33814) 2025-03-08 21:47:11 +08:00
dbfs Enable `unparam` linter (#31277) 2024-06-11 18:47:45 +00:00
fixtures Move issue pin to an standalone table for querying performance (#33452) 2025-02-17 11:28:37 -08:00
git Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +00:00
issues Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779) 2025-03-04 18:25:20 +00:00
migrations Feature: Ephemeral action runners (#33570) 2025-03-14 12:27:24 -07:00
organization Decouple context from repository related structs (#33823) 2025-03-08 13:12:46 -08:00
packages Add composor source field (#33502) 2025-02-28 16:29:21 +00:00
perm Fix PR web route permission check (#33636) 2025-02-19 00:55:19 +00:00
project Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779) 2025-03-04 18:25:20 +00:00
pull Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
renderhelper Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
repo Decouple context from repository related structs (#33823) 2025-03-08 13:12:46 -08:00
secret Add migrations and doctor fixes (#33556) 2025-03-02 21:01:28 -08:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
system chore: fix some trivial problems and TODOs (#33473) 2025-02-02 18:16:56 +00:00
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 2024-11-11 00:11:00 +00:00
unittest Give organisation members access to organisation feeds (#33508) 2025-03-15 17:49:06 +00:00
user Add file tree to file view page (#32721) 2025-03-15 16:26:49 +08:00
webhook Add workflow_job webhook (#33694) 2025-03-11 10:40:38 -07:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
repo.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00
repo_test.go Fix issue comment number (#30556) 2024-12-30 14:35:46 -08:00