jojo/models/activities
famfo 169ea1d991 fix(activitypub): only return public activities on request (#12382)
The endpoint returning individual activities was missing access control checks, since IDs are sequential, this is not ideal.

Fixes #12333

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12382
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-05-09 05:02:57 +02:00
..
fixtures/TestIsPrivate fix(activitypub): only return public activities on request (#12382) 2026-05-09 05:02:57 +02:00
action.go fix(activitypub): only return public activities on request (#12382) 2026-05-09 05:02:57 +02:00
action_list.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
action_test.go fix(activitypub): only return public activities on request (#12382) 2026-05-09 05:02:57 +02:00
error.go fix(activitypub): only return public activities on request (#12382) 2026-05-09 05:02:57 +02:00
federated_user_activity.go feat: Follow remote users; feed tab (#10380) 2026-04-12 03:31:03 +02:00
federated_user_activity_test.go Federated user activity following: Isolated model changes (#8078) 2025-06-21 12:02:58 +02:00
main_test.go chore: move all test blank imports in a single package (#10662) 2026-01-02 05:32:32 +01:00
notification.go feat: rework notification table (#9926) 2025-11-29 23:03:56 +01:00
notification_list.go refactor: reduce code duplication when accessing DefaultMaxInSize (#11999) 2026-04-05 22:03:45 +02:00
notification_test.go feat: rework notification table (#9926) 2025-11-29 23:03:56 +01:00
repo_activity.go chore: add modernizer linter (#11936) 2026-04-02 03:29:37 +02:00
repo_activity_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
statistic.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_heatmap.go chore: Remove IsDeleted from action (activity) table (#9829) 2025-11-08 04:20:05 +01:00
user_heatmap_test.go chore: Remove IsDeleted from action (activity) table (#9829) 2025-11-08 04:20:05 +01:00