1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/routers/api/v1/user
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
..
app.go [API] Delete Token accept names too (#12366) 2020-08-28 11:09:33 +03:00
email.go Add email validity check (#13475) 2020-11-14 11:53:43 -05:00
follower.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
gpg_key.go Allow addition of gpg keyring with multiple keys (#12487) 2020-08-21 13:45:50 +03:00
key.go Remove page size limit comment from swagger (#11806) 2020-06-09 00:57:38 -04:00
repo.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
star.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00
user.go rework heatmap permissions (#14080) 2020-12-22 03:53:37 +01:00
watch.go Move Repo APIFormat to convert package (#13787) 2020-12-02 16:38:30 -05:00