forgejo/routers/api/v1
zeripath 5705f72fd6
Prevent panic when editing forked repos by API (#14960)
When editing forked repos using the API the BaseRepository needs to loaded
in order to check its visibility otherwise there will be NPE panic.

Fix #14956

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-03-11 19:09:52 +01:00
..
admin [API] Add Restricted Field to User (#14630) 2021-02-18 16:25:35 +08:00
misc Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
notify
org Clarify the suffices and prefixes of setting.AppSubURL and setting.AppURL (#12999) 2021-02-19 22:36:43 +01:00
repo Prevent panic when editing forked repos by API (#14960) 2021-03-11 19:09:52 +01:00
settings Export LFS & TimeTracking function status (#14753) 2021-02-20 11:17:51 +01:00
swagger Add dismiss review feature (#12674) 2021-02-11 18:32:25 +01:00
user Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
utils Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
api.go Add ui.explore settings to control view of explore pages (2) (#14094) 2021-03-11 13:40:54 +00:00