1
0
Fork 0
forgejo/routers/api/v1
Norwin f6bec85296
rework heatmap permissions (#14080)
* now uses the same permission model as for the activity feed:
  only include activities in repos, that the doer has access to.
  this might be somewhat slower.

* also improves handling of user.KeepActivityPrivate (still shows
  the heatmap to self & admins)

* extend tests

* adjust integration test to new behaviour

* add access to actions for admins

* extend heatmap unit tests
2020-12-22 03:53:37 +01:00
..
admin Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
misc Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
notify move notification APIFormat (#13783) 2020-12-02 09:24:35 +00:00
org HotFix: Hide private partisipation in Orgs (#13994) 2020-12-17 00:39:12 +01:00
repo Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
settings Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
swagger [Refactor] CombinedStatus and CommitStatus related functions & structs (#14026) 2020-12-18 11:33:32 +08:00
user rework heatmap permissions (#14080) 2020-12-22 03:53:37 +01:00
utils HotFix: Hide private partisipation in Orgs (#13994) 2020-12-17 00:39:12 +01:00
api.go [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00