1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 17:44:27 +00:00
gitea/routers
6543 33c2c49627
Prevent panic when editing forked repos by API (#14960) (#14963)
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>

Co-authored-by: zeripath <art27@cantab.net>
2021-03-12 08:54:18 +08:00
..
admin Ensure that search term and page are not lost on adoption page-turn (#14133) (#14143) 2020-12-24 21:54:15 +00:00
api/v1 Prevent panic when editing forked repos by API (#14960) (#14963) 2021-03-12 08:54:18 +08:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Set opengraph attributes on org pages (#12803) 2020-09-11 07:41:43 +01:00
private Fix a bug when check if owner is active (#13613) 2020-11-18 11:59:24 +02:00
repo Backport: Repo Transfer permission checks (#14792) (#14794) 2021-02-25 15:49:27 +08:00
routes Use Request.URL.RequestURI() for fcgi (#14312) (#14347) 2021-01-15 20:26:45 +08:00
user Set HCaptchaSiteKey on Link Account pages (#14834) (#14839) 2021-03-01 16:12:48 +01:00
utils Return the full rejection message and errors in flash errors (#13221) (#13237) 2020-10-21 14:54:19 -04:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Print usefull error if SQLite is used in settings but not supported (#14476) (#14874) 2021-03-03 21:54:32 +00:00
install.go Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00